Theorems · Theorem · combinatorics
Multiset.count_bind
∀ {α : Type u_1} {β : Type v} [inst : DecidableEq α] {m : Multiset β} {f : β → Multiset α} {a : α},
Multiset.count a (m.bind f) = (Multiset.map (fun b => Multiset.count a (f b)) m).sum- Defined in
- Mathlib.Data.Multiset.Bind
- Cited by
- 2 results in Mathlib
- Foundations
- Depth 57 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- DecidableEq
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites6
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Multisetstatement and proof · cited by 2,627
- Multiset.mapstatement · cited by 876
- Multiset.sumstatement · cited by 388
- Multiset.countstatement · cited by 302
- Multiset.bindstatement · cited by 59
- Multiset.count_sumproof · cited by 3
Cited by2
Results whose statement or proof uses this declaration.
- NumberField.count_multisetInfinitePlace_eq_multproof · cited by 1
- Multiset.le_bindproof · cited by 0