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.Degree.Lemmas |
| 2 | |
| 3 | /-! # Polynomial Top Coefficient -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.PolynomialTopCoefficient.Construction |
| 6 | |
| 7 | /-! Equal degree and leading coefficient determine every coefficient at or above that degree. -/ |
| 8 | |
| 9 | open _root_.Polynomial |
| 10 | |
| 11 | theorem polynomial_coeff_eq_of_same_leading_data |
| 12 | (P Q : Polynomial ℚ) (hdeg : P.natDegree = Q.natDegree) |
| 13 | (hlc : P.leadingCoeff = Q.leadingCoeff) (d : ℕ) (hd : P.natDegree ≤ d) : |
| 14 | P.coeff d = Q.coeff d := by |
| 15 | by_cases h : P.natDegree = d |
| 16 | · rw [← h, coeff_natDegree, hdeg, coeff_natDegree] |
| 17 | exact hlc |
| 18 | · have hp : P.natDegree < d := lt_of_le_of_ne hd h |
| 19 | rw [coeff_eq_zero_of_natDegree_lt hp, coeff_eq_zero_of_natDegree_lt (hdeg ▸ hp)] |
| 20 | |
| 21 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.PolynomialTopCoefficient.Construction |