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.RepresentationTheory.Hecke.CubicRelation |
| 2 | |
| 3 | /-! # Polynomial -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial.CM |
| 6 | |
| 7 | /-! Sum the literal ordinary-neighbor multisets and descend the resulting |
| 8 | polynomial through a faithful ring action. The native application derives |
| 9 | the detection and faithfulness hypotheses from its geometry. -/ |
| 10 | |
| 11 | def heckePolynomialValue (q : ℕ) {R : Type*} [Ring R] (Φ : R) (H : Fin 3 → R) : R := |
| 12 | Φ ^ 3 - H 0 * Φ ^ 2 + q • (H 1 * Φ) - q ^ 3 • H 2 |
| 13 | |
| 14 | theorem sum_map_nsmul {X A : Type*} [AddCommMonoid A] |
| 15 | (f : X → A) (n : ℕ) (s : Multiset X) : |
| 16 | ((n • s).map f).sum = n • (s.map f).sum := |
| 17 | map_nsmul (Multiset.sumAddMonoidHom.comp (Multiset.mapAddMonoidHom f)) n s |
| 18 | |
| 19 | theorem polynomial_of_ordinary_neighbors |
| 20 | (q : ℕ) (hq : q.Prime) |
| 21 | {R S A O J : Type*} [Ring R] [Ring S] [AddCommGroup A] |
| 22 | (sp : R →+* S) (hsp : Function.Injective sp) |
| 23 | (act : S →+* AddMonoid.End A) (component : O → J) (a : O → A) |
| 24 | (Φ : R) (H : Fin 3 → R) (X Z : O → O) (Y : O → Multiset O) |
| 25 | (hXcomponent : ∀ x, component (X x) = component x) |
| 26 | (hXY : ∀ x, (Y x).map X = Y (X x)) |
| 27 | (hXZ : ∀ x, X (Z x) = Z (X x)) |
| 28 | (hFrobenius : ∀ x, act (sp Φ) (a x) = a (X x)) |
| 29 | (hH : ∀ (i : Fin 3) (x y : O), component x = component y → |
| 30 | act (sp (H i)) (a x - a y) = |
| 31 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q X Z Y i x).map a).sum - |
| 32 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q X Z Y i y).map a).sum) |
| 33 | (hdetect : ∀ f : S, (∀ x y : O, component x = component y → |
| 34 | act f (a x - a y) = 0) → f = 0) : |
| 35 | Φ ^ 3 - H 0 * Φ ^ 2 + q • (H 1 * Φ) - q ^ 3 • H 2 = 0 := by |
| 36 | have hpoly := RepresentationTheory.Hecke.CubicRelation.albanese_hecke_frobenius_relation q hq |
| 37 | act component a (sp Φ) 1 (sp (H 0)) (sp (H 1)) (sp (H 2)) |
| 38 | X Z Y hXcomponent hFrobenius hXY hXZ |
| 39 | (fun x y hxy => by |
| 40 | simp only [one_mul] |
| 41 | rw [hH 0 x y hxy] |
| 42 | simp [RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors, sum_map_nsmul, smul_sub] |
| 43 | abel) |
| 44 | (fun x y hxy => by |
| 45 | simp only [one_pow, one_mul] |
| 46 | rw [hH 1 x y hxy] |
| 47 | simp [RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors, sum_map_nsmul, smul_sub] |
| 48 | abel) |
| 49 | (fun x y hxy => by |
| 50 | simp only [one_pow, one_mul] |
| 51 | rw [hH 2 x y hxy] |
| 52 | simp [RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors]) hdetect |
| 53 | apply hsp |
| 54 | simpa only [map_sub, map_add, map_mul, map_pow, map_nsmul, map_zero, |
| 55 | one_pow, one_mul] using hpoly |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial.CM |