lemmamapChains_equiv_simplex_all (K : PreAbstractSimplicialComplexV) (e : V ≃ V)
(he : ∀ s, s ∈K↔ s.image e ∈K) (s : FinsetV) :
mapChains KK e (simplex K s) = simplex K (s.image e) :=by
proof · 6
lines
classical
by_cases hs : s ∈K
· rw [mapChains_simplex KK e hs, mapSimplex,
ite_eq_left (Finset.card_image_iff.mpr e.injective.injOn)]
· haveht : s.image e ∉K:= (he s).not.mp hs
simp [simplex, hs, ht]
lemmacone_equivariant (K : PreAbstractSimplicialComplexV) (e : V ≃ V)
(he : ∀ s, s ∈K↔ s.image e ∈K) (a : V) :
(mapChains KK e).comp (cone K a) = (cone K (e a)).comp (mapChains KK e) :=by
proof · 19
lines
apply Finsupp.lhom_ext
intro s r
have hm := mapChains_equiv_simplex_all K e he s.val
have hc := cone_simplex K a s.property
have hsc := cone_simplex K (e a) ((he s.val).mp s.property)
havehh : mapChains KK e (cone K a (simplex K s.val)) =
cone K (e a) (mapChains KK e (simplex K s.val)) :=by
rw [hc, hm, hsc]
by_cases ha : a ∈ s.val
· rw [ite_eq_left ha, ite_eq_left (Finset.mem_image_of_mem e ha), map_zero]
· havehna : e a ∉ s.val.image e :=by
intro h
obtain ⟨b, hb, heq⟩ :=Finset.mem_image.mp h
exact ha (e.injective heq ▸ hb)
rw [ite_eq_right ha, ite_eq_right hna, mapChains_equiv_simplex_all K e he,
Finset.image_insert]
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]
lemmasubdivSimplex_equivariant (L : PreAbstractSimplicialComplexW)
(e : V ≃ V) (d : W ≃ W) (hd : ∀ s, s ∈L↔ s.image d ∈L)
(b : FinsetV→W) (hb : ∀ s, b (s.image e) = d (b s)) (s : FinsetV) :
mapChains LL d (subdivSimplex L b s) = subdivSimplex L b (s.image e) :=by
proof · 18
lines
induction s usingFinset.strongInductionOn with
| _ s ih =>
rcases s.eq_empty_or_nonempty with rfl | hn
· simp
havehc : (s.image e).card = s.card :=Finset.card_image_iff.mpr e.injective.injOn
by_cases hs : s.card = 1
· rw [subdivSimplex_one L b hs, subdivSimplex_one L b (hc.trans hs),
mapChains_equiv_simplex_all L d hd, Finset.image_singleton, hb]
· rw [subdivSimplex_many L b hn hs,
subdivSimplex_many L b (hn.image e) (by omega)]
have hcone :=LinearMap.congr_fun (cone_equivariant L d hd (b s))
(∑ a ∈ s, subdivSimplex L b (s.erase a))
rw [LinearMap.comp_apply, LinearMap.comp_apply] at hcone
rw [hcone, map_sum, hb, Finset.sum_image (fun a _ b _ he => e.injective he)]
apply congrArg (cone L (d (b s)))
apply Finset.sum_congr rfl
intro a ha
rw [ih (s.erase a) (Finset.erase_ssubset ha), image_erase_of_injOn e s e.injective.injOn ha]
lemmasubdivMap_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)
(b : FinsetV→W) (hb : ∀ s, b (s.image e) = d (b s)) :
(mapChains LL d).comp (subdivMap KL b) =
(subdivMap KL b).comp (mapChains KK e) :=by
proof · 9
lines
apply Finsupp.lhom_ext
intro s r
havehh : mapChains LL d (subdivMap KL b (simplex K s.val)) =
subdivMap KL b (mapChains KK e (simplex K s.val)) :=by
rw [subdivMap_simplex KL b s.property, subdivSimplex_equivariant L e d hd b hb,
mapChains_equiv_simplex_all K e he, subdivMap_simplex KL b ((he s.val).mp s.property)]
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]