lemmasupport_sum_chains (L : PreAbstractSimplicialComplexW) {α : Type*}
(s : Finset α) (c : α →ChainL) {t : {s : FinsetW // s ∈L}}
(ht : t ∈ (∑ a ∈ s, c a).support) : ∃ a ∈ s, t ∈ (c a).support :=by
proof · 7
lines
classical
by_contra hn
push Not at hn
havehh : (∑ a ∈ s, c a) t = 0:=by
rw [Finsupp.finsetSum_apply]
exact Finset.sum_eq_zero (fun a ha =>Finsupp.notMem_support_iff.mp (hn a ha))
exact Finsupp.mem_support_iff.mp ht hh
lemmasubdivSimplex_carrier (L : PreAbstractSimplicialComplexW) (b : FinsetV→W)
(s : FinsetV) {t : {s : FinsetW // s ∈L}}
(ht : t ∈ (subdivSimplex L b s).support) : ↑t.val ⊆ vertexCarrier b s :=by
proof · 15
lines
induction s usingFinset.strongInductionOn generalizing t with
| _ s ih =>
rcases s.eq_empty_or_nonempty with rfl | hn
· simp at ht
by_cases hc : s.card = 1
· rw [subdivSimplex_one L b hc, mem_support_simplex] at ht
rw [ht]
exact Finset.singleton_subset_set_iff.mpr (center_mem_carrier b hn)
· rw [subdivSimplex_many L b hn hc] at ht
obtain ⟨u, hu, _, htu⟩ := support_cone L (b s) _ ht
obtain ⟨a, ha, hua⟩ := support_sum_chains L s _ hu
have hu' := ih (s.erase a) (Finset.erase_ssubset ha) hua
rw [htu, Finset.coe_insert]
exact Set.insert_subset (center_mem_carrier b hn)
(hu'.trans (vertexCarrier_mono b (Finset.erase_subset a s)))