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.AbelianModuli.HilbertConstruction.Normalized.IncidenceIdeals |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Quotient.ChartClassifyingMap |
| 3 | |
| 4 | /-! # Chart Loci -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.ChartLoci |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Incidence ideals for two Grassmannian chart maps. Their vanishing criterion |
| 12 | uses the actual quotient kernels, so the ideals are independent of chart choices. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Quotient.ChartClassifyingMap.Grassmannian |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {ι ν κ μ : Type u} |
| 21 | variable [Fintype ι] [Fintype ν] [Fintype κ] [Fintype μ] |
| 22 | variable [DecidableEq ι] [DecidableEq ν] [DecidableEq κ] [DecidableEq μ] |
| 23 | variable {S : Scheme.{u}} {M T : Over S} |
| 24 | |
| 25 | omit [Fintype ι] [Fintype ν] [Fintype κ] [Fintype μ] |
| 26 | [DecidableEq ν] [DecidableEq κ] [DecidableEq μ] in |
| 27 | theorem normalizedChartMatrix_comp (a : ι → ν) (f : T ⟶ M) (g : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart a S) : |
| 28 | HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S (f ≫ g) = (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S g).map f.left.appTop.hom := by |
| 29 | unfold HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix |
| 30 | rw [HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChartRepresentation_apply, HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChartRepresentation_apply] |
| 31 | rfl |
| 32 | |
| 33 | def grassmannChartIncidenceIdeal (a : ι → ν) (b : κ → μ) |
| 34 | (f : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart a S) (g : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart b S) |
| 35 | (F : Matrix μ ν Γ(M.left, ⊤)) : M.left.IdealSheafData := |
| 36 | Normalized.IncidenceIdeals.normalizedIncidenceIdeal M a (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S f) (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix_normalized a S f) |
| 37 | (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix b S g) F |
| 38 | |
| 39 | omit [Fintype κ] in |
| 40 | theorem grassmannChartIncidenceIdeal_vanish_iff (a : ι → ν) (b : κ → μ) |
| 41 | (f : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart a S) (g : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart b S) |
| 42 | (F : Matrix μ ν Γ(M.left, ⊤)) (x : T ⟶ M) : |
| 43 | (grassmannChartIncidenceIdeal a b f g F).comap x.left = ⊥ ↔ |
| 44 | (Matrix.toLin' (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix a S (x ≫ f))).ker ≤ |
| 45 | ((Matrix.toLin' (HilbertScheme.Presentations.Normalized.AtlasMaps.Grassmannian.chartMatrix b S (x ≫ g))).ker).comap |
| 46 | (Matrix.toLin' (F.map x.left.appTop.hom)) := by |
| 47 | rw [grassmannChartIncidenceIdeal, Normalized.IncidenceIdeals.normalizedIncidenceIdeal_vanish_iff] |
| 48 | rw [normalizedChartMatrix_comp, normalizedChartMatrix_comp] |
| 49 | rfl |
| 50 | |
| 51 | theorem grassmannChartIncidenceIdeal_chart_independent (a a' : ι → ν) (b b' : κ → μ) |
| 52 | (f : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart a S) (f' : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart a' S) |
| 53 | (g : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart b S) (g' : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart b' S) |
| 54 | (hf : f ≫ HilbertScheme.Presentations.Grassmannian.Gluing.grassmannianChartOverMap a S = f' ≫ HilbertScheme.Presentations.Grassmannian.Gluing.grassmannianChartOverMap a' S) |
| 55 | (hg : g ≫ HilbertScheme.Presentations.Grassmannian.Gluing.grassmannianChartOverMap b S = g' ≫ HilbertScheme.Presentations.Grassmannian.Gluing.grassmannianChartOverMap b' S) |
| 56 | (F : Matrix μ ν Γ(M.left, ⊤)) : |
| 57 | grassmannChartIncidenceIdeal a b f g F = grassmannChartIncidenceIdeal a' b' f' g' F := by |
| 58 | apply Closed.ConditionIdeals.ideal_eq_of_vanishing_iff |
| 59 | intro U x |
| 60 | let x' : Over.mk (x ≫ M.hom) ⟶ M := Over.homMk x rfl |
| 61 | change (grassmannChartIncidenceIdeal a b f g F).comap x'.left = ⊥ ↔ |
| 62 | (grassmannChartIncidenceIdeal a' b' f' g' F).comap x'.left = ⊥ |
| 63 | rw [grassmannChartIncidenceIdeal_vanish_iff, grassmannChartIncidenceIdeal_vanish_iff] |
| 64 | have hq := (HilbertScheme.Presentations.Quotient.ChartClassifyingMap.Grassmannian.chartMaps_eq_iff_kernel_eq a a' (x' ≫ f) (x' ≫ f')).mp |
| 65 | (by simpa only [Category.assoc] using congrArg (fun k => x' ≫ k) hf) |
| 66 | have hk := (HilbertScheme.Presentations.Quotient.ChartClassifyingMap.Grassmannian.chartMaps_eq_iff_kernel_eq b b' (x' ≫ g) (x' ≫ g')).mp |
| 67 | (by simpa only [Category.assoc] using congrArg (fun k => x' ≫ k) hg) |
| 68 | rw [hq, hk] |
| 69 | |
| 70 | omit [Fintype κ] in |
| 71 | theorem grassmannChartIncidenceIdeal_comap (a : ι → ν) (b : κ → μ) |
| 72 | (f : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart a S) (g : M ⟶ HilbertScheme.Presentations.Normalized.Chart.Grassmannian.normalizedChart b S) |
| 73 | (F : Matrix μ ν Γ(M.left, ⊤)) (x : T ⟶ M) : |
| 74 | (grassmannChartIncidenceIdeal a b f g F).comap x.left = |
| 75 | grassmannChartIncidenceIdeal a b (x ≫ f) (x ≫ g) (F.map x.left.appTop.hom) := by |
| 76 | apply Closed.ConditionIdeals.ideal_eq_of_vanishing_iff |
| 77 | intro U y |
| 78 | let y' : Over.mk (y ≫ T.hom) ⟶ T := Over.homMk y rfl |
| 79 | change ((grassmannChartIncidenceIdeal a b f g F).comap x.left).comap y'.left = ⊥ ↔ |
| 80 | (grassmannChartIncidenceIdeal a b (x ≫ f) (x ≫ g) |
| 81 | (F.map x.left.appTop.hom)).comap y'.left = ⊥ |
| 82 | rw [← Scheme.IdealSheafData.comap_comp] |
| 83 | change (grassmannChartIncidenceIdeal a b f g F).comap (y' ≫ x).left = ⊥ ↔ _ |
| 84 | rw [grassmannChartIncidenceIdeal_vanish_iff, grassmannChartIncidenceIdeal_vanish_iff] |
| 85 | simp only [Category.assoc] |
| 86 | rfl |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Grassmann.ChartLoci |