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.SummandOperators |
| 2 | import OAI.NumberTheory.PadicHodge.ExtremeSlopesNewtonSummands |
| 3 | |
| 4 | /-! # Purity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Purity.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Discharge the operator premises of the verified ExtremeSlopes purity |
| 11 | implication on its actual GeometricComparison summand. Only the arithmetic character |
| 12 | values, valuations, and Hodge projector data remain to be supplied. -/ |
| 13 | |
| 14 | open scoped TensorProduct |
| 15 | open OAI.NumberTheory.PadicHodge.ExtremeSlopesNewtonSummands.CM.Adapter |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.SummandOperators.CM |
| 17 | |
| 18 | variable {K : Type} [Field K] [NumberField K] |
| 19 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 20 | [FiniteDimensional ℚ_[q] A.DeRham] |
| 21 | {H : Type} [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 22 | (hcomm : ∀ h k, Commute (A.deRhamHecke ρ h) (A.deRhamHecke ρ k)) |
| 23 | (χ : H → AlgebraicClosure ℚ_[q]) (L : NumberTheory.PadicHodge.GeometricComparison.Linear.FiniteHeckeCoefficientField q χ) |
| 24 | |
| 25 | local instance : AddCommGroup (A.deRhamHeckeSummand ρ χ L) := |
| 26 | (A.deRhamHeckeSummand ρ χ L).addCommGroup |
| 27 | local instance : Module L.field (A.deRhamHeckeSummand ρ χ L) := |
| 28 | (A.deRhamHeckeSummand ρ χ L).module |
| 29 | |
| 30 | include hcomm |
| 31 | |
| 32 | theorem purity_from_native_operators |
| 33 | (f : Module.End ℚ_[q] A.DeRham) |
| 34 | (fS : (A.deRhamHeckeSummand ρ χ L) ≃ₗ[L.field] (A.deRhamHeckeSummand ρ χ L)) |
| 35 | (hincl : ∀ x : A.deRhamHeckeSummand ρ χ L, |
| 36 | (fS x : L.field ⊗[ℚ_[q]] A.DeRham) = NumberTheory.PadicHodge.GeometricComparison.Linear.coefficientFrobenius L.field f |
| 37 | (x : L.field ⊗[ℚ_[q]] A.DeRham)) |
| 38 | (hfcomm : ∀ h, Commute f (A.deRhamHecke ρ h)) |
| 39 | (idx : Fin 3 → H) (hp : Ordinary.Polynomial.CM.heckePolynomialValue q f (fun i => A.deRhamHecke ρ (idx i)) = 0) |
| 40 | {C W : Type*} [Field C] [CharZero C] |
| 41 | (jC : C →+* ℂ) (iota : C →+* AlgebraicClosure ℚ_[q]) |
| 42 | [AddCommGroup W] [Module ℂ W] [FiniteDimensional ℂ W] |
| 43 | (hol anti S : Submodule ℂ W) |
| 44 | (hpurity : NumberTheory.PadicHodge.ExtremeSlopesNewtonSummands.CM.Adapter.ConditionalPurity q (U := A.deRhamHeckeSummand ρ χ L) |
| 45 | L.field jC iota fS hol S) |
| 46 | (r b e : C) (hr : r ^ 2 = (q : C)) |
| 47 | (hrC : jC r = (Real.sqrt (q : ℝ) : ℂ)) |
| 48 | (heC : ‖jC e‖ = 1) |
| 49 | (hcentral : ∃ n : ℕ, 0 < n ∧ (b ^ 3 * e) ^ n = 1) |
| 50 | (hvalues : ∀ i : Fin 3, |
| 51 | χ (idx i) = iota ((![(q : C) * b * (r + r⁻¹ + e), |
| 52 | (q : C) * b ^ 2 * (r * r⁻¹ + r * e + r⁻¹ * e), b ^ 3 * e] : Fin 3 → C) i)) |
| 53 | (hCommuting : NumberTheory.PadicHodge.FrobeniusSlopeComparisonNewton.CommutingInput (AlgebraicClosure ℚ_[q]) |
| 54 | ((AlgebraicClosure ℚ_[q]) ⊗[L.field] (A.deRhamHeckeSummand ρ χ L))) |
| 55 | (ν : AddValuation (AlgebraicClosure ℚ_[q]) (WithTop ℚ)) |
| 56 | (hνq : ν (q : AlgebraicClosure ℚ_[q]) = 1) |
| 57 | (s : ℚ) (hνe : ν (iota e) = (s : WithTop ℚ)) |
| 58 | (hcompl : IsCompl hol anti) |
| 59 | (P : Module.End ℂ W) (hRange : LinearMap.range P = S) |
| 60 | (hhol : ∀ x ∈ hol, P x ∈ hol) (hanti : ∀ x ∈ anti, P x ∈ anti) |
| 61 | (hne : S ≠ ⊥) (sign : Bool) (initial : ℚ) |
| 62 | (hinitial : initial = -3 / 2 ∨ initial = 3 / 2) |
| 63 | (hsign : NumberTheory.PadicHodge.Valuation.CM.ExtremeSlopesAdapter.algebraicValuation q (iota e) = (ComplexMultiplication.SignSwitch.CM.signValue sign : ℚ) * initial) : |
| 64 | let slope : ℚ := 1 / 2 - (ComplexMultiplication.SignSwitch.CM.signValue sign : ℚ) * initial / 3 |
| 65 | (slope = 0 ∨ slope = 1) ∧ (slope = 1 ↔ S ≤ hol) ∧ (slope = 0 ↔ S ≤ anti) := by |
| 66 | obtain ⟨hTcomm, hFTcomm, hpoly, heigen⟩ := |
| 67 | SummandOperators.CM.operators_on_native_summand A ρ hcomm χ L f fS hincl hfcomm idx hp |
| 68 | apply hpurity r b e hr hrC heC hcentral |
| 69 | (fun i => SummandOperators.CM.closureHecke A ρ hcomm χ L (idx i)) hTcomm hFTcomm hpoly |
| 70 | _ hCommuting ν hνq s hνe anti hcompl P hRange hhol hanti hne sign initial hinitial hsign |
| 71 | intro i |
| 72 | rw [← hvalues i] |
| 73 | exact heigen i |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Purity.CM |