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.Intrinsic.EquationData |
| 2 | |
| 3 | /-! # Equation Values -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EquationValues.CM.IntrinsicPoints |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Substitute the original source and branch images in the native |
| 10 | specialized equation before instantiating the complete PEL model. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.LocalNeighbors.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.NeighborFormula.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 19 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 20 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 21 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q) |
| 22 | (hcop : Nat.Coprime q D.denominator) |
| 23 | (res : AbelianScheme.TateComparison.Data.modelRing K D.denominator →+* ZMod q) |
| 24 | (hres : res.comp (algebraMap (NumberField.RingOfIntegers K) |
| 25 | (AbelianScheme.TateComparison.Data.modelRing K D.denominator)) = j.residue) |
| 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 "eT" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.testIso (L := L) j |
| 35 | local notation "bR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.integralBase V |
| 36 | local notation "cL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.fieldBase (L := L) (q := q) |
| 37 | local notation "wL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.generic_square V |
| 38 | local notation "rho" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftedReduction.CM.geometricResidue |
| 39 | (Witt.EvaluationDVR.CM.geometricResidueIso V) |
| 40 | local notation "Uk" => OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q |
| 41 | local notation "eR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM.testIso V |
| 42 | local notation "H" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.sourceGroup D res |
| 43 | local notation "cmp" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.comparisonIso D hg j hcop res hres |
| 44 | local notation "redM" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlignedReduction.CM.sourceReduction D hg j hcop res hres |
| 45 | local notation "br" => Spec.map (CommRingCat.ofHom res) |
| 46 | |
| 47 | local instance : IsProper (M).integralSource.hom := |
| 48 | Source.Proper.CM.integralSource_proper D hg j hcop |
| 49 | local instance : IsMonHom (cmp).hom := |
| 50 | ComparisonPolynomial.CM.comparisonIso_group D hg j hcop res hres |
| 51 | |
| 52 | theorem equation_values (f : D.EndK) (x y : U ⟶ D.space) |
| 53 | (Nx Ny : Multiset (U ⟶ D.space)) |
| 54 | (sx sy : Additive (Uk ⟶ (H).X)) (rx ry : Multiset (Additive (Uk ⟶ (H).X))) |
| 55 | (hx : EquationData.CM.IntrinsicPoints.image D hg j hcop res hres V x = sx) |
| 56 | (hy : EquationData.CM.IntrinsicPoints.image D hg j hcop res hres V y = sy) |
| 57 | (hNx : Nx.map (EquationData.CM.IntrinsicPoints.image D hg j hcop res hres V) = rx) |
| 58 | (hNy : Ny.map (EquationData.CM.IntrinsicPoints.image D hg j hcop res hres V) = ry) |
| 59 | (h : EquationData.CM.IntrinsicPoints.Equation D hg j hcop res hres V f x y Nx Ny) : |
| 60 | PointEvaluation.CM.action H Uk (EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres f) |
| 61 | (sx - sy) = rx.sum - ry.sum := |
| 62 | Source.EquationImages.CM.evaluated_points |
| 63 | (PointEvaluation.CM.action H Uk (EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres f)) |
| 64 | (EquationData.CM.IntrinsicPoints.image D hg j hcop res hres V) x y Nx Ny sx sy rx ry hx hy hNx hNy h |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EquationValues.CM.IntrinsicPoints |