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.HeckeScalar |
| 2 | import OAI.NumberTheory.PadicHodge.FrobeniusSlopeComparisonNewton |
| 3 | |
| 4 | /-! # Geometric Comparison -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | attribute [local instance 2000] Submodule.module Submodule.addCommGroup Submodule.addCommMonoid |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped TensorProduct |
| 13 | open OAI.NumberTheory.PadicHodge.FrobeniusSlopeComparisonNewton |
| 14 | |
| 15 | namespace FrobeniusSlope |
| 16 | |
| 17 | /-- The full repaired GeometricComparison proposition, copied as a type. |
| 18 | Its unproved statement module is deliberately not imported. -/ |
| 19 | def GeometricComparisonInput : Prop := ∀ |
| 20 | {K : Type} [Field K] [NumberField K] |
| 21 | (q : ℕ) [Fact q.Prime] |
| 22 | (κ : K →+* AlgebraicClosure ℚ) |
| 23 | (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 24 | (ι : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 25 | (jq : K →+* ℚ_[q]) |
| 26 | (_hplace : |
| 27 | (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp jq = ι.comp κ) |
| 28 | (A : Geometry.AbelianH1Model K q jq) |
| 29 | (H : Type) [CommRing H] [Algebra ℚ H] |
| 30 | (ρ : A.HeckeRealization H) |
| 31 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (jComplex.comp κ)).scheme.left |
| 32 | (A.complexFiber (jComplex.comp κ)).scheme.hom) |
| 33 | (ℓ : ℕ) [Fact ℓ.Prime] (_hℓq : ℓ ≠ q), |
| 34 | HeckeScalar.ComparisonTarget q κ jComplex ι jq A H ρ P ℓ |
| 35 | |
| 36 | variable {K : Type} [Field K] [NumberField K] |
| 37 | (q : ℕ) [Fact q.Prime] |
| 38 | (κ : K →+* AlgebraicClosure ℚ) |
| 39 | (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 40 | (ι : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 41 | (jq : K →+* ℚ_[q]) (A : Geometry.AbelianH1Model K q jq) |
| 42 | (H : Type) [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 43 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (jComplex.comp κ)).scheme.left |
| 44 | (A.complexFiber (jComplex.comp κ)).scheme.hom) |
| 45 | |
| 46 | def SummandComparisonWithNewton [FiniteDimensional ℚ_[q] A.DeRham] |
| 47 | (Fil : Linear.FiniteFiltration ℚ_[q] A.DeRham) (φdR : A.DeRham ≃ₗ[ℚ_[q]] A.DeRham) : Prop := |
| 48 | ∀ χ : H →ₐ[ℚ] AlgebraicClosure ℚ, |
| 49 | A.bettiHeckeSummand (jComplex.comp κ) ρ (fun h => jComplex (χ h)) ≠ ⊥ → |
| 50 | ∀ σ : AlgebraicClosure ℚ ≃ₐ[ℚ] AlgebraicClosure ℚ, |
| 51 | let χq : H → AlgebraicClosure ℚ_[q] := fun h => ι (σ (χ h)) |
| 52 | let χc : H → ℂ := fun h => jComplex (σ (χ h)) |
| 53 | ∃ L : Linear.FiniteHeckeCoefficientField q χq, |
| 54 | let S : Submodule L.field (L.field ⊗[ℚ_[q]] A.DeRham) := |
| 55 | A.deRhamHeckeSummand ρ χq L |
| 56 | let B : Submodule ℂ (A.ComplexBetti (jComplex.comp κ)) := |
| 57 | A.bettiHeckeSummand (jComplex.comp κ) ρ χc |
| 58 | letI : FiniteDimensional ℚ_[q] S := Module.Finite.trans (R := ℚ_[q]) L.field S |
| 59 | ∃ φS : S ≃ₗ[L.field] S, |
| 60 | (∀ x : S, (φS x : L.field ⊗[ℚ_[q]] A.DeRham) = |
| 61 | Linear.coefficientFrobenius L.field φdR.toLinearMap |
| 62 | (x : L.field ⊗[ℚ_[q]] A.DeRham)) ∧ |
| 63 | Linear.WeaklyAdmissible q (Linear.coefficientSummandFiltration L.field Fil S) |
| 64 | (φS.restrictScalars ℚ_[q]) ∧ |
| 65 | (∀ i : ℤ, |
| 66 | Module.finrank L.field |
| 67 | (S ⊓ Linear.coefficientFiltration L.field A.Fil i : |
| 68 | Submodule L.field (L.field ⊗[ℚ_[q]] A.DeRham)) = |
| 69 | Module.finrank ℂ |
| 70 | (B ⊓ A.bettiFiltration (jComplex.comp κ) P i : |
| 71 | Submodule ℂ (A.ComplexBetti (jComplex.comp κ)))) ∧ |
| 72 | (∀ a : AlgebraicClosure ℚ, |
| 73 | Module.End.HasEigenvalue |
| 74 | (φS.toLinearMap.baseChange (AlgebraicClosure ℚ_[q])) (ι a) → |
| 75 | ‖jComplex a‖ = Real.sqrt (q : ℝ)) ∧ |
| 76 | FrobeniusSlopeComparisonNewton.NewtonData (L := L.field) (U := S) q jComplex ι φS |
| 77 | |
| 78 | /-- Full comparison properties after the geometric finiteness assertions. -/ |
| 79 | def FiniteComparisonWithNewton |
| 80 | [FiniteDimensional ℚ_[q] A.DeRham] [FiniteDimensional ℚ_[q] A.Crystalline] |
| 81 | (ℓ : ℕ) [Fact ℓ.Prime] : Prop := |
| 82 | ∃ (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 83 | (φ : A.Crystalline ≃ₗ[ℚ_[q]] A.Crystalline) |
| 84 | (Fil : Linear.FiniteFiltration ℚ_[q] A.DeRham), |
| 85 | φ.toLinearMap = A.crystallineFrobenius ∧ |
| 86 | Fil.step = A.Fil ∧ |
| 87 | let φdR := cmp.symm.trans (φ.trans cmp) |
| 88 | Linear.WeaklyAdmissible q Fil φdR ∧ |
| 89 | (∀ f : A.ExtendingEndomorphism, |
| 90 | (∀ x, cmp (A.crystallinePullback f x) = A.deRhamPullback f (cmp x)) ∧ |
| 91 | (∀ x, φ (A.crystallinePullback f x) = A.crystallinePullback f (φ x)) ∧ |
| 92 | (∀ i : ℤ, (A.Fil i).map (A.deRhamPullback f) ≤ A.Fil i)) ∧ |
| 93 | (∃ W : Polynomial ℤ, |
| 94 | A.IsWeilPolynomial ℓ W ∧ |
| 95 | LinearMap.charpoly A.crystallineFrobenius = W.map (Int.castRingHom ℚ_[q]) ∧ |
| 96 | ∀ z : ℂ, Polynomial.aeval z W = 0 → ‖z‖ = Real.sqrt (q : ℝ)) ∧ |
| 97 | (∃ (localCmp : A.LocalAlgebraicDeRham ≃ₗ[ℚ_[q]] A.DeRham) |
| 98 | (bettiCmp : A.ComplexAlgebraicDeRham (jComplex.comp κ) ≃ₗ[ℂ] A.ComplexBetti (jComplex.comp κ)), |
| 99 | (∀ f : A.ExtendingEndomorphism, |
| 100 | (∀ x, localCmp (A.localAlgebraicPullback f x) = A.deRhamPullback f (localCmp x)) ∧ |
| 101 | (∀ x, bettiCmp (A.complexAlgebraicPullback (jComplex.comp κ) f x) = |
| 102 | A.complexBettiPullback (jComplex.comp κ) f (bettiCmp x))) ∧ |
| 103 | (∀ i : ℤ, (A.localAlgebraicFiltration i).map localCmp.toLinearMap = A.Fil i) ∧ |
| 104 | (∀ i : ℤ, (A.complexAlgebraicFiltration (jComplex.comp κ) i).map bettiCmp.toLinearMap = |
| 105 | A.bettiFiltration (jComplex.comp κ) P i)) ∧ |
| 106 | SummandComparisonWithNewton q κ jComplex ι jq A H ρ P Fil φdR |
| 107 | |
| 108 | /-- Statement-only target. The numerical operations are used only after |
| 109 | finite-dimensionality has been asserted in the conclusion. -/ |
| 110 | def ComparisonWithNewton (ℓ : ℕ) [Fact ℓ.Prime] : Prop := |
| 111 | ∃ hD : FiniteDimensional ℚ_[q] A.DeRham, |
| 112 | ∃ hC : FiniteDimensional ℚ_[q] A.Crystalline, |
| 113 | let := hD |
| 114 | let := hC |
| 115 | FiniteComparisonWithNewton q κ jComplex ι jq A H ρ P ℓ |
| 116 | |
| 117 | /-- Apply the full repaired GeometricComparison input to the actual abelian variety and |
| 118 | upgrade all its occurring, scalar-conjugated Hecke summands with derived |
| 119 | weight bounds and determinant-valued Newton data. -/ |
| 120 | theorem comparison_with_newton_from_full_GeometricComparison |
| 121 | (hGeometricComparison : GeometricComparisonInput) |
| 122 | (hplace : |
| 123 | (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp jq = ι.comp κ) |
| 124 | (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 125 | ComparisonWithNewton q κ jComplex ι jq A H ρ P ℓ := by |
| 126 | obtain ⟨hD, hC, hcomp⟩ := hGeometricComparison q κ jComplex ι jq hplace A H ρ P ℓ hℓq |
| 127 | let := hD |
| 128 | let := hC |
| 129 | obtain ⟨cmp, φ, Fil, hφ, hFil, hWA, hfun, hW, hbase, hsummand⟩ := hcomp |
| 130 | refine ⟨hD, hC, cmp, φ, Fil, hφ, hFil, hWA, hfun, hW, hbase, ?_⟩ |
| 131 | obtain ⟨W, _hWdef, hchar, hweight⟩ := hW |
| 132 | let φdR : A.DeRham ≃ₗ[ℚ_[q]] A.DeRham := cmp.symm.trans (φ.trans cmp) |
| 133 | have hdRchar : LinearMap.charpoly φdR.toLinearMap = W.map (Int.castRingHom ℚ_[q]) := by |
| 134 | change LinearMap.charpoly (cmp.conj φ.toLinearMap) = _ |
| 135 | rw [LinearEquiv.charpoly_conj, hφ, hchar] |
| 136 | intro χ hχ σ |
| 137 | obtain ⟨L, φS, hincl, hWAS, hdim⟩ := hsummand χ hχ σ |
| 138 | refine ⟨L, φS, hincl, hWAS, hdim, ?_, ?_⟩ |
| 139 | · intro a ha |
| 140 | exact FrobeniusSlopeComparisonNewton.weights_on_baseChanged_subspace φdR.toLinearMap W hdRchar q hweight |
| 141 | (A.deRhamHeckeSummand ρ (fun h => ι (σ (χ h))) L) φS.toLinearMap |
| 142 | hincl jComplex ι a ha |
| 143 | · apply FrobeniusSlopeComparisonNewton.newtonData_of_weights (L := L.field) |
| 144 | (U := ↥(A.deRhamHeckeSummand ρ (fun h => ι (σ (χ h))) L)) |
| 145 | q (Fact.out : q.Prime) jComplex ι φS |
| 146 | intro a ha |
| 147 | exact FrobeniusSlopeComparisonNewton.weights_on_baseChanged_subspace φdR.toLinearMap W hdRchar q hweight |
| 148 | (A.deRhamHeckeSummand ρ (fun h => ι (σ (χ h))) L) φS.toLinearMap |
| 149 | hincl jComplex ι a ha |
| 150 | |
| 151 | /-- Forget only the proved FrobeniusSlope additions: the full repaired GeometricComparison |
| 152 | conclusion, with all its original operators and comparison maps, is retained. -/ |
| 153 | theorem forget_newton (ℓ : ℕ) [Fact ℓ.Prime] |
| 154 | (h : ComparisonWithNewton q κ jComplex ι jq A H ρ P ℓ) : |
| 155 | HeckeScalar.ComparisonTarget q κ jComplex ι jq A H ρ P ℓ := by |
| 156 | obtain ⟨hD, hC, hcomp⟩ := h |
| 157 | let := hD |
| 158 | let := hC |
| 159 | obtain ⟨cmp, φ, Fil, hφ, hFil, hWA, hfun, hW, hbase, hsummand⟩ := hcomp |
| 160 | refine ⟨hD, hC, cmp, φ, Fil, hφ, hFil, hWA, hfun, hW, hbase, ?_⟩ |
| 161 | intro χ hχ σ |
| 162 | obtain ⟨L, φS, hincl, hWAS, hdim, _hweight, _hnewton⟩ := hsummand χ hχ σ |
| 163 | exact ⟨L, φS, hincl, hWAS, hdim⟩ |
| 164 | |
| 165 | end FrobeniusSlope |
| 166 | |
| 167 | end |
| 168 | |
| 169 | end OAI.NumberTheory.PadicHodge.GeometricComparison |