Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.BlocksProjectors |
| 2 | |
| 3 | /-! # Block Tower -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockTower |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The character blocks form their actual ascending torsion tower. |
| 10 | The image/kernel condition is proved on every test scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | /-- Transport an actual torsion-kernel condition along group isomorphisms. -/ |
| 16 | theorem torsion_kernel_transport |
| 17 | {G H X Y : Type*} [Group G] [Group H] [Group X] [Group Y] |
| 18 | (eG : G ≃* X) (eH : H ≃* Y) (i : G →* H) (j : X →* Y) (N : ℕ) |
| 19 | (hc : ∀ g, eH (i g) = j (eG g)) |
| 20 | (hj : ∀ y, (∃ x, j x = y) ↔ y ^ N = 1) (h : H) : |
| 21 | (∃ g, i g = h) ↔ h ^ N = 1 := by |
| 22 | have hp : (eH h) ^ N = 1 ↔ h ^ N = 1 := by |
| 23 | rw [← map_pow, ← map_one eH, eH.injective.eq_iff] |
| 24 | refine Iff.trans ?_ ((hj (eH h)).trans hp) |
| 25 | constructor |
| 26 | · rintro ⟨g, rfl⟩ |
| 27 | exact ⟨eG g, (hc g).symm⟩ |
| 28 | · rintro ⟨x, hx⟩ |
| 29 | refine ⟨eG.symm x, eH.injective ?_⟩ |
| 30 | exact (hc _).trans ((congrArg j (eG.apply_symm_apply x)).trans hx) |
| 31 | |
| 32 | variable {q : ℕ} [Fact q.Prime] |
| 33 | |
| 34 | theorem padic_residue_values_modEq (m n : ℕ) (h : m ≤ n) (z : PadicInt q) : |
| 35 | (PadicInt.toZModPow n z).val ≡ (PadicInt.toZModPow m z).val [MOD q ^ m] := by |
| 36 | let : NeZero (q ^ m) := ⟨pow_ne_zero _ (Fact.out : q.Prime).ne_zero⟩ |
| 37 | let : NeZero (q ^ n) := ⟨pow_ne_zero _ (Fact.out : q.Prime).ne_zero⟩ |
| 38 | let φ : ZMod (q ^ n) →+* ZMod (q ^ m) := ZMod.castHom (pow_dvd_pow q h) _ |
| 39 | apply (ZMod.natCast_eq_natCast_iff _ _ _).mp |
| 40 | calc |
| 41 | ((PadicInt.toZModPow n z).val : ZMod (q ^ m)) = |
| 42 | φ ((PadicInt.toZModPow n z).val : ZMod (q ^ n)) := (map_natCast φ _).symm |
| 43 | _ = φ (PadicInt.toZModPow n z) := congrArg φ (ZMod.natCast_zmod_val _) |
| 44 | _ = PadicInt.toZModPow m z := |
| 45 | RingHom.congr_fun (PadicInt.zmod_cast_comp_toZModPow m n h) z |
| 46 | _ = ((PadicInt.toZModPow m z).val : ZMod (q ^ m)) := |
| 47 | (ZMod.natCast_zmod_val _).symm |
| 48 | |
| 49 | variable {O : Type} [CommRing O] {S : Scheme} {g : ℕ} |
| 50 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction O A) |
| 51 | (χ : O →+* PadicInt q) |
| 52 | |
| 53 | /-- Equality with the lower-level kernel, including infinitesimal points. -/ |
| 54 | theorem block_membership_lower_iff (m n : ℕ) (h : m ≤ n) |
| 55 | (T : Over S) (x : T ⟶ A.scheme) : |
| 56 | x ∈ BlocksProjectors.blockPoints A ρ χ m T ↔ x ∈ BlocksProjectors.blockPoints A ρ χ n T ∧ x ^ (q ^ m) = 1 := by |
| 57 | constructor |
| 58 | · intro hx |
| 59 | refine ⟨⟨?_, ?_⟩, hx.1⟩ |
| 60 | · obtain ⟨r, hr⟩ := pow_dvd_pow q h |
| 61 | rw [hr, pow_mul, hx.1, one_pow] |
| 62 | · intro a |
| 63 | exact (hx.2 a).trans |
| 64 | (pow_eq_pow_of_modEq (padic_residue_values_modEq m n h (χ a)).symm hx.1) |
| 65 | · rintro ⟨hx, hxm⟩ |
| 66 | exact ⟨hxm, fun a => (hx.2 a).trans |
| 67 | (pow_eq_pow_of_modEq (padic_residue_values_modEq m n h (χ a)) hxm)⟩ |
| 68 | |
| 69 | theorem blockPoints_mono (m n : ℕ) (h : m ≤ n) (T : Over S) : |
| 70 | BlocksProjectors.blockPoints A ρ χ m T ≤ BlocksProjectors.blockPoints A ρ χ n T := |
| 71 | fun x hx => ((block_membership_lower_iff A ρ χ m n h T x).mp hx).1 |
| 72 | |
| 73 | def blockLevelInclusion (m n : ℕ) (h : m ≤ n) (T : Over S) : |
| 74 | BlocksProjectors.blockPoints A ρ χ m T →* BlocksProjectors.blockPoints A ρ χ n T := |
| 75 | Subgroup.inclusion (blockPoints_mono A ρ χ m n h T) |
| 76 | |
| 77 | theorem blockLevelInclusion_kernel (m n : ℕ) (h : m ≤ n) (T : Over S) |
| 78 | (x : BlocksProjectors.blockPoints A ρ χ n T) : |
| 79 | (∃ y, blockLevelInclusion A ρ χ m n h T y = x) ↔ x ^ (q ^ m) = 1 := by |
| 80 | constructor |
| 81 | · rintro ⟨y, rfl⟩ |
| 82 | apply Subtype.ext |
| 83 | exact y.property.1 |
| 84 | · intro hx |
| 85 | have hx' : x.val ^ (q ^ m) = 1 := congrArg Subtype.val hx |
| 86 | refine ⟨⟨x.val, (block_membership_lower_iff A ρ χ m n h T x.val).mpr |
| 87 | ⟨x.property, hx'⟩⟩, ?_⟩ |
| 88 | rfl |
| 89 | |
| 90 | def blockInclusionNat (m n : ℕ) (h : m ≤ n) : |
| 91 | BlocksProjectors.blockFunctor A ρ χ m ⟶ BlocksProjectors.blockFunctor A ρ χ n where |
| 92 | app T := GrpCat.ofHom (blockLevelInclusion A ρ χ m n h T.unop) |
| 93 | naturality _ _ _ := rfl |
| 94 | |
| 95 | theorem blockInclusionNat_injective (m n : ℕ) (h : m ≤ n) (T : Over S) : |
| 96 | Function.Injective ((blockInclusionNat A ρ χ m n h).app (.op T)) := by |
| 97 | intro x y hxy |
| 98 | exact Subtype.ext (congrArg (fun z : BlocksProjectors.blockPoints A ρ χ n T => z.val) hxy) |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.BlockTower |