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.Normalized.PolynomialTransitions |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.Parameter |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Grassmannian.FiniteType |
| 4 | |
| 5 | /-! # Chart -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.NormalizedHilbert.Chart.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Constructed bounded Hilbert charts inside the actual normalized |
| 12 | Grassmannian charts, with natural representation on all test schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Grassmannian.FiniteType |
| 17 | universe u |
| 18 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] {n N : ℕ} |
| 19 | variable (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (S : Scheme.{u}) |
| 20 | |
| 21 | def universalPolynomialGenerators : |
| 22 | Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N → Hilbert.Polynomial.GradedHilbert.CoordinateRing Γ((Normalized.Chart.Grassmannian.normalizedChart a S).left, ⊤) n := |
| 23 | Normalized.PolynomialGenerators.GradedHilbert.normalizedPolynomialGenerator a (Normalized.Chart.Grassmannian.universalNormalizedMatrix a S) |
| 24 | |
| 25 | theorem universalPolynomialGenerators_homogeneous (j : Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) : |
| 26 | (universalPolynomialGenerators a S j).IsHomogeneous N := |
| 27 | Normalized.PolynomialGenerators.GradedHilbert.normalizedPolynomialGenerator_homogeneous a (Normalized.Chart.Grassmannian.universalNormalizedMatrix a S) j |
| 28 | |
| 29 | def normalizedHilbertChartSubfunctor (q : ℕ → ℕ) : Subfunctor (yoneda.obj (Normalized.Chart.Grassmannian.normalizedChart a S)) := |
| 30 | BoundedHilbert.DegreeLocus.GradedHilbert.boundedHilbertDegreeSubfunctor (Normalized.Chart.Grassmannian.normalizedChart a S) (universalPolynomialGenerators a S) N |
| 31 | (universalPolynomialGenerators_homogeneous a S) q |
| 32 | |
| 33 | structure NormalizedHilbertChartModel (q : ℕ → ℕ) where |
| 34 | carrier : Over S |
| 35 | inclusion : carrier ⟶ Normalized.Chart.Grassmannian.normalizedChart a S |
| 36 | immersion : IsImmersion inclusion.left |
| 37 | quasiCompact : QuasiCompact inclusion.left |
| 38 | representation : yoneda.obj carrier ≅ (normalizedHilbertChartSubfunctor a S q).toFunctor |
| 39 | compatibility : representation.hom ≫ (normalizedHilbertChartSubfunctor a S q).ι = yoneda.map inclusion |
| 40 | |
| 41 | def normalizedHilbertChartModel (q : ℕ → ℕ) : NormalizedHilbertChartModel a S q := by |
| 42 | apply Classical.choice |
| 43 | obtain ⟨Z, j, hj, hqc, e, he⟩ := BoundedHilbert.DegreeLocus.GradedHilbert.bounded_hilbert_degree_locus (Normalized.Chart.Grassmannian.normalizedChart a S) |
| 44 | (universalPolynomialGenerators a S) N (universalPolynomialGenerators_homogeneous a S) q |
| 45 | exact ⟨⟨Z, j, hj, hqc, e, he⟩⟩ |
| 46 | |
| 47 | def normalizedHilbertChart (q : ℕ → ℕ) : Over S := (normalizedHilbertChartModel a S q).carrier |
| 48 | |
| 49 | def normalizedHilbertChartInclusion (q : ℕ → ℕ) : |
| 50 | normalizedHilbertChart a S q ⟶ Normalized.Chart.Grassmannian.normalizedChart a S := (normalizedHilbertChartModel a S q).inclusion |
| 51 | |
| 52 | instance normalizedHilbertChartInclusion_isImmersion (q : ℕ → ℕ) : |
| 53 | IsImmersion (normalizedHilbertChartInclusion a S q).left := |
| 54 | (normalizedHilbertChartModel a S q).immersion |
| 55 | |
| 56 | instance normalizedHilbertChartInclusion_quasiCompact (q : ℕ → ℕ) : |
| 57 | QuasiCompact (normalizedHilbertChartInclusion a S q).left := |
| 58 | (normalizedHilbertChartModel a S q).quasiCompact |
| 59 | |
| 60 | instance normalizedHilbertChartInclusion_mono (q : ℕ → ℕ) : |
| 61 | Mono (normalizedHilbertChartInclusion a S q) := |
| 62 | Over.mono_of_mono_left _ |
| 63 | |
| 64 | def normalizedHilbertChartRepresentation (q : ℕ → ℕ) : |
| 65 | yoneda.obj (normalizedHilbertChart a S q) ≅ (normalizedHilbertChartSubfunctor a S q).toFunctor := |
| 66 | (normalizedHilbertChartModel a S q).representation |
| 67 | |
| 68 | theorem normalizedHilbertChartRepresentation_inclusion (q : ℕ → ℕ) : |
| 69 | (normalizedHilbertChartRepresentation a S q).hom ≫ (normalizedHilbertChartSubfunctor a S q).ι = |
| 70 | yoneda.map (normalizedHilbertChartInclusion a S q) := |
| 71 | (normalizedHilbertChartModel a S q).compatibility |
| 72 | |
| 73 | theorem normalizedHilbertChart_universal_mem (q : ℕ → ℕ) : |
| 74 | normalizedHilbertChartInclusion a S q ∈ |
| 75 | (normalizedHilbertChartSubfunctor a S q).obj (.op (normalizedHilbertChart a S q)) := |
| 76 | (SubfunctorRepresentations.represented_subfunctor_mem _ _ (normalizedHilbertChartRepresentation a S q) |
| 77 | (normalizedHilbertChartRepresentation_inclusion a S q) _ _).mpr |
| 78 | ⟨𝟙 _, Category.id_comp _⟩ |
| 79 | |
| 80 | theorem normalizedHilbertChart_factorization_iff (q : ℕ → ℕ) {T : Over S} |
| 81 | (x : T ⟶ Normalized.Chart.Grassmannian.normalizedChart a S) : |
| 82 | x ∈ (normalizedHilbertChartSubfunctor a S q).obj (.op T) ↔ |
| 83 | ∃! y : T ⟶ normalizedHilbertChart a S q, y ≫ normalizedHilbertChartInclusion a S q = x := by |
| 84 | rw [SubfunctorRepresentations.represented_subfunctor_mem _ _ (normalizedHilbertChartRepresentation a S q) |
| 85 | (normalizedHilbertChartRepresentation_inclusion a S q)] |
| 86 | constructor |
| 87 | · rintro ⟨y, hy⟩ |
| 88 | exact ⟨y, hy, fun z hz => (cancel_mono _).mp (hz.trans hy.symm)⟩ |
| 89 | · rintro ⟨y, hy, _⟩ |
| 90 | exact ⟨y, hy⟩ |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.NormalizedHilbert.Chart.GradedHilbert |