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.Algebra.Polynomial.Eval.Degree |
| 2 | |
| 3 | /-! # Dilation Monomial -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.DilationMonomial |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A polynomial with a single dilation weight has only the corresponding monomial when the dilation scalar has distinct natural powers. -/ |
| 10 | universe u |
| 11 | |
| 12 | theorem polynomial_eq_monomial_of_dilation |
| 13 | {R : Type u} [Field R] (P : Polynomial R) (a : R) (g : ℕ) |
| 14 | (hpow : Function.Injective (fun n : ℕ => a ^ n)) |
| 15 | (hP : P.comp (Polynomial.C a * Polynomial.X) = Polynomial.C (a ^ g) * P) : |
| 16 | P = Polynomial.monomial g (P.coeff g) := by |
| 17 | classical |
| 18 | have hz (n : ℕ) (hn : n ≠ g) : P.coeff n = 0 := by |
| 19 | by_contra hc |
| 20 | have h := congrArg (fun Q : Polynomial R => Q.coeff n) hP |
| 21 | rw [Polynomial.comp_C_mul_X_coeff, Polynomial.coeff_C_mul] at h |
| 22 | exact hn (hpow (mul_left_cancel₀ hc (h.trans (mul_comm _ _)))) |
| 23 | apply Polynomial.ext |
| 24 | intro n |
| 25 | by_cases hn : n = g |
| 26 | · subst n |
| 27 | simp |
| 28 | · simpa only [Polynomial.coeff_monomial, ite_eq_right (Ne.symm hn)] using hz n hn |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polynomial.DilationMonomial |