Lemmas about multiset.sum
and multiset.prod
requiring extra algebra imports #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
theorem
multiset.sum_eq_zero_iff
{α : Type u_2}
[canonically_ordered_add_monoid α]
{m : multiset α} :
theorem
commute.multiset_sum_right
{α : Type u_2}
[non_unital_non_assoc_semiring α]
(s : multiset α)
(a : α)
(h : ∀ (b : α), b ∈ s → commute a b) :
theorem
commute.multiset_sum_left
{α : Type u_2}
[non_unital_non_assoc_semiring α]
(s : multiset α)
(b : α)
(h : ∀ (a : α), a ∈ s → commute a b) :