Theorems · Theorem · order theory
Multiset.count_union
∀ {α : Type u_1} [inst : DecidableEq α] (a : α) (s t : Multiset α),
Multiset.count a (s ∪ t) = max (Multiset.count a s) (Multiset.count a t)- Defined in
- Mathlib.Data.Multiset.UnionInter
- Cited by
- 6 results in Mathlib
- Foundations
- Depth 27 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.
Cites4
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 and proof · cited by 302
- Multiset.count_addproof · cited by 23
- Multiset.count_subproof · cited by 12
Cited by6
Results whose statement or proof uses this declaration.
- Multiset.add_eq_union_iff_disjointproof · cited by 6
- Multiset.count_finset_supproof · cited by 3
- Multiset.toDFinsupp_unionproof · cited by 2
- Finsupp.toMultiset_supproof · cited by 0
- Multiset.nodup_unionproof · cited by 0
- Multiset.toFinsupp_unionproof · cited by 0