Theorems · Theorem · combinatorics
Finset.sum_powerset_cons
∀ {α : Type u_1} {β : Type u_2} {s : Finset α} {a : α} [inst : AddCommMonoid β] (ha : a ∉ s) (f : Finset α → β),
∑ t ∈ (Finset.cons a s ha).powerset, f t = ∑ t ∈ s.powerset, f t + ∑ t ∈ s.powerset.attach, f (Finset.cons a ↑t ⋯)A sum over all subsets of s ∪ {x} is obtained by summing the sum over all
subsets of s, and over all subsets of s to which one adds x.
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 78 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- AddCommMonoid
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites12
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Finsetstatement and proof · cited by 13,712
- AddCommMonoidstatement and proof · cited by 12,281
- Finset.sumstatement and proof · cited by 5,195
- Finset.sum_congrproof · cited by 2,323
- Finset.consstatement · cited by 221
- Finset.attachstatement and proof · cited by 168
- Finset.powersetstatement and proof · cited by 93
- Finset.cons_eq_insertproof · cited by 59
- Finset.sum_attachproof · cited by 54
- Finset.mem_powersetstatement and proof · cited by 26
- Finset.notMem_monostatement and proof · cited by 14
- Finset.sum_powerset_insertproof · cited by 2
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.