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.CycleClass.Geometric.IntegralSmoothStratification |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveVarietyRealization |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.FiniteTypeSchemeTopology |
| 4 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.OpenImmersion |
| 5 | |
| 6 | /-! # Cycle Stratum Realization -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Analytic realizations of actual cycle supports and smooth strata |
| 14 | |
| 15 | The point spaces below are the native complex points of the reduced support |
| 16 | scheme and of its actual algebraic smooth locus. Their manifold structures |
| 17 | come from the proved regular-coordinate construction. The dimension of the |
| 18 | regular locus is identified with the function-field grading of cycles. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | open scoped ContDiff _root_.Manifold |
| 23 | |
| 24 | section |
| 25 | |
| 26 | variable {X : Scheme} {f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase} |
| 27 | |
| 28 | /-- The actual structure morphism of the piece, as an object over the base. -/ |
| 29 | abbrev CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.toOver (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 30 | Over.mk (P.inclusion ≫ f) |
| 31 | |
| 32 | /-- The given locally closed inclusion is a morphism over the complex base. -/ |
| 33 | def CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.toAmbient (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : P.toOver ⟶ Over.mk f := |
| 34 | Over.homMk P.inclusion rfl |
| 35 | |
| 36 | /-- The native analytic point space of the actual smooth piece. -/ |
| 37 | abbrev CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticSpace (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints P.toOver |
| 38 | |
| 39 | /-- The common dimension derived by the native manifold construction. -/ |
| 40 | abbrev CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : ℕ := |
| 41 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension (P.inclusion ≫ f) |
| 42 | |
| 43 | abbrev CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticModel (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) := Fin P.complexDimension → ℂ |
| 44 | |
| 45 | instance CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticSpace_nonempty (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : |
| 46 | Nonempty P.analyticSpace := |
| 47 | Foundations.Scheme.ComplexPointExistence.nonempty_complexOverPoints (P.inclusion ≫ f) |
| 48 | |
| 49 | instance CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticSpace_locallyCompact (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : |
| 50 | LocallyCompactSpace P.analyticSpace := by |
| 51 | let : LocallyOfFiniteType P.toOver.hom := inferInstanceAs |
| 52 | (LocallyOfFiniteType (P.inclusion ≫ f)) |
| 53 | exact ComplexPoints.Analytic.FiniteTypeSchemeTopology.schemePoints_locallyCompact P.toOver |
| 54 | |
| 55 | instance CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticSpace_chartedSpace (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : |
| 56 | ChartedSpace P.analyticModel P.analyticSpace := by |
| 57 | let : IsIntegral P.toOver.left := P.integral |
| 58 | let : Smooth P.toOver.hom := P.smooth |
| 59 | exact ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeChartedSpace P.toOver |
| 60 | |
| 61 | instance CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticSpace_complexIsManifold (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) (r : ℕ∞ω) : |
| 62 | IsManifold (𝓘(ℂ, P.analyticModel)) r P.analyticSpace := by |
| 63 | let : IsIntegral P.toOver.left := P.integral |
| 64 | let : Smooth P.toOver.hom := P.smooth |
| 65 | exact ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeComplexIsManifold P.toOver r |
| 66 | |
| 67 | instance CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticSpace_realIsManifold (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) (r : ℕ∞ω) : |
| 68 | IsManifold (𝓘(ℝ, P.analyticModel)) r P.analyticSpace := by |
| 69 | let : IsIntegral P.toOver.left := P.integral |
| 70 | let : Smooth P.toOver.hom := P.smooth |
| 71 | exact ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeRealIsManifold P.toOver r |
| 72 | |
| 73 | /-- The analytic dimension is the actual transcendence dimension of this piece. -/ |
| 74 | theorem CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.complexDimension_eq_dimension (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : |
| 75 | P.complexDimension = P.dimension := |
| 76 | (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension |
| 77 | (P.inclusion ≫ f)).symm |
| 78 | |
| 79 | theorem CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticModel_complex_finrank (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : |
| 80 | Module.finrank ℂ P.analyticModel = P.dimension := by |
| 81 | rw [Module.finrank_pi, Fintype.card_fin, P.complexDimension_eq_dimension] |
| 82 | |
| 83 | theorem CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece.analyticModel_real_finrank (P : CycleClass.Geometric.IntegralSmoothStratification.IntegralSmoothGeometricPiece f) : |
| 84 | Module.finrank ℝ P.analyticModel = 2 * P.dimension := by |
| 85 | rw [finrank_real_of_complex, P.analyticModel_complex_finrank] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 90 | |
| 91 | /-- The actual reduced support scheme over its specified complex base. -/ |
| 92 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.toOver (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 93 | Over.mk Z.structureMap |
| 94 | |
| 95 | def CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.toAmbient (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Z.toOver ⟶ V.toOver := |
| 96 | Over.homMk Z.inclusion rfl |
| 97 | |
| 98 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.analyticSpace (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) := ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Z.toOver |
| 99 | |
| 100 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.analyticInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Z.analyticSpace → V.analyticSpace := |
| 101 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map Z.toAmbient |
| 102 | |
| 103 | /-- A possibly singular cycle support is genuinely closed in the analytic variety. -/ |
| 104 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.isClosedEmbedding_analyticInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 105 | Topology.IsClosedEmbedding Z.analyticInclusion := by |
| 106 | let : IsClosedImmersion Z.toAmbient.left := Z.inclusion_isClosedImmersion |
| 107 | exact ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isClosedEmbedding_map_of_isClosedImmersion Z.toAmbient |
| 108 | |
| 109 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.analyticSpace_nonempty (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Nonempty Z.analyticSpace := |
| 110 | Foundations.Scheme.ComplexPointExistence.nonempty_complexOverPoints Z.structureMap |
| 111 | |
| 112 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.analyticSpace_compactSpace (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 113 | CompactSpace Z.analyticSpace := |
| 114 | Z.projectivePresentation.compactSpace_complexPoints |
| 115 | |
| 116 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.analyticSpace_t2Space (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : T2Space Z.analyticSpace := |
| 117 | Z.isClosedEmbedding_analyticInclusion.isEmbedding.t2Space |
| 118 | |
| 119 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.analyticSpace_secondCountableTopology (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 120 | SecondCountableTopology Z.analyticSpace := |
| 121 | Z.isClosedEmbedding_analyticInclusion.isEmbedding.secondCountableTopology |
| 122 | |
| 123 | /-- The actual open algebraic smooth locus of the reduced support. -/ |
| 124 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularScheme (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Scheme := CycleClass.Geometric.SmoothStratum.smoothStratum Z.structureMap |
| 125 | |
| 126 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularToBase (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Z.regularScheme ⟶ Foundations.Scheme.ProjectiveSpace.complexBase := |
| 127 | CycleClass.Geometric.SmoothStratum.smoothStratumToBase Z.structureMap |
| 128 | |
| 129 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularOver (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Over Foundations.Scheme.ProjectiveSpace.complexBase := |
| 130 | Over.mk Z.regularToBase |
| 131 | |
| 132 | def CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularToSupport (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : Z.regularOver ⟶ Z.toOver := |
| 133 | Over.homMk (CycleClass.Geometric.SmoothStratum.smoothStratumι Z.structureMap) rfl |
| 134 | |
| 135 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticSpace (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) := |
| 136 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Z.regularOver |
| 137 | |
| 138 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 139 | Z.regularAnalyticSpace → Z.analyticSpace := |
| 140 | ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map Z.regularToSupport |
| 141 | |
| 142 | /-- The smooth locus has exactly the topology of an open subset of the support. -/ |
| 143 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.isOpenEmbedding_regularAnalyticInclusion (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 144 | Topology.IsOpenEmbedding Z.regularAnalyticInclusion := by |
| 145 | let : IsOpenImmersion Z.regularToSupport.left := inferInstanceAs |
| 146 | (IsOpenImmersion (CycleClass.Geometric.SmoothStratum.smoothStratumι Z.structureMap)) |
| 147 | exact ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.isOpenEmbedding_map_of_isOpenImmersion Z.regularToSupport |
| 148 | |
| 149 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularComplexDimension (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : ℕ := |
| 150 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension Z.regularToBase |
| 151 | |
| 152 | abbrev CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticModel (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) := |
| 153 | Fin Z.regularComplexDimension → ℂ |
| 154 | |
| 155 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticSpace_nonempty (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 156 | Nonempty Z.regularAnalyticSpace := |
| 157 | Foundations.Scheme.ComplexPointExistence.nonempty_complexOverPoints Z.regularToBase |
| 158 | |
| 159 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticSpace_t2Space (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 160 | T2Space Z.regularAnalyticSpace := |
| 161 | Z.isOpenEmbedding_regularAnalyticInclusion.isEmbedding.t2Space |
| 162 | |
| 163 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticSpace_secondCountableTopology (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 164 | SecondCountableTopology Z.regularAnalyticSpace := |
| 165 | Z.isOpenEmbedding_regularAnalyticInclusion.isEmbedding.secondCountableTopology |
| 166 | |
| 167 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticSpace_locallyCompact (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 168 | LocallyCompactSpace Z.regularAnalyticSpace := by |
| 169 | let : LocallyOfFiniteType Z.regularOver.hom := inferInstanceAs |
| 170 | (LocallyOfFiniteType Z.regularToBase) |
| 171 | exact ComplexPoints.Analytic.FiniteTypeSchemeTopology.schemePoints_locallyCompact Z.regularOver |
| 172 | |
| 173 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticSpace_chartedSpace (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 174 | ChartedSpace Z.regularAnalyticModel Z.regularAnalyticSpace := by |
| 175 | let : IsIntegral Z.regularOver.left := inferInstanceAs (IsIntegral Z.regularScheme) |
| 176 | let : Smooth Z.regularOver.hom := inferInstanceAs (Smooth Z.regularToBase) |
| 177 | exact ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeChartedSpace Z.regularOver |
| 178 | |
| 179 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticSpace_complexIsManifold (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (r : ℕ∞ω) : |
| 180 | IsManifold (𝓘(ℂ, Z.regularAnalyticModel)) r Z.regularAnalyticSpace := by |
| 181 | let : IsIntegral Z.regularOver.left := inferInstanceAs (IsIntegral Z.regularScheme) |
| 182 | let : Smooth Z.regularOver.hom := inferInstanceAs (Smooth Z.regularToBase) |
| 183 | exact ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeComplexIsManifold Z.regularOver r |
| 184 | |
| 185 | instance CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticSpace_realIsManifold (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (r : ℕ∞ω) : |
| 186 | IsManifold (𝓘(ℝ, Z.regularAnalyticModel)) r Z.regularAnalyticSpace := by |
| 187 | let : IsIntegral Z.regularOver.left := inferInstanceAs (IsIntegral Z.regularScheme) |
| 188 | let : Smooth Z.regularOver.hom := inferInstanceAs (Smooth Z.regularToBase) |
| 189 | exact ComplexPoints.Analytic.IntrinsicSmoothSchemeManifold.nativeSmoothSchemeRealIsManifold Z.regularOver r |
| 190 | |
| 191 | /-- The genuine nonempty smooth open locus has the same function field, so its |
| 192 | manifold dimension is exactly the cycle support dimension. -/ |
| 193 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularComplexDimension_eq_supportDimension (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 194 | Z.regularComplexDimension = Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 V.structureMap := by |
| 195 | calc |
| 196 | Z.regularComplexDimension = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Z.regularToBase := |
| 197 | (Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension Z.regularToBase).symm |
| 198 | _ = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension Z.structureMap := |
| 199 | Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion (CycleClass.Geometric.SmoothStratum.smoothStratumι Z.structureMap) Z.structureMap |
| 200 | _ = Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z.1 V.structureMap := rfl |
| 201 | |
| 202 | /-- The cycle codimension equals the difference of the proved manifold dimensions. -/ |
| 203 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularComplexDimension_add_codimension (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 204 | Z.regularComplexDimension + p = V.complexDimension := by |
| 205 | rw [Z.regularComplexDimension_eq_supportDimension, Z.dimension_add_codimension] |
| 206 | exact Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension V.structureMap |
| 207 | |
| 208 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularComplexDimension_eq_sub (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 209 | Z.regularComplexDimension = V.complexDimension - p := by |
| 210 | have h := Z.regularComplexDimension_add_codimension |
| 211 | omega |
| 212 | |
| 213 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticModel_complex_finrank (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 214 | Module.finrank ℂ Z.regularAnalyticModel = V.complexDimension - p := by |
| 215 | rw [Module.finrank_pi, Fintype.card_fin, Z.regularComplexDimension_eq_sub] |
| 216 | |
| 217 | theorem CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAnalyticModel_real_finrank (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 218 | Module.finrank ℝ Z.regularAnalyticModel = 2 * (V.complexDimension - p) := by |
| 219 | rw [finrank_real_of_complex, Z.regularAnalyticModel_complex_finrank] |
| 220 | |
| 221 | end |
| 222 | |
| 223 | end OAI.AlgebraicGeometry |