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.PresentationBaseChange |
| 2 | import Mathlib.Algebra.Module.FinitePresentation |
| 3 | |
| 4 | /-! # Quotient Finite Presentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.QuotientFinitePresentation.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Homogeneous degree quotients of finitely generated homogeneous ideals are finitely presented over arbitrary coefficient rings. -/ |
| 11 | |
| 12 | universe u z |
| 13 | |
| 14 | variable {R : Type u} [CommRing R] {n : ℕ} {ι : Type z} [Fintype ι] |
| 15 | |
| 16 | theorem homogeneousGeneratorsDegree_finitePresentation |
| 17 | (g : ι → Hilbert.Polynomial.GradedHilbert.CoordinateRing R n) (N : ℕ) (hg : ∀ i, (g i).IsHomogeneous N) (d : ℕ) : |
| 18 | Module.FinitePresentation R (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal g N hg).toIdeal (d + N)) := by |
| 19 | let f := RelationPresentation.GradedHilbert.homogeneousRelationPresentation g N hg d |
| 20 | let : Module.Free R (Hilbert.Polynomial.GradedHilbert.grading R n (d + N)) := PresentationBaseChange.GradedHilbert.coordinateDegreeSpace_free (d + N) |
| 21 | let : Module.FinitePresentation R (Hilbert.Polynomial.GradedHilbert.grading R n (d + N) ⧸ f.range) := |
| 22 | Module.finitePresentation_of_free_of_surjective f.range.mkQ f.range.mkQ_surjective (by |
| 23 | rw [Submodule.ker_mkQ] |
| 24 | exact Submodule.fg_range f) |
| 25 | exact Module.FinitePresentation.of_equiv (RelationPresentation.GradedHilbert.homogeneousPresentationCokernelEquiv g N hg d) |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Homogeneous.QuotientFinitePresentation.GradedHilbert |