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.Polynomial |
| 2 | |
| 3 | /-! # Eventual Saturated Equality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualSaturatedEquality.GradedHilbert |
| 6 | |
| 7 | /-! Saturated homogeneous ideals are determined by any common tail of their degree relation modules. -/ |
| 8 | |
| 9 | universe u |
| 10 | |
| 11 | variable {R : Type u} [CommRing R] {n : ℕ} |
| 12 | |
| 13 | theorem saturated_eq_of_eventual_degreeRelations |
| 14 | (I J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading R n)) (hI : Hilbert.Polynomial.GradedHilbert.IsSaturated I.toIdeal) (hJ : Hilbert.Polynomial.GradedHilbert.IsSaturated J.toIdeal) |
| 15 | (N : ℕ) (h : ∀ d ≥ N, Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal d = Hilbert.Polynomial.GradedHilbert.degreeRelations J.toIdeal d) : I = J := by |
| 16 | apply HomogeneousIdeal.ext' |
| 17 | intro d f hf |
| 18 | constructor |
| 19 | · intro hfI |
| 20 | apply hJ f d hf |
| 21 | refine ⟨N, fun g hg => ?_⟩ |
| 22 | have hm : (⟨g * f, hg.mul hf⟩ : Hilbert.Polynomial.GradedHilbert.grading R n (N + d)) ∈ Hilbert.Polynomial.GradedHilbert.degreeRelations I.toIdeal (N + d) := |
| 23 | I.toIdeal.mul_mem_left g hfI |
| 24 | rw [h (N + d) (by omega)] at hm |
| 25 | exact hm |
| 26 | · intro hfJ |
| 27 | apply hI f d hf |
| 28 | refine ⟨N, fun g hg => ?_⟩ |
| 29 | have hm : (⟨g * f, hg.mul hf⟩ : Hilbert.Polynomial.GradedHilbert.grading R n (N + d)) ∈ Hilbert.Polynomial.GradedHilbert.degreeRelations J.toIdeal (N + d) := |
| 30 | J.toIdeal.mul_mem_left g hfJ |
| 31 | rw [← h (N + d) (by omega)] at hm |
| 32 | exact hm |
| 33 | |
| 34 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualSaturatedEquality.GradedHilbert |