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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | This file has been modified. |
| 16 | -/ |
| 17 | import OAI.Geometry.Foundations.ConvexStdSimplexMetric |
| 18 | import OAI.AlgebraicTopology.LocalHomology.FundamentalClassBoundary |
| 19 | import Mathlib.Algebra.Homology.HomologySequence |
| 20 | import Mathlib.AlgebraicTopology.SimplicialSet.Homology.HomologyZero |
| 21 | import Mathlib.AlgebraicTopology.SimplicialSet.TopAdj |
| 22 | import Mathlib.Topology.Homotopy.Equiv |
| 23 | import Mathlib.Algebra.Homology.HomologicalComplexAbelian |
| 24 | import Mathlib.AlgebraicTopology.SingularHomology.HomotopyInvariance |
| 25 | import Mathlib.Analysis.Convex.Contractible |
| 26 | import Mathlib.Topology.Homotopy.TopCat.ZerothHomotopy |
| 27 | |
| 28 | /-! # Euclidean -/ |
| 29 | |
| 30 | namespace OAI.AlgebraicTopology.LocalHomology.Euclidean.Singular |
| 31 | |
| 32 | noncomputable section |
| 33 | |
| 34 | open _root_.AlgebraicTopology |
| 35 | |
| 36 | /-! |
| 37 | # Euclidean local homology |
| 38 | |
| 39 | This file develops the long exact sequence of the standard punctured Euclidean pair and computes |
| 40 | the connecting morphism on the explicit standard local class. These are the chain-level |
| 41 | prerequisites for proving that the standard class generates local homology. |
| 42 | -/ |
| 43 | |
| 44 | open _root_.CategoryTheory Limits ContinuousMap |
| 45 | open scoped OAI.Geometry.Foundations.ConvexStdSimplexMetric.Convexity.StdSimplex Simplicial |
| 46 | |
| 47 | /-- The connecting map from relative homology in degree `n + 1` to subspace homology in degree |
| 48 | `n`. -/ |
| 49 | def relativeSingularBoundary (X : TopPair) (n : ℕ) : |
| 50 | Singular.Cohomology.RelativeHomology ℚ X (n + 1) ⟶ Singular.Cohomology.Homology ℚ X.snd n := |
| 51 | (Singular.CohomologyTo.relativeChainShortComplex_shortExact ℚ X).δ (n + 1) n |
| 52 | (ComplexShape.down_mk (n + 1) n (by lia)) |
| 53 | |
| 54 | /-- Exactness at relative homology in the long exact sequence of a topological pair. -/ |
| 55 | lemma relativeSingular_homology_exact_relative (X : TopPair) (n : ℕ) : |
| 56 | (ShortComplex.mk |
| 57 | (Singular.CohomologyTo.relativeHomologyProjection ℚ X (n + 1)) |
| 58 | (relativeSingularBoundary X n) |
| 59 | (by |
| 60 | exact (Singular.CohomologyTo.relativeChainShortComplex_shortExact ℚ X).comp_δ |
| 61 | (n + 1) n (ComplexShape.down_mk (n + 1) n (by lia)))).Exact := |
| 62 | (Singular.CohomologyTo.relativeChainShortComplex_shortExact ℚ X).homology_exact₃ |
| 63 | (n + 1) n (ComplexShape.down_mk (n + 1) n (by lia)) |
| 64 | |
| 65 | lemma standardSubspaceBoundaryChain_inclusion (n : ℕ) : |
| 66 | FundamentalClassBoundary.Singular.standardSubspaceBoundaryChain n ≫ |
| 67 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ (n + 1))).hom.f n = |
| 68 | FundamentalClass.Singular.standardAmbientSimplexChain ℚ (n + 1) ≫ |
| 69 | ((Singular.Cohomology.chainPairFunctor ℚ).obj |
| 70 | (FundamentalClass.Singular.puncturedPair ℝ (n + 1))).right.d (n + 1) n := by |
| 71 | rw [FundamentalClassBoundary.Singular.standardSubspaceBoundaryChain, Preadditive.sum_comp] |
| 72 | simp_rw [Preadditive.zsmul_comp, FundamentalClass.Singular.standardFaceChain_inclusion] |
| 73 | exact (FundamentalClass.Singular.standardAmbientSimplexChain_boundary ℚ n).symm |
| 74 | |
| 75 | lemma standardSubspaceBoundaryChain_boundary (n : ℕ) : |
| 76 | FundamentalClassBoundary.Singular.standardSubspaceBoundaryChain n ≫ |
| 77 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ (n + 1))).left.d n |
| 78 | ((ComplexShape.down ℕ).next n) = 0 := by |
| 79 | let f := ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ (n + 1))).hom |
| 80 | let : Mono f := Singular.CohomologyTo.relativeChainMap_mono ℚ (FundamentalClass.Singular.puncturedPair ℝ (n + 1)) |
| 81 | rw [← cancel_mono (f.f ((ComplexShape.down ℕ).next n)), Category.assoc, ← f.comm, |
| 82 | ← Category.assoc, standardSubspaceBoundaryChain_inclusion, Category.assoc, |
| 83 | HomologicalComplex.d_comp_d, comp_zero] |
| 84 | simp |
| 85 | |
| 86 | /-- The boundary of the standard affine simplex as a cycle in punctured Euclidean space. -/ |
| 87 | def standardPuncturedBoundaryCycle (n : ℕ) : |
| 88 | ModuleCat.of ℚ ℚ ⟶ |
| 89 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ (n + 1))).left.cycles n := |
| 90 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ (n + 1))).left.liftCycles |
| 91 | (FundamentalClassBoundary.Singular.standardSubspaceBoundaryChain n) ((ComplexShape.down ℕ).next n) rfl |
| 92 | (standardSubspaceBoundaryChain_boundary n) |
| 93 | |
| 94 | /-- The homology class of the boundary of the standard affine simplex in punctured Euclidean |
| 95 | space. -/ |
| 96 | def standardPuncturedBoundaryClass (n : ℕ) : |
| 97 | Singular.Cohomology.Homology ℚ (FundamentalClass.Singular.puncturedPair ℝ (n + 1)).snd n := |
| 98 | ((standardPuncturedBoundaryCycle n ≫ |
| 99 | ((Singular.Cohomology.chainPairFunctor ℚ).obj |
| 100 | (FundamentalClass.Singular.puncturedPair ℝ (n + 1))).left.homologyπ n).hom) 1 |
| 101 | |
| 102 | lemma standardLocalCycle_comp_relativeSingularBoundary (n : ℕ) : |
| 103 | FundamentalClass.Singular.standardLocalCycle ℚ (n + 1) ≫ |
| 104 | (FundamentalClass.Singular.standardLocalRelativeChainComplex ℚ (n + 1)).homologyπ (n + 1) ≫ |
| 105 | relativeSingularBoundary (FundamentalClass.Singular.puncturedPair ℝ (n + 1)) n = |
| 106 | standardPuncturedBoundaryCycle n ≫ |
| 107 | ((Singular.Cohomology.chainPairFunctor ℚ).obj |
| 108 | (FundamentalClass.Singular.puncturedPair ℝ (n + 1))).left.homologyπ n := by |
| 109 | let hS := Singular.CohomologyTo.relativeChainShortComplex_shortExact ℚ |
| 110 | (FundamentalClass.Singular.puncturedPair ℝ (n + 1)) |
| 111 | exact hS.δ_eq (n + 1) n (ComplexShape.down_mk (n + 1) n (by lia)) |
| 112 | (FundamentalClass.Singular.standardLocalChain ℚ (n + 1)) (FundamentalClass.Singular.standardLocalChain_boundary_succ ℚ n) |
| 113 | (FundamentalClass.Singular.standardAmbientSimplexChain ℚ (n + 1)) rfl |
| 114 | (FundamentalClassBoundary.Singular.standardSubspaceBoundaryChain n) (standardSubspaceBoundaryChain_inclusion n) |
| 115 | ((ComplexShape.down ℕ).next n) rfl |
| 116 | |
| 117 | /-- The connecting map sends the standard local class to the homology class of the oriented |
| 118 | boundary of the standard affine simplex. -/ |
| 119 | lemma relativeSingularBoundary_standardLocalClass (n : ℕ) : |
| 120 | (relativeSingularBoundary (FundamentalClass.Singular.puncturedPair ℝ (n + 1)) n).hom |
| 121 | (FundamentalClass.Singular.standardLocalClass ℚ (n + 1)) = |
| 122 | standardPuncturedBoundaryClass n := |
| 123 | ConcreteCategory.congr_hom (standardLocalCycle_comp_relativeSingularBoundary n) 1 |
| 124 | |
| 125 | /-! ### Contractibility of the ambient Euclidean space -/ |
| 126 | |
| 127 | /-- A specified homotopy equivalence induces an isomorphism on rational singular homology. -/ |
| 128 | def rationalSingularHomologyIsoOfHomotopyEquiv |
| 129 | {X Y : Type} [TopologicalSpace X] [TopologicalSpace Y] |
| 130 | (k : ℕ) (e : X ≃ₕ Y) : |
| 131 | Singular.Cohomology.Homology ℚ (TopCat.of X) k ≅ Singular.Cohomology.Homology ℚ (TopCat.of Y) k := |
| 132 | let F := (singularHomologyFunctor (ModuleCat ℚ) k).obj (ModuleCat.of ℚ ℚ) |
| 133 | let f : TopCat.of X ⟶ TopCat.of Y := TopCat.ofHom e.toFun |
| 134 | let g : TopCat.of Y ⟶ TopCat.of X := TopCat.ofHom e.invFun |
| 135 | CategoryTheory.Iso.mk (F.map f) (F.map g) (by |
| 136 | rw [← F.map_comp, ← F.map_id] |
| 137 | exact TopCat.Homotopy.congr_homologyMap_singularChainComplexFunctor |
| 138 | e.left_inv.some (ModuleCat.of ℚ ℚ) k) (by |
| 139 | rw [← F.map_comp, ← F.map_id] |
| 140 | exact TopCat.Homotopy.congr_homologyMap_singularChainComplexFunctor |
| 141 | e.right_inv.some (ModuleCat.of ℚ ℚ) k) |
| 142 | |
| 143 | /-- Positive-degree rational singular homology of a real coordinate space vanishes. -/ |
| 144 | lemma standardRealModel_homology_isZero (d k : ℕ) (hk : k ≠ 0) : |
| 145 | IsZero (Singular.Cohomology.Homology ℚ (TopCat.of (Fin d → ℝ)) k) := by |
| 146 | let e := (ContractibleSpace.hequiv_unit (Fin d → ℝ)).some |
| 147 | exact (AlgebraicTopology.isZero_singularHomologyFunctor_of_totallyDisconnectedSpace |
| 148 | (ModuleCat (R := ℚ)) k (ModuleCat.of ℚ ℚ) (TopCat.of Unit) hk).of_iso |
| 149 | (rationalSingularHomologyIsoOfHomotopyEquiv k e) |
| 150 | |
| 151 | /-- In positive degree, the connecting map identifies the local homology of Euclidean space with |
| 152 | the preceding homology of its punctured complement. -/ |
| 153 | def standardPuncturedRelativeBoundaryIso (n : ℕ) (hn : n ≠ 0) : |
| 154 | Singular.Cohomology.RelativeHomology ℚ (FundamentalClass.Singular.puncturedPair ℝ (n + 1)) (n + 1) ≅ |
| 155 | Singular.Cohomology.Homology ℚ (FundamentalClass.Singular.puncturedPair ℝ (n + 1)).snd n := |
| 156 | (Singular.CohomologyTo.relativeChainShortComplex_shortExact ℚ (FundamentalClass.Singular.puncturedPair ℝ (n + 1))).δIso |
| 157 | (n + 1) n (ComplexShape.down_mk (n + 1) n (by lia)) |
| 158 | (standardRealModel_homology_isZero (n + 1) (n + 1) (by lia)) |
| 159 | (standardRealModel_homology_isZero (n + 1) n hn) |
| 160 | |
| 161 | lemma standardPuncturedRelativeBoundaryIso_hom (n : ℕ) (hn : n ≠ 0) : |
| 162 | (standardPuncturedRelativeBoundaryIso n hn).hom = |
| 163 | relativeSingularBoundary (FundamentalClass.Singular.puncturedPair ℝ (n + 1)) n := rfl |
| 164 | |
| 165 | /-- Above dimension one, nonvanishing of the standard local class is equivalent to nonvanishing |
| 166 | of its explicit oriented boundary in the punctured Euclidean space. -/ |
| 167 | lemma standardLocalClass_succ_ne_zero_iff (n : ℕ) (hn : n ≠ 0) : |
| 168 | FundamentalClass.Singular.standardLocalClass ℚ (n + 1) ≠ 0 ↔ standardPuncturedBoundaryClass n ≠ 0 := by |
| 169 | rw [← relativeSingularBoundary_standardLocalClass n, |
| 170 | ← standardPuncturedRelativeBoundaryIso_hom n hn] |
| 171 | exact (standardPuncturedRelativeBoundaryIso n hn).toLinearEquiv.map_ne_zero_iff.symm |
| 172 | |
| 173 | /-- Above dimension one, the standard local class spans exactly when its explicit oriented |
| 174 | boundary spans the preceding homology of the punctured Euclidean space. -/ |
| 175 | lemma span_standardLocalClass_succ_eq_top_iff (n : ℕ) (hn : n ≠ 0) : |
| 176 | Submodule.span ℚ {FundamentalClass.Singular.standardLocalClass ℚ (n + 1)} = ⊤ ↔ |
| 177 | Submodule.span ℚ {standardPuncturedBoundaryClass n} = ⊤ := by |
| 178 | let e := (standardPuncturedRelativeBoundaryIso n hn).toLinearEquiv |
| 179 | have he : e (FundamentalClass.Singular.standardLocalClass ℚ (n + 1)) = standardPuncturedBoundaryClass n := by |
| 180 | change (standardPuncturedRelativeBoundaryIso n hn).hom.hom |
| 181 | (FundamentalClass.Singular.standardLocalClass ℚ (n + 1)) = _ |
| 182 | rw [standardPuncturedRelativeBoundaryIso_hom, |
| 183 | relativeSingularBoundary_standardLocalClass] |
| 184 | have hmap : |
| 185 | (Submodule.span ℚ {FundamentalClass.Singular.standardLocalClass ℚ (n + 1)}).map e.toLinearMap = |
| 186 | Submodule.span ℚ {standardPuncturedBoundaryClass n} := by |
| 187 | rw [Submodule.map_span] |
| 188 | simp [he] |
| 189 | have etop : (⊤ : Submodule ℚ _).map e.toLinearMap = ⊤ := by |
| 190 | rw [Submodule.map_top] |
| 191 | exact LinearMap.range_eq_top.mpr e.surjective |
| 192 | constructor |
| 193 | · intro h |
| 194 | rw [← hmap, h, etop] |
| 195 | · intro h |
| 196 | apply Submodule.map_injective_of_injective e.injective |
| 197 | rw [hmap, h, etop] |
| 198 | |
| 199 | /-! ### The standard class in dimension one -/ |
| 200 | |
| 201 | /-- The point `-1` of the standard punctured real line. -/ |
| 202 | def standardNegativePoint : ({0}ᶜ : Set (Fin 1 → ℝ)) := ⟨fun _ ↦ -1, by |
| 203 | simp only [Set.mem_compl_iff, Set.mem_singleton_iff] |
| 204 | intro h |
| 205 | have := congr_fun h 0 |
| 206 | norm_num at this⟩ |
| 207 | |
| 208 | /-- The point `1` of the standard punctured real line. -/ |
| 209 | def standardPositivePoint : ({0}ᶜ : Set (Fin 1 → ℝ)) := ⟨fun _ ↦ 1, by |
| 210 | simp only [Set.mem_compl_iff, Set.mem_singleton_iff] |
| 211 | intro h |
| 212 | have := congr_fun h 0 |
| 213 | norm_num at this⟩ |
| 214 | |
| 215 | /-- The negative and positive points lie in different path components of the punctured line. -/ |
| 216 | lemma standardPuncturedLine_components_ne : |
| 217 | ZerothHomotopy.mk standardNegativePoint ≠ |
| 218 | ZerothHomotopy.mk standardPositivePoint := by |
| 219 | intro h |
| 220 | have hj : Joined standardNegativePoint standardPositivePoint := Quotient.exact h |
| 221 | obtain ⟨p⟩ := hj |
| 222 | let g : unitInterval → ℝ := fun t ↦ (p t : Fin 1 → ℝ) 0 |
| 223 | have hg : Continuous g := |
| 224 | (((continuous_apply (0 : Fin 1)).comp continuous_subtype_val).comp p.continuous) |
| 225 | have hg0 : g 0 = -1 := by |
| 226 | change (p 0 : Fin 1 → ℝ) 0 = -1 |
| 227 | rw [show p 0 = standardNegativePoint from p.source] |
| 228 | rfl |
| 229 | have hg1 : g 1 = 1 := by |
| 230 | change (p 1 : Fin 1 → ℝ) 0 = 1 |
| 231 | rw [show p 1 = standardPositivePoint from p.target] |
| 232 | rfl |
| 233 | have hz : (0 : ℝ) ∈ Set.range g := |
| 234 | intermediate_value_univ (0 : unitInterval) (1 : unitInterval) hg (by |
| 235 | rw [hg0, hg1] |
| 236 | norm_num) |
| 237 | obtain ⟨t, ht⟩ := hz |
| 238 | apply (p t).property |
| 239 | ext j |
| 240 | fin_cases j |
| 241 | exact ht |
| 242 | |
| 243 | lemma standardFaceSimplex_zero_point : |
| 244 | TopCat.toSSetObj₀Equiv (FundamentalClass.Singular.standardFaceSimplex 0 (0 : Fin 2)) = |
| 245 | standardNegativePoint := by |
| 246 | change FundamentalClass.Singular.standardFaceMap 0 (0 : Fin 2) |
| 247 | (default : Convexity.StdSimplex ℝ (Fin 1)) = standardNegativePoint |
| 248 | rw [Subsingleton.elim (default : Convexity.StdSimplex ℝ (Fin 1)) (Convexity.StdSimplex.single 0)] |
| 249 | ext j |
| 250 | fin_cases j |
| 251 | simp [FundamentalClass.Singular.standardFaceMap, FundamentalClass.Singular.standardAffineSimplex, Convexity.StdSimplex.map, standardNegativePoint] |
| 252 | |
| 253 | lemma standardFaceSimplex_one_point : |
| 254 | TopCat.toSSetObj₀Equiv (FundamentalClass.Singular.standardFaceSimplex 0 (1 : Fin 2)) = |
| 255 | standardPositivePoint := by |
| 256 | change FundamentalClass.Singular.standardFaceMap 0 (1 : Fin 2) |
| 257 | (default : Convexity.StdSimplex ℝ (Fin 1)) = standardPositivePoint |
| 258 | rw [Subsingleton.elim (default : Convexity.StdSimplex ℝ (Fin 1)) (Convexity.StdSimplex.single 0)] |
| 259 | ext j |
| 260 | fin_cases j |
| 261 | simp [FundamentalClass.Singular.standardFaceMap, FundamentalClass.Singular.standardAffineSimplex, Convexity.StdSimplex.map, standardPositivePoint] |
| 262 | |
| 263 | /-- The two vertices of the standard one-simplex represent different components of the |
| 264 | punctured line. -/ |
| 265 | lemma standardFaceSimplex_components_ne : |
| 266 | SSet.π₀.mk (FundamentalClass.Singular.standardFaceSimplex 0 (0 : Fin 2)) ≠ |
| 267 | SSet.π₀.mk (FundamentalClass.Singular.standardFaceSimplex 0 (1 : Fin 2)) := by |
| 268 | intro h |
| 269 | have hz := congrArg |
| 270 | (TopCat.zerothHomotopyEquiv (X := (FundamentalClass.Singular.puncturedPair ℝ 1).snd)).symm h |
| 271 | simp only [TopCat.zerothHomotopyEquiv_symm_mk] at hz |
| 272 | rw [standardFaceSimplex_zero_point, standardFaceSimplex_one_point] at hz |
| 273 | exact standardPuncturedLine_components_ne hz |
| 274 | |
| 275 | /-- A vertex of the standard one-simplex, regarded as a zero-cycle in the punctured line. -/ |
| 276 | def standardPuncturedFaceCycle (i : Fin 2) : |
| 277 | ModuleCat.of ℚ ℚ ⟶ |
| 278 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ 1)).left.cycles 0 := |
| 279 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ 1)).left.liftCycles |
| 280 | (FundamentalClass.Singular.standardSubspaceFaceChain ℚ 0 i) 0 (by simp) (by simp) |
| 281 | |
| 282 | lemma standardPuncturedBoundaryCycle_zero_eq : |
| 283 | standardPuncturedBoundaryCycle 0 = |
| 284 | standardPuncturedFaceCycle 0 - standardPuncturedFaceCycle 1 := by |
| 285 | rw [← cancel_mono |
| 286 | (((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ 1)).left.iCycles 0)] |
| 287 | rw [Preadditive.sub_comp] |
| 288 | simp only [standardPuncturedBoundaryCycle, standardPuncturedFaceCycle, |
| 289 | HomologicalComplex.liftCycles_i] |
| 290 | change (∑ i : Fin 2, (-1 : ℤ) ^ i.val • FundamentalClass.Singular.standardSubspaceFaceChain ℚ 0 i) = |
| 291 | FundamentalClass.Singular.standardSubspaceFaceChain ℚ 0 0 - FundamentalClass.Singular.standardSubspaceFaceChain ℚ 0 1 |
| 292 | norm_num |
| 293 | rw [sub_eq_add_neg] |
| 294 | |
| 295 | set_option backward.isDefEq.respectTransparency false in |
| 296 | lemma standardPuncturedFaceCycle_homology₀Iso (i : Fin 2) : |
| 297 | standardPuncturedFaceCycle i ≫ |
| 298 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ 1)).left.homologyπ 0 ≫ |
| 299 | ((TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd).homology₀Iso |
| 300 | (ModuleCat.of ℚ ℚ)).hom = |
| 301 | Sigma.ι (fun (_ : (TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd).π₀) ↦ |
| 302 | ModuleCat.of ℚ ℚ) (SSet.π₀.mk (FundamentalClass.Singular.standardFaceSimplex 0 i)) := |
| 303 | SSet.liftCycles_ιChainComplex_homologyπ_homology₀Iso_hom |
| 304 | (TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd) (ModuleCat.of ℚ ℚ) |
| 305 | (FundamentalClass.Singular.standardFaceSimplex 0 i) |
| 306 | |
| 307 | set_option backward.isDefEq.respectTransparency false in |
| 308 | lemma standardPuncturedBoundaryCycle_homology₀Iso : |
| 309 | standardPuncturedBoundaryCycle 0 ≫ |
| 310 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ 1)).left.homologyπ 0 ≫ |
| 311 | ((TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd).homology₀Iso |
| 312 | (ModuleCat.of ℚ ℚ)).hom = |
| 313 | Sigma.ι (fun (_ : (TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd).π₀) ↦ |
| 314 | ModuleCat.of ℚ ℚ) (SSet.π₀.mk (FundamentalClass.Singular.standardFaceSimplex 0 0)) - |
| 315 | Sigma.ι (fun (_ : (TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd).π₀) ↦ |
| 316 | ModuleCat.of ℚ ℚ) (SSet.π₀.mk (FundamentalClass.Singular.standardFaceSimplex 0 1)) := by |
| 317 | rw [standardPuncturedBoundaryCycle_zero_eq, Preadditive.sub_comp, |
| 318 | standardPuncturedFaceCycle_homology₀Iso, standardPuncturedFaceCycle_homology₀Iso] |
| 319 | |
| 320 | open scoped Classical in |
| 321 | /-- A linear functional detecting the negative component of the punctured line. -/ |
| 322 | def standardPuncturedBoundaryDetector : |
| 323 | (∐ (fun (_ : (TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd).π₀) ↦ |
| 324 | ModuleCat.of ℚ ℚ)) ⟶ ModuleCat.of ℚ ℚ := |
| 325 | Sigma.desc fun j ↦ |
| 326 | if j = SSet.π₀.mk (FundamentalClass.Singular.standardFaceSimplex 0 0) then 𝟙 _ else 0 |
| 327 | |
| 328 | set_option backward.isDefEq.respectTransparency false in |
| 329 | lemma standardPuncturedBoundaryCycle_detect : |
| 330 | standardPuncturedBoundaryCycle 0 ≫ |
| 331 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ 1)).left.homologyπ 0 ≫ |
| 332 | ((TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd).homology₀Iso |
| 333 | (ModuleCat.of ℚ ℚ)).hom ≫ standardPuncturedBoundaryDetector = 𝟙 _ := by |
| 334 | calc |
| 335 | _ = (standardPuncturedBoundaryCycle 0 ≫ |
| 336 | ((Singular.Cohomology.chainPairFunctor ℚ).obj (FundamentalClass.Singular.puncturedPair ℝ 1)).left.homologyπ 0 ≫ |
| 337 | ((TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd).homology₀Iso |
| 338 | (ModuleCat.of ℚ ℚ)).hom) ≫ standardPuncturedBoundaryDetector := by |
| 339 | simp only [Category.assoc] |
| 340 | _ = _ := by |
| 341 | rw [standardPuncturedBoundaryCycle_homology₀Iso, Preadditive.sub_comp] |
| 342 | simp [standardPuncturedBoundaryDetector, Ne.symm standardFaceSimplex_components_ne] |
| 343 | |
| 344 | set_option backward.isDefEq.respectTransparency false in |
| 345 | /-- The oriented boundary of the standard one-simplex is nonzero in the zero-dimensional |
| 346 | homology of the punctured line. -/ |
| 347 | lemma standardPuncturedBoundaryClass_zero_ne_zero : |
| 348 | standardPuncturedBoundaryClass 0 ≠ 0 := by |
| 349 | intro h |
| 350 | have hdet := ConcreteCategory.congr_hom standardPuncturedBoundaryCycle_detect 1 |
| 351 | change (standardPuncturedBoundaryDetector.hom |
| 352 | (((TopCat.toSSet.obj (FundamentalClass.Singular.puncturedPair ℝ 1).snd).homology₀Iso |
| 353 | (ModuleCat.of ℚ ℚ)).hom.hom (standardPuncturedBoundaryClass 0))) = 1 at hdet |
| 354 | rw [h] at hdet |
| 355 | norm_num at hdet |
| 356 | |
| 357 | /-- The explicit standard local class is nonzero in |
| 358 | `H₁(ℝ, ℝ ∖ {0}; ℚ)`. -/ |
| 359 | lemma standardLocalClass_one_ne_zero : FundamentalClass.Singular.standardLocalClass ℚ 1 ≠ 0 := by |
| 360 | intro h |
| 361 | apply standardPuncturedBoundaryClass_zero_ne_zero |
| 362 | rw [← relativeSingularBoundary_standardLocalClass 0, h, map_zero] |
| 363 | |
| 364 | end |
| 365 | |
| 366 | end OAI.AlgebraicTopology.LocalHomology.Euclidean.Singular |