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.TestEquation |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluatedSourceEquation |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.Proper |
| 5 | |
| 6 | /-! # Evaluated Test Equation -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.EvaluatedTestEquation.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An equation on the actual evaluated number-field points specializes |
| 13 | on the comparison model, using the constructed test identifications and |
| 14 | the same extending endomorphism. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.LocalNeighbors.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.NeighborFormula.CM |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 22 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 23 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 24 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q) |
| 25 | (hcop : Nat.Coprime q D.denominator) |
| 26 | {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] |
| 27 | [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 28 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 29 | |
| 30 | local notation "A" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM.comparisonModel D hg j hcop |
| 31 | local notation "M" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM.nativeSource D hg j hcop |
| 32 | local notation "T" => Over.mk (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.fieldBase (L := L) (q := q)) |
| 33 | local notation "U" => Over.mk (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.originalBase (L := L) j) |
| 34 | local notation "e" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.testIso (L := L) j |
| 35 | |
| 36 | local instance : IsProper (M).integralSource.hom := |
| 37 | Proper.CM.integralSource_proper D hg j hcop |
| 38 | |
| 39 | def Equation (f : D.EndK) (x y : U ⟶ D.space) (Nx Ny : Multiset (U ⟶ D.space)) : Prop := |
| 40 | EvaluatedSourceEquation.CM.Equation A M V (LocalNeighbors.CM.rawEnd D hg j hcop f) |
| 41 | (Local.NeighborFormula.CM.liftedNeighbor T (M).sourceIso ((e).hom ≫ x)) |
| 42 | (Local.NeighborFormula.CM.liftedNeighbor T (M).sourceIso ((e).hom ≫ y)) |
| 43 | (Nx.map ((e).hom ≫ ·)) (Ny.map ((e).hom ≫ ·)) |
| 44 | |
| 45 | theorem equation_from_original (f : D.EndK) (x y : U ⟶ D.space) |
| 46 | (Nx Ny : Multiset (U ⟶ D.space)) |
| 47 | (h : TestEquation.CM.PointEquation D hg U f x y Nx Ny) : |
| 48 | Equation D hg j hcop V f x y Nx Ny := |
| 49 | EvaluatedSourceEquation.CM.equation_from_local A M V (LocalNeighbors.CM.rawEnd D hg j hcop f) _ _ _ _ |
| 50 | (TestEquation.CM.local_equation_from_test D hg j hcop T U e f x y Nx Ny h) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.EvaluatedTestEquation.CM |