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.Projective.Saturation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.Existence |
| 3 | |
| 4 | /-! # Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.Polynomial.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual projective saturation preserves the eventual Hilbert function and Hilbert polynomial. -/ |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 15 | |
| 16 | theorem projectiveSaturation_eventual_hilbertFunction (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) : |
| 17 | ∃ N : ℕ, ∀ d ≥ N, |
| 18 | Hilbert.Polynomial.GradedHilbert.hilbertFunction (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal d = Hilbert.Polynomial.GradedHilbert.hilbertFunction I.toIdeal d := by |
| 19 | obtain ⟨N, hN⟩ := Projective.Saturation.GradedHilbert.projectiveSaturation_eventual_degreeRelations I |
| 20 | refine ⟨N, fun d hd => ?_⟩ |
| 21 | exact (Submodule.quotEquivOfEq _ _ (hN d hd)).finrank_eq |
| 22 | |
| 23 | theorem projectiveSaturation_hasHilbertPolynomial_iff |
| 24 | (I : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (P : Polynomial ℚ) : |
| 25 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Projective.Saturation.GradedHilbert.projectiveSaturation I).toIdeal P ↔ Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial I.toIdeal P := by |
| 26 | obtain ⟨N, hN⟩ := projectiveSaturation_eventual_hilbertFunction I |
| 27 | constructor |
| 28 | · rintro ⟨B, hB⟩ |
| 29 | refine ⟨max N B, fun d hd => ?_⟩ |
| 30 | rw [← hN d ((le_max_left _ _).trans hd)] |
| 31 | exact hB d ((le_max_right _ _).trans hd) |
| 32 | · rintro ⟨B, hB⟩ |
| 33 | refine ⟨max N B, fun d hd => ?_⟩ |
| 34 | rw [hN d ((le_max_left _ _).trans hd)] |
| 35 | exact hB d ((le_max_right _ _).trans hd) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Saturation.Polynomial.GradedHilbert |