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.NumberTheory.PadicHodge.GeometricComparison.Geometry |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.DeRham.Int |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Linear |
| 4 | import OAI.AlgebraicGeometry.Betti.ProjectivePresentationCohomology |
| 5 | |
| 6 | /-! # Hecke Scalar -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace NumberTheory.PadicHodge.GeometricComparison |
| 13 | open _root_.CategoryTheory |
| 14 | open _root_.AlgebraicGeometry |
| 15 | section |
| 16 | |
| 17 | /-! The Hecke operators are rational linear combinations of actual extending |
| 18 | endomorphisms. Their presentations are geometric input; comparison properties |
| 19 | and preservation of Hodge filtration are not input. -/ |
| 20 | |
| 21 | open scoped TensorProduct |
| 22 | |
| 23 | variable {K : Type} [Field K] [NumberField K] |
| 24 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} |
| 25 | (A : Geometry.AbelianH1Model K q jq) |
| 26 | |
| 27 | def Geometry.AbelianH1Model.deRhamPullback (f : A.ExtendingEndomorphism) : A.DeRham →ₗ[ℚ_[q]] A.DeRham := |
| 28 | GeometricComparison.DeRham.Int.pullback (A.localEndomorphism f) 1 |
| 29 | |
| 30 | def Geometry.AbelianH1Model.algebraicDeRhamPullback (f : A.ExtendingEndomorphism) : |
| 31 | A.AlgebraicDeRham →ₗ[K] A.AlgebraicDeRham := |
| 32 | GeometricComparison.DeRham.Int.pullback f.generic.toMul.hom.hom 1 |
| 33 | |
| 34 | /-- The rational endomorphism algebra is the actual group-endomorphism |
| 35 | ring tensored with ℚ. Presentations record extending integral representatives. -/ |
| 36 | structure Geometry.AbelianH1Model.HeckeRealization (H : Type) [CommRing H] [Algebra ℚ H] where |
| 37 | action : H →ₐ[ℚ] AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd A.variety.scheme |
| 38 | presentation : H → (A.ExtendingEndomorphism →₀ ℚ) |
| 39 | represents : ∀ h, |
| 40 | (presentation h).sum (fun f a => a ⊗ₜ[ℤ] f.generic) = action h |
| 41 | |
| 42 | variable {H : Type} [CommRing H] [Algebra ℚ H] |
| 43 | |
| 44 | def Geometry.AbelianH1Model.bettiHecke (j : K →+* ℂ) (ρ : A.HeckeRealization H) (h : H) : |
| 45 | Module.End ℚ (A.Betti j) := |
| 46 | (ρ.presentation h).sum (fun f a => a • A.bettiPullback j f) |
| 47 | |
| 48 | def Geometry.AbelianH1Model.deRhamHecke (ρ : A.HeckeRealization H) (h : H) : Module.End ℚ_[q] A.DeRham := |
| 49 | (ρ.presentation h).sum (fun f a => (a : ℚ_[q]) • A.deRhamPullback f) |
| 50 | |
| 51 | /-- The fixed complex fiber's ordinary complex singular cohomology. -/ |
| 52 | abbrev Geometry.AbelianH1Model.ComplexBetti (j : K →+* ℂ) := |
| 53 | AlgebraicGeometry.Betti.Scheme.schemeBetti (ModuleCat.of ℂ ℂ) (A.complexFiber j).scheme 1 |
| 54 | |
| 55 | def Geometry.AbelianH1Model.complexBettiPullback (j : K →+* ℂ) (f : A.ExtendingEndomorphism) : |
| 56 | Module.End ℂ (A.ComplexBetti j) := |
| 57 | (AlgebraicGeometry.Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (A.complexEndomorphism j f)).hom |
| 58 | |
| 59 | def Geometry.AbelianH1Model.complexBettiHecke (j : K →+* ℂ) (ρ : A.HeckeRealization H) (h : H) : |
| 60 | Module.End ℂ (A.ComplexBetti j) := |
| 61 | (ρ.presentation h).sum (fun f a => (a : ℂ) • A.complexBettiPullback j f) |
| 62 | |
| 63 | def Geometry.AbelianH1Model.bettiHeckeSummand (j : K →+* ℂ) (ρ : A.HeckeRealization H) |
| 64 | (χ : H → ℂ) : Submodule ℂ (A.ComplexBetti j) := |
| 65 | Linear.generalizedHeckeSummand (A.complexBettiHecke j ρ) χ |
| 66 | |
| 67 | def Geometry.AbelianH1Model.deRhamHeckeSummand (ρ : A.HeckeRealization H) |
| 68 | (χ : H → AlgebraicClosure ℚ_[q]) (L : Linear.FiniteHeckeCoefficientField q χ) : |
| 69 | Submodule L.field (L.field ⊗[ℚ_[q]] A.DeRham) := |
| 70 | Linear.generalizedHeckeSummand |
| 71 | (fun h => (A.deRhamHecke ρ h).baseChange L.field) L.character |
| 72 | |
| 73 | /-- A closed projective embedding supplies the actual analytic Hodge |
| 74 | subspaces. It adds no assertion about their dimensions or comparison. -/ |
| 75 | def Geometry.AbelianH1Model.smoothProjectiveFiber (j : K →+* ℂ) |
| 76 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) : |
| 77 | AlgebraicGeometry.Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation where |
| 78 | carrier := (A.complexFiber j).scheme.left |
| 79 | structureMap := (A.complexFiber j).scheme.hom |
| 80 | projective := P |
| 81 | smooth := inferInstance |
| 82 | |
| 83 | /-- The ordinary weight-one Hodge filtration of this fixed complex variety. -/ |
| 84 | def Geometry.AbelianH1Model.bettiFiltration (j : K →+* ℂ) |
| 85 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 86 | (i : ℤ) : Submodule ℂ (A.ComplexBetti j) := |
| 87 | if i ≤ 0 then ⊤ else |
| 88 | if i = 1 then (A.smoothProjectiveFiber j P).pureBettiSubspace 1 0 else ⊥ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | /-! Scalar-extension interfaces for the same algebraic de Rham object |
| 93 | over the number field. No geometric base-change or Betti comparison map |
| 94 | is postulated. The maps in the GeometricComparison conclusion have these domains. -/ |
| 95 | |
| 96 | open scoped TensorProduct |
| 97 | |
| 98 | variable {K : Type} [Field K] [NumberField K] |
| 99 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} |
| 100 | (A : Geometry.AbelianH1Model K q jq) |
| 101 | |
| 102 | def Geometry.AbelianH1Model.algebraicFiltration (i : ℤ) : Submodule K A.AlgebraicDeRham := |
| 103 | AlgebraicGeometry.Crystalline.Cohomology.HodgeFiltrationD.HodgeFiltration.filtration K A.variety.scheme 1 i |
| 104 | |
| 105 | abbrev Geometry.AbelianH1Model.LocalAlgebraicDeRham := |
| 106 | letI : Algebra K ℚ_[q] := jq.toAlgebra |
| 107 | ℚ_[q] ⊗[K] A.AlgebraicDeRham |
| 108 | |
| 109 | abbrev Geometry.AbelianH1Model.ComplexAlgebraicDeRham (j : K →+* ℂ) := |
| 110 | letI : Algebra K ℂ := j.toAlgebra |
| 111 | ℂ ⊗[K] A.AlgebraicDeRham |
| 112 | |
| 113 | def Geometry.AbelianH1Model.localAlgebraicFiltration (i : ℤ) : Submodule ℚ_[q] A.LocalAlgebraicDeRham := |
| 114 | letI : Algebra K ℚ_[q] := jq.toAlgebra |
| 115 | (A.algebraicFiltration i).baseChange ℚ_[q] |
| 116 | |
| 117 | def Geometry.AbelianH1Model.complexAlgebraicFiltration (j : K →+* ℂ) (i : ℤ) : |
| 118 | Submodule ℂ (A.ComplexAlgebraicDeRham j) := |
| 119 | letI : Algebra K ℂ := j.toAlgebra |
| 120 | (A.algebraicFiltration i).baseChange ℂ |
| 121 | |
| 122 | def Geometry.AbelianH1Model.localAlgebraicPullback (f : A.ExtendingEndomorphism) : |
| 123 | Module.End ℚ_[q] A.LocalAlgebraicDeRham := |
| 124 | letI : Algebra K ℚ_[q] := jq.toAlgebra |
| 125 | (A.algebraicDeRhamPullback f).baseChange ℚ_[q] |
| 126 | |
| 127 | def Geometry.AbelianH1Model.complexAlgebraicPullback (j : K →+* ℂ) (f : A.ExtendingEndomorphism) : |
| 128 | Module.End ℂ (A.ComplexAlgebraicDeRham j) := |
| 129 | letI : Algebra K ℂ := j.toAlgebra |
| 130 | (A.algebraicDeRhamPullback f).baseChange ℂ |
| 131 | |
| 132 | /-- This is the required type of a local geometric comparison, not an |
| 133 | assumed inhabitant or an equivalence built by identifying the spaces. -/ |
| 134 | abbrev Geometry.AbelianH1Model.LocalComparisonMap := A.LocalAlgebraicDeRham →ₗ[ℚ_[q]] A.DeRham |
| 135 | |
| 136 | /-- The complex comparison has genuine singular cohomology as its codomain. -/ |
| 137 | abbrev Geometry.AbelianH1Model.BettiComparisonMap (j : K →+* ℂ) := |
| 138 | A.ComplexAlgebraicDeRham j →ₗ[ℂ] A.ComplexBetti j |
| 139 | |
| 140 | end NumberTheory.PadicHodge.GeometricComparison |
| 141 | |
| 142 | namespace NumberTheory.PadicHodge.GeometricComparison.HeckeScalar |
| 143 | |
| 144 | /-! GeometricComparison's unproved target on independently constructed geometric objects. |
| 145 | All finiteness, comparisons, weight assertions and admissibility claims |
| 146 | are conclusions. This definition asserts none of them as a theorem. -/ |
| 147 | |
| 148 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 149 | open scoped TensorProduct |
| 150 | |
| 151 | variable {K : Type} [Field K] [NumberField K] |
| 152 | (q : ℕ) [Fact q.Prime] |
| 153 | (κ : K →+* AlgebraicClosure ℚ) |
| 154 | (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 155 | (ι : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 156 | (jq : K →+* ℚ_[q]) (A : Geometry.AbelianH1Model K q jq) |
| 157 | (H : Type) [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 158 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (jComplex.comp κ)).scheme.left |
| 159 | (A.complexFiber (jComplex.comp κ)).scheme.hom) |
| 160 | |
| 161 | /-- The exact scalar-conjugated eigensummand assertion. The complex variety |
| 162 | and its Hodge subspaces remain fixed; only the algebraic character changes. -/ |
| 163 | def SummandComparison [FiniteDimensional ℚ_[q] A.DeRham] |
| 164 | (Fil : Linear.FiniteFiltration ℚ_[q] A.DeRham) (φdR : A.DeRham ≃ₗ[ℚ_[q]] A.DeRham) : Prop := |
| 165 | ∀ χ : H →ₐ[ℚ] AlgebraicClosure ℚ, |
| 166 | A.bettiHeckeSummand (jComplex.comp κ) ρ (fun h => jComplex (χ h)) ≠ ⊥ → |
| 167 | ∀ σ : AlgebraicClosure ℚ ≃ₐ[ℚ] AlgebraicClosure ℚ, |
| 168 | let χq : H → AlgebraicClosure ℚ_[q] := fun h => ι (σ (χ h)) |
| 169 | let χc : H → ℂ := fun h => jComplex (σ (χ h)) |
| 170 | ∃ L : Linear.FiniteHeckeCoefficientField q χq, |
| 171 | let S : Submodule L.field (L.field ⊗[ℚ_[q]] A.DeRham) := |
| 172 | A.deRhamHeckeSummand ρ χq L |
| 173 | let B : Submodule ℂ (A.ComplexBetti (jComplex.comp κ)) := |
| 174 | A.bettiHeckeSummand (jComplex.comp κ) ρ χc |
| 175 | letI : FiniteDimensional ℚ_[q] S := Module.Finite.trans (R := ℚ_[q]) L.field S |
| 176 | ∃ φS : S ≃ₗ[L.field] S, |
| 177 | (∀ x : S, (φS x : L.field ⊗[ℚ_[q]] A.DeRham) = |
| 178 | Linear.coefficientFrobenius L.field φdR.toLinearMap |
| 179 | (x : L.field ⊗[ℚ_[q]] A.DeRham)) ∧ |
| 180 | Linear.WeaklyAdmissible q (Linear.coefficientSummandFiltration L.field Fil S) |
| 181 | (φS.restrictScalars ℚ_[q]) ∧ |
| 182 | (∀ i : ℤ, |
| 183 | Module.finrank L.field |
| 184 | (S ⊓ Linear.coefficientFiltration L.field A.Fil i : |
| 185 | Submodule L.field (L.field ⊗[ℚ_[q]] A.DeRham)) = |
| 186 | Module.finrank ℂ |
| 187 | (B ⊓ A.bettiFiltration (jComplex.comp κ) P i : |
| 188 | Submodule ℂ (A.ComplexBetti (jComplex.comp κ)))) |
| 189 | |
| 190 | /-- Full comparison properties after the geometric finiteness assertions. -/ |
| 191 | def FiniteComparison |
| 192 | [FiniteDimensional ℚ_[q] A.DeRham] [FiniteDimensional ℚ_[q] A.Crystalline] |
| 193 | (ℓ : ℕ) [Fact ℓ.Prime] : Prop := |
| 194 | ∃ (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 195 | (φ : A.Crystalline ≃ₗ[ℚ_[q]] A.Crystalline) |
| 196 | (Fil : Linear.FiniteFiltration ℚ_[q] A.DeRham), |
| 197 | φ.toLinearMap = A.crystallineFrobenius ∧ |
| 198 | Fil.step = A.Fil ∧ |
| 199 | let φdR := cmp.symm.trans (φ.trans cmp) |
| 200 | Linear.WeaklyAdmissible q Fil φdR ∧ |
| 201 | (∀ f : A.ExtendingEndomorphism, |
| 202 | (∀ x, cmp (A.crystallinePullback f x) = A.deRhamPullback f (cmp x)) ∧ |
| 203 | (∀ x, φ (A.crystallinePullback f x) = A.crystallinePullback f (φ x)) ∧ |
| 204 | (∀ i : ℤ, (A.Fil i).map (A.deRhamPullback f) ≤ A.Fil i)) ∧ |
| 205 | (∃ W : Polynomial ℤ, |
| 206 | A.IsWeilPolynomial ℓ W ∧ |
| 207 | LinearMap.charpoly A.crystallineFrobenius = W.map (Int.castRingHom ℚ_[q]) ∧ |
| 208 | ∀ z : ℂ, Polynomial.aeval z W = 0 → ‖z‖ = Real.sqrt (q : ℝ)) ∧ |
| 209 | (∃ (localCmp : A.LocalAlgebraicDeRham ≃ₗ[ℚ_[q]] A.DeRham) |
| 210 | (bettiCmp : A.ComplexAlgebraicDeRham (jComplex.comp κ) ≃ₗ[ℂ] A.ComplexBetti (jComplex.comp κ)), |
| 211 | (∀ f : A.ExtendingEndomorphism, |
| 212 | (∀ x, localCmp (A.localAlgebraicPullback f x) = A.deRhamPullback f (localCmp x)) ∧ |
| 213 | (∀ x, bettiCmp (A.complexAlgebraicPullback (jComplex.comp κ) f x) = |
| 214 | A.complexBettiPullback (jComplex.comp κ) f (bettiCmp x))) ∧ |
| 215 | (∀ i : ℤ, (A.localAlgebraicFiltration i).map localCmp.toLinearMap = A.Fil i) ∧ |
| 216 | (∀ i : ℤ, (A.complexAlgebraicFiltration (jComplex.comp κ) i).map bettiCmp.toLinearMap = |
| 217 | A.bettiFiltration (jComplex.comp κ) P i)) ∧ |
| 218 | SummandComparison q κ jComplex ι jq A H ρ P Fil φdR |
| 219 | |
| 220 | /-- Statement-only target. The numerical operations are used only after |
| 221 | finite-dimensionality has been asserted in the conclusion. -/ |
| 222 | def ComparisonTarget (ℓ : ℕ) [Fact ℓ.Prime] : Prop := |
| 223 | ∃ hD : FiniteDimensional ℚ_[q] A.DeRham, |
| 224 | ∃ hC : FiniteDimensional ℚ_[q] A.Crystalline, |
| 225 | letI := hD |
| 226 | letI := hC |
| 227 | FiniteComparison q κ jComplex ι jq A H ρ P ℓ |
| 228 | |
| 229 | end NumberTheory.PadicHodge.GeometricComparison.HeckeScalar |
| 230 | |
| 231 | end |
| 232 | |
| 233 | end OAI |