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.HodgeConjecture.HeckeCycles.Source.ReferenceEquation |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula |
| 3 | |
| 4 | /-! # Test Equation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.TestEquation.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An actual evaluated equation over the number-field test is |
| 11 | transported through the canonical test isomorphism and then through the |
| 12 | original source comparison, retaining both neighbor multisets. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointSpecializationFormula.CM.Points OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceLocalEquation.CM.Reference |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.LocalNeighbors.CM |
| 19 | |
| 20 | theorem mapped_neighbor_formula {S : Scheme} (G : CommGrp (Over S)) |
| 21 | {T U X : Over S} (p : T ⟶ U) (a : X ⟶ G.X) (f : AbelianScheme.TateComparison.End.IntegralEnd G.X) |
| 22 | (x y : U ⟶ X) (Nx Ny : Multiset (U ⟶ X)) |
| 23 | (h : PointSpecializationFormula.CM.Points.evaluateAt G U f (Additive.ofMul (x ≫ a) - Additive.ofMul (y ≫ a)) = |
| 24 | (Nx.map (fun z => Additive.ofMul (z ≫ a))).sum - |
| 25 | (Ny.map (fun z => Additive.ofMul (z ≫ a))).sum) : |
| 26 | PointSpecializationFormula.CM.Points.evaluateAt G T f (Additive.ofMul ((p ≫ x) ≫ a) - Additive.ofMul ((p ≫ y) ≫ a)) = |
| 27 | ((Nx.map (p ≫ ·)).map (fun z => Additive.ofMul (z ≫ a))).sum - |
| 28 | ((Ny.map (p ≫ ·)).map (fun z => Additive.ofMul (z ≫ a))).sum := by |
| 29 | simpa only [Multiset.map_map, Function.comp_def] using |
| 30 | PointSpecializationFormula.CM.Test.neighbor_formula G p a f x y Nx Ny h |
| 31 | |
| 32 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 33 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 34 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 35 | |
| 36 | def PointEquation (U : Over (Spec (.of K))) (f : D.EndK) (x y : U ⟶ D.space) |
| 37 | (Nx Ny : Multiset (U ⟶ D.space)) : Prop := |
| 38 | PointSpecializationFormula.CM.Points.evaluateAt D.albaneseGroup U f |
| 39 | (Additive.ofMul (x ≫ D.albaneseMap hg) - Additive.ofMul (y ≫ D.albaneseMap hg)) = |
| 40 | (Nx.map (fun z => Additive.ofMul (z ≫ D.albaneseMap hg))).sum - |
| 41 | (Ny.map (fun z => Additive.ofMul (z ≫ D.albaneseMap hg))).sum |
| 42 | |
| 43 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q) |
| 44 | (hcop : Nat.Coprime q D.denominator) (T : Over (NumberTheory.PadicHodge.GeometricComparison.Geometry.ringBase ℚ_[q])) |
| 45 | (U : Over (Spec (.of K))) |
| 46 | (e : (Over.map (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (QadicModelMap.CM.localFieldEmbedding j))).obj T ≅ U) |
| 47 | |
| 48 | local notation "A" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM.comparisonModel D hg j hcop |
| 49 | local notation "M" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM.nativeSource D hg j hcop |
| 50 | |
| 51 | theorem local_equation_from_test (f : D.EndK) (x y : U ⟶ D.space) |
| 52 | (Nx Ny : Multiset (U ⟶ D.space)) (h : PointEquation D hg U f x y Nx Ny) : |
| 53 | ReferenceLocalEquation.CM.Reference.LocalOriginalEquation A M T (LocalNeighbors.CM.rawEnd D hg j hcop f) |
| 54 | (e.hom ≫ x) (e.hom ≫ y) (Nx.map (e.hom ≫ ·)) (Ny.map (e.hom ≫ ·)) := by |
| 55 | apply ReferenceEquation.CM.Reference.local_equation_of_original_evaluation D hg j hcop T f |
| 56 | exact mapped_neighbor_formula D.albaneseGroup e.hom (D.albaneseMap hg) f x y Nx Ny h |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.TestEquation.CM |