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.Specialized |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial |
| 3 | |
| 4 | /-! # Intrinsic Ordinary -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntrinsicOrdinary.FrobeniusSlopeIntrinsicOrdinary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Full CubicRelation input, instantiated at the geometric special-fiber endomorphisms. |
| 11 | The source ordinary-point hypotheses are retained verbatim. -/ |
| 12 | |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke |
| 14 | |
| 15 | /-- Full unchanged CubicRelation proposition; no statement proof is imported. -/ |
| 16 | def CubicRelationInput : Prop := ∀ |
| 17 | (q : ℕ) (_hq : q.Prime) |
| 18 | {R A O J : Type*} |
| 19 | [Ring R] [AddCommGroup A] |
| 20 | (act : R →+* AddMonoid.End A) |
| 21 | (component : O → J) |
| 22 | (a : O → A) |
| 23 | (Φ C0 T1 T2 T3 : R) |
| 24 | (X Z : O → O) |
| 25 | (Y : O → Multiset O) |
| 26 | (_hXcomponent : ∀ x, component (X x) = component x) |
| 27 | (_hFrobenius : ∀ x, act Φ (a x) = a (X x)) |
| 28 | (_hXY : ∀ x, (Y x).map X = Y (X x)) |
| 29 | (_hXZ : ∀ x, X (Z x) = Z (X x)) |
| 30 | (_hT1 : ∀ x y, component x = component y → |
| 31 | act (C0 * T1) (a x - a y) = |
| 32 | a (X x) - a (X y) + |
| 33 | q • (((Y x).map a).sum - ((Y y).map a).sum)) |
| 34 | (_hT2 : ∀ x y, component x = component y → |
| 35 | act (C0 ^ 2 * T2) (a x - a y) = |
| 36 | ((Y (X x)).map a).sum - ((Y (X y)).map a).sum + |
| 37 | q ^ 2 • (a (Z x) - a (Z y))) |
| 38 | (_hT3 : ∀ x y, component x = component y → |
| 39 | act (C0 ^ 3 * T3) (a x - a y) = |
| 40 | a (Z (X x)) - a (Z (X y))) |
| 41 | (_hdetect : ∀ f : R, |
| 42 | (∀ x y, component x = component y → |
| 43 | act f (a x - a y) = 0) → f = 0), |
| 44 | Φ ^ 3 - C0 * T1 * Φ ^ 2 + |
| 45 | q • (C0 ^ 2 * T2 * Φ) - |
| 46 | q ^ 3 • (C0 ^ 3 * T3) = 0 |
| 47 | |
| 48 | /-- Exactly the natural point-action premises in CubicRelation, for fixed operators. -/ |
| 49 | structure OrdinaryData {R : Type*} [Ring R] (q : ℕ) (Φ C t₁ t₂ t₃ : R) where |
| 50 | Points : Type |
| 51 | [pointGroup : AddCommGroup Points] |
| 52 | Ordinary : Type |
| 53 | Components : Type |
| 54 | act : R →+* AddMonoid.End Points |
| 55 | component : Ordinary → Components |
| 56 | a : Ordinary → Points |
| 57 | X : Ordinary → Ordinary |
| 58 | Z : Ordinary → Ordinary |
| 59 | Y : Ordinary → Multiset Ordinary |
| 60 | hXcomponent : ∀ x, component (X x) = component x |
| 61 | hFrobenius : ∀ x, act Φ (a x) = a (X x) |
| 62 | hXY : ∀ x, (Y x).map X = Y (X x) |
| 63 | hXZ : ∀ x, X (Z x) = Z (X x) |
| 64 | hT1 : ∀ x y, component x = component y → |
| 65 | act (C * t₁) (a x - a y) = a (X x) - a (X y) + |
| 66 | q • (((Y x).map a).sum - ((Y y).map a).sum) |
| 67 | hT2 : ∀ x y, component x = component y → |
| 68 | act (C ^ 2 * t₂) (a x - a y) = |
| 69 | ((Y (X x)).map a).sum - ((Y (X y)).map a).sum + |
| 70 | q ^ 2 • (a (Z x) - a (Z y)) |
| 71 | hT3 : ∀ x y, component x = component y → |
| 72 | act (C ^ 3 * t₃) (a x - a y) = a (Z (X x)) - a (Z (X y)) |
| 73 | hdetect : ∀ f : R, |
| 74 | (∀ x y, component x = component y → act f (a x - a y) = 0) → f = 0 |
| 75 | |
| 76 | attribute [instance] OrdinaryData.pointGroup |
| 77 | |
| 78 | theorem specialized_polynomial_from_full_CubicRelation |
| 79 | {K : Type} [Field K] [NumberField K] {q : ℕ} [Fact q.Prime] |
| 80 | {jq : K →+* ℚ_[q]} (A : GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 81 | {H : Type} [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 82 | (C t₁ t₂ t₃ : H) |
| 83 | (hCubicRelation : CubicRelationInput.{0, 0, 0, 0}) |
| 84 | (O : OrdinaryData q |
| 85 | (AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.rationalAlgebraicFrobenius (ZMod q) A.specialFiber.scheme) |
| 86 | (AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke.specializedHeckeAction A ρ C) |
| 87 | (AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke.specializedHeckeAction A ρ t₁) |
| 88 | (AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke.specializedHeckeAction A ρ t₂) |
| 89 | (AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke.specializedHeckeAction A ρ t₃)) : |
| 90 | AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial.CM.heckePolynomialValue q |
| 91 | (AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.rationalAlgebraicFrobenius (ZMod q) A.specialFiber.scheme) |
| 92 | (fun i => AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke.specializedHeckeAction A ρ |
| 93 | ((![C * t₁, C ^ 2 * t₂, C ^ 3 * t₃] : Fin 3 → H) i)) = 0 := by |
| 94 | have h := hCubicRelation q (Fact.out : q.Prime) O.act O.component O.a _ _ _ _ _ |
| 95 | O.X O.Z O.Y O.hXcomponent O.hFrobenius O.hXY O.hXZ |
| 96 | O.hT1 O.hT2 O.hT3 O.hdetect |
| 97 | simpa [AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial.CM.heckePolynomialValue] using h |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntrinsicOrdinary.FrobeniusSlopeIntrinsicOrdinary |