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.IntrinsicParameters |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.SummandOperators |
| 4 | import OAI.LinearAlgebra.Endomorphisms.Commuting |
| 5 | |
| 6 | /-! # Intrinsic Summands -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntrinsicSummands |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Resolve the numerical FrobeniusSlope premises on GeometricComparison's actual conjugated |
| 13 | Hecke summands, using the geometric polynomial and character values. -/ |
| 14 | |
| 15 | attribute [local instance 2000] Submodule.module Submodule.addCommGroup Submodule.addCommMonoid |
| 16 | open scoped TensorProduct |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.SummandOperators.CM |
| 18 | open OAI.NumberTheory.PadicHodge.FrobeniusSlopeComparisonNewton OAI.NumberTheory.PadicHodge.GeometricComparison.FrobeniusSlope |
| 19 | open OAI.NumberTheory.PadicHodge.IntrinsicParameters.FrobeniusSlopeIntrinsic |
| 20 | |
| 21 | namespace FrobeniusSlopeIntrinsicComparison |
| 22 | |
| 23 | def ForcedSlope (q : ℕ) [Fact q.Prime] |
| 24 | (L : IntermediateField ℚ_[q] (AlgebraicClosure ℚ_[q])) |
| 25 | [FiniteDimensional ℚ_[q] L] |
| 26 | {U : Type*} [AddCommGroup U] [Module L U] |
| 27 | [Module ℚ_[q] U] [IsScalarTower ℚ_[q] L U] [FiniteDimensional L U] |
| 28 | (ι : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 29 | (r b e : AlgebraicClosure ℚ) (f : U ≃ₗ[L] U) : Prop := |
| 30 | ∀ (ν : AddValuation (AlgebraicClosure ℚ_[q]) (WithTop ℚ)), |
| 31 | ν (q : AlgebraicClosure ℚ_[q]) = 1 → |
| 32 | ∀ t : ℚ, ν (ι e) = (t : WithTop ℚ) → |
| 33 | Module.End.genEigenspace (f.toLinearMap.baseChange (AlgebraicClosure ℚ_[q])) (ι (b * r)) ⊤ = ⊤ ∧ |
| 34 | (∀ μ, Module.End.HasEigenvalue (f.toLinearMap.baseChange (AlgebraicClosure ℚ_[q])) μ → |
| 35 | μ = ι (b * r) ∧ ν μ = ((1 / 2 - t / 3 : ℚ) : WithTop ℚ)) ∧ |
| 36 | algebraMap L (AlgebraicClosure ℚ_[q]) (LinearMap.det f.toLinearMap) = |
| 37 | ι (b * r) ^ Module.finrank L U ∧ |
| 38 | FrobeniusSlopeComparisonNewton.newton q L U f = (Module.finrank L U : ℚ) * |
| 39 | (1 / 2 - FrobeniusSlopeComparisonNewton.parameterValuation q L (ι r) (ι b) (ι e) / 3) |
| 40 | |
| 41 | /-- The numerical application is independent of geometric type unfolding. -/ |
| 42 | theorem forcedSlope_of_newtonData |
| 43 | (q : ℕ) [Fact q.Prime] |
| 44 | (L : IntermediateField ℚ_[q] (AlgebraicClosure ℚ_[q])) |
| 45 | [FiniteDimensional ℚ_[q] L] |
| 46 | {U : Type*} [AddCommGroup U] [Module L U] [Module ℚ_[q] U] |
| 47 | [IsScalarTower ℚ_[q] L U] [FiniteDimensional L U] |
| 48 | (j : AlgebraicClosure ℚ →+* ℂ) (ι : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 49 | (f : U ≃ₗ[L] U) (hdata : FrobeniusSlopeComparisonNewton.NewtonData (L := L) (U := U) q j ι f) |
| 50 | (r b e : AlgebraicClosure ℚ) (hr : r ^ 2 = (q : AlgebraicClosure ℚ)) |
| 51 | (hrC : j r = (Real.sqrt (q : ℝ) : ℂ)) (heC : ‖j e‖ = 1) |
| 52 | (hcentral : ∃ n : ℕ, 0 < n ∧ (b ^ 3 * e) ^ n = 1) |
| 53 | (T : Fin 3 → Module.End (AlgebraicClosure ℚ_[q]) ((AlgebraicClosure ℚ_[q]) ⊗[L] U)) |
| 54 | (hT : ∀ i j, Commute (T i) (T j)) |
| 55 | (hFT : ∀ i, Commute (f.toLinearMap.baseChange (AlgebraicClosure ℚ_[q])) (T i)) |
| 56 | (hpoly : AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial.CM.heckePolynomialValue q |
| 57 | (f.toLinearMap.baseChange (AlgebraicClosure ℚ_[q])) T = 0) |
| 58 | (hsat : ∀ i, (T i).genEigenspace (ι (IntrinsicParameters.FrobeniusSlopeIntrinsic.satakeValues q r b e i)) ⊤ = ⊤) : |
| 59 | ForcedSlope (U := U) q L ι r b e f := by |
| 60 | have h67 : FrobeniusSlopeComparisonNewton.CommutingInput (AlgebraicClosure ℚ_[q]) |
| 61 | ((AlgebraicClosure ℚ_[q]) ⊗[L] U) := by |
| 62 | intro V hV |
| 63 | exact LinearAlgebra.Endomorphisms.Commuting.Construction.commuting_family_structure V hV |
| 64 | intro ν hν t he |
| 65 | have hout := hdata r b e hr hrC heC hcentral T hT hFT hpoly hsat h67 ν hν t he |
| 66 | exact ⟨hout.1, hout.2.1, hout.2.2.1, |
| 67 | FrobeniusSlopeComparisonNewton.intrinsic_newton_on_coefficient_field (U := U) q L j ι f hdata |
| 68 | r b e hr hrC heC hcentral T hT hFT hpoly hsat h67 ν hν t he⟩ |
| 69 | |
| 70 | variable {K : Type} [Field K] [NumberField K] |
| 71 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 72 | (κ : K →+* AlgebraicClosure ℚ) (j : AlgebraicClosure ℚ →+* ℂ) |
| 73 | (ι : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 74 | {H : Type} [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 75 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (j.comp κ)).scheme.left |
| 76 | (A.complexFiber (j.comp κ)).scheme.hom) |
| 77 | |
| 78 | def SummandForced [FiniteDimensional ℚ_[q] A.DeRham] |
| 79 | (Fil : GeometricComparison.Linear.FiniteFiltration ℚ_[q] A.DeRham) (φdR : A.DeRham ≃ₗ[ℚ_[q]] A.DeRham) |
| 80 | (χ : H →ₐ[ℚ] AlgebraicClosure ℚ) (r b e : AlgebraicClosure ℚ) : Prop := |
| 81 | ∀ σ : AlgebraicClosure ℚ ≃ₐ[ℚ] AlgebraicClosure ℚ, |
| 82 | let χq : H → AlgebraicClosure ℚ_[q] := fun h => ι (σ (χ h)) |
| 83 | let χc : H → ℂ := fun h => j (σ (χ h)) |
| 84 | ∃ L : GeometricComparison.Linear.FiniteHeckeCoefficientField q χq, |
| 85 | let S := A.deRhamHeckeSummand ρ χq L |
| 86 | let B := A.bettiHeckeSummand (j.comp κ) ρ χc |
| 87 | letI : FiniteDimensional ℚ_[q] S := Module.Finite.trans (R := ℚ_[q]) L.field S |
| 88 | ∃ φS : S ≃ₗ[L.field] S, |
| 89 | (∀ x : S, (φS x : L.field ⊗[ℚ_[q]] A.DeRham) = |
| 90 | GeometricComparison.Linear.coefficientFrobenius L.field φdR.toLinearMap (x : L.field ⊗[ℚ_[q]] A.DeRham)) ∧ |
| 91 | GeometricComparison.Linear.WeaklyAdmissible q (GeometricComparison.Linear.coefficientSummandFiltration L.field Fil S) |
| 92 | (φS.restrictScalars ℚ_[q]) ∧ |
| 93 | (∀ i : ℤ, |
| 94 | Module.finrank L.field (S ⊓ GeometricComparison.Linear.coefficientFiltration L.field A.Fil i : |
| 95 | Submodule L.field (L.field ⊗[ℚ_[q]] A.DeRham)) = |
| 96 | Module.finrank ℂ (B ⊓ A.bettiFiltration (j.comp κ) P i : |
| 97 | Submodule ℂ (A.ComplexBetti (j.comp κ)))) ∧ |
| 98 | ForcedSlope (U := S) q L.field ι (σ r) (σ b) (σ e) φS |
| 99 | |
| 100 | /-- GeometricComparison's integral polynomial gives numerical weight data for the |
| 101 | actual subspace in any complex test embedding. -/ |
| 102 | theorem newtonData_on_native_subspace |
| 103 | [FiniteDimensional ℚ_[q] A.DeRham] |
| 104 | (φdR : A.DeRham ≃ₗ[ℚ_[q]] A.DeRham) |
| 105 | (W : Polynomial ℤ) |
| 106 | (hchar : LinearMap.charpoly φdR.toLinearMap = W.map (Int.castRingHom ℚ_[q])) |
| 107 | (hweight : ∀ z : ℂ, Polynomial.aeval z W = 0 → ‖z‖ = Real.sqrt (q : ℝ)) |
| 108 | (χq : H → AlgebraicClosure ℚ_[q]) (L : GeometricComparison.Linear.FiniteHeckeCoefficientField q χq) |
| 109 | (φS : (A.deRhamHeckeSummand ρ χq L) ≃ₗ[L.field] (A.deRhamHeckeSummand ρ χq L)) |
| 110 | (hincl : ∀ x : A.deRhamHeckeSummand ρ χq L, |
| 111 | (φS x : L.field ⊗[ℚ_[q]] A.DeRham) = GeometricComparison.Linear.coefficientFrobenius L.field φdR.toLinearMap |
| 112 | (x : L.field ⊗[ℚ_[q]] A.DeRham)) : |
| 113 | FrobeniusSlopeComparisonNewton.NewtonData (L := L.field) (U := A.deRhamHeckeSummand ρ χq L) q j ι φS := by |
| 114 | apply FrobeniusSlopeComparisonNewton.newtonData_of_weights (L := L.field) (U := A.deRhamHeckeSummand ρ χq L) |
| 115 | q (Fact.out : q.Prime) j ι φS |
| 116 | intro a ha |
| 117 | exact FrobeniusSlopeComparisonNewton.weights_on_baseChanged_subspace φdR.toLinearMap W hchar q hweight |
| 118 | (A.deRhamHeckeSummand ρ χq L) φS.toLinearMap hincl j ι a ha |
| 119 | |
| 120 | /-- The polynomial and scalar conditions are derived on one actual |
| 121 | coefficient summand, before applying the numerical calculation. -/ |
| 122 | theorem forcedSlope_on_native_subspace |
| 123 | [FiniteDimensional ℚ_[q] A.DeRham] |
| 124 | (φdR : A.DeRham ≃ₗ[ℚ_[q]] A.DeRham) |
| 125 | (W : Polynomial ℤ) |
| 126 | (hchar : LinearMap.charpoly φdR.toLinearMap = W.map (Int.castRingHom ℚ_[q])) |
| 127 | (hweight : ∀ z : ℂ, Polynomial.aeval z W = 0 → ‖z‖ = Real.sqrt (q : ℝ)) |
| 128 | (hcomm : ∀ h k, Commute (A.deRhamHecke ρ h) (A.deRhamHecke ρ k)) |
| 129 | (hfcomm : ∀ h, Commute φdR.toLinearMap (A.deRhamHecke ρ h)) |
| 130 | (idx : Fin 3 → H) |
| 131 | (hp : AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial.CM.heckePolynomialValue q φdR.toLinearMap |
| 132 | (fun i => A.deRhamHecke ρ (idx i)) = 0) |
| 133 | (χq : H → AlgebraicClosure ℚ_[q]) (L : GeometricComparison.Linear.FiniteHeckeCoefficientField q χq) |
| 134 | (φS : (A.deRhamHeckeSummand ρ χq L) ≃ₗ[L.field] (A.deRhamHeckeSummand ρ χq L)) |
| 135 | (hincl : ∀ x : A.deRhamHeckeSummand ρ χq L, |
| 136 | (φS x : L.field ⊗[ℚ_[q]] A.DeRham) = GeometricComparison.Linear.coefficientFrobenius L.field φdR.toLinearMap |
| 137 | (x : L.field ⊗[ℚ_[q]] A.DeRham)) |
| 138 | (r b e : AlgebraicClosure ℚ) (hr : r ^ 2 = (q : AlgebraicClosure ℚ)) |
| 139 | (hrC : j r = (Real.sqrt (q : ℝ) : ℂ)) (heC : ‖j e‖ = 1) |
| 140 | (hcentral : ∃ n : ℕ, 0 < n ∧ (b ^ 3 * e) ^ n = 1) |
| 141 | (hvalues : ∀ i, χq (idx i) = ι (IntrinsicParameters.FrobeniusSlopeIntrinsic.satakeValues q r b e i)) : |
| 142 | ForcedSlope (U := A.deRhamHeckeSummand ρ χq L) q L.field ι r b e φS := by |
| 143 | let S := A.deRhamHeckeSummand ρ χq L |
| 144 | let T := fun i => AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.SummandOperators.CM.closureHecke A ρ hcomm χq L (idx i) |
| 145 | obtain ⟨hT, hFT, hpoly, hscalar⟩ := AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.SummandOperators.CM.operators_on_native_summand A ρ hcomm |
| 146 | χq L φdR.toLinearMap φS hincl hfcomm idx hp |
| 147 | have hsat : ∀ i, (T i).genEigenspace (ι (IntrinsicParameters.FrobeniusSlopeIntrinsic.satakeValues q r b e i)) ⊤ = ⊤ := by |
| 148 | intro i |
| 149 | simpa only [hvalues] using hscalar i |
| 150 | have hdata := newtonData_on_native_subspace A j ι ρ φdR W hchar hweight χq L φS hincl |
| 151 | -- Elaborate forward to avoid unfolding the geometric space during backward unification. |
| 152 | have numerical := forcedSlope_of_newtonData (U := S) q L.field j ι φS |
| 153 | have parameters := numerical hdata r b e hr hrC heC hcentral |
| 154 | have result := parameters T hT hFT hpoly hsat |
| 155 | exact result |
| 156 | |
| 157 | /-- Every conjugate is tested through `j ∘ σ⁻¹`, so its square root has the |
| 158 | required positive complex value. The geometric comparison stays fixed. -/ |
| 159 | theorem forced_on_same_summands |
| 160 | [FiniteDimensional ℚ_[q] A.DeRham] |
| 161 | (Fil : GeometricComparison.Linear.FiniteFiltration ℚ_[q] A.DeRham) (φdR : A.DeRham ≃ₗ[ℚ_[q]] A.DeRham) |
| 162 | (hsumm : GeometricComparison.HeckeScalar.SummandComparison q κ j ι jq A H ρ P Fil φdR) |
| 163 | (W : Polynomial ℤ) |
| 164 | (hchar : LinearMap.charpoly φdR.toLinearMap = W.map (Int.castRingHom ℚ_[q])) |
| 165 | (hweight : ∀ z : ℂ, Polynomial.aeval z W = 0 → ‖z‖ = Real.sqrt (q : ℝ)) |
| 166 | (hcomm : ∀ h k, Commute (A.deRhamHecke ρ h) (A.deRhamHecke ρ k)) |
| 167 | (hfcomm : ∀ h, Commute φdR.toLinearMap (A.deRhamHecke ρ h)) |
| 168 | (idx : Fin 3 → H) |
| 169 | (hp : AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial.CM.heckePolynomialValue q φdR.toLinearMap |
| 170 | (fun i => A.deRhamHecke ρ (idx i)) = 0) |
| 171 | (χ : H →ₐ[ℚ] AlgebraicClosure ℚ) |
| 172 | (hχ : A.bettiHeckeSummand (j.comp κ) ρ (fun h => j (χ h)) ≠ ⊥) |
| 173 | (r b e : AlgebraicClosure ℚ) (hr : r ^ 2 = (q : AlgebraicClosure ℚ)) |
| 174 | (hrC : j r = (Real.sqrt (q : ℝ) : ℂ)) (heC : ‖j e‖ = 1) |
| 175 | (hcentral : ∃ n : ℕ, 0 < n ∧ (b ^ 3 * e) ^ n = 1) |
| 176 | (hvalues : ∀ i, χ (idx i) = IntrinsicParameters.FrobeniusSlopeIntrinsic.satakeValues q r b e i) : |
| 177 | SummandForced A κ j ι ρ P Fil φdR χ r b e := by |
| 178 | intro σ |
| 179 | obtain ⟨L, φS, hincl, hWA, hdim⟩ := hsumm χ hχ σ |
| 180 | refine ⟨L, φS, hincl, hWA, hdim, ?_⟩ |
| 181 | let jσ := j.comp σ.symm.toRingHom |
| 182 | have hrσ : (σ r) ^ 2 = (q : AlgebraicClosure ℚ) := by |
| 183 | rw [← map_pow, hr, map_natCast] |
| 184 | have hrCσ : jσ (σ r) = (Real.sqrt (q : ℝ) : ℂ) := by |
| 185 | change j (σ.symm (σ r)) = _ |
| 186 | simpa only [σ.symm_apply_apply] using hrC |
| 187 | have heCσ : ‖jσ (σ e)‖ = 1 := by |
| 188 | change ‖j (σ.symm (σ e))‖ = 1 |
| 189 | simpa only [σ.symm_apply_apply] using heC |
| 190 | have hcσ : ∃ n : ℕ, 0 < n ∧ ((σ b) ^ 3 * σ e) ^ n = 1 := by |
| 191 | obtain ⟨n, hn, hc⟩ := hcentral |
| 192 | exact ⟨n, hn, by rw [← map_pow, ← map_mul, ← map_pow, hc, map_one]⟩ |
| 193 | have hvaluesσ : ∀ i, ι (σ (χ (idx i))) = ι (IntrinsicParameters.FrobeniusSlopeIntrinsic.satakeValues q (σ r) (σ b) (σ e) i) := by |
| 194 | intro i |
| 195 | apply congrArg ι |
| 196 | rw [hvalues] |
| 197 | exact IntrinsicParameters.FrobeniusSlopeIntrinsic.satakeValues_map σ.toRingHom q r b e i |
| 198 | exact forcedSlope_on_native_subspace A jσ ι ρ φdR W hchar hweight hcomm hfcomm idx hp |
| 199 | (fun h => ι (σ (χ h))) L φS hincl (σ r) (σ b) (σ e) hrσ hrCσ heCσ hcσ hvaluesσ |
| 200 | |
| 201 | end FrobeniusSlopeIntrinsicComparison |
| 202 | |
| 203 | end |
| 204 | |
| 205 | end OAI.NumberTheory.PadicHodge.IntrinsicSummands |