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.BoundedHilbert.UniversalFamily |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Global.BoundedFiberPolynomial |
| 3 | |
| 4 | /-! # Universal Ideal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.UniversalIdeal.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The universal ideal on the bounded Hilbert scheme restricts to the |
| 11 | actual polynomial ideal on each normalized parameter chart. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] {n N : ℕ} |
| 17 | variable (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (S : Scheme.{u}) [IsLocallyNoetherian S] (q : ℕ → ℕ) |
| 18 | |
| 19 | theorem normalizedHilbertNativeFamily_original_ker {T : Over S} (x : T ⟶ Normalized.Chart.Grassmannian.normalizedChart a S) |
| 20 | (hx : x ∈ (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartSubfunctor a S q).obj (.op T)) : |
| 21 | (NormalizedHilbert.IntrinsicFamily.GradedHilbert.normalizedHilbertNativeFamily a S q x hx).val = |
| 22 | (Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion (Normalized.Chart.Grassmannian.normalizedChart a S) |
| 23 | (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a (Normalized.Chart.Grassmannian.universalNormalizedMatrix a S)) x).ker := by |
| 24 | let : IsLocallyNoetherian (Normalized.Chart.Grassmannian.normalizedChart a S).left := |
| 25 | LocallyOfFiniteType.isLocallyNoetherian (Normalized.Chart.Grassmannian.normalizedChart a S).hom |
| 26 | exact Global.PolynomialInclusion.GradedHilbert.globalBoundedPolynomialFamily_val (Normalized.Chart.Grassmannian.normalizedChart a S) x (NormalizedHilbert.Chart.GradedHilbert.universalPolynomialGenerators a S) N |
| 27 | (NormalizedHilbert.Chart.GradedHilbert.universalPolynomialGenerators_homogeneous a S) q |
| 28 | (DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor_flat (Normalized.Chart.Grassmannian.normalizedChart a S) (NormalizedHilbert.Chart.GradedHilbert.universalPolynomialGenerators a S) N |
| 29 | (NormalizedHilbert.Chart.GradedHilbert.universalPolynomialGenerators_homogeneous a S) q x hx) |
| 30 | |
| 31 | theorem boundedHilbertUniversalFamily_chart_ideal {T : Over S} (x : T ⟶ NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart a S q) : |
| 32 | (Hilbert.Functor.pullbackFamily (Intrinsic.PolynomialAmbient.GradedHilbert.relativeProjectiveOver S n) (x ≫ ChartPullback.GradedHilbert.boundedHilbertChartOverMap a S q) |
| 33 | (UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily (ι := ι) n N S q)).val = |
| 34 | (Global.PolynomialInclusion.GradedHilbert.globalPolynomialInclusion (Normalized.Chart.Grassmannian.normalizedChart a S) |
| 35 | (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a (Normalized.Chart.Grassmannian.universalNormalizedMatrix a S)) |
| 36 | (x ≫ NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion a S q)).ker := by |
| 37 | rw [Hilbert.Functor.pullbackFamily_comp, UniversalFamily.GradedHilbert.boundedHilbertUniversalFamily_restriction] |
| 38 | dsimp only [UniversalCompatibility.GradedHilbert.boundedHilbertChartUniversalFamily] |
| 39 | rw [← NormalizedHilbert.IntrinsicFamily.GradedHilbert.normalizedHilbertNativeFamily_baseChange] |
| 40 | exact normalizedHilbertNativeFamily_original_ker a S q _ _ |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.UniversalIdeal.GradedHilbert |