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.MonomorphicOpenChartsExistential |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.GraphPowerOverlap |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.QuasiFiniteQuasiProjectivity |
| 4 | |
| 5 | /-! # Graph Power Gluing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.GraphPowerGluing.StableHilbertGraphPowerGluing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The presented stable graph-power charts glue to an actual |
| 12 | quasi-projective scheme. The overlaps are their fiber products over the |
| 13 | original stable Hilbert scheme; saturation follows from the constructed |
| 14 | full-level comparisons and the exact graph-power lifting criterion. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable (R : Type) [CommRing R] [IsNoetherianRing R] {n m : ℕ} |
| 19 | (i : Fin m) (D : ℕ) (H : Polynomial ℚ) |
| 20 | (hH : HilbertScheme.Presentations.BoundedHilbert.DegreeLocus.GradedHilbert.RankProfileRealizes.{0} n D (HilbertScheme.Presentations.Polynomial.DegreeRankProfile.GradedHilbert.polynomialDegreeRankProfile.{0} n D H) H) |
| 21 | (hD : HilbertScheme.Presentations.Uniform.FamilyCoordinates.GradedHilbert.uniformHilbertFamilyDegree.{0} n H ≤ D) |
| 22 | (g : ℕ) (Hm Hi : Polynomial ℚ) (N : ℕ) [NeZero N] |
| 23 | (labels : Fin m ≃ Multiplicative (Fin (2 * g) → ZMod N)) |
| 24 | (d : ℕ) (δ : Fin g → ℕ) (Φ : GraphPower.LocusPresentation.GraphPowerLocusFactory R g N d δ) |
| 25 | |
| 26 | /-- The original Hilbert charts and the supplied graph-power loci |
| 27 | provide every chart and overlap map of the gluing. -/ |
| 28 | def chartData : MonomorphicOpenTo.MonomorphicOpenCharts (StableHilbert.Scheme.stableHilbertOver R i D H hH hD) |
| 29 | (Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) := |
| 30 | MonomorphicOpenTo.MonomorphicOpenCharts.ofOverlapExists |
| 31 | (fun j => Stable.ConfigurationLocus.stableConfigurationHilbertLocus R i j D H) |
| 32 | (fun j => StableHilbert.Scheme.stableHilbertChartOver R i D H hH hD j) |
| 33 | (fun j => StableHilbert.Scheme.stableHilbertChart_open R i D H hH hD j) |
| 34 | (StableHilbert.Scheme.stableHilbertCharts_cover R i D H hH hD) |
| 35 | (fun j => GraphPowerParameter.StableHilbertGraphPower.parameter R i j D H hH g Hm Hi N labels d δ Φ) |
| 36 | (fun j => GraphPowerChartMaps.StableHilbertGraphPower.toHilbertChart R i j D H hH g Hm Hi N labels d δ Φ) |
| 37 | (fun _ => inferInstance) |
| 38 | (fun j k => GraphPowerOverlap.StableHilbertGraphPowerOverlap.exists_ambientLift |
| 39 | R i D H hH hD g Hm Hi N labels d δ Φ j k) |
| 40 | |
| 41 | def overlap (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : Over (Spec (.of R)) := |
| 42 | pullback ((chartData R i D H hH hD g Hm Hi N labels d δ Φ).toAmbient j) |
| 43 | ((chartData R i D H hH hD g Hm Hi N labels d δ Φ).toAmbient k) |
| 44 | |
| 45 | def overlapLeft (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 46 | overlap R i D H hH hD g Hm Hi N labels d δ Φ j k ⟶ |
| 47 | GraphPowerParameter.StableHilbertGraphPower.parameter R i j D H hH g Hm Hi N labels d δ Φ := |
| 48 | pullback.fst _ _ |
| 49 | |
| 50 | def overlapRight (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 51 | overlap R i D H hH hD g Hm Hi N labels d δ Φ j k ⟶ |
| 52 | GraphPowerParameter.StableHilbertGraphPower.parameter R i k D H hH g Hm Hi N labels d δ Φ := |
| 53 | pullback.snd _ _ |
| 54 | |
| 55 | instance overlapLeft_open (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 56 | IsOpenImmersion (overlapLeft R i D H hH hD g Hm Hi N labels d δ Φ j k).left := |
| 57 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).intersection_open j k |
| 58 | |
| 59 | instance overlapRight_open (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 60 | IsOpenImmersion (overlapRight R i D H hH hD g Hm Hi N labels d δ Φ j k).left := |
| 61 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).intersection_snd_open j k |
| 62 | |
| 63 | /-- Pairwise overlaps are actual ambient fiber products, with the |
| 64 | canonical symmetry and triple-overlap maps of mono-family gluing. -/ |
| 65 | def glueData : Scheme.GlueData := |
| 66 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).glueData |
| 67 | |
| 68 | def parameter : Over (Spec (.of R)) := |
| 69 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).over |
| 70 | |
| 71 | theorem parameter_left : |
| 72 | (parameter R i D H hH hD g Hm Hi N labels d δ Φ).left = |
| 73 | (StableHilbertGraphPowerGluing.glueData R i D H hH hD g Hm Hi N labels d δ Φ).glued := rfl |
| 74 | |
| 75 | def inclusion : parameter R i D H hH hD g Hm Hi N labels d δ Φ ⟶ |
| 76 | StableHilbert.Scheme.stableHilbertOver R i D H hH hD := |
| 77 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).inclusion |
| 78 | |
| 79 | def chartMap (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 80 | GraphPowerParameter.StableHilbertGraphPower.parameter R i j D H hH g Hm Hi N labels d δ Φ ⟶ |
| 81 | parameter R i D H hH hD g Hm Hi N labels d δ Φ := |
| 82 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).chartOver j |
| 83 | |
| 84 | instance chartMap_open (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 85 | IsOpenImmersion (StableHilbertGraphPowerGluing.chartMap R i D H hH hD g Hm Hi N labels d δ Φ j).left := |
| 86 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).chartInclusion_open j |
| 87 | |
| 88 | theorem chartMap_inclusion (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 89 | StableHilbertGraphPowerGluing.chartMap R i D H hH hD g Hm Hi N labels d δ Φ j ≫ |
| 90 | StableHilbertGraphPowerGluing.inclusion R i D H hH hD g Hm Hi N labels d δ Φ = |
| 91 | GraphPowerChartMaps.StableHilbertGraphPower.toHilbertChart R i j D H hH g Hm Hi N labels d δ Φ ≫ |
| 92 | StableHilbert.Scheme.stableHilbertChartOver R i D H hH hD j := |
| 93 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).chartOver_inclusion j |
| 94 | |
| 95 | theorem charts_cover (x : (parameter R i D H hH hD g Hm Hi N labels d δ Φ).left) : |
| 96 | ∃ j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m, |
| 97 | ∃ y : (GraphPowerParameter.StableHilbertGraphPower.parameter R i j D H hH g Hm Hi N labels d δ Φ).left, |
| 98 | (StableHilbertGraphPowerGluing.chartMap R i D H hH hD g Hm Hi N labels d δ Φ j).left y = x := |
| 99 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).charts_cover x |
| 100 | |
| 101 | theorem chart_intersection (j k : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 102 | IsPullback (overlapLeft R i D H hH hD g Hm Hi N labels d δ Φ j k).left |
| 103 | (overlapRight R i D H hH hD g Hm Hi N labels d δ Φ j k).left |
| 104 | (StableHilbertGraphPowerGluing.chartMap R i D H hH hD g Hm Hi N labels d δ Φ j).left |
| 105 | (StableHilbertGraphPowerGluing.chartMap R i D H hH hD g Hm Hi N labels d δ Φ k).left := |
| 106 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).chart_intersection j k |
| 107 | |
| 108 | /-- Base change along an original stable Hilbert open gives exactly |
| 109 | the original normalized polarization chart, with its full scheme structure. -/ |
| 110 | theorem chart_isPullback (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 111 | IsPullback (StableHilbertGraphPowerGluing.chartMap R i D H hH hD g Hm Hi N labels d δ Φ j).left |
| 112 | (GraphPowerChartMaps.StableHilbertGraphPower.toHilbertChart R i j D H hH g Hm Hi N labels d δ Φ).left |
| 113 | (StableHilbertGraphPowerGluing.inclusion R i D H hH hD g Hm Hi N labels d δ Φ).left |
| 114 | (StableHilbert.Scheme.stableHilbertChart R i D H hH hD j) := |
| 115 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).chart_isPullback j |
| 116 | |
| 117 | theorem chartOver_isPullback (j : Stable.BalancedFrameIndex.StableBalancedFrameIndex.{0} (n + 1) m) : |
| 118 | IsPullback (StableHilbertGraphPowerGluing.chartMap R i D H hH hD g Hm Hi N labels d δ Φ j) |
| 119 | (GraphPowerChartMaps.StableHilbertGraphPower.toHilbertChart R i j D H hH g Hm Hi N labels d δ Φ) |
| 120 | (StableHilbertGraphPowerGluing.inclusion R i D H hH hD g Hm Hi N labels d δ Φ) |
| 121 | (StableHilbert.Scheme.stableHilbertChartOver R i D H hH hD j) := |
| 122 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).chartOver_isPullback j |
| 123 | |
| 124 | instance inclusion_mono : Mono (StableHilbertGraphPowerGluing.inclusion R i D H hH hD g Hm Hi N labels d δ Φ) := |
| 125 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).inclusion_mono |
| 126 | |
| 127 | instance inclusion_left_mono : Mono (StableHilbertGraphPowerGluing.inclusion R i D H hH hD g Hm Hi N labels d δ Φ).left := |
| 128 | (chartData R i D H hH hD g Hm Hi N labels d δ Φ).inclusion_left_mono |
| 129 | |
| 130 | instance inclusion_locallyOfFiniteType : |
| 131 | LocallyOfFiniteType (StableHilbertGraphPowerGluing.inclusion R i D H hH hD g Hm Hi N labels d δ Φ).left := by |
| 132 | let C := chartData R i D H hH hD g Hm Hi N labels d δ Φ |
| 133 | let : ∀ j, LocallyOfFiniteType (C.chartMap j).left := fun j => |
| 134 | GraphPowerChartMaps.StableHilbertGraphPower.toHilbertChart_locallyOfFiniteType R i j D H hH g Hm Hi N labels d δ Φ |
| 135 | exact C.inclusion_locallyOfFiniteType |
| 136 | |
| 137 | instance inclusion_quasiCompact : |
| 138 | QuasiCompact (StableHilbertGraphPowerGluing.inclusion R i D H hH hD g Hm Hi N labels d δ Φ).left := by |
| 139 | let C := chartData R i D H hH hD g Hm Hi N labels d δ Φ |
| 140 | let : ∀ j, QuasiCompact (C.chartMap j).left := fun j => |
| 141 | GraphPowerChartMaps.StableHilbertGraphPower.toHilbertChart_quasiCompact R i j D H hH g Hm Hi N labels d δ Φ |
| 142 | exact C.inclusion_quasiCompact |
| 143 | |
| 144 | /-- The quasi-projective presentation is obtained from the genuine |
| 145 | finite-type monomorphism into the original stable Hilbert parameter. -/ |
| 146 | def quasiProjective : |
| 147 | Projective.ProjectivePresentations.QuasiProjectivePresentation (parameter R i D H hH hD g Hm Hi N labels d δ Φ) := |
| 148 | (QuasiProjectivity.stableHilbertOver_quasiProjective R i D H hH hD).some.monomorphismSource |
| 149 | (StableHilbertGraphPowerGluing.inclusion R i D H hH hD g Hm Hi N labels d δ Φ) |
| 150 | |
| 151 | instance parameter_noetherian : |
| 152 | IsNoetherian (parameter R i D H hH hD g Hm Hi N labels d δ Φ).left := |
| 153 | (quasiProjective R i D H hH hD g Hm Hi N labels d δ Φ).noetherian |
| 154 | |
| 155 | /-- The same scheme retains its actual monomorphic map into the |
| 156 | original stable balanced configuration quotient. -/ |
| 157 | def toBalanced : parameter R i D H hH hD g Hm Hi N labels d δ Φ ⟶ |
| 158 | Stable.BalancedProjectiveOpen.stableBalancedQuotientScheme R (r := n + 1) i := |
| 159 | StableHilbertGraphPowerGluing.inclusion R i D H hH hD g Hm Hi N labels d δ Φ ≫ |
| 160 | StableHilbert.Scheme.stableHilbertRankParameterOver R i D H hH hD ≫ |
| 161 | Stable.PolynomialRankScheme.stablePolynomialRankParameterOver R i D (Stable.ConfigurationLocus.configurationHilbertRank D H) |
| 162 | |
| 163 | instance toBalanced_mono : Mono (toBalanced R i D H hH hD g Hm Hi N labels d δ Φ) := by |
| 164 | dsimp only [toBalanced] |
| 165 | infer_instance |
| 166 | |
| 167 | instance toBalanced_left_mono : Mono (toBalanced R i D H hH hD g Hm Hi N labels d δ Φ).left := |
| 168 | Over.mono_left_of_mono _ |
| 169 | |
| 170 | instance toBalanced_locallyOfFiniteType : |
| 171 | LocallyOfFiniteType (toBalanced R i D H hH hD g Hm Hi N labels d δ Φ).left := by |
| 172 | dsimp only [toBalanced, Over.comp_left] |
| 173 | infer_instance |
| 174 | |
| 175 | instance toBalanced_quasiCompact : |
| 176 | QuasiCompact (toBalanced R i D H hH hD g Hm Hi N labels d δ Φ).left := by |
| 177 | dsimp only [toBalanced, Over.comp_left] |
| 178 | infer_instance |
| 179 | |
| 180 | end |
| 181 | |
| 182 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StableHilbert.GraphPowerGluing.StableHilbertGraphPowerGluing |