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.HilbertScheme.Presentations.LeadingBoundSpans |
| 2 | |
| 3 | /-! # Leading Term Product Remainder -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.LeadingTermProductRemainder.GradedHilbert |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Removing the leading term of a coefficient lowers the leading bound of its generator multiple. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {K : Type u} [Field K] {n : ℕ} |
| 16 | variable (m : MonomialOrder (Fin (n + 1))) |
| 17 | |
| 18 | theorem coefficient_leading_remainder_small (p b : Hilbert.Polynomial.GradedHilbert.CoordinateRing K n) : |
| 19 | LeadingBoundSpans.GradedHilbert.leadingBelow m (m.toSyn (m.degree (p * b))) ((p - m.leadingTerm p) * b) := by |
| 20 | by_cases hb : b = 0 |
| 21 | · exact Or.inl (by rw [hb, mul_zero]) |
| 22 | by_cases hp : p - m.leadingTerm p = 0 |
| 23 | · exact Or.inl (by rw [hp, zero_mul]) |
| 24 | have hpdeg : m.degree p ≠ 0 := m.degree_ne_zero_of_sub_leadingTerm_ne_zero hp |
| 25 | have hp0 : p ≠ 0 := m.ne_zero_of_degree_ne_zero hpdeg |
| 26 | apply Or.inr |
| 27 | have hlt := m.degree_sub_leadingTerm_lt_degree hpdeg |
| 28 | apply m.degree_mul_le.trans_lt |
| 29 | rw [m.degree_mul hp0 hb, map_add, map_add] |
| 30 | exact add_lt_add_left hlt _ |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.LeadingTermProductRemainder.GradedHilbert |