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.Representation |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.NormalizedHilbert.ChartRecovery |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.OverFactorization |
| 4 | |
| 5 | /-! # Chart Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.ChartRestriction.GradedHilbert |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting the glued bounded parameter functor to a Grassmannian chart |
| 12 | recovers exactly its previously constructed Hilbert chart. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {ι : Type u} [Fintype ι] [DecidableEq ι] {n N : ℕ} |
| 18 | variable (a : ι → Homogeneous.CoordinateBasis.GradedHilbert.DegreeIndex.{u} n N) (S : Scheme.{u}) (q : ℕ → ℕ) |
| 19 | |
| 20 | theorem boundedHilbertLocalCondition_of_chart {T : Over S} (x : T ⟶ Normalized.Chart.Grassmannian.normalizedChart a S) |
| 21 | (hx : x ∈ (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartSubfunctor a S q).obj (.op T)) : |
| 22 | Representation.GradedHilbert.boundedHilbertLocalCondition n N S q (x ≫ Grassmannian.Gluing.grassmannianChartOverMap a S) := by |
| 23 | obtain ⟨y, hy, _⟩ := (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart_factorization_iff a S q x).mp hx |
| 24 | refine ⟨Scheme.coverOfIsIso (P := @IsOpenImmersion) (𝟙 T.left), ?_⟩ |
| 25 | intro i |
| 26 | refine ⟨a, y.left, ?_⟩ |
| 27 | change y.left ≫ ((NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion a S q).left ≫ (Grassmannian.Gluing.grassmannianChartOverMap a S).left) = |
| 28 | (𝟙 T.left) ≫ (x.left ≫ (Grassmannian.Gluing.grassmannianChartOverMap a S).left) |
| 29 | rw [Category.id_comp, ← Category.assoc] |
| 30 | exact congrArg (fun f => f ≫ (Grassmannian.Gluing.grassmannianChartOverMap a S).left) (congrArg Over.Hom.left hy) |
| 31 | |
| 32 | theorem boundedHilbertLocalCondition_chart_iff {T : Over S} (x : T ⟶ Normalized.Chart.Grassmannian.normalizedChart a S) : |
| 33 | Representation.GradedHilbert.boundedHilbertLocalCondition n N S q (x ≫ Grassmannian.Gluing.grassmannianChartOverMap a S) ↔ |
| 34 | x ∈ (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartSubfunctor a S q).obj (.op T) := by |
| 35 | refine ⟨?_, boundedHilbertLocalCondition_of_chart a S q x⟩ |
| 36 | rintro ⟨V, hV⟩ |
| 37 | obtain ⟨g, hg, _⟩ := Local.MorphismFactorization.lift_of_openCover V x.left (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion a S q).left (by |
| 38 | intro i |
| 39 | obtain ⟨b, k, hk⟩ := hV i |
| 40 | let Ti : Over S := Over.mk (V.f i ≫ T.hom) |
| 41 | let vi : Ti ⟶ T := Over.homMk (V.f i) |
| 42 | have hk' : k ≫ (NormalizedHilbert.OpenOverlap.GradedHilbert.normalizedHilbertChartParameter b S q).left = |
| 43 | (vi ≫ (x ≫ Grassmannian.Gluing.grassmannianChartOverMap a S)).left := hk |
| 44 | let yi := OverFactorization.overHomOfFactorization k (NormalizedHilbert.OpenOverlap.GradedHilbert.normalizedHilbertChartParameter b S q) |
| 45 | (vi ≫ (x ≫ Grassmannian.Gluing.grassmannianChartOverMap a S)) hk' |
| 46 | have hyi : yi ≫ NormalizedHilbert.OpenOverlap.GradedHilbert.normalizedHilbertChartParameter b S q = vi ≫ (x ≫ Grassmannian.Gluing.grassmannianChartOverMap a S) := |
| 47 | OverFactorization.overHomOfFactorization_comp k (NormalizedHilbert.OpenOverlap.GradedHilbert.normalizedHilbertChartParameter b S q) |
| 48 | (vi ≫ (x ≫ Grassmannian.Gluing.grassmannianChartOverMap a S)) hk' |
| 49 | have hi : (vi ≫ x) ≫ Grassmannian.Gluing.grassmannianChartOverMap a S = yi ≫ NormalizedHilbert.OpenOverlap.GradedHilbert.normalizedHilbertChartParameter b S q := |
| 50 | (Category.assoc _ _ _).trans hyi.symm |
| 51 | obtain ⟨z, hz, _⟩ := NormalizedHilbert.ChartRecovery.GradedHilbert.normalizedHilbertChart_recovery a b S q (vi ≫ x) yi hi |
| 52 | exact ⟨z.left, congrArg Over.Hom.left hz⟩) |
| 53 | apply (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChart_factorization_iff a S q x).mpr |
| 54 | let y := OverFactorization.overHomOfFactorization g (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion a S q) x hg |
| 55 | have hy : y ≫ NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion a S q = x := OverFactorization.overHomOfFactorization_comp _ _ _ hg |
| 56 | exact ⟨y, hy, fun z hz => (cancel_mono (NormalizedHilbert.Chart.GradedHilbert.normalizedHilbertChartInclusion a S q)).mp (hz.trans hy.symm)⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.BoundedHilbert.ChartRestriction.GradedHilbert |