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.AlgebraicTopology.DeRham.Comparison.GeometricCycleClass |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.GeometricCycleClassMeaning |
| 3 | import OAI.AlgebraicTopology.DeRham.Comparison.GeometricCycleTraceMeaning |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.CompactRelativeTrace |
| 5 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeChainD |
| 6 | import OAI.AlgebraicTopology.Duality.Poincare.CompactMeaning |
| 7 | import OAI.AlgebraicTopology.Duality.Poincare.CompactSupportOpen |
| 8 | import OAI.AlgebraicTopology.Duality.Poincare.CompactTraceEvaluation |
| 9 | |
| 10 | /-! # Geometric Cycle Trace Characterization -/ |
| 11 | |
| 12 | namespace OAI.AlgebraicTopology.DeRham.Comparison.GeometricCycleTraceCharacterization |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | /-! |
| 17 | # The fundamental-cycle meaning of the geometric cycle class |
| 18 | |
| 19 | The ambient homology class below is the actual singular cap product of the |
| 20 | geometric cohomology class with the ambient integral fundamental class. |
| 21 | Compact relative traces use the actual absolute-to-relative projection and |
| 22 | inverse excision on the complement of the singular boundary. |
| 23 | -/ |
| 24 | |
| 25 | open _root_.CategoryTheory _root_.TopologicalSpace |
| 26 | open scoped _root_.Manifold TensorProduct ChangeOfRings |
| 27 | |
| 28 | set_option backward.defeqAttrib.useBackward true |
| 29 | set_option backward.isDefEq.respectTransparency false |
| 30 | set_option backward.isDefEq.respectTransparency.types false |
| 31 | |
| 32 | namespace DimensionCycleSupport |
| 33 | |
| 34 | variable {V : AlgebraicGeometry.Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} |
| 35 | |
| 36 | /-- The actual compact-relative trace of an ambient rational homology class, |
| 37 | for a compact subset of the genuine regular ambient open set. -/ |
| 38 | def _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAmbientHomologyTrace (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 39 | (K : Compacts Z.regularAmbientSpace) (n : ℕ) : |
| 40 | (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (TopCat.of V.analyticSpace)).homology n ⟶ |
| 41 | AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ (TopCat.of Z.regularAmbientSpace) |
| 42 | (K : Set Z.regularAmbientSpace)ᶜ n := |
| 43 | Duality.Poincare.CompactFundamentalTrace.openCompactRelativeTrace (X := TopCat.of V.analyticSpace) Z.regularAmbientOpen K n |
| 44 | |
| 45 | /-- The ambient geometric class capped with the constructed integral |
| 46 | fundamental class of the actual compact complex manifold. -/ |
| 47 | def _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleFundamentalClass (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 48 | (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (TopCat.of V.analyticSpace)).homology |
| 49 | (2 * Z.regularComplexDimension) := |
| 50 | Duality.Poincare.CompactMeaning.complexManifoldOrdinaryCap V.complexDimension (M := V.analyticSpace) |
| 51 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree |
| 52 | Z.geometricCycleClass |
| 53 | |
| 54 | /-- Every actual compact-relative trace is the proper trace of the regular |
| 55 | fundamental cycle. This predicate is the displayed family of homology equalities. -/ |
| 56 | def _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.HasRegularFundamentalCompactTraces (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 57 | (z : (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (TopCat.of V.analyticSpace)).homology |
| 58 | (2 * Z.regularComplexDimension)) : Prop := |
| 59 | ∀ K : Compacts Z.regularAmbientSpace, |
| 60 | Z.regularAmbientHomologyTrace K (2 * Z.regularComplexDimension) z = |
| 61 | AlgebraicGeometry.CycleClass.Geometric.RegularFundamentalTrace.Cycles.properLocallyFiniteCompactTrace ℚ Z.regularComplementTopCatMap |
| 62 | Z.isProperMap_regularComplementTopCatMap (K : Set Z.regularAmbientSpace) |
| 63 | K.isCompact (2 * Z.regularComplexDimension) |
| 64 | Z.regularRationalLocallyFiniteFundamentalClass |
| 65 | |
| 66 | @[simp] |
| 67 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleFundamentalClass_eq_cap (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 68 | Z.geometricCycleFundamentalClass = |
| 69 | Duality.Poincare.MixedCapHomology.mixedSingularCapHomology (TopCat.of V.analyticSpace) (p + p) |
| 70 | (2 * Z.regularComplexDimension) Z.geometricCycleClass |
| 71 | (Duality.Poincare.CompactMeaning.complexFundamentalClassInDegree V.complexDimension (M := V.analyticSpace) |
| 72 | ((p + p) + 2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree) := |
| 73 | rfl |
| 74 | |
| 75 | /-- Testing the actual compact-relative trace of any ambient class's cap |
| 76 | is the canonical compact-support evaluation of its genuine restriction. -/ |
| 77 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.regularAmbientHomologyTrace_cap_evaluation (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 78 | (K : Compacts Z.regularAmbientSpace) (a : V.rationalCohomology (p + p)) |
| 79 | (b : Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 80 | (TopCat.of Z.regularAmbientSpace) (K : Set Z.regularAmbientSpace)ᶜ |
| 81 | (2 * Z.regularComplexDimension)) : |
| 82 | AlgebraicGeometry.CycleClass.Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ (TopCat.of Z.regularAmbientSpace) |
| 83 | (K : Set Z.regularAmbientSpace)ᶜ (2 * Z.regularComplexDimension) b |
| 84 | (Z.regularAmbientHomologyTrace K (2 * Z.regularComplexDimension) |
| 85 | (Duality.Poincare.CompactMeaning.complexManifoldOrdinaryCap V.complexDimension (M := V.analyticSpace) |
| 86 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree a)) = |
| 87 | Duality.Poincare.CompactSupportDualCohomology.compactSupportEvaluation V.complexDimension (p + p) (2 * Z.regularComplexDimension) |
| 88 | Z.regularGeometricTrace_degree (Z.regularAmbientCohomologyRestriction (p + p) a) |
| 89 | (Duality.Poincare.CompactSupportCohomology.compactSupportCohomologyι (ModuleCat.of ℚ ℚ) |
| 90 | (TopCat.of Z.regularAmbientSpace) K (2 * Z.regularComplexDimension) b) := |
| 91 | Duality.Poincare.CompactTraceEvaluation.complexManifoldOrdinaryCap_openCompactRelativeTrace_evaluation V.complexDimension |
| 92 | Z.regularAmbientOpen K (p + p) (2 * Z.regularComplexDimension) |
| 93 | Z.regularGeometricTrace_degree ⟨p, rfl⟩ a b |
| 94 | |
| 95 | /-- The actual cap of the geometric class has, at every compact support, |
| 96 | exactly the proper relative trace of the regular locus's fundamental class. |
| 97 | This is equality in relative homology, proved using the full field UCT. -/ |
| 98 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleFundamentalClass_compactTrace (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 99 | (K : Compacts Z.regularAmbientSpace) : |
| 100 | Z.regularAmbientHomologyTrace K (2 * Z.regularComplexDimension) |
| 101 | Z.geometricCycleFundamentalClass = |
| 102 | AlgebraicGeometry.CycleClass.Geometric.RegularFundamentalTrace.Cycles.properLocallyFiniteCompactTrace ℚ Z.regularComplementTopCatMap |
| 103 | Z.isProperMap_regularComplementTopCatMap (K : Set Z.regularAmbientSpace) |
| 104 | K.isCompact (2 * Z.regularComplexDimension) |
| 105 | Z.regularRationalLocallyFiniteFundamentalClass := by |
| 106 | apply (AlgebraicGeometry.CycleClass.Geometric.RelativeChainD.Cycles.relativeScalarHomology_eq_iff_evaluation ℚ (TopCat.of Z.regularAmbientSpace) |
| 107 | (K : Set Z.regularAmbientSpace)ᶜ (2 * Z.regularComplexDimension) _ _).mpr |
| 108 | intro b |
| 109 | change AlgebraicGeometry.CycleClass.Geometric.RelativeChainD.Cycles.relativeUniversalCoefficientEquiv ℚ (TopCat.of Z.regularAmbientSpace) |
| 110 | (K : Set Z.regularAmbientSpace)ᶜ (2 * Z.regularComplexDimension) b |
| 111 | (Z.regularAmbientHomologyTrace K (2 * Z.regularComplexDimension) |
| 112 | (Duality.Poincare.CompactMeaning.complexManifoldOrdinaryCap V.complexDimension (M := V.analyticSpace) |
| 113 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree |
| 114 | Z.geometricCycleClass)) = _ |
| 115 | rw [Z.regularAmbientHomologyTrace_cap_evaluation] |
| 116 | exact Z.geometricCycleClass_compactStage_nativeCompactTrace K b |
| 117 | |
| 118 | /-- The same relative homology equality with the original integral |
| 119 | compact fundamental class and its unit rational coefficient shown explicitly. -/ |
| 120 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleFundamentalClass_compactTrace_integralPushforward |
| 121 | (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (K : Compacts Z.regularAmbientSpace) : |
| 122 | Z.regularAmbientHomologyTrace K (2 * Z.regularComplexDimension) |
| 123 | Z.geometricCycleFundamentalClass = |
| 124 | HomologicalComplex.homologyMap |
| 125 | (AlgebraicGeometry.CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChainsMap ℚ Z.regularComplementTopCatMap |
| 126 | (A := (Z.regularCompactPreimage (K : Set Z.regularAmbientSpace))ᶜ) |
| 127 | (B := (K : Set Z.regularAmbientSpace)ᶜ) (fun _ hx => hx)) |
| 128 | (2 * Z.regularComplexDimension) |
| 129 | ((AlgebraicGeometry.CycleClass.Geometric.RationalRelativeHomology.Cycles.rationalRelativeHomologyIso (TopCat.of Z.regularAnalyticSpace) |
| 130 | (Z.regularCompactPreimage (K : Set Z.regularAmbientSpace))ᶜ |
| 131 | (2 * Z.regularComplexDimension)).inv |
| 132 | ((1 : ℚ) ⊗ₜ[ℤ, Int.castRingHom ℚ] |
| 133 | (AlgebraicGeometry.CycleClass.Geometric.ComplexCompactFundamental.Cycles.complexCompactFundamentalClass Z.regularComplexDimension |
| 134 | (Z.regularCompactPreimage (K : Set Z.regularAmbientSpace)) |
| 135 | (Z.isCompact_regularCompactPreimage (K : Set Z.regularAmbientSpace) |
| 136 | K.isCompact)))) := by |
| 137 | rw [Z.geometricCycleFundamentalClass_compactTrace] |
| 138 | exact Z.regularNativeFundamentalCompactTrace_eq_compactFundamental |
| 139 | (K : Set Z.regularAmbientSpace) K.isCompact |
| 140 | |
| 141 | /-- The actual ambient cap class is characterized by all these |
| 142 | compact-relative traces. This uses the proved singular-boundary restriction |
| 143 | isomorphism as well as the full compact-support duality. -/ |
| 144 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleClass_unique_of_compactRelativeTraces |
| 145 | (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (a : V.rationalCohomology (p + p)) |
| 146 | (ha : ∀ K : Compacts Z.regularAmbientSpace, |
| 147 | Z.regularAmbientHomologyTrace K (2 * Z.regularComplexDimension) |
| 148 | (Duality.Poincare.CompactMeaning.complexManifoldOrdinaryCap V.complexDimension (M := V.analyticSpace) |
| 149 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree a) = |
| 150 | AlgebraicGeometry.CycleClass.Geometric.RegularFundamentalTrace.Cycles.properLocallyFiniteCompactTrace ℚ Z.regularComplementTopCatMap |
| 151 | Z.isProperMap_regularComplementTopCatMap (K : Set Z.regularAmbientSpace) |
| 152 | K.isCompact (2 * Z.regularComplexDimension) |
| 153 | Z.regularRationalLocallyFiniteFundamentalClass) : |
| 154 | a = Z.geometricCycleClass := by |
| 155 | apply (Z.eq_geometricCycleClass_iff_compactTrace a).mpr |
| 156 | intro K b |
| 157 | rw [← Z.regularAmbientHomologyTrace_cap_evaluation K a b, ha K] |
| 158 | |
| 159 | /-- Equality to the geometric cycle class is equivalent to the actual |
| 160 | fundamental-cycle compact-relative trace characterization of its cap. -/ |
| 161 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.eq_geometricCycleClass_iff_compactRelativeTraces |
| 162 | (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) (a : V.rationalCohomology (p + p)) : |
| 163 | a = Z.geometricCycleClass ↔ |
| 164 | ∀ K : Compacts Z.regularAmbientSpace, |
| 165 | Z.regularAmbientHomologyTrace K (2 * Z.regularComplexDimension) |
| 166 | (Duality.Poincare.CompactMeaning.complexManifoldOrdinaryCap V.complexDimension (M := V.analyticSpace) |
| 167 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree a) = |
| 168 | AlgebraicGeometry.CycleClass.Geometric.RegularFundamentalTrace.Cycles.properLocallyFiniteCompactTrace ℚ Z.regularComplementTopCatMap |
| 169 | Z.isProperMap_regularComplementTopCatMap (K : Set Z.regularAmbientSpace) |
| 170 | K.isCompact (2 * Z.regularComplexDimension) |
| 171 | Z.regularRationalLocallyFiniteFundamentalClass := by |
| 172 | constructor |
| 173 | · rintro rfl K |
| 174 | exact Z.geometricCycleFundamentalClass_compactTrace K |
| 175 | · exact Z.geometricCycleClass_unique_of_compactRelativeTraces a |
| 176 | |
| 177 | /-- Among all ambient rational homology classes of the complementary |
| 178 | degree, the actual geometric cap class is uniquely determined by its compact |
| 179 | traces of the regular fundamental cycle. -/ |
| 180 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleFundamentalClass_unique |
| 181 | (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 182 | (z : (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (TopCat.of V.analyticSpace)).homology |
| 183 | (2 * Z.regularComplexDimension)) |
| 184 | (hz : ∀ K : Compacts Z.regularAmbientSpace, |
| 185 | Z.regularAmbientHomologyTrace K (2 * Z.regularComplexDimension) z = |
| 186 | AlgebraicGeometry.CycleClass.Geometric.RegularFundamentalTrace.Cycles.properLocallyFiniteCompactTrace ℚ Z.regularComplementTopCatMap |
| 187 | Z.isProperMap_regularComplementTopCatMap (K : Set Z.regularAmbientSpace) |
| 188 | K.isCompact (2 * Z.regularComplexDimension) |
| 189 | Z.regularRationalLocallyFiniteFundamentalClass) : |
| 190 | z = Z.geometricCycleFundamentalClass := by |
| 191 | let e := Duality.Poincare.Manifold.compactComplexManifoldPoincareDuality V.complexDimension (M := V.analyticSpace) |
| 192 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree |
| 193 | let a : V.rationalCohomology (p + p) := e.inv z |
| 194 | have ha : Duality.Poincare.CompactMeaning.complexManifoldOrdinaryCap V.complexDimension (M := V.analyticSpace) |
| 195 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree a = z := |
| 196 | e.inv_hom_id_apply z |
| 197 | have ha' : a = Z.geometricCycleClass := |
| 198 | Z.geometricCycleClass_unique_of_compactRelativeTraces a (fun K => by rw [ha]; exact hz K) |
| 199 | rw [← ha, ha'] |
| 200 | rfl |
| 201 | |
| 202 | /-- The actual ambient cap class is the unique homology class with all |
| 203 | the regular fundamental cycle's compact-relative traces. -/ |
| 204 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.existsUnique_geometricCycleFundamentalClass (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 205 | ∃! z : (Cohomology.Singular.Evaluation.singularScalarChains (R := ℚ) (TopCat.of V.analyticSpace)).homology |
| 206 | (2 * Z.regularComplexDimension), |
| 207 | Z.HasRegularFundamentalCompactTraces z := |
| 208 | ⟨Z.geometricCycleFundamentalClass, Z.geometricCycleFundamentalClass_compactTrace, |
| 209 | Z.geometricCycleFundamentalClass_unique⟩ |
| 210 | |
| 211 | /-- Applying the inverse of the actual ambient cap isomorphism to the |
| 212 | characterized homology class gives precisely the geometric cycle class. -/ |
| 213 | theorem _root_.OAI.AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport.geometricCycleFundamentalClass_inversePoincareDuality |
| 214 | (Z : AlgebraicGeometry.CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p) : |
| 215 | (Duality.Poincare.Manifold.compactComplexManifoldPoincareDuality V.complexDimension (M := V.analyticSpace) |
| 216 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree).inv |
| 217 | Z.geometricCycleFundamentalClass = Z.geometricCycleClass := |
| 218 | (Duality.Poincare.Manifold.compactComplexManifoldPoincareDuality V.complexDimension (M := V.analyticSpace) |
| 219 | (p + p) (2 * Z.regularComplexDimension) Z.regularGeometricTrace_degree).hom_inv_id_apply |
| 220 | Z.geometricCycleClass |
| 221 | |
| 222 | end DimensionCycleSupport |
| 223 | |
| 224 | end |
| 225 | |
| 226 | end OAI.AlgebraicTopology.DeRham.Comparison.GeometricCycleTraceCharacterization |