defmapInSubset (f : X→Y) (hf : Continuous f) (s : SetX) (t : SetY)
(hst : Set.MapsTo f s t) : (inSubset s : SSet) ⟶ inSubset t where
body · 8
lines
app n :=TypeCat.ofHom fun σ =>
⟨(TopCat.toSSet.map (TopCat.ofHom (continuousMapOf f hf))).app n σ.val,
fun p => hst (σ.property p)⟩
naturality :=by
intro n m g
ext σ
apply Subtype.ext
rfl
@[reassoc]theoremsubspaceIso_naturality
(f : X→Y) (hf : Continuous f) (s : SetX) (t : SetY)
(hst : Set.MapsTo f s t) :
TopCat.toSSet.map (TopCat.ofHom (restrictMap f hf s t hst)) ≫
(subspaceIso t).hom =
(subspaceIso s).hom ≫ mapInSubset f hf s t hst :=by
theoremsubspaceHomologyIso_inclusion_apply (s : SetX) (n : ℕ)
(v : RealSingularHomology n s) :
(SSet.homologyMap (inSubset s).ι (ModuleCat.of ℝℝ) n).hom
((subspaceHomologyIso s n).toLinearEquiv v) =
realHomologyMap n (Subtype.val : s →X) continuous_subtype_val v :=by
proof · 5
lines
have h := congrArg (fun k => (SSet.homologyFunctor (ModuleCat.of ℝℝ) n).map k)
(subspaceIso_hom_inclusion s)
rw [Functor.map_comp] at h
exact congrArg (funk : RealSingularHomology n s ⟶RealSingularHomology n X=>
k.hom v) h
theoremsubspaceHomologyIso_naturality_apply
(f : X→Y) (hf : Continuous f) (s : SetX) (t : SetY)
(hst : Set.MapsTo f s t) (n : ℕ) (v : RealSingularHomology n s) :
(subspaceHomologyIso t n).toLinearEquiv
(realHomologyMap n (restrictMap f hf s t hst)
(restrictMap f hf s t hst).continuous v) =
(SSet.homologyMap (mapInSubset f hf s t hst) (ModuleCat.of ℝℝ) n).hom
((subspaceHomologyIso s n).toLinearEquiv v) :=by
proof · 5
lines
have h := congrArg (fun k => (SSet.homologyFunctor (ModuleCat.of ℝℝ) n).map k)
(subspaceIso_naturality f hf s t hst)
simp only [Functor.map_comp] at h
exact congrArg (funk : RealSingularHomology n s ⟶
(inSubset t : SSet).homology (ModuleCat.of ℝℝ) n => k.hom v) h