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.Homogeneous.CoordinateBasis |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.Existence |
| 3 | |
| 4 | /-! # Degree Rank -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.DegreeRank.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual homogeneous degree-d polynomial space on projective |
| 11 | n-space has binomial(d+n,n) dimensions over a field. -/ |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | theorem homogeneousDegree_finrank (K : Type u) [Field K] (n d : ℕ) : |
| 16 | Module.finrank K (Hilbert.Polynomial.GradedHilbert.grading K n d) = (d + n).choose n := by |
| 17 | let := Fintype.ofFinite (CoordinateBasis.GradedHilbert.DegreeMonomials n d) |
| 18 | rw [Module.finrank_eq_card_basis (CoordinateBasis.GradedHilbert.degreeMonomialBasis K n d), ← Nat.card_eq_fintype_card] |
| 19 | exact Hilbert.Existence.GradedHilbert.card_degreeExponents n d |
| 20 | |
| 21 | end |
| 22 | |
| 23 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.DegreeRank.GradedHilbert |