Theorems · Theorem · combinatorics
Multiset.filter_eq
∀ {α : Type u_1} [inst : DecidableEq α] (s : Multiset α) (b : α),
Multiset.filter (Eq b) s = Multiset.replicate (Multiset.count b s) b- Defined in
- Mathlib.Data.Multiset.Filter
- Cited by
- 5 results in Mathlib
- Foundations
- Depth 22 from the axioms · uses propext, Quot.sound
- Assumes
- DecidableEq
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites5
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.countstatement · cited by 302
- Multiset.filterstatement and proof · cited by 102
- Multiset.replicatestatement · cited by 88
- Multiset.filter_congrproof · cited by 11
Cited by5
Results whose statement or proof uses this declaration.
- Polynomial.count_map_rootsproof · cited by 2
- Multiset.pow_countproof · cited by 1
- Finset.sum_pow_of_commuteproof · cited by 1
- Multiset.nsmul_countproof · cited by 0
- Multiset.prod_X_sub_C_dvd_iff_le_rootsproof · cited by 0