lemmalinearMap_eq_of_support {K : PreAbstractSimplicialComplexV}
{M : Type*} [AddCommMonoidM] [ModuleF₂M]
(TU : ChainK→ₗ[F₂] M) (c : ChainK)
(hc : ∀ s ∈ c.support, T (simplex K s.val) = U (simplex K s.val)) : T c = U c :=by
proof · 4
lines
rw [chain_eq_sum K c, map_sum, map_sum]
apply Finset.sum_congr rfl
intro s hs
rw [map_smul, map_smul, hc s hs]
lemmamapChains_boundary_simplex_of_image (K : PreAbstractSimplicialComplexV)
(L : PreAbstractSimplicialComplexW) (f : V→W)
{s : FinsetV} (hs : s ∈K) (ht : s.image f ∈L) :
boundary L (mapChains KL f (simplex K s)) =
mapChains KL f (boundary K (simplex K s)) :=by
proof · 14
lines
rw [mapChains_simplex KL f hs, boundary_simplex K hs, map_sum]
have h (a : V) : mapChains KL f (simplex K (s.erase a)) = mapSimplex L f (s.erase a) :=
mapChains_simplex_subset KL f hs (Finset.erase_subset a s)
simp_rw [h]
by_cases hinj : Set.InjOn f s
· rw [mapSimplex, ite_eq_left (Finset.card_image_iff.mpr hinj), boundary_simplex L ht]
rw [Finset.sum_image]
· apply Finset.sum_congr rfl
intro a ha
havehj : Set.InjOn f (s.erase a) := hinj.mono (Finset.erase_subset a s)
rw [mapSimplex, ite_eq_left (Finset.card_image_iff.mpr hj), image_erase_of_injOn f s hinj ha]
· exact hinj
· rw [mapSimplex, ite_eq_right (mt Finset.card_image_iff.mp hinj), map_zero,
mapSimplex_boundary_degenerate L f s hinj]
lemmamapChains_boundary_of_support (K : PreAbstractSimplicialComplexV)
(L : PreAbstractSimplicialComplexW) (f : V→W) (c : ChainK)
(hc : ∀ s ∈ c.support, s.val.image f ∈L) :
boundary L (mapChains KL f c) = mapChains KL f (boundary K c) :=by
proof · 4
lines
apply linearMap_eq_of_support ((boundary L).comp (mapChains KL f))
((mapChains KL f).comp (boundary K)) c
intro s hs
exact mapChains_boundary_simplex_of_image KL f s.property (hc s hs)
lemmamapChains_augmentation_of_support (K : PreAbstractSimplicialComplexV)
(L : PreAbstractSimplicialComplexW) (f : V→W) (c : ChainK)
(hc : ∀ s ∈ c.support, s.val.image f ∈L) :
augmentation L (mapChains KL f c) = augmentation K c :=by
proof · 3
lines
apply linearMap_eq_of_support ((augmentation L).comp (mapChains KL f)) (augmentation K) c
intro s hs
exact mapChains_augmentation_simplex_of_image KL f s.property (hc s hs)
lemmamapChains_degree_all (K : PreAbstractSimplicialComplexV)
(L : PreAbstractSimplicialComplexW) (f : V→W) (d : ℕ) :
degreeChains K d ≤ (degreeChains L d).comap (mapChains KL f) :=by
proof · 7
lines
apply grade_map KL _ d d
intro s hs hd
rw [mapChains_simplex KL f hs, mapSimplex]
split_ifs with hh
· rw [← hd, ← hh]
exact simplex_mem_degree_all L _
· exact Submodule.zero_mem _
lemmamapChains_equivariant (K : PreAbstractSimplicialComplexV)
(L : PreAbstractSimplicialComplexW) (e : V ≃ V) (d : W ≃ W)
(he : ∀ s, s ∈K↔ s.image e ∈K) (hd : ∀ s, s ∈L↔ s.image d ∈L)
(f : V→W) (hf : ∀ s ∈K, ∀ x ∈ s, f (e x) = d (f x)) :
(mapChains LL d).comp (mapChains KL f) =
(mapChains KL f).comp (mapChains KK e) :=by
proof · 19
lines
apply Finsupp.lhom_ext
intro s r
havehim : (s.val.image e).image f = (s.val.image f).image d :=by
simp only [Finset.image_image]
exact Finset.image_congr (fun x hx => hf s.val s.property x hx)
havehcard : (s.val.image e).card = s.val.card :=Finset.card_image_iff.mpr e.injective.injOn
havehcard' : ((s.val.image f).image d).card = (s.val.image f).card :=Finset.card_image_iff.mpr d.injective.injOn
havehh : mapChains LL d (mapChains KL f (simplex K s.val)) =
mapChains KL f (mapChains KK e (simplex K s.val)) :=by
rw [mapChains_simplex KL f s.property, mapChains_equiv_simplex_all K e he,
mapChains_simplex KL f ((he s.val).mp s.property)]
simp only [mapSimplex, him, hcard, hcard']
split_ifs
· exact mapChains_equiv_simplex_all L d hd _
· exact map_zero _
rw [simplex_of_mem K s.property] at hh
havehr : Finsupp.single s r = r • Finsupp.single s (1 : F₂) :=by simp
simp only [LinearMap.comp_apply, hr, map_smul, hh]
lemmamapChains_norm (K : PreAbstractSimplicialComplexV)
(L : PreAbstractSimplicialComplexW) (e : V ≃ V) (d : W ≃ W)
(he : ∀ s, s ∈K↔ s.image e ∈K) (hd : ∀ s, s ∈L↔ s.image d ∈L)
(f : V→W) (hf : ∀ s ∈K, ∀ x ∈ s, f (e x) = d (f x)) :
(normMap L d).comp (mapChains KL f) =
(mapChains KL f).comp (normMap K e) :=by
proof · 2
lines
simp only [normMap, LinearMap.add_comp, LinearMap.comp_add, LinearMap.id_comp,
LinearMap.comp_id, mapChains_equivariant KL e d he hd f hf]