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.Ordinary.Polynomial |
| 2 | |
| 3 | /-! # Pointwise Ordinary Polynomial -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointwiseOrdinaryPolynomial.CM.Ordinary |
| 6 | |
| 7 | /-! The literal ordinary-neighbor identities make the Hecke polynomial |
| 8 | annihilate every same-component Albanese difference, before detection. -/ |
| 9 | |
| 10 | open OAI.RepresentationTheory.Hecke.CubicRelation OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Polynomial.CM |
| 11 | |
| 12 | theorem polynomial_annihilates_differences |
| 13 | (q : ℕ) {R A O J : Type*} [Ring R] [AddCommGroup A] |
| 14 | (act : R →+* AddMonoid.End A) (component : O → J) (a : O → A) |
| 15 | (Φ : R) (H : Fin 3 → R) (X Z : O → O) (Y : O → Multiset O) |
| 16 | (hXcomponent : ∀ x, component (X x) = component x) |
| 17 | (hFrobenius : ∀ x, act Φ (a x) = a (X x)) |
| 18 | (hH : ∀ (i : Fin 3) (x y : O), component x = component y → |
| 19 | act (H i) (a x - a y) = |
| 20 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q X Z Y i x).map a).sum - |
| 21 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q X Z Y i y).map a).sum) |
| 22 | (x y : O) (hxy : component x = component y) : |
| 23 | act (Ordinary.Polynomial.CM.heckePolynomialValue q Φ H) (a x - a y) = 0 := by |
| 24 | have hT1 (x y : O) (hxy : component x = component y) : |
| 25 | act (H 0) (a x - a y) = a (X x) - a (X y) + |
| 26 | q • (((Y x).map a).sum - ((Y y).map a).sum) := by |
| 27 | rw [hH 0 x y hxy] |
| 28 | simp [RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors, Ordinary.Polynomial.CM.sum_map_nsmul, smul_sub] |
| 29 | abel |
| 30 | have hT2 (x y : O) (hxy : component x = component y) : |
| 31 | act (H 1) (a x - a y) = |
| 32 | ((Y (X x)).map a).sum - ((Y (X y)).map a).sum + |
| 33 | q ^ 2 • (a (Z x) - a (Z y)) := by |
| 34 | rw [hH 1 x y hxy] |
| 35 | simp [RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors, Ordinary.Polynomial.CM.sum_map_nsmul, smul_sub] |
| 36 | abel |
| 37 | have hT3 (x y : O) (hxy : component x = component y) : |
| 38 | act (H 2) (a x - a y) = a (Z (X x)) - a (Z (X y)) := by |
| 39 | rw [hH 2 x y hxy] |
| 40 | simp [RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors] |
| 41 | change act (Φ ^ 3 - H 0 * Φ ^ 2 + q • (H 1 * Φ) - q ^ 3 • H 2) (a x - a y) = 0 |
| 42 | have hxy1 : component (X x) = component (X y) := by |
| 43 | simpa only [hXcomponent] using hxy |
| 44 | have hxy2 : component (X (X x)) = component (X (X y)) := by |
| 45 | simpa only [hXcomponent] using hxy |
| 46 | have hmul (f g : R) (b : A) : act (f * g) b = act f (act g b) := by |
| 47 | rw [map_mul] |
| 48 | rfl |
| 49 | have hsub (f g : R) (b : A) : act (f - g) b = act f b - act g b := by |
| 50 | rw [map_sub] |
| 51 | rfl |
| 52 | have hadd (f g : R) (b : A) : act (f + g) b = act f b + act g b := by |
| 53 | rw [map_add] |
| 54 | rfl |
| 55 | have hsmul (n : ℕ) (f : R) (b : A) : act (n • f) b = n • act f b := by |
| 56 | rw [map_nsmul] |
| 57 | rfl |
| 58 | have hpow (n : ℕ) (z : O) : |
| 59 | act (Φ ^ n) (a z) = a (X^[n] z) := by |
| 60 | induction n with |
| 61 | | zero => simp |
| 62 | | succ n ih => |
| 63 | rw [pow_succ', hmul, ih, hFrobenius, Function.iterate_succ_apply'] |
| 64 | have hpow_sub (n : ℕ) (z w : O) : |
| 65 | act (Φ ^ n) (a z - a w) = a (X^[n] z) - a (X^[n] w) := by |
| 66 | rw [map_sub, hpow, hpow] |
| 67 | have hφ (z w : O) : act Φ (a z - a w) = a (X z) - a (X w) := by |
| 68 | rw [map_sub, hFrobenius, hFrobenius] |
| 69 | simp only [hsub, hadd, hsmul] |
| 70 | rw [hmul (H 0), hmul (H 1), hpow_sub, hpow_sub, hφ] |
| 71 | simp only [Function.iterate_succ_apply, Function.iterate_zero_apply] |
| 72 | rw [hT1 _ _ hxy2, hT2 _ _ hxy1, hT3 _ _ hxy] |
| 73 | simp only [smul_add, smul_smul, ← pow_succ'] |
| 74 | abel |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointwiseOrdinaryPolynomial.CM.Ordinary |