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.OperatorSpecialization |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.DetectedPolynomial |
| 3 | |
| 4 | /-! # Polynomial -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Polynomial.CM.IntrinsicData |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj TensorProduct |
| 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 | |
| 32 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndomorphismComparison.CM |
| 33 | local notation "G" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.sourceGroup D res |
| 34 | local notation "op" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres |
| 35 | |
| 36 | theorem operator_family_eq (f : Fin 3 → D.EndK) : |
| 37 | (fun i => op (f i)) = |
| 38 | (fun i => Source.Specialization.CM.sourceSpecialization D hg j hcop res hres |
| 39 | (EndomorphismComparison.CM.integralEquiv (A).variety.scheme (f i))) := |
| 40 | funext (fun i => OperatorSpecialization.CM.operator_eq D hg j hcop res hres (f i)) |
| 41 | |
| 42 | theorem source_polynomial (f : Fin 3 → D.EndK) |
| 43 | (hpoly : Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.Polynomial q |
| 44 | (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (G).X) (fun i => op (f i))) : |
| 45 | Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.Polynomial q (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (G).X) |
| 46 | (fun i => Source.Specialization.CM.sourceSpecialization D hg j hcop res hres |
| 47 | (EndomorphismComparison.CM.integralEquiv (A).variety.scheme (f i))) := |
| 48 | Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.polynomial_congr q (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (G).X) |
| 49 | (operator_family_eq D hg j hcop res hres f) hpoly |
| 50 | |
| 51 | variable {H : Type} [CommRing H] [Algebra ℚ H] |
| 52 | |
| 53 | theorem compact_specialized_polynomial (ρ : (A).HeckeRealization H) (h : Fin 3 → H) |
| 54 | (F : Fin 3 → FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (A).variety.scheme) |
| 55 | (hF : ∀ i, ρ.action (h i) = (1 : ℚ) ⊗ₜ[ℤ] F i) |
| 56 | (hp : Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.Polynomial q (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (G).X) |
| 57 | (fun i => Source.Specialization.CM.sourceSpecialization D hg j hcop res hres (F i))) : |
| 58 | Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.Polynomial q |
| 59 | (FormalGeometry.Completion.Endomorphisms.Construction.rationalAlgebraicFrobenius (ZMod q) (A).specialFiber.scheme) |
| 60 | (fun i => Specialized.CM.Hecke.specializedHeckeAction A ρ (h i)) := |
| 61 | Source.Specialization.CM.specializedHecke_polynomial D hg j hcop res hres ρ h F hF hp |
| 62 | |
| 63 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Polynomial.CM.IntrinsicData |
| 64 | |
| 65 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Polynomial.CM.IntrinsicIntegralOperators |
| 66 | |
| 67 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 68 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj TensorProduct |
| 69 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM |
| 70 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.LocalNeighbors.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.NeighborFormula.CM |
| 71 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 72 | |
| 73 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 74 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 75 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 76 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q) |
| 77 | (hcop : Nat.Coprime q D.denominator) |
| 78 | (res : AbelianScheme.TateComparison.Data.modelRing K D.denominator →+* ZMod q) |
| 79 | (hres : res.comp (algebraMap (NumberField.RingOfIntegers K) |
| 80 | (AbelianScheme.TateComparison.Data.modelRing K D.denominator)) = j.residue) |
| 81 | {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] |
| 82 | [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 83 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 84 | |
| 85 | local notation "A" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM.comparisonModel D hg j hcop |
| 86 | |
| 87 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndomorphismComparison.CM |
| 88 | local notation "G" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.sourceGroup D res |
| 89 | local notation "op" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres |
| 90 | |
| 91 | def family (f : Fin 3 → D.EndK) : Fin 3 → FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (A).variety.scheme := |
| 92 | fun i => EndomorphismComparison.CM.integralEquiv (A).variety.scheme (f i) |
| 93 | |
| 94 | theorem family_eq (f : Fin 3 → D.EndK) : |
| 95 | family D hg j hcop f = (fun i => EndomorphismComparison.CM.integralEquiv (A).variety.scheme (f i)) := rfl |
| 96 | |
| 97 | theorem family_at (f : Fin 3 → D.EndK) (i : Fin 3) : |
| 98 | family D hg j hcop f i = EndomorphismComparison.CM.integralEquiv (A).variety.scheme (f i) := |
| 99 | congrFun (family_eq D hg j hcop f) i |
| 100 | |
| 101 | theorem specialization_at (f : Fin 3 → D.EndK) (i : Fin 3) : |
| 102 | Source.Specialization.CM.sourceSpecialization D hg j hcop res hres (family D hg j hcop f i) = |
| 103 | op (f i) := |
| 104 | (congrArg (Source.Specialization.CM.sourceSpecialization D hg j hcop res hres) |
| 105 | (family_at D hg j hcop f i)).trans |
| 106 | (OperatorSpecialization.CM.operator_eq D hg j hcop res hres (f i)).symm |
| 107 | |
| 108 | theorem specialization_family (f : Fin 3 → D.EndK) : |
| 109 | (fun i => Source.Specialization.CM.sourceSpecialization D hg j hcop res hres |
| 110 | (family D hg j hcop f i)) = (fun i => op (f i)) := |
| 111 | funext (specialization_at D hg j hcop res hres f) |
| 112 | |
| 113 | theorem polynomial_for_family (f : Fin 3 → D.EndK) |
| 114 | (hpoly : Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.Polynomial q |
| 115 | (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (G).X) (fun i => op (f i))) : |
| 116 | Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.Polynomial q (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (G).X) |
| 117 | (fun i => Source.Specialization.CM.sourceSpecialization D hg j hcop res hres |
| 118 | (family D hg j hcop f i)) := |
| 119 | Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.polynomial_congr q (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (G).X) |
| 120 | (specialization_family D hg j hcop res hres f).symm hpoly |
| 121 | |
| 122 | variable {H : Type} [CommRing H] [Algebra ℚ H] |
| 123 | |
| 124 | theorem presentations (ρ : (A).HeckeRealization H) (h : Fin 3 → H) |
| 125 | (f : Fin 3 → D.EndK) |
| 126 | (hf : ∀ i, ρ.action (h i) = (1 : ℚ) ⊗ₜ[ℤ] EndomorphismComparison.CM.integralEquiv (A).variety.scheme (f i)) : |
| 127 | ∀ i, ρ.action (h i) = (1 : ℚ) ⊗ₜ[ℤ] family D hg j hcop f i := by |
| 128 | intro i |
| 129 | exact (hf i).trans (congrArg (fun F : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd (A).variety.scheme => (1 : ℚ) ⊗ₜ[ℤ] F) |
| 130 | (family_at D hg j hcop f i).symm) |
| 131 | |
| 132 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Polynomial.CM.IntrinsicIntegralOperators |
| 133 | |
| 134 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Polynomial.CM.IntrinsicTransport |
| 135 | |
| 136 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 137 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj TensorProduct |
| 138 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseMapCompatibility.CM |
| 139 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.LocalNeighbors.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Local.NeighborFormula.CM |
| 140 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 141 | |
| 142 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 143 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 144 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.HasIntegralModelGeometry) |
| 145 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K D.complexEmbedding q) |
| 146 | (hcop : Nat.Coprime q D.denominator) |
| 147 | (res : AbelianScheme.TateComparison.Data.modelRing K D.denominator →+* ZMod q) |
| 148 | (hres : res.comp (algebraMap (NumberField.RingOfIntegers K) |
| 149 | (AbelianScheme.TateComparison.Data.modelRing K D.denominator)) = j.residue) |
| 150 | {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] |
| 151 | [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 152 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 153 | |
| 154 | local notation "A" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlbaneseModel.CM.comparisonModel D hg j hcop |
| 155 | |
| 156 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EndomorphismComparison.CM |
| 157 | local notation "G" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonPolynomial.CM.sourceGroup D res |
| 158 | local notation "op" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EquationData.CM.IntrinsicPoints.operator D hg j hcop res hres |
| 159 | |
| 160 | variable {H : Type} [CommRing H] [Algebra ℚ H] |
| 161 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Polynomial.CM.IntrinsicData |
| 162 | |
| 163 | theorem specialized_polynomial (ρ : (A).HeckeRealization H) (h : Fin 3 → H) |
| 164 | (f : Fin 3 → D.EndK) |
| 165 | (hf : ∀ i, ρ.action (h i) = (1 : ℚ) ⊗ₜ[ℤ] EndomorphismComparison.CM.integralEquiv (A).variety.scheme (f i)) |
| 166 | (hpoly : Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.Polynomial q |
| 167 | (FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) (G).X) (fun i => op (f i))) : |
| 168 | Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.Polynomial q |
| 169 | (FormalGeometry.Completion.Endomorphisms.Construction.rationalAlgebraicFrobenius (ZMod q) (A).specialFiber.scheme) |
| 170 | (fun i => Specialized.CM.Hecke.specializedHeckeAction A ρ (h i)) := |
| 171 | IntrinsicData.compact_specialized_polynomial D hg j hcop res hres |
| 172 | ρ h (IntrinsicIntegralOperators.family D hg j hcop f) |
| 173 | (IntrinsicIntegralOperators.presentations D hg j hcop ρ h f hf) |
| 174 | (IntrinsicIntegralOperators.polynomial_for_family D hg j hcop res hres f hpoly) |
| 175 | |
| 176 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Polynomial.CM.IntrinsicTransport |
| 177 | |
| 178 | end |
| 179 | |
| 180 | end OAI |