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.Chart |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Normalized.PolynomialSpecialization |
| 3 | |
| 4 | /-! # Chart Criterion -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.NormalizedHilbert.ChartCriterion.GradedHilbert |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The Hilbert-chart predicate expressed directly through the normalized |
| 11 | matrix at each stalk. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 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}) |
| 18 | |
| 19 | theorem normalizedChart_specializedIdeal {T : Over S} (x : T ⟶ Normalized.Chart.Grassmannian.normalizedChart a S) (t : T.left) : |
| 20 | Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal |
| 21 | (fun j => MvPolynomial.map ((T.left.presheaf.Γgerm t).hom.comp x.left.appTop.hom) |
| 22 | (Chart.GradedHilbert.universalPolynomialGenerators a S j)) N |
| 23 | (fun j => (Chart.GradedHilbert.universalPolynomialGenerators_homogeneous a S j).map _) = |
| 24 | Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a ((Normalized.AtlasMaps.Grassmannian.chartMatrix a S x).map (T.left.presheaf.Γgerm t).hom) := by |
| 25 | change Homogeneous.RelationPresentation.GradedHilbert.homogeneousGeneratorsIdeal |
| 26 | (fun j => MvPolynomial.map ((T.left.presheaf.Γgerm t).hom.comp x.left.appTop.hom) |
| 27 | (Normalized.PolynomialGenerators.GradedHilbert.normalizedPolynomialGenerator a (Normalized.Chart.Grassmannian.universalNormalizedMatrix a S) j)) N _ = _ |
| 28 | rw [Normalized.PolynomialSpecialization.GradedHilbert.normalizedPolynomialIdeal_specialization] |
| 29 | congr 1 |
| 30 | rw [Normalized.AtlasMaps.Grassmannian.chartMatrix, Normalized.Chart.Grassmannian.normalizedChartRepresentation_apply] |
| 31 | ext i j |
| 32 | rfl |
| 33 | |
| 34 | theorem normalizedHilbertChart_mem_iff (q : ℕ → ℕ) {T : Over S} (x : T ⟶ Normalized.Chart.Grassmannian.normalizedChart a S) : |
| 35 | x ∈ (Chart.GradedHilbert.normalizedHilbertChartSubfunctor a S q).obj (.op T) ↔ |
| 36 | ∀ d ∈ BoundedHilbert.DegreeLocus.GradedHilbert.hilbertFlatDegreeSet n (Fintype.card (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N)) N, ∀ t : T.left, |
| 37 | Module.Flat (T.left.presheaf.stalk t) |
| 38 | (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a |
| 39 | ((Normalized.AtlasMaps.Grassmannian.chartMatrix a S x).map (T.left.presheaf.Γgerm t).hom)).toIdeal (d + N)) ∧ |
| 40 | Module.finrank (T.left.presheaf.stalk t) |
| 41 | (Hilbert.Polynomial.GradedHilbert.DegreeQuotient (Normalized.PolynomialKernel.GradedHilbert.normalizedPolynomialIdeal a |
| 42 | ((Normalized.AtlasMaps.Grassmannian.chartMatrix a S x).map (T.left.presheaf.Γgerm t).hom)).toIdeal (d + N)) + q d = |
| 43 | Fintype.card (Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n (d + N)) := by |
| 44 | rw [Chart.GradedHilbert.normalizedHilbertChartSubfunctor, BoundedHilbert.DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor_mem] |
| 45 | apply forall_congr' |
| 46 | intro d |
| 47 | apply imp_congr_right |
| 48 | intro _ |
| 49 | change (∀ t, _) ↔ ∀ t, _ |
| 50 | apply forall_congr' |
| 51 | intro t |
| 52 | dsimp only [Homogeneous.DegreeLoci.GradedHilbert.degreeQuotientAtStalk] |
| 53 | rw [normalizedChart_specializedIdeal a S x t] |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.NormalizedHilbert.ChartCriterion.GradedHilbert |