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 | import OAI.NumberTheory.PadicHodge.Filtration |
| 4 | import Mathlib.RingTheory.Finiteness.Descent |
| 5 | |
| 6 | /-! # Geometric Comparison Adapter -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparisonAdapter |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exact GeometricComparison input and its induced geometric summand data for ExtremeSlopes. |
| 13 | The main GeometricComparison proposition is assumed explicitly, never imported as a theorem. |
| 14 | -/ |
| 15 | |
| 16 | attribute [local instance 2000] Submodule.module Submodule.addCommGroup Submodule.addCommMonoid |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | namespace CM.ExtremeSlopes |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeScalar |
| 23 | |
| 24 | /-- The full repaired GeometricComparison proposition, including its geometric hypotheses. -/ |
| 25 | def GeometricComparisonInput : Prop := ∀ |
| 26 | (K : Type) [Field K] [NumberField K] |
| 27 | (q : ℕ) [Fact q.Prime] |
| 28 | (κ : K →+* AlgebraicClosure ℚ) |
| 29 | (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 30 | (ι : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 31 | (jq : K →+* ℚ_[q]) |
| 32 | (_hplace : |
| 33 | (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp jq = ι.comp κ) |
| 34 | (A : GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 35 | (H : Type) [CommRing H] [Algebra ℚ H] |
| 36 | (ρ : A.HeckeRealization H) |
| 37 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (jComplex.comp κ)).scheme.left |
| 38 | (A.complexFiber (jComplex.comp κ)).scheme.hom) |
| 39 | (ℓ : ℕ) [Fact ℓ.Prime] (_hℓq : ℓ ≠ q), |
| 40 | GeometricComparison.HeckeScalar.ComparisonTarget q κ jComplex ι jq A H ρ P ℓ |
| 41 | |
| 42 | variable {K : Type} [Field K] [NumberField K] |
| 43 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} |
| 44 | (A : GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 45 | |
| 46 | /-- The first Betti filtration step is the actual holomorphic subspace. -/ |
| 47 | theorem betti_filtration_one |
| 48 | (j : K →+* ℂ) |
| 49 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) : |
| 50 | A.bettiFiltration j P 1 = (A.smoothProjectiveFiber j P).pureBettiSubspace 1 0 := rfl |
| 51 | |
| 52 | /-- Finite dimension descends through the local scalar extension and then |
| 53 | extends to the fixed complex fiber, using GeometricComparison's two actual comparisons. -/ |
| 54 | theorem complex_finite_of_comparisons |
| 55 | [FiniteDimensional ℚ_[q] A.DeRham] |
| 56 | (j : K →+* ℂ) |
| 57 | (localCmp : A.LocalAlgebraicDeRham ≃ₗ[ℚ_[q]] A.DeRham) |
| 58 | (bettiCmp : A.ComplexAlgebraicDeRham j ≃ₗ[ℂ] A.ComplexBetti j) : |
| 59 | FiniteDimensional ℂ (A.ComplexBetti j) := by |
| 60 | let : Algebra K ℚ_[q] := jq.toAlgebra |
| 61 | let : Algebra K ℂ := j.toAlgebra |
| 62 | have : FiniteDimensional ℚ_[q] A.LocalAlgebraicDeRham := |
| 63 | FiniteDimensional.of_injective localCmp.toLinearMap localCmp.injective |
| 64 | have : Module.Finite K A.AlgebraicDeRham := |
| 65 | Module.Finite.of_finite_tensorProduct_of_faithfullyFlat ℚ_[q] |
| 66 | exact FiniteDimensional.of_surjective bettiCmp.toLinearMap bettiCmp.surjective |
| 67 | |
| 68 | /-- A GeometricComparison summand comparison determines the whole and first-step dimensions, |
| 69 | the endpoint filtration conditions, and the unnormalized rational Newton number. -/ |
| 70 | theorem summand_comparison_numbers |
| 71 | [FiniteDimensional ℚ_[q] A.DeRham] |
| 72 | (j : K →+* ℂ) |
| 73 | (H : Type) [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 74 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left |
| 75 | (A.complexFiber j).scheme.hom) |
| 76 | (χq : H → AlgebraicClosure ℚ_[q]) (χc : H → ℂ) |
| 77 | (L : GeometricComparison.Linear.FiniteHeckeCoefficientField q χq) |
| 78 | (Fil : GeometricComparison.Linear.FiniteFiltration ℚ_[q] A.DeRham) (hFil : Fil.step = A.Fil) |
| 79 | (φS : A.deRhamHeckeSummand ρ χq L ≃ₗ[L.field] A.deRhamHeckeSummand ρ χq L) |
| 80 | (hWA : letI : FiniteDimensional ℚ_[q] (A.deRhamHeckeSummand ρ χq L) := |
| 81 | Module.Finite.trans (R := ℚ_[q]) L.field (A.deRhamHeckeSummand ρ χq L) |
| 82 | GeometricComparison.Linear.WeaklyAdmissible q (GeometricComparison.Linear.coefficientSummandFiltration L.field Fil |
| 83 | (A.deRhamHeckeSummand ρ χq L)) (φS.restrictScalars ℚ_[q])) |
| 84 | (hcmp : ∀ i : ℤ, |
| 85 | Module.finrank L.field ↥(A.deRhamHeckeSummand ρ χq L ⊓ |
| 86 | GeometricComparison.Linear.coefficientFiltration L.field A.Fil i) = |
| 87 | Module.finrank ℂ ↥(A.bettiHeckeSummand j ρ χc ⊓ A.bettiFiltration j P i)) : |
| 88 | let S := A.deRhamHeckeSummand ρ χq L |
| 89 | let B := A.bettiHeckeSummand j ρ χc |
| 90 | let F := (GeometricComparison.Linear.finiteCoefficientFiltration L.field Fil).restrict S |
| 91 | Module.finrank L.field S = Module.finrank ℂ B ∧ |
| 92 | F.step 0 = ⊤ ∧ F.step 2 = ⊥ ∧ |
| 93 | Module.finrank L.field (F.step 1) = |
| 94 | Module.finrank ℂ ↥(B ⊓ A.bettiFiltration j P 1) ∧ |
| 95 | (Padic.valuation (p := q) (LinearMap.det (A := ℚ_[q]) (M := A.deRhamHeckeSummand ρ χq L) |
| 96 | (φS.restrictScalars ℚ_[q]).toLinearMap) : ℚ) = |
| 97 | (Module.finrank ℚ_[q] L.field : ℚ) * |
| 98 | (Module.finrank ℂ ↥(B ⊓ A.bettiFiltration j P 1) : ℚ) := by |
| 99 | apply Filtration.CM.ExtremeSlopesAdapter.coefficient_comparison_numbers q L.field Fil |
| 100 | (A.deRhamHeckeSummand ρ χq L) (A.bettiHeckeSummand j ρ χc) |
| 101 | (A.bettiFiltration j P) φS hWA (fun i hi => ite_eq_left hi) (by rfl) |
| 102 | intro i |
| 103 | rw [hFil] |
| 104 | exact hcmp i |
| 105 | |
| 106 | /-- The arithmetic data extracted from GeometricComparison for every coefficient-conjugate |
| 107 | character, with the actual induced filtration and Frobenius. -/ |
| 108 | def NativeSummandComparison |
| 109 | [FiniteDimensional ℚ_[q] A.DeRham] |
| 110 | (κ : K →+* AlgebraicClosure ℚ) (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 111 | (ι : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 112 | (H : Type) [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 113 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (jComplex.comp κ)).scheme.left |
| 114 | (A.complexFiber (jComplex.comp κ)).scheme.hom) |
| 115 | (Fil : GeometricComparison.Linear.FiniteFiltration ℚ_[q] A.DeRham) (φdR : A.DeRham ≃ₗ[ℚ_[q]] A.DeRham) : Prop := |
| 116 | ∀ χ : H →ₐ[ℚ] AlgebraicClosure ℚ, |
| 117 | A.bettiHeckeSummand (jComplex.comp κ) ρ (fun h => jComplex (χ h)) ≠ ⊥ → |
| 118 | ∀ σ : AlgebraicClosure ℚ ≃ₐ[ℚ] AlgebraicClosure ℚ, |
| 119 | let χq : H → AlgebraicClosure ℚ_[q] := fun h => ι (σ (χ h)) |
| 120 | let χc : H → ℂ := fun h => jComplex (σ (χ h)) |
| 121 | ∃ L : GeometricComparison.Linear.FiniteHeckeCoefficientField q χq, |
| 122 | let S := A.deRhamHeckeSummand ρ χq L |
| 123 | let B := A.bettiHeckeSummand (jComplex.comp κ) ρ χc |
| 124 | let F := (GeometricComparison.Linear.finiteCoefficientFiltration L.field Fil).restrict S |
| 125 | letI : FiniteDimensional ℚ_[q] S := Module.Finite.trans (R := ℚ_[q]) L.field S |
| 126 | ∃ φS : S ≃ₗ[L.field] S, |
| 127 | (∀ x : S, (φS x : L.field ⊗[ℚ_[q]] A.DeRham) = |
| 128 | GeometricComparison.Linear.coefficientFrobenius L.field φdR.toLinearMap |
| 129 | (x : L.field ⊗[ℚ_[q]] A.DeRham)) ∧ |
| 130 | GeometricComparison.Linear.WeaklyAdmissible q (GeometricComparison.Linear.coefficientSummandFiltration L.field Fil S) |
| 131 | (φS.restrictScalars ℚ_[q]) ∧ |
| 132 | (∀ a : AlgebraicClosure ℚ, |
| 133 | Module.End.HasEigenvalue |
| 134 | (φS.toLinearMap.baseChange (AlgebraicClosure ℚ_[q])) (ι a) → |
| 135 | ‖jComplex a‖ = Real.sqrt (q : ℝ)) ∧ |
| 136 | ExtremeSlopes.CM.Construction.WeaklyAdmissible01 (K := L.field) (D := S) (F.step 1) φS.toLinearMap |
| 137 | (Filtration.CM.ExtremeSlopesAdapter.normalizedSummandNewton q L.field (V := S) φS) ∧ |
| 138 | Module.finrank L.field S = Module.finrank ℂ B ∧ |
| 139 | F.step 0 = ⊤ ∧ F.step 2 = ⊥ ∧ |
| 140 | Module.finrank L.field (F.step 1) = |
| 141 | Module.finrank ℂ ↥(B ⊓ |
| 142 | A.bettiFiltration (jComplex.comp κ) P 1) ∧ |
| 143 | (Padic.valuation (p := q) |
| 144 | (LinearMap.det (A := ℚ_[q]) (M := S) |
| 145 | (φS.restrictScalars ℚ_[q]).toLinearMap) : ℚ) = |
| 146 | (Module.finrank ℚ_[q] L.field : ℚ) * |
| 147 | (Module.finrank ℂ ↥(B ⊓ |
| 148 | A.bettiFiltration (jComplex.comp κ) P 1) : ℚ) |
| 149 | |
| 150 | /-- Adapter from the FULL repaired GeometricComparison proposition. Finiteness, comparisons, |
| 151 | and weak admissibility are obtained from its conclusion. The rational Hodge |
| 152 | number and all filtration identifications are then derived. -/ |
| 153 | theorem native_summands_of_full_GeometricComparison |
| 154 | (h_GeometricComparison : GeometricComparisonInput) |
| 155 | (κ : K →+* AlgebraicClosure ℚ) (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 156 | (ι : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 157 | (hplace : (algebraMap ℚ_[q] (AlgebraicClosure ℚ_[q])).comp jq = ι.comp κ) |
| 158 | (H : Type) [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 159 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (jComplex.comp κ)).scheme.left |
| 160 | (A.complexFiber (jComplex.comp κ)).scheme.hom) |
| 161 | (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 162 | ∃ hD : FiniteDimensional ℚ_[q] A.DeRham, |
| 163 | ∃ hC : FiniteDimensional ℚ_[q] A.Crystalline, |
| 164 | ∃ hB : FiniteDimensional ℂ (A.ComplexBetti (jComplex.comp κ)), |
| 165 | letI := hD |
| 166 | letI := hC |
| 167 | letI := hB |
| 168 | ∃ (cmp : A.Crystalline ≃ₗ[ℚ_[q]] A.DeRham) |
| 169 | (φ : A.Crystalline ≃ₗ[ℚ_[q]] A.Crystalline) |
| 170 | (Fil : GeometricComparison.Linear.FiniteFiltration ℚ_[q] A.DeRham), |
| 171 | φ.toLinearMap = A.crystallineFrobenius ∧ Fil.step = A.Fil ∧ |
| 172 | NativeSummandComparison A κ jComplex ι H ρ P Fil |
| 173 | (cmp.symm.trans (φ.trans cmp)) := by |
| 174 | obtain ⟨hD, hC, hc⟩ := h_GeometricComparison K q κ jComplex ι jq hplace A H ρ P ℓ hℓq |
| 175 | let := hD |
| 176 | let := hC |
| 177 | obtain ⟨cmp, φ, Fil, hφ, hFil, _hWA, _hfun, _hweil, hgeo, hsumm⟩ := hc |
| 178 | obtain ⟨localCmp, bettiCmp, _hgeo⟩ := hgeo |
| 179 | have hB := complex_finite_of_comparisons A (jComplex.comp κ) localCmp bettiCmp |
| 180 | refine ⟨hD, hC, hB, cmp, φ, Fil, hφ, hFil, ?_⟩ |
| 181 | obtain ⟨W, _hW, hchar, hweight⟩ := _hweil |
| 182 | let φdR : A.DeRham ≃ₗ[ℚ_[q]] A.DeRham := cmp.symm.trans (φ.trans cmp) |
| 183 | have hdRchar : φdR.toLinearMap.charpoly = W.map (Int.castRingHom ℚ_[q]) := by |
| 184 | change LinearMap.charpoly (cmp.conj φ.toLinearMap) = _ |
| 185 | rw [LinearEquiv.charpoly_conj, hφ, hchar] |
| 186 | intro χ hχ σ |
| 187 | obtain ⟨L, φS, hφS, hWAS, hcompS⟩ := hsumm χ hχ σ |
| 188 | refine ⟨L, φS, hφS, hWAS, ?_, ?_⟩ |
| 189 | · intro a ha |
| 190 | exact FrobeniusSlopeComparisonNewton.weights_on_baseChanged_subspace |
| 191 | φdR.toLinearMap W hdRchar q hweight |
| 192 | (A.deRhamHeckeSummand ρ (fun h => ι (σ (χ h))) L) φS.toLinearMap |
| 193 | hφS jComplex ι a ha |
| 194 | have hn := summand_comparison_numbers A (jComplex.comp κ) H ρ P |
| 195 | (fun h => ι (σ (χ h))) (fun h => jComplex (σ (χ h))) |
| 196 | L Fil hFil φS hWAS hcompS |
| 197 | exact ⟨Filtration.CM.ExtremeSlopesAdapter.coefficient_weaklyAdmissible01 q L.field Fil _ φS hWAS hn.2.1 hn.2.2.1, hn⟩ |
| 198 | |
| 199 | end CM.ExtremeSlopes |
| 200 | |
| 201 | end |
| 202 | |
| 203 | end OAI.NumberTheory.PadicHodge.GeometricComparisonAdapter |