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.Hilbert.Existence |
| 2 | |
| 3 | /-! # Hilbert Polynomial Degree Bound -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.HilbertPolynomialDegreeBound |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The homogeneous coordinate Hilbert polynomial has degree bounded by the ambient dimension. -/ |
| 10 | |
| 11 | open _root_.MvPolynomial OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert |
| 12 | universe u |
| 13 | |
| 14 | theorem monomialHilbertPolynomial_natDegree_le {r : ℕ} |
| 15 | (G : Finset (Fin (r + 1) →₀ ℕ)) : (HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.monomialHilbertPolynomial G).natDegree ≤ r := by |
| 16 | classical |
| 17 | unfold HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.monomialHilbertPolynomial |
| 18 | apply Polynomial.natDegree_sum_le_of_forall_le |
| 19 | intro t _ |
| 20 | exact (Polynomial.natDegree_smul_le _ _).trans |
| 21 | (Polynomial.natDegree_preHilbertPoly ℚ r (t.sup id).degree).le |
| 22 | |
| 23 | theorem exists_hilbertPolynomial_natDegree_le {K : Type u} [Field K] {r : ℕ} |
| 24 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K r)) : |
| 25 | ∃ P : Polynomial ℚ, HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P ∧ P.natDegree ≤ r := by |
| 26 | let m : MonomialOrder (Fin (r + 1)) := MonomialOrder.lex |
| 27 | obtain ⟨G, hG⟩ := (HilbertScheme.Presentations.InitialIdeal.GradedHilbert.initialIdeal_isMonomial m I.toIdeal).finite_generators |
| 28 | refine ⟨HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.monomialHilbertPolynomial G, ?_, monomialHilbertPolynomial_natDegree_le G⟩ |
| 29 | apply (HilbertScheme.Presentations.InitialIdeal.GradedHilbert.hasHilbertPolynomial_initialIdeal_iff m I _).mp |
| 30 | rw [hG] |
| 31 | exact HilbertScheme.Presentations.Hilbert.Existence.GradedHilbert.monomialSpan_hasHilbertPolynomial G |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.HilbertPolynomialDegreeBound |