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.AlgebraicTopology.Singular.ExcisionCoverSmall |
| 18 | import Mathlib.Algebra.Category.ModuleCat.Colimits |
| 19 | import OAI.AlgebraicTopology.Singular.ExcisionOpenCover |
| 20 | |
| 21 | /-! # Excision Field -/ |
| 22 | |
| 23 | namespace OAI.AlgebraicTopology.Singular.ExcisionField |
| 24 | |
| 25 | noncomputable section |
| 26 | |
| 27 | /-! |
| 28 | # Small singular chains with rational coefficients |
| 29 | |
| 30 | This file transports the integral subdivision homotopy to rational simplicial chains. The |
| 31 | transport is constructed directly from the universal bases of the two simplicial chain |
| 32 | complexes. In particular, it does not assume a universal-coefficient theorem. |
| 33 | -/ |
| 34 | |
| 35 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 36 | open scoped Simplicial |
| 37 | |
| 38 | /-- Rational chains on a simplicial set. -/ |
| 39 | abbrev RationalSimplicialChainComplex (X : SSet.{0}) : |
| 40 | ChainComplex (ModuleCat ℚ) ℕ := |
| 41 | X.chainComplex (ModuleCat.of ℚ ℚ) |
| 42 | |
| 43 | @[simp] |
| 44 | lemma moduleCat_toSpanSingleton_apply_one (M : ModuleCat ℚ) (v : M) : |
| 45 | (ModuleCat.ofHom (LinearMap.toSpanSingleton ℚ M v)).hom 1 = v := by simp |
| 46 | |
| 47 | /-- The coefficient map from integral to rational chains in one degree. -/ |
| 48 | def integralToRationalChainComponent (X : SSet.{0}) (n : ℕ) : |
| 49 | (X.chainComplex (AddCommGrpCat.of ℤ)).X n ⟶ |
| 50 | (forget₂ (ModuleCat ℚ) AddCommGrpCat).obj ((RationalSimplicialChainComplex X).X n) := |
| 51 | (X.isColimitChainComplexXCofan (AddCommGrpCat.of ℤ) n).desc |
| 52 | (Cofan.mk _ fun x ↦ |
| 53 | AddCommGrpCat.ofHom (Int.castAddHom ℚ) ≫ |
| 54 | (forget₂ (ModuleCat ℚ) AddCommGrpCat).map (X.ιChainComplex (R := ModuleCat.of ℚ ℚ) x)) |
| 55 | |
| 56 | @[reassoc] |
| 57 | lemma iota_integralToRationalChainComponent (X : SSet.{0}) (n : ℕ) |
| 58 | (x : X _⦋n⦌) : |
| 59 | X.ιChainComplex (R := AddCommGrpCat.of ℤ) x ≫ |
| 60 | integralToRationalChainComponent X n = |
| 61 | AddCommGrpCat.ofHom (Int.castAddHom ℚ) ≫ |
| 62 | (forget₂ (ModuleCat ℚ) AddCommGrpCat).map (X.ιChainComplex (R := ModuleCat.of ℚ ℚ) x) := |
| 63 | (X.isColimitChainComplexXCofan (AddCommGrpCat.of ℤ) n).fac _ (Discrete.mk x) |
| 64 | |
| 65 | /-- Extend an integral map between free simplicial-chain groups rational-linearly. -/ |
| 66 | def rationalizeSimplicialChainComponent (X Y : SSet.{0}) (n m : ℕ) |
| 67 | (f : (X.chainComplex (AddCommGrpCat.of ℤ)).X n ⟶ |
| 68 | (Y.chainComplex (AddCommGrpCat.of ℤ)).X m) : |
| 69 | (RationalSimplicialChainComplex X).X n ⟶ |
| 70 | (RationalSimplicialChainComplex Y).X m := |
| 71 | (X.isColimitChainComplexXCofan (ModuleCat.of ℚ ℚ) n).desc |
| 72 | (Cofan.mk _ fun x ↦ ModuleCat.ofHom <| |
| 73 | LinearMap.toSpanSingleton ℚ _ <| |
| 74 | (show (RationalSimplicialChainComplex Y).X m from |
| 75 | (integralToRationalChainComponent Y m).hom |
| 76 | (f.hom ((X.ιChainComplex (R := AddCommGrpCat.of ℤ) x).hom 1)))) |
| 77 | |
| 78 | @[reassoc] |
| 79 | lemma iota_rationalizeSimplicialChainComponent |
| 80 | (X Y : SSet.{0}) (n m : ℕ) |
| 81 | (f : (X.chainComplex (AddCommGrpCat.of ℤ)).X n ⟶ |
| 82 | (Y.chainComplex (AddCommGrpCat.of ℤ)).X m) |
| 83 | (x : X _⦋n⦌) : |
| 84 | X.ιChainComplex (R := ModuleCat.of ℚ ℚ) x ≫ |
| 85 | rationalizeSimplicialChainComponent X Y n m f = |
| 86 | ModuleCat.ofHom (LinearMap.toSpanSingleton ℚ _ <| |
| 87 | (show (RationalSimplicialChainComplex Y).X m from |
| 88 | (integralToRationalChainComponent Y m).hom |
| 89 | (f.hom ((X.ιChainComplex (R := AddCommGrpCat.of ℤ) x).hom 1)))) := |
| 90 | (X.isColimitChainComplexXCofan (ModuleCat.of ℚ ℚ) n).fac _ (Discrete.mk x) |
| 91 | |
| 92 | lemma integralToRationalChainComponent_naturality |
| 93 | (X Y : SSet.{0}) (n m : ℕ) |
| 94 | (f : (X.chainComplex (AddCommGrpCat.of ℤ)).X n ⟶ |
| 95 | (Y.chainComplex (AddCommGrpCat.of ℤ)).X m) : |
| 96 | integralToRationalChainComponent X n ≫ |
| 97 | (forget₂ (ModuleCat ℚ) AddCommGrpCat).map (rationalizeSimplicialChainComponent X Y n m f) = |
| 98 | f ≫ integralToRationalChainComponent Y m := by |
| 99 | refine (X.isColimitChainComplexXCofan (AddCommGrpCat.of ℤ) n).hom_ext fun x ↦ ?_ |
| 100 | change X.ιChainComplex (R := AddCommGrpCat.of ℤ) x.as ≫ |
| 101 | (integralToRationalChainComponent X n ≫ |
| 102 | (forget₂ (ModuleCat ℚ) AddCommGrpCat).map (rationalizeSimplicialChainComponent X Y n m f)) = |
| 103 | X.ιChainComplex (R := AddCommGrpCat.of ℤ) x.as ≫ |
| 104 | (f ≫ integralToRationalChainComponent Y m) |
| 105 | apply AddCommGrpCat.int_hom_ext |
| 106 | have hx := ConcreteCategory.congr_hom |
| 107 | (iota_integralToRationalChainComponent X n x.as) 1 |
| 108 | have hf := ConcreteCategory.congr_hom |
| 109 | (iota_rationalizeSimplicialChainComponent X Y n m f x.as) 1 |
| 110 | change (rationalizeSimplicialChainComponent X Y n m f).hom |
| 111 | ((integralToRationalChainComponent X n).hom |
| 112 | ((X.ιChainComplex (R := AddCommGrpCat.of ℤ) x.as).hom 1)) = _ |
| 113 | change (integralToRationalChainComponent X n).hom |
| 114 | ((X.ιChainComplex (R := AddCommGrpCat.of ℤ) x.as).hom 1) = |
| 115 | (X.ιChainComplex (R := ModuleCat.of ℚ ℚ) x.as).hom 1 at hx |
| 116 | rw [hx] |
| 117 | simpa using hf |
| 118 | |
| 119 | lemma rationalizeSimplicialChainComponent_comp |
| 120 | (X Y Z : SSet.{0}) (n m k : ℕ) |
| 121 | (f : (X.chainComplex (AddCommGrpCat.of ℤ)).X n ⟶ |
| 122 | (Y.chainComplex (AddCommGrpCat.of ℤ)).X m) |
| 123 | (g : (Y.chainComplex (AddCommGrpCat.of ℤ)).X m ⟶ |
| 124 | (Z.chainComplex (AddCommGrpCat.of ℤ)).X k) : |
| 125 | rationalizeSimplicialChainComponent X Z n k (f ≫ g) = |
| 126 | rationalizeSimplicialChainComponent X Y n m f ≫ |
| 127 | rationalizeSimplicialChainComponent Y Z m k g := by |
| 128 | refine SSet.chainComplex_hom_ext fun x ↦ ?_ |
| 129 | rw [iota_rationalizeSimplicialChainComponent, |
| 130 | iota_rationalizeSimplicialChainComponent_assoc] |
| 131 | ext |
| 132 | have h := ConcreteCategory.congr_hom |
| 133 | (integralToRationalChainComponent_naturality Y Z m k g) |
| 134 | (f.hom ((X.ιChainComplex (R := AddCommGrpCat.of ℤ) x).hom 1)) |
| 135 | simpa using h.symm |
| 136 | |
| 137 | lemma rationalizeSimplicialChainComponent_id (X : SSet.{0}) (n : ℕ) : |
| 138 | rationalizeSimplicialChainComponent X X n n (𝟙 _) = 𝟙 _ := by |
| 139 | refine SSet.chainComplex_hom_ext fun x ↦ ?_ |
| 140 | rw [iota_rationalizeSimplicialChainComponent] |
| 141 | ext |
| 142 | have hx := ConcreteCategory.congr_hom |
| 143 | (iota_integralToRationalChainComponent X n x) 1 |
| 144 | simpa using hx |
| 145 | |
| 146 | lemma rationalizeSimplicialChainComponent_zero |
| 147 | (X Y : SSet.{0}) (n m : ℕ) : |
| 148 | rationalizeSimplicialChainComponent X Y n m 0 = 0 := by |
| 149 | refine SSet.chainComplex_hom_ext fun x ↦ ?_ |
| 150 | rw [iota_rationalizeSimplicialChainComponent] |
| 151 | simp |
| 152 | |
| 153 | lemma rationalizeSimplicialChainComponent_add |
| 154 | (X Y : SSet.{0}) (n m : ℕ) |
| 155 | (f g : (X.chainComplex (AddCommGrpCat.of ℤ)).X n ⟶ |
| 156 | (Y.chainComplex (AddCommGrpCat.of ℤ)).X m) : |
| 157 | rationalizeSimplicialChainComponent X Y n m (f + g) = |
| 158 | rationalizeSimplicialChainComponent X Y n m f + |
| 159 | rationalizeSimplicialChainComponent X Y n m g := by |
| 160 | refine SSet.chainComplex_hom_ext fun x ↦ ?_ |
| 161 | rw [iota_rationalizeSimplicialChainComponent, Preadditive.comp_add, |
| 162 | iota_rationalizeSimplicialChainComponent, |
| 163 | iota_rationalizeSimplicialChainComponent] |
| 164 | ext |
| 165 | simp |
| 166 | |
| 167 | lemma rationalizeSimplicialChainComponent_neg |
| 168 | (X Y : SSet.{0}) (n m : ℕ) |
| 169 | (f : (X.chainComplex (AddCommGrpCat.of ℤ)).X n ⟶ |
| 170 | (Y.chainComplex (AddCommGrpCat.of ℤ)).X m) : |
| 171 | rationalizeSimplicialChainComponent X Y n m (-f) = |
| 172 | -rationalizeSimplicialChainComponent X Y n m f := by |
| 173 | refine SSet.chainComplex_hom_ext fun x ↦ ?_ |
| 174 | rw [iota_rationalizeSimplicialChainComponent, Preadditive.comp_neg, |
| 175 | iota_rationalizeSimplicialChainComponent] |
| 176 | ext |
| 177 | simp |
| 178 | |
| 179 | /-- The integral-to-rational coefficient map commutes with the simplicial differential. -/ |
| 180 | lemma integralToRationalChainComponent_comm_d (X : SSet.{0}) (n : ℕ) : |
| 181 | integralToRationalChainComponent X (n + 1) ≫ |
| 182 | (forget₂ (ModuleCat ℚ) AddCommGrpCat).map |
| 183 | ((RationalSimplicialChainComplex X).d (n + 1) n) = |
| 184 | (X.chainComplex (AddCommGrpCat.of ℤ)).d (n + 1) n ≫ |
| 185 | integralToRationalChainComponent X n := by |
| 186 | refine (X.isColimitChainComplexXCofan (AddCommGrpCat.of ℤ) (n + 1)).hom_ext fun x ↦ ?_ |
| 187 | change X.ιChainComplex (R := AddCommGrpCat.of ℤ) x.as ≫ |
| 188 | (integralToRationalChainComponent X (n + 1) ≫ |
| 189 | (forget₂ (ModuleCat ℚ) AddCommGrpCat).map |
| 190 | ((RationalSimplicialChainComplex X).d (n + 1) n)) = |
| 191 | X.ιChainComplex (R := AddCommGrpCat.of ℤ) x.as ≫ |
| 192 | ((X.chainComplex (AddCommGrpCat.of ℤ)).d (n + 1) n ≫ |
| 193 | integralToRationalChainComponent X n) |
| 194 | rw [← Category.assoc, iota_integralToRationalChainComponent, Category.assoc, |
| 195 | ← Functor.map_comp, SSet.ιChainComplex_d, ← Category.assoc, SSet.ιChainComplex_d, |
| 196 | Preadditive.sum_comp] |
| 197 | simp_rw [Preadditive.zsmul_comp, iota_integralToRationalChainComponent] |
| 198 | simp only [Functor.map_sum, Functor.map_zsmul] |
| 199 | rw [Preadditive.comp_sum] |
| 200 | refine Finset.sum_congr rfl fun i _ ↦ ?_ |
| 201 | rw [Preadditive.comp_zsmul] |
| 202 | |
| 203 | /-- Rationalization sends the integral simplicial differential to the rational differential. -/ |
| 204 | lemma rationalizeSimplicialChainComponent_d (X : SSet.{0}) (n : ℕ) : |
| 205 | rationalizeSimplicialChainComponent X X (n + 1) n |
| 206 | ((X.chainComplex (AddCommGrpCat.of ℤ)).d (n + 1) n) = |
| 207 | (RationalSimplicialChainComplex X).d (n + 1) n := by |
| 208 | refine SSet.chainComplex_hom_ext fun x ↦ ?_ |
| 209 | rw [iota_rationalizeSimplicialChainComponent] |
| 210 | ext |
| 211 | change (LinearMap.toSpanSingleton ℚ _ _) 1 = _ |
| 212 | rw [LinearMap.toSpanSingleton_apply_one] |
| 213 | have h := ConcreteCategory.congr_hom |
| 214 | (integralToRationalChainComponent_comm_d X n) |
| 215 | ((X.ιChainComplex (R := AddCommGrpCat.of ℤ) x).hom 1) |
| 216 | have hx := ConcreteCategory.congr_hom |
| 217 | (iota_integralToRationalChainComponent X (n + 1) x) 1 |
| 218 | simp only [ConcreteCategory.comp_apply] at h hx ⊢ |
| 219 | rw [hx] at h |
| 220 | exact h.symm |
| 221 | |
| 222 | /-- Rationalization of a chain map between integral simplicial chains. -/ |
| 223 | def rationalizeSimplicialChainMap (X Y : SSet.{0}) |
| 224 | (f : X.chainComplex (AddCommGrpCat.of ℤ) ⟶ |
| 225 | Y.chainComplex (AddCommGrpCat.of ℤ)) : |
| 226 | RationalSimplicialChainComplex X ⟶ RationalSimplicialChainComplex Y where |
| 227 | f n := rationalizeSimplicialChainComponent X Y n n (f.f n) |
| 228 | comm' i j hij := by |
| 229 | simp only [ComplexShape.down_Rel] at hij |
| 230 | subst i |
| 231 | rw [← rationalizeSimplicialChainComponent_d Y j, |
| 232 | ← rationalizeSimplicialChainComponent_comp, f.comm, |
| 233 | rationalizeSimplicialChainComponent_comp, |
| 234 | rationalizeSimplicialChainComponent_d] |
| 235 | |
| 236 | @[simp] |
| 237 | lemma rationalizeSimplicialChainMap_f (X Y : SSet.{0}) |
| 238 | (f : X.chainComplex (AddCommGrpCat.of ℤ) ⟶ |
| 239 | Y.chainComplex (AddCommGrpCat.of ℤ)) (n : ℕ) : |
| 240 | (rationalizeSimplicialChainMap X Y f).f n = |
| 241 | rationalizeSimplicialChainComponent X Y n n (f.f n) := |
| 242 | rfl |
| 243 | |
| 244 | lemma rationalizeSimplicialChainMap_id (X : SSet.{0}) : |
| 245 | rationalizeSimplicialChainMap X X (𝟙 _) = 𝟙 _ := |
| 246 | HomologicalComplex.hom_ext _ _ fun n ↦ rationalizeSimplicialChainComponent_id X n |
| 247 | |
| 248 | lemma rationalizeSimplicialChainMap_comp (X Y Z : SSet.{0}) |
| 249 | (f : X.chainComplex (AddCommGrpCat.of ℤ) ⟶ |
| 250 | Y.chainComplex (AddCommGrpCat.of ℤ)) |
| 251 | (g : Y.chainComplex (AddCommGrpCat.of ℤ) ⟶ |
| 252 | Z.chainComplex (AddCommGrpCat.of ℤ)) : |
| 253 | rationalizeSimplicialChainMap X Z (f ≫ g) = |
| 254 | rationalizeSimplicialChainMap X Y f ≫ |
| 255 | rationalizeSimplicialChainMap Y Z g := |
| 256 | HomologicalComplex.hom_ext _ _ fun n ↦ |
| 257 | rationalizeSimplicialChainComponent_comp X Y Z n n n (f.f n) (g.f n) |
| 258 | |
| 259 | lemma rationalizeSimplicialChainMap_zero (X Y : SSet.{0}) : |
| 260 | rationalizeSimplicialChainMap X Y 0 = 0 := |
| 261 | HomologicalComplex.hom_ext _ _ fun n ↦ |
| 262 | rationalizeSimplicialChainComponent_zero X Y n n |
| 263 | |
| 264 | /-- Rationalization preserves a chain homotopy between integral simplicial chain maps. -/ |
| 265 | def rationalizeSimplicialChainHomotopy (X Y : SSet.{0}) |
| 266 | {f g : X.chainComplex (AddCommGrpCat.of ℤ) ⟶ |
| 267 | Y.chainComplex (AddCommGrpCat.of ℤ)} (h : Homotopy f g) : |
| 268 | Homotopy (rationalizeSimplicialChainMap X Y f) |
| 269 | (rationalizeSimplicialChainMap X Y g) where |
| 270 | hom i j := rationalizeSimplicialChainComponent X Y i j (h.hom i j) |
| 271 | zero i j hij := by |
| 272 | rw [h.zero i j hij, rationalizeSimplicialChainComponent_zero] |
| 273 | comm i := by |
| 274 | cases i with |
| 275 | | zero => |
| 276 | have hh := congrArg |
| 277 | (rationalizeSimplicialChainComponent X Y 0 0) (h.comm 0) |
| 278 | rw [Homotopy.dNext_zero_chainComplex, |
| 279 | Homotopy.prevD_chainComplex] at hh ⊢ |
| 280 | simp only [rationalizeSimplicialChainComponent_add, |
| 281 | rationalizeSimplicialChainComponent_comp, |
| 282 | rationalizeSimplicialChainComponent_d, zero_add] at hh |
| 283 | change rationalizeSimplicialChainComponent X Y 0 0 (f.f 0) = |
| 284 | 0 + rationalizeSimplicialChainComponent X Y 0 1 (h.hom 0 1) ≫ |
| 285 | (RationalSimplicialChainComplex Y).d 1 0 + |
| 286 | rationalizeSimplicialChainComponent X Y 0 0 (g.f 0) |
| 287 | simpa only [zero_add] using hh |
| 288 | | succ n => |
| 289 | have hh := congrArg |
| 290 | (rationalizeSimplicialChainComponent X Y (n + 1) (n + 1)) |
| 291 | (h.comm (n + 1)) |
| 292 | rw [Homotopy.dNext_succ_chainComplex, |
| 293 | Homotopy.prevD_chainComplex] at hh ⊢ |
| 294 | simp only [rationalizeSimplicialChainComponent_add, |
| 295 | rationalizeSimplicialChainComponent_comp, |
| 296 | rationalizeSimplicialChainComponent_d] at hh |
| 297 | exact hh |
| 298 | |
| 299 | /-- Rationalization preserves a chain-homotopy equivalence of simplicial chain complexes. -/ |
| 300 | def rationalizeSimplicialChainHomotopyEquiv (X Y : SSet.{0}) |
| 301 | (e : HomotopyEquiv (X.chainComplex (AddCommGrpCat.of ℤ)) |
| 302 | (Y.chainComplex (AddCommGrpCat.of ℤ))) : |
| 303 | HomotopyEquiv (RationalSimplicialChainComplex X) |
| 304 | (RationalSimplicialChainComplex Y) where |
| 305 | hom := rationalizeSimplicialChainMap X Y e.hom |
| 306 | inv := rationalizeSimplicialChainMap Y X e.inv |
| 307 | homotopyHomInvId := |
| 308 | (Homotopy.ofEq (rationalizeSimplicialChainMap_comp X Y X e.hom e.inv).symm).trans |
| 309 | ((rationalizeSimplicialChainHomotopy X X e.homotopyHomInvId).trans |
| 310 | (Homotopy.ofEq (rationalizeSimplicialChainMap_id X))) |
| 311 | homotopyInvHomId := |
| 312 | (Homotopy.ofEq (rationalizeSimplicialChainMap_comp Y X Y e.inv e.hom).symm).trans |
| 313 | ((rationalizeSimplicialChainHomotopy Y Y e.homotopyInvHomId).trans |
| 314 | (Homotopy.ofEq (rationalizeSimplicialChainMap_id Y))) |
| 315 | |
| 316 | /-- Rationalization of an integral chain map induced by a simplicial map is the corresponding |
| 317 | rational chain map. -/ |
| 318 | lemma rationalizeSimplicialChainComponent_chainComplexMap |
| 319 | {X Y : SSet.{0}} (f : X ⟶ Y) (n : ℕ) : |
| 320 | rationalizeSimplicialChainComponent X Y n n |
| 321 | ((SSet.chainComplexMap f (AddCommGrpCat.of ℤ)).f n) = |
| 322 | (SSet.chainComplexMap f (ModuleCat.of ℚ ℚ)).f n := by |
| 323 | refine SSet.chainComplex_hom_ext fun x ↦ ?_ |
| 324 | rw [iota_rationalizeSimplicialChainComponent, |
| 325 | SSet.ι_chainComplexMap_f] |
| 326 | ext |
| 327 | change (LinearMap.toSpanSingleton ℚ _ _) 1 = _ |
| 328 | rw [LinearMap.toSpanSingleton_apply_one] |
| 329 | have hf := ConcreteCategory.congr_hom |
| 330 | (SSet.ι_chainComplexMap_f X Y f (AddCommGrpCat.of ℤ) x) 1 |
| 331 | have hcoeff := ConcreteCategory.congr_hom |
| 332 | (iota_integralToRationalChainComponent Y n (f.app _ x)) 1 |
| 333 | simp only [ConcreteCategory.comp_apply] at hf hcoeff |
| 334 | rw [hf] |
| 335 | exact hcoeff |
| 336 | |
| 337 | lemma rationalizeSimplicialChainMap_chainComplexMap |
| 338 | {X Y : SSet.{0}} (f : X ⟶ Y) : |
| 339 | rationalizeSimplicialChainMap X Y |
| 340 | (SSet.chainComplexMap f (AddCommGrpCat.of ℤ)) = |
| 341 | SSet.chainComplexMap f (ModuleCat.of ℚ ℚ) := |
| 342 | HomologicalComplex.hom_ext _ _ fun n ↦ |
| 343 | rationalizeSimplicialChainComponent_chainComplexMap f n |
| 344 | |
| 345 | variable {ι : Type} (X : TopCat.{0}) (U : ι → Set X) |
| 346 | |
| 347 | /-- Rational chains generated by singular simplices subordinate to one member of a cover. -/ |
| 348 | abbrev CoverSmallRationalSingularChainComplex : |
| 349 | ChainComplex (ModuleCat ℚ) ℕ := |
| 350 | (ExcisionCoverSmall.coverSmallSingularSubcomplex X U : SSet).chainComplex (ModuleCat.of ℚ ℚ) |
| 351 | |
| 352 | /-- Inclusion of cover-small rational singular chains into all rational singular chains. -/ |
| 353 | def coverSmallRationalSingularChainInclusion : |
| 354 | CoverSmallRationalSingularChainComplex X U ⟶ |
| 355 | (TopCat.toSSet.obj X).chainComplex (ModuleCat.of ℚ ℚ) := |
| 356 | SSet.chainComplexMap (ExcisionCoverSmall.coverSmallSingularSubcomplex X U).ι (ModuleCat.of ℚ ℚ) |
| 357 | |
| 358 | instance coverSmallRationalSingularChainInclusion_mono : |
| 359 | Mono (coverSmallRationalSingularChainInclusion X U) := by |
| 360 | dsimp [coverSmallRationalSingularChainInclusion, SSet.chainComplexMap, |
| 361 | SSet.chainComplexFunctor] |
| 362 | apply +allowSynthFailures Functor.map_mono |
| 363 | |
| 364 | /-- The integral subdivision-and-prism homotopy transported to rational coefficients: the |
| 365 | all-open-cover small-chain theorem over `ℚ`. -/ |
| 366 | theorem coverSmallRationalChainApproximation_of_openCover |
| 367 | (hUopen : ∀ i, IsOpen (U i)) (hUcover : ⋃ i, U i = Set.univ) : |
| 368 | HomologicalComplex.homotopyEquivalences (ModuleCat ℚ) (ComplexShape.down ℕ) |
| 369 | (coverSmallRationalSingularChainInclusion X U) := by |
| 370 | let eZ := ExcisionOpenCover.coverSmallChainHomotopyEquiv_of_openCover X U hUopen hUcover |
| 371 | refine ⟨rationalizeSimplicialChainHomotopyEquiv |
| 372 | (ExcisionCoverSmall.coverSmallSingularSubcomplex X U : SSet) (TopCat.toSSet.obj X) eZ, ?_⟩ |
| 373 | change rationalizeSimplicialChainMap |
| 374 | (ExcisionCoverSmall.coverSmallSingularSubcomplex X U : SSet) (TopCat.toSSet.obj X) eZ.hom = |
| 375 | coverSmallRationalSingularChainInclusion X U |
| 376 | rw [show eZ.hom = ExcisionCoverSmall.coverSmallIntegralSingularChainInclusion X U from |
| 377 | ExcisionOpenCover.coverSmallChainHomotopyEquiv_of_openCover_hom X U hUopen hUcover] |
| 378 | exact rationalizeSimplicialChainMap_chainComplexMap |
| 379 | (ExcisionCoverSmall.coverSmallSingularSubcomplex X U).ι |
| 380 | |
| 381 | /-- A selected rational small-chain homotopy equivalence for an open cover. -/ |
| 382 | def coverSmallRationalChainHomotopyEquiv_of_openCover |
| 383 | (hUopen : ∀ i, IsOpen (U i)) (hUcover : ⋃ i, U i = Set.univ) : |
| 384 | HomotopyEquiv (CoverSmallRationalSingularChainComplex X U) |
| 385 | ((TopCat.toSSet.obj X).chainComplex (ModuleCat.of ℚ ℚ)) := |
| 386 | (coverSmallRationalChainApproximation_of_openCover X U hUopen hUcover).choose |
| 387 | |
| 388 | lemma coverSmallRationalChainHomotopyEquiv_of_openCover_hom |
| 389 | (hUopen : ∀ i, IsOpen (U i)) (hUcover : ⋃ i, U i = Set.univ) : |
| 390 | (coverSmallRationalChainHomotopyEquiv_of_openCover X U hUopen hUcover).hom = |
| 391 | coverSmallRationalSingularChainInclusion X U := |
| 392 | (coverSmallRationalChainApproximation_of_openCover X U hUopen hUcover).choose_spec |
| 393 | |
| 394 | end |
| 395 | |
| 396 | end OAI.AlgebraicTopology.Singular.ExcisionField |