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.AbelianScheme.TateComparison.PreconnectedHeckeDifferences |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CentralAlbaneseTrace |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.MarkingFiniteOrder |
| 4 | |
| 5 | /-! # Integral Central Unit -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The central Hecke endomorphism has finite order on the Albanese, |
| 12 | as follows from the actual marking action and component generation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 18 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 19 | (D : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 20 | (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 21 | (hgeometry : D.HasIntegralModelGeometry) (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 22 | |
| 23 | local instance Data.SphericalPELAlbaneseData.IntegralCentralUnit_local1 : GrpObj D.albaneseGroup.X := D.albaneseGroup.grp |
| 24 | local instance Data.SphericalPELAlbaneseData.IntegralCentralUnit_local2 : IsCommMonObj D.albaneseGroup.X := D.albaneseGroup.comm |
| 25 | |
| 26 | include hdegree hs hIsogenyQuotient hElementaryDivisors in |
| 27 | theorem Data.SphericalPELAlbaneseData.centralHeckeEnd_pow_differences (n : ℕ) |
| 28 | {Y T : Over (Spec (.of K))} [PreconnectedSpace Y.left] |
| 29 | (i : Y ⟶ D.space) (x y : T ⟶ Y) : |
| 30 | ((x ≫ i ≫ D.albaneseMap hgeometry) / (y ≫ i ≫ D.albaneseMap hgeometry)) ≫ |
| 31 | TateComparison.End.endSchemeMap D.albaneseGroup.X (D.heckeEnd hgeometry (Local.IntegralType.central s) ^ n) = |
| 32 | (x ≫ i ≫ ((End.of (D.qMarkingAutomorphism hgeometry hg.2.2.1).hom) ^ n) ≫ D.albaneseMap hgeometry) / |
| 33 | (y ≫ i ≫ ((End.of (D.qMarkingAutomorphism hgeometry hg.2.2.1).hom) ^ n) ≫ D.albaneseMap hgeometry) := by |
| 34 | induction n with |
| 35 | | zero => |
| 36 | rw [pow_zero, BaseChange.endSchemeMap_one] |
| 37 | simp only [pow_zero, Category.comp_id, End.one_def, Category.id_comp] |
| 38 | | succ n ih => |
| 39 | rw [pow_succ', BaseChange.endSchemeMap_mul, ← Category.assoc, ih] |
| 40 | have h := D.heckeEnd_preconnected_differences hgeometry (Local.IntegralType.central s) |
| 41 | (i ≫ (End.of (D.qMarkingAutomorphism hgeometry hg.2.2.1).hom) ^ n) x y |
| 42 | rw [D.albaneseTrace_central hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors] at h |
| 43 | simpa only [pow_succ', End.mul_def, Category.assoc] using h |
| 44 | |
| 45 | include hg hdegree hs hIsogenyQuotient hElementaryDivisors in |
| 46 | theorem Data.SphericalPELAlbaneseData.centralHeckeEnd_finiteOrder : |
| 47 | ∃ n : ℕ, 0 < n ∧ D.heckeEnd hgeometry (Local.IntegralType.central s) ^ n = 1 := by |
| 48 | obtain ⟨n, hn, hσ⟩ := D.qMarkingAutomorphism_finiteOrder hgeometry hg.2.2.1 |
| 49 | refine ⟨n, hn, ?_⟩ |
| 50 | apply D.end_eq_of_component_differences hgeometry |
| 51 | intro k _ _ b j x y |
| 52 | have : PreconnectedSpace (D.componentGeneric j).left := D.genericComponent_preconnected hgeometry j |
| 53 | rw [D.endPoint_one] |
| 54 | have h := D.centralHeckeEnd_pow_differences hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors n |
| 55 | (D.componentInclusion j) x y |
| 56 | rw [hσ] at h |
| 57 | simpa only [Data.SphericalPELAlbaneseData.endPoint, Data.SphericalPELAlbaneseData.aPoint, Data.SphericalPELAlbaneseData.aTotalPoint, ofMul_div, toMul_sub, toMul_ofMul, |
| 58 | End.one_def, Category.id_comp, Category.assoc] using congrArg Additive.ofMul h |
| 59 | |
| 60 | include hg hdegree hs hIsogenyQuotient hElementaryDivisors in |
| 61 | theorem Data.SphericalPELAlbaneseData.centralHeckeEnd_isUnit : IsUnit (D.heckeEnd hgeometry (Local.IntegralType.central s)) := by |
| 62 | obtain ⟨n, hn, he⟩ := D.centralHeckeEnd_finiteOrder hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors |
| 63 | exact IsUnit.of_pow_eq_one he (Nat.ne_of_gt hn) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |