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.SheafCohomology.Projective.EventualPolynomial |
| 2 | import Mathlib.Algebra.Polynomial.Degree.Operations |
| 3 | |
| 4 | /-! # Bounded Eventual Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.BoundedEventualPolynomial |
| 7 | |
| 8 | /-! Eventual polynomial descriptions with an explicit degree bound. -/ |
| 9 | |
| 10 | def EventuallyPolynomialOfDegree (f : ℕ → ℚ) (d : ℕ) : Prop := |
| 11 | ∃ P : Polynomial ℚ, P.natDegree ≤ d ∧ ∃ b : ℕ, ∀ n : ℕ, b ≤ n → f n = P.eval (n : ℚ) |
| 12 | |
| 13 | theorem EventuallyPolynomialOfDegree.eventuallyPolynomial {f : ℕ → ℚ} {d : ℕ} |
| 14 | (h : EventuallyPolynomialOfDegree f d) : EventualPolynomial.EventuallyPolynomial f := by |
| 15 | obtain ⟨P, _, b, hb⟩ := h |
| 16 | exact ⟨P, b, hb⟩ |
| 17 | |
| 18 | theorem eventuallyPolynomialOfDegree_zero (d : ℕ) : |
| 19 | EventuallyPolynomialOfDegree (fun _ => 0) d := |
| 20 | ⟨0, by simp, 0, fun _ _ => Polynomial.eval_zero.symm⟩ |
| 21 | |
| 22 | theorem EventuallyPolynomialOfDegree.add {f g : ℕ → ℚ} {d : ℕ} |
| 23 | (hf : EventuallyPolynomialOfDegree f d) (hg : EventuallyPolynomialOfDegree g d) : |
| 24 | EventuallyPolynomialOfDegree (fun n => f n + g n) d := by |
| 25 | obtain ⟨P, hP, p, hp⟩ := hf |
| 26 | obtain ⟨Q, hQ, q, hq⟩ := hg |
| 27 | refine ⟨P + Q, (Polynomial.natDegree_add_le _ _).trans (max_le hP hQ), |
| 28 | max p q, fun n hn => ?_⟩ |
| 29 | change f n + g n = (P + Q).eval (n : ℚ) |
| 30 | rw [hp n ((le_max_left p q).trans hn), hq n ((le_max_right p q).trans hn), |
| 31 | Polynomial.eval_add] |
| 32 | |
| 33 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.BoundedEventualPolynomial |