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.NormalizedHilbert.AffineCoordinates |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.PointIdeal |
| 3 | |
| 4 | /-! # Field Polynomial -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.NormalizedHilbert.FieldPolynomial.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual coefficient ideal and canonical saturated ideal at every |
| 11 | field-valued Hilbert-chart point have the specified polynomial. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] {n N : ℕ} |
| 17 | variable {S : Scheme.{u}} {K : Type u} [Field K] |
| 18 | variable (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (f : Spec (.of K) ⟶ S) |
| 19 | |
| 20 | theorem normalizedHilbertChart_field_polynomial (q : ℕ → ℕ) (P : Polynomial ℚ) |
| 21 | (hP : BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N q P) (x : Over.mk f ⟶ Normalized.Chart.Grassmannian.normalizedChart a S) |
| 22 | (hx : x ∈ (Chart.GradedHilbert.normalizedHilbertChartSubfunctor a S q).obj (.op (Over.mk f))) : |
| 23 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a (AffineCoordinates.GradedHilbert.affineChartMatrix a f x)).toIdeal P := by |
| 24 | have h := BoundedHilbert.PointIdeal.GradedHilbert.bounded_hilbert_point_ideal_polynomial (Normalized.Chart.Grassmannian.normalizedChart a S) |
| 25 | (Chart.GradedHilbert.universalPolynomialGenerators a S) N (Chart.GradedHilbert.universalPolynomialGenerators_homogeneous a S) |
| 26 | q P hP x hx (𝟙 (Spec (.of K))) |
| 27 | rw [Category.id_comp] at h |
| 28 | exact Eq.mp (congrArg |
| 29 | (fun J : HomogeneousIdeal (Hilbert.Polynomial.GradedHilbert.grading K n) => Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial J.toIdeal P) |
| 30 | (AffineCoordinates.GradedHilbert.normalizedChart_pointIdeal a f x)) h |
| 31 | |
| 32 | theorem normalizedHilbertNativeFamily_field_polynomial [IsLocallyNoetherian S] |
| 33 | (q : ℕ → ℕ) (P : Polynomial ℚ) (hP : BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{u} n N q P) |
| 34 | (x : Over.mk f ⟶ Normalized.Chart.Grassmannian.normalizedChart a S) |
| 35 | (hx : x ∈ (Chart.GradedHilbert.normalizedHilbertChartSubfunctor a S q).obj (.op (Over.mk f))) : |
| 36 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial |
| 37 | (Affine.IntrinsicHomogeneousCoordinates.GradedHilbert.affineNativeHomogeneousIdeal n f (IntrinsicFamily.GradedHilbert.normalizedHilbertNativeFamily a S q x hx)).toIdeal P := by |
| 38 | rw [AffineCoordinates.GradedHilbert.normalizedHilbertNativeFamily_affine_coordinates] |
| 39 | exact (Saturation.Polynomial.GradedHilbert.projectiveSaturation_hasHilbertPolynomial_iff _ P).mpr |
| 40 | (normalizedHilbertChart_field_polynomial a f q P hP x hx) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.NormalizedHilbert.FieldPolynomial.GradedHilbert |