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 Mathlib.Data.Nat.Choose.Sum |
| 2 | import Mathlib.Data.Nat.Cast.Commute |
| 3 | import Mathlib.Tactic |
| 4 | |
| 5 | /-! # Ring Integer Binomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RingIntegerBinomial |
| 8 | |
| 9 | /-! The integer-coefficient binomial expansion inside any possibly noncommutative ring. -/ |
| 10 | |
| 11 | universe u |
| 12 | |
| 13 | variable {R : Type u} [Ring R] |
| 14 | |
| 15 | theorem ring_nsmul_pow (m i : ℕ) (x : R) : (m • x) ^ i = (m ^ i) • x ^ i := by |
| 16 | simp only [nsmul_eq_mul] |
| 17 | rw [(Nat.cast_commute m x).mul_pow, Nat.cast_pow] |
| 18 | |
| 19 | theorem ringPower_integerBinomial (x : R) (m n : ℕ) : |
| 20 | (1 + m • x) ^ n = ∑ i ∈ Finset.range (n + 1), (n.choose i * m ^ i) • x ^ i := by |
| 21 | rw [add_comm (1 : R), (Commute.one_right (m • x)).add_pow] |
| 22 | apply Finset.sum_congr rfl |
| 23 | intro i _ |
| 24 | rw [one_pow, mul_one, ring_nsmul_pow] |
| 25 | rw [← Nat.cast_comm (n.choose i) ((m ^ i) • x ^ i), ← nsmul_eq_mul, ← mul_smul] |
| 26 | |
| 27 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RingIntegerBinomial |