theorem
disjoint_le_sub
{α : Type}
{s t u : Multiset α}
[DecidableEq α]
(h : t ≤ s)
(h' : Disjoint t u)
:
theorem
le_of_le_add_of_disjoint
{α : Type}
{s t u : Multiset α}
[DecidableEq α]
(d : Disjoint s u)
(h : s ≤ t + u)
:
theorem
le_of_le_sub_le_sub
{α : Type}
{s t u : Multiset α}
[DecidableEq α]
(h₁ : s ≤ t - u)
(h₂ : u ≤ t)
:
Equations
- lift_fun_on_mul f n = Multiset.foldr (fun (x : α) (y : Multiset β) => f x + y) 0 n
Instances For
theorem
nodup_sub_of_nodup
{α : Type}
{m : Multiset α}
[DecidableEq α]
(n : Multiset α)
(hm : m.Nodup)
: