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.LocalHomologyCharts |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.LocalHomology |
| 3 | |
| 4 | /-! # Local Chart Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.LocalChartMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | # Actual local maps on chart neighborhoods |
| 14 | |
| 15 | An injective continuous map induces a map of punctured pairs. These maps |
| 16 | compose on local singular homology. The chart isomorphism agrees with the |
| 17 | actual map on every subspace contained in its source; this permits comparison |
| 18 | on small coordinate balls. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory |
| 22 | |
| 23 | set_option backward.defeqAttrib.useBackward true |
| 24 | set_option backward.isDefEq.respectTransparency false |
| 25 | |
| 26 | namespace Cycles |
| 27 | |
| 28 | variable {X Y Z : TopCat.{0}} |
| 29 | |
| 30 | /-- The local homology map induced by an injective continuous map. -/ |
| 31 | def injectiveLocalHomologyMap (f : X ⟶ Y) (hf : Function.Injective f) |
| 32 | (x : X) (n : ℕ) : LocalHomology.Cycles.localSingularHomology X x n ⟶ LocalHomology.Cycles.localSingularHomology Y (f x) n := |
| 33 | LocalHomology.Cycles.relativeSingularHomologyMap f (by |
| 34 | intro z hz |
| 35 | change z ≠ x at hz |
| 36 | change f z ≠ f x |
| 37 | exact fun h => hz (hf h)) n |
| 38 | |
| 39 | /-- Actual local maps compose as the underlying continuous injections do. -/ |
| 40 | @[reassoc] |
| 41 | theorem injectiveLocalHomologyMap_comp (f : X ⟶ Y) (g : Y ⟶ Z) |
| 42 | (hf : Function.Injective f) (hg : Function.Injective g) (x : X) (n : ℕ) : |
| 43 | injectiveLocalHomologyMap f hf x n ≫ injectiveLocalHomologyMap g hg (f x) n = |
| 44 | injectiveLocalHomologyMap (f ≫ g) (hg.comp hf) x n := |
| 45 | LocalHomology.Cycles.relativeSingularHomologyMap_comp f g _ _ n |
| 46 | |
| 47 | @[simp] |
| 48 | theorem injectiveLocalHomologyMap_id (x : X) (n : ℕ) : |
| 49 | injectiveLocalHomologyMap (𝟙 X) Function.injective_id x n = 𝟙 _ := |
| 50 | LocalHomology.Cycles.relativeSingularHomologyMap_id X ({x}ᶜ : Set X) n |
| 51 | |
| 52 | /-- The homeomorphism comparison is the actual map of punctured pairs. -/ |
| 53 | theorem localSingularHomologyIso_hom (e : X ≃ₜ Y) (x : X) (n : ℕ) : |
| 54 | (LocalHomology.Cycles.localSingularHomologyIso e x n).hom = |
| 55 | injectiveLocalHomologyMap (TopCat.isoOfHomeo e).hom e.injective x n := rfl |
| 56 | |
| 57 | /-- The excision map itself is the local map of the continuous inclusion. -/ |
| 58 | theorem localExcisionHomologyMap_eq_injective (X : TopCat.{0}) |
| 59 | (U : Set X) (x : X) (hx : x ∈ U) (n : ℕ) : |
| 60 | HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X U x hx) n = |
| 61 | injectiveLocalHomologyMap (LocalHomology.Cycles.subspaceInclusion X U) Subtype.val_injective |
| 62 | (⟨x, hx⟩ : U) n := rfl |
| 63 | |
| 64 | /-- A partial homeomorphism is a genuine continuous injection on its source. -/ |
| 65 | def openPartialSourceMap (e : OpenPartialHomeomorph X Y) : TopCat.of e.source ⟶ Y := |
| 66 | (TopCat.isoOfHomeo e.toHomeomorphSourceTarget).hom ≫ LocalHomology.Cycles.subspaceInclusion Y e.target |
| 67 | |
| 68 | theorem openPartialSourceMap_injective (e : OpenPartialHomeomorph X Y) : |
| 69 | Function.Injective (openPartialSourceMap e) := |
| 70 | Subtype.val_injective.comp e.toHomeomorphSourceTarget.injective |
| 71 | |
| 72 | @[simp] |
| 73 | theorem openPartialSourceMap_apply (e : OpenPartialHomeomorph X Y) (x : e.source) : |
| 74 | openPartialSourceMap e x = e x := rfl |
| 75 | |
| 76 | /-- The actual map obtained by restricting a partial homeomorphism to any |
| 77 | subspace lying in its source. -/ |
| 78 | def openPartialRestrictionMap (e : OpenPartialHomeomorph X Y) |
| 79 | (U : Set X) (hU : U ⊆ e.source) : TopCat.of U ⟶ Y := |
| 80 | LocalHomology.Cycles.subspaceMap (𝟙 X) (fun _ hu => hU hu) ≫ openPartialSourceMap e |
| 81 | |
| 82 | theorem openPartialRestrictionMap_injective (e : OpenPartialHomeomorph X Y) |
| 83 | (U : Set X) (hU : U ⊆ e.source) : |
| 84 | Function.Injective (openPartialRestrictionMap e U hU) := by |
| 85 | intro a b hab |
| 86 | apply Subtype.ext |
| 87 | exact e.injOn (hU a.property) (hU b.property) hab |
| 88 | |
| 89 | @[simp] |
| 90 | theorem openPartialRestrictionMap_apply (e : OpenPartialHomeomorph X Y) |
| 91 | (U : Set X) (hU : U ⊆ e.source) (x : U) : |
| 92 | openPartialRestrictionMap e U hU x = e x := rfl |
| 93 | |
| 94 | variable [T1Space X] [T1Space Y] |
| 95 | |
| 96 | /-- The chart comparison agrees with the actual injective map on its |
| 97 | entire source, after the proved local excision map. -/ |
| 98 | @[reassoc] |
| 99 | theorem openPartialLocalHomology_source (e : OpenPartialHomeomorph X Y) |
| 100 | (x : X) (hx : x ∈ e.source) (n : ℕ) : |
| 101 | HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X e.source x hx) n ≫ |
| 102 | (LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso e x hx n).hom = |
| 103 | injectiveLocalHomologyMap (openPartialSourceMap e) |
| 104 | (openPartialSourceMap_injective e) (⟨x, hx⟩ : e.source) n := by |
| 105 | rw [LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso_source, localSingularHomologyIso_hom, |
| 106 | localExcisionHomologyMap_eq_injective] |
| 107 | exact injectiveLocalHomologyMap_comp _ _ _ _ _ _ |
| 108 | |
| 109 | /-- Restricting to a smaller subspace does not change the chart's local |
| 110 | map. Openness of the smaller subspace is needed only to invert its excision |
| 111 | map, not for this commutative identity. -/ |
| 112 | @[reassoc] |
| 113 | theorem openPartialLocalHomology_restriction (e : OpenPartialHomeomorph X Y) |
| 114 | (U : Set X) (hU : U ⊆ e.source) (x : X) (hx : x ∈ U) (n : ℕ) : |
| 115 | HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X U x hx) n ≫ |
| 116 | (LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso e x (hU hx) n).hom = |
| 117 | injectiveLocalHomologyMap (openPartialRestrictionMap e U hU) |
| 118 | (openPartialRestrictionMap_injective e U hU) (⟨x, hx⟩ : U) n := by |
| 119 | have hUinj : Function.Injective (LocalHomology.Cycles.subspaceMap (𝟙 X) (fun _ hu => hU hu)) := by |
| 120 | intro a b hab |
| 121 | exact Subtype.ext (congrArg (fun z : e.source => z.val) hab) |
| 122 | have hcomp : |
| 123 | injectiveLocalHomologyMap (LocalHomology.Cycles.subspaceMap (𝟙 X) (fun _ hu => hU hu)) hUinj |
| 124 | (⟨x, hx⟩ : U) n ≫ |
| 125 | HomologicalComplex.homologyMap |
| 126 | (LocalExcision.Cycles.localExcisionChainMap X e.source x (hU hx)) n = |
| 127 | HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X U x hx) n := by |
| 128 | rw [localExcisionHomologyMap_eq_injective, localExcisionHomologyMap_eq_injective] |
| 129 | exact injectiveLocalHomologyMap_comp _ _ _ _ _ _ |
| 130 | rw [← hcomp, Category.assoc, openPartialLocalHomology_source] |
| 131 | exact injectiveLocalHomologyMap_comp _ _ _ _ _ _ |
| 132 | |
| 133 | end Cycles |
| 134 | |
| 135 | end |
| 136 | |
| 137 | /-! |
| 138 | # Local chart maps with specified base points |
| 139 | |
| 140 | These wrappers make the equalities of actual base points explicit. This |
| 141 | allows ordinary maps of punctured pairs to be compared with chart |
| 142 | isomorphisms whose target point has been translated to zero. |
| 143 | -/ |
| 144 | |
| 145 | open _root_.CategoryTheory |
| 146 | |
| 147 | set_option backward.defeqAttrib.useBackward true |
| 148 | set_option backward.isDefEq.respectTransparency false |
| 149 | |
| 150 | namespace Cycles |
| 151 | |
| 152 | variable {X Y Z : TopCat.{0}} |
| 153 | |
| 154 | /-- Equal continuous maps of the same pair induce equal relative homology |
| 155 | maps, independently of the proofs that they preserve the subspace. -/ |
| 156 | theorem relativeSingularHomologyMap_congr {f g : X ⟶ Y} |
| 157 | {A : Set X} {B : Set Y} (h : f = g) |
| 158 | (hf : Set.MapsTo f A B) (hg : Set.MapsTo g A B) (n : ℕ) : |
| 159 | LocalHomology.Cycles.relativeSingularHomologyMap f hf n = LocalHomology.Cycles.relativeSingularHomologyMap g hg n := by |
| 160 | subst g |
| 161 | rfl |
| 162 | |
| 163 | /-- Equality of the base points gives equality of the genuine local groups. -/ |
| 164 | def localPointEqIso {x y : X} (h : x = y) (n : ℕ) : |
| 165 | LocalHomology.Cycles.localSingularHomology X x n ≅ LocalHomology.Cycles.localSingularHomology X y n := |
| 166 | eqToIso (congrArg (fun z => LocalHomology.Cycles.localSingularHomology X z n) h) |
| 167 | |
| 168 | /-- The map of punctured pairs for an injection with specified target point. -/ |
| 169 | def injectiveLocalHomologyMapTo (f : X ⟶ Y) (hf : Function.Injective f) |
| 170 | (x : X) (y : Y) (hxy : f x = y) (n : ℕ) : |
| 171 | LocalHomology.Cycles.localSingularHomology X x n ⟶ LocalHomology.Cycles.localSingularHomology Y y n := |
| 172 | LocalHomology.Cycles.relativeSingularHomologyMap f (by |
| 173 | intro z hz |
| 174 | change z ≠ x at hz |
| 175 | change f z ≠ y |
| 176 | exact fun h => hz (hf (h.trans hxy.symm))) n |
| 177 | |
| 178 | /-- Specifying the target point only transports the target of the same |
| 179 | actual homology map. -/ |
| 180 | theorem injectiveLocalHomologyMap_pointEq (f : X ⟶ Y) (hf : Function.Injective f) |
| 181 | (x : X) (y : Y) (hxy : f x = y) (n : ℕ) : |
| 182 | injectiveLocalHomologyMap f hf x n ≫ (localPointEqIso hxy n).hom = |
| 183 | injectiveLocalHomologyMapTo f hf x y hxy n := by |
| 184 | subst y |
| 185 | change injectiveLocalHomologyMap f hf x n ≫ 𝟙 _ = _ |
| 186 | rw [Category.comp_id] |
| 187 | rfl |
| 188 | |
| 189 | /-- Specified-point local maps satisfy the usual composition law. -/ |
| 190 | @[reassoc] |
| 191 | theorem injectiveLocalHomologyMapTo_comp (f : X ⟶ Y) (g : Y ⟶ Z) |
| 192 | (hf : Function.Injective f) (hg : Function.Injective g) |
| 193 | (x : X) (y : Y) (z : Z) (hxy : f x = y) (hyz : g y = z) (n : ℕ) : |
| 194 | injectiveLocalHomologyMapTo f hf x y hxy n ≫ |
| 195 | injectiveLocalHomologyMapTo g hg y z hyz n = |
| 196 | injectiveLocalHomologyMapTo (f ≫ g) (hg.comp hf) x z |
| 197 | (by change g (f x) = z; rw [hxy]; exact hyz) n := |
| 198 | LocalHomology.Cycles.relativeSingularHomologyMap_comp f g _ _ n |
| 199 | |
| 200 | /-- The first map of a composable pair, with its codomain restricted to |
| 201 | the source of the second. -/ |
| 202 | def openPartialCompositionLift (e : OpenPartialHomeomorph X Y) |
| 203 | (f : OpenPartialHomeomorph Y Z) : |
| 204 | TopCat.of (e.trans f).source ⟶ TopCat.of f.source := |
| 205 | let r := openPartialRestrictionMap e (e.trans f).source (fun _ hu => hu.1) |
| 206 | TopCat.ofHom ⟨fun u => ⟨r u, u.property.2⟩, r.hom.continuous.subtype_mk _⟩ |
| 207 | |
| 208 | theorem openPartialCompositionLift_injective (e : OpenPartialHomeomorph X Y) |
| 209 | (f : OpenPartialHomeomorph Y Z) : |
| 210 | Function.Injective (openPartialCompositionLift e f) := by |
| 211 | intro a b hab |
| 212 | apply Subtype.ext |
| 213 | exact e.injOn a.property.1 b.property.1 |
| 214 | (congrArg (fun z : f.source => z.val) hab) |
| 215 | |
| 216 | variable [T1Space X] [T1Space Y] |
| 217 | |
| 218 | /-- The actual chart local isomorphism with a specified target point. -/ |
| 219 | def openPartialLocalHomologyIsoTo (e : OpenPartialHomeomorph X Y) |
| 220 | (x : X) (y : Y) (hx : x ∈ e.source) (hxy : e x = y) (n : ℕ) : |
| 221 | LocalHomology.Cycles.localSingularHomology X x n ≅ LocalHomology.Cycles.localSingularHomology Y y n := |
| 222 | LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso e x hx n ≪≫ localPointEqIso hxy n |
| 223 | |
| 224 | /-- The construction is unchanged when the actual partial homeomorphism |
| 225 | is unchanged; all proofs of its endpoint conditions are irrelevant. -/ |
| 226 | theorem openPartialLocalHomologyIsoTo_congr |
| 227 | {e f : OpenPartialHomeomorph X Y} (h : e = f) |
| 228 | (x : X) (y : Y) (he : x ∈ e.source) (hf : x ∈ f.source) |
| 229 | (hey : e x = y) (hfy : f x = y) (n : ℕ) : |
| 230 | openPartialLocalHomologyIsoTo e x y he hey n = |
| 231 | openPartialLocalHomologyIsoTo f x y hf hfy n := by |
| 232 | subst f |
| 233 | rfl |
| 234 | |
| 235 | /-- The specified-point comparison agrees with the actual relative map |
| 236 | on every smaller subspace in the chart source. -/ |
| 237 | @[reassoc] |
| 238 | theorem openPartialLocalHomologyIsoTo_restriction (e : OpenPartialHomeomorph X Y) |
| 239 | (U : Set X) (hU : U ⊆ e.source) (x : X) (y : Y) |
| 240 | (hx : x ∈ U) (hxy : e x = y) (n : ℕ) : |
| 241 | HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X U x hx) n ≫ |
| 242 | (openPartialLocalHomologyIsoTo e x y (hU hx) hxy n).hom = |
| 243 | injectiveLocalHomologyMapTo (openPartialRestrictionMap e U hU) |
| 244 | (openPartialRestrictionMap_injective e U hU) (⟨x, hx⟩ : U) y hxy n := by |
| 245 | change HomologicalComplex.homologyMap _ n ≫ |
| 246 | ((LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso e x (hU hx) n).hom ≫ |
| 247 | (localPointEqIso hxy n).hom) = _ |
| 248 | rw [← Category.assoc, openPartialLocalHomology_restriction, |
| 249 | injectiveLocalHomologyMap_pointEq] |
| 250 | |
| 251 | /-- The specified-point chart comparison on its whole source. -/ |
| 252 | @[reassoc] |
| 253 | theorem openPartialLocalHomologyIsoTo_source (e : OpenPartialHomeomorph X Y) |
| 254 | (x : X) (y : Y) (hx : x ∈ e.source) (hxy : e x = y) (n : ℕ) : |
| 255 | HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X e.source x hx) n ≫ |
| 256 | (openPartialLocalHomologyIsoTo e x y hx hxy n).hom = |
| 257 | injectiveLocalHomologyMapTo (openPartialSourceMap e) |
| 258 | (openPartialSourceMap_injective e) (⟨x, hx⟩ : e.source) y hxy n := by |
| 259 | change HomologicalComplex.homologyMap _ n ≫ |
| 260 | ((LocalHomologyCharts.Cycles.openPartialHomeomorphLocalHomologyIso e x hx n).hom ≫ |
| 261 | (localPointEqIso hxy n).hom) = _ |
| 262 | rw [← Category.assoc, openPartialLocalHomology_source, |
| 263 | injectiveLocalHomologyMap_pointEq] |
| 264 | |
| 265 | /-- When a local homeomorphism agrees with an actual global injection on |
| 266 | its source, its local action is the action of that injection. -/ |
| 267 | theorem openPartialLocalHomologyIsoTo_eq_map |
| 268 | (e : OpenPartialHomeomorph X Y) (f : X ⟶ Y) (hf : Function.Injective f) |
| 269 | (x : X) (y : Y) (hx : x ∈ e.source) (hxy : e x = y) (hfx : f x = y) |
| 270 | (heq : ∀ u ∈ e.source, e u = f u) (n : ℕ) : |
| 271 | (openPartialLocalHomologyIsoTo e x y hx hxy n).hom = |
| 272 | injectiveLocalHomologyMapTo f hf x y hfx n := by |
| 273 | let i := LocalExcision.Cycles.localExcisionHomologyIso X e.source x hx e.open_source n |
| 274 | apply (cancel_epi i.hom).mp |
| 275 | change HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X e.source x hx) n ≫ _ = |
| 276 | HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X e.source x hx) n ≫ _ |
| 277 | rw [openPartialLocalHomologyIsoTo_source] |
| 278 | change _ = injectiveLocalHomologyMapTo (LocalHomology.Cycles.subspaceInclusion X e.source) |
| 279 | Subtype.val_injective (⟨x, hx⟩ : e.source) x rfl n ≫ |
| 280 | injectiveLocalHomologyMapTo f hf x y hfx n |
| 281 | rw [injectiveLocalHomologyMapTo_comp] |
| 282 | have hm : openPartialSourceMap e = LocalHomology.Cycles.subspaceInclusion X e.source ≫ f := by |
| 283 | ext u |
| 284 | exact heq u.val u.property |
| 285 | unfold injectiveLocalHomologyMapTo |
| 286 | exact relativeSingularHomologyMap_congr hm _ _ n |
| 287 | |
| 288 | /-- The identity on an open source acts identically on local homology. -/ |
| 289 | theorem openPartialLocalHomologyIsoTo_eq_id (e : OpenPartialHomeomorph X X) |
| 290 | (x : X) (hx : x ∈ e.source) (heq : ∀ u ∈ e.source, e u = u) (n : ℕ) : |
| 291 | (openPartialLocalHomologyIsoTo e x x hx (heq x hx) n).hom = 𝟙 _ := by |
| 292 | rw [openPartialLocalHomologyIsoTo_eq_map e (𝟙 X) Function.injective_id |
| 293 | x x hx (heq x hx) rfl heq n] |
| 294 | exact LocalHomology.Cycles.relativeSingularHomologyMap_id X ({x}ᶜ : Set X) n |
| 295 | |
| 296 | variable [T1Space Z] |
| 297 | |
| 298 | /-- The isomorphisms induced by genuine pointed local homeomorphisms |
| 299 | compose. The proof uses the actual map on their common source. -/ |
| 300 | @[reassoc] |
| 301 | theorem openPartialLocalHomologyIsoTo_comp |
| 302 | (e : OpenPartialHomeomorph X Y) (f : OpenPartialHomeomorph Y Z) |
| 303 | (x : X) (y : Y) (z : Z) (hx : x ∈ e.source) (hy : y ∈ f.source) |
| 304 | (hxy : e x = y) (hyz : f y = z) (n : ℕ) : |
| 305 | (openPartialLocalHomologyIsoTo e x y hx hxy n).hom ≫ |
| 306 | (openPartialLocalHomologyIsoTo f y z hy hyz n).hom = |
| 307 | (openPartialLocalHomologyIsoTo (e.trans f) x z |
| 308 | ⟨hx, by change e x ∈ f.source; rw [hxy]; exact hy⟩ |
| 309 | (by change f (e x) = z; rw [hxy]; exact hyz) n).hom := by |
| 310 | let U := (e.trans f).source |
| 311 | have hU : U ⊆ e.source := fun _ hu => hu.1 |
| 312 | have hxU : x ∈ U := ⟨hx, by change e x ∈ f.source; rw [hxy]; exact hy⟩ |
| 313 | let i := LocalExcision.Cycles.localExcisionHomologyIso X U x hxU (e.trans f).open_source n |
| 314 | apply (cancel_epi i.hom).mp |
| 315 | change HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X U x hxU) n ≫ |
| 316 | (_ ≫ _) = HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap X U x hxU) n ≫ _ |
| 317 | rw [← Category.assoc, openPartialLocalHomologyIsoTo_restriction e U hU, |
| 318 | openPartialLocalHomologyIsoTo_restriction (e.trans f) U (Set.Subset.refl U)] |
| 319 | have hlift : openPartialCompositionLift e f (⟨x, hxU⟩ : U) = (⟨y, hy⟩ : f.source) := |
| 320 | Subtype.ext hxy |
| 321 | have hfactor : |
| 322 | injectiveLocalHomologyMapTo (openPartialCompositionLift e f) |
| 323 | (openPartialCompositionLift_injective e f) (⟨x, hxU⟩ : U) |
| 324 | (⟨y, hy⟩ : f.source) hlift n ≫ |
| 325 | HomologicalComplex.homologyMap (LocalExcision.Cycles.localExcisionChainMap Y f.source y hy) n = |
| 326 | injectiveLocalHomologyMapTo (openPartialRestrictionMap e U hU) |
| 327 | (openPartialRestrictionMap_injective e U hU) (⟨x, hxU⟩ : U) y hxy n := by |
| 328 | change injectiveLocalHomologyMapTo _ _ _ _ _ _ ≫ |
| 329 | injectiveLocalHomologyMapTo (LocalHomology.Cycles.subspaceInclusion Y f.source) Subtype.val_injective |
| 330 | (⟨y, hy⟩ : f.source) y rfl n = _ |
| 331 | exact injectiveLocalHomologyMapTo_comp _ _ _ _ _ _ _ _ _ _ |
| 332 | rw [← hfactor, Category.assoc, openPartialLocalHomologyIsoTo_source] |
| 333 | exact injectiveLocalHomologyMapTo_comp _ _ _ _ _ _ _ _ _ _ |
| 334 | |
| 335 | /-- Inverting an actual local homeomorphism inverts its local homology |
| 336 | isomorphism. -/ |
| 337 | theorem openPartialLocalHomologyIsoTo_symm_hom |
| 338 | (e : OpenPartialHomeomorph X Y) (x : X) (y : Y) |
| 339 | (hx : x ∈ e.source) (hxy : e x = y) (n : ℕ) : |
| 340 | (openPartialLocalHomologyIsoTo e.symm y x |
| 341 | (by change y ∈ e.target; rw [← hxy]; exact e.map_source hx) |
| 342 | (by rw [← hxy]; exact e.left_inv hx) n).hom = |
| 343 | (openPartialLocalHomologyIsoTo e x y hx hxy n).inv := by |
| 344 | apply (cancel_epi (openPartialLocalHomologyIsoTo e x y hx hxy n).hom).mp |
| 345 | rw [openPartialLocalHomologyIsoTo_comp, Iso.hom_inv_id] |
| 346 | exact openPartialLocalHomologyIsoTo_eq_id (e.trans e.symm) x _ |
| 347 | (fun u hu => e.left_inv hu.1) n |
| 348 | |
| 349 | end Cycles |
| 350 | |
| 351 | end |
| 352 | |
| 353 | end OAI.AlgebraicGeometry.CycleClass.Geometric.LocalChartMaps |