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.SpecialEquation |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ArithmeticEquationPoints |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.Specialization |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.EquationImages |
| 5 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ArithmeticGroupEquation |
| 6 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.SpecialEnd |
| 7 | |
| 8 | /-! # Equation Data -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EquationData.CM.IntrinsicPoints |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Write the actual specialized TateComparison equation using the exact |
| 15 | arithmetic points already identified with the original Witt sources and |
| 16 | NeighborCounting targets. Its operator is the same source specialization used in |
| 17 | the crystalline comparison chain. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 21 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM |
| 22 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.LocalNeighbors.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.NeighborFormula.CM |
| 23 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 24 | |
| 25 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 26 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 27 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 28 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q) |
| 29 | (hcop : Nat.Coprime q D.denominator) |
| 30 | (res : AbelianScheme.TateComparison.Data.modelRing K D.denominator →+* ZMod q) |
| 31 | (hres : res.comp (algebraMap (NumberField.RingOfIntegers K) |
| 32 | (AbelianScheme.TateComparison.Data.modelRing K D.denominator)) = j.residue) |
| 33 | {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] |
| 34 | [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 35 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 36 | |
| 37 | local notation "A" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM.comparisonModel D hg j hcop |
| 38 | local notation "M" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM.nativeSource D hg j hcop |
| 39 | local notation "T" => Over.mk (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.fieldBase (L := L) (q := q)) |
| 40 | local notation "U" => Over.mk (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.originalBase (L := L) j) |
| 41 | local notation "eT" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.testIso (L := L) j |
| 42 | local notation "bR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.integralBase V |
| 43 | local notation "cL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.fieldBase (L := L) (q := q) |
| 44 | local notation "wL" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM.generic_square V |
| 45 | local notation "rho" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftedReduction.CM.geometricResidue |
| 46 | (Witt.EvaluationDVR.CM.geometricResidueIso V) |
| 47 | local notation "Uk" => OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q |
| 48 | local notation "eR" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM.testIso V |
| 49 | local notation "H" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.sourceGroup D res |
| 50 | local notation "cmp" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.comparisonIso D hg j hcop res hres |
| 51 | local notation "redM" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlignedReduction.CM.sourceReduction D hg j hcop res hres |
| 52 | local notation "br" => Spec.map (CommRingCat.ofHom res) |
| 53 | |
| 54 | local instance : IsProper (M).integralSource.hom := |
| 55 | Source.Proper.CM.integralSource_proper D hg j hcop |
| 56 | local instance : IsMonHom (cmp).hom := |
| 57 | ComparisonPolynomial.CM.comparisonIso_group D hg j hcop res hres |
| 58 | |
| 59 | def point (z : U ⟶ (M).genericSource) : Uk ⟶ (Over.pullback br).obj D.model.space := by |
| 60 | let : IsProper D.model.space.hom := hg.proper |
| 61 | exact ArithmeticEquationPoints.CM.point (AlbaneseModel.CM.arithmeticAlbanese D hg).2 (AlbaneseMapCompatibility.CM.arithmeticMap D hg) |
| 62 | D.generic (QadicModelMap.CM.integralBase j D.denominator hcop) |
| 63 | (QadicModelMap.CM.generic_base_compatible j D.denominator D.denominator_ne_zero hcop) |
| 64 | br (QadicModelMap.CM.special_base_compatible j D.denominator hcop res hres) V ((eT).hom ≫ z) |
| 65 | |
| 66 | def image (z : U ⟶ (M).genericSource) : Additive (Uk ⟶ (H).X) := |
| 67 | Additive.ofMul (point D hg j hcop res hres V z ≫ (Over.pullback br).map (AlbaneseMapCompatibility.CM.arithmeticMap D hg)) |
| 68 | |
| 69 | def operator (f : D.EndK) := |
| 70 | Source.Specialization.CM.sourceSpecialization D hg j hcop res hres |
| 71 | (EndomorphismComparison.CM.integralEquiv (A).variety.scheme f) |
| 72 | |
| 73 | def Equation (f : D.EndK) (x y : U ⟶ (M).genericSource) (Nx Ny : Multiset (U ⟶ (M).genericSource)) : Prop := |
| 74 | Source.EquationImages.CM.ImageEquation |
| 75 | (PointEvaluation.CM.action H Uk (operator D hg j hcop res hres f)) |
| 76 | (image D hg j hcop res hres V) x y Nx Ny |
| 77 | |
| 78 | def rawImage : (U ⟶ (M).genericSource) → Additive (Uk ⟶ (H).X) := |
| 79 | @Source.EquationImages.CM.image K _ _ q _ _ A M |
| 80 | (Source.Proper.CM.integralSource_proper D hg j hcop) |
| 81 | V.carrier L _ _ _ _ _ _ bR cL wL (Witt.ArithmeticBase.CM.k (q := q)) _ rho Uk eR H _ |
| 82 | (redM).sourceIso ((Over.pullback br).map (AlbaneseMapCompatibility.CM.arithmeticMap D hg)) U (eT).hom |
| 83 | |
| 84 | theorem rawImage_eq (z : U ⟶ (M).genericSource) : |
| 85 | rawImage D hg j hcop res hres V z = image D hg j hcop res hres V z := by |
| 86 | let : IsProper D.model.space.hom := hg.proper |
| 87 | exact ArithmeticGroupEquation.CM.ImageCompatibility.image_eq (AlbaneseModel.CM.arithmeticAlbanese D hg).2 (AlbaneseMapCompatibility.CM.arithmeticMap D hg) |
| 88 | D.generic (QadicModelMap.CM.integralBase j D.denominator hcop) |
| 89 | (QadicModelMap.CM.generic_base_compatible j D.denominator D.denominator_ne_zero hcop) |
| 90 | br (QadicModelMap.CM.special_base_compatible j D.denominator hcop res hres) V cmp |
| 91 | (AlbaneseReductionMap.CM.target_identification D hg j hcop res hres) U (eT).hom z |
| 92 | |
| 93 | theorem specialization_eq (f : D.EndK) : |
| 94 | (Source.SpecialEnd.CM.sourceData D hg j hcop res hres).specialization (Source.LocalNeighbors.CM.rawEnd D hg j hcop f).generic = |
| 95 | operator D hg j hcop res hres f := |
| 96 | (Source.SpecialEnd.CM.sourceData_specialization_apply D hg j hcop res hres |
| 97 | (Source.LocalNeighbors.CM.rawEnd D hg j hcop f).generic).trans |
| 98 | (congrArg (Source.Specialization.CM.sourceSpecialization D hg j hcop res hres) |
| 99 | (Source.LocalNeighbors.CM.rawEnd_algebraic_generic D hg j hcop f)) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EquationData.CM.IntrinsicPoints |