Theorems · Theorem · combinatorics
Multiset.countP_congr
∀ {α : Type u_1} {s s' : Multiset α},
s = s' →
∀ {p p' : α → Prop} [inst : DecidablePred p] [inst_1 : DecidablePred p'],
(∀ x ∈ s, p x = p' x) → Multiset.countP p s = Multiset.countP p' s'- Defined in
- Mathlib.Data.Multiset.Count
- Cited by
- 4 results in Mathlib
- Foundations
- Depth 17 from the axioms · uses propext, Quot.sound
- Assumes
- DecidablePredDecidablePred
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites3
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.countPstatement · cited by 28
- Quot.induction_on₂proof · cited by 15
Cited by4
Results whose statement or proof uses this declaration.
- Multiset.count_attachproof · cited by 4
- Multiset.count_eq_cardproof · cited by 1
- Finset.prod_primes_dvdproof · cited by 1
- Multiset.countP_nsmulproof · cited by 0