Submonoids: membership criteria for products and sums #
In this file we prove various facts about membership in a submonoid:
list_prod_mem
,multiset_prod_mem
,prod_mem
: if each element of a collection belongs to a multiplicative submonoid, then so does their product;list_sum_mem
,multiset_sum_mem
,sum_mem
: if each element of a collection belongs to an additive submonoid, then so does their sum;
Tags #
submonoid, submonoids
Product of a list of elements in a submonoid is in the submonoid.
Sum of a list of elements in an AddSubmonoid
is in the AddSubmonoid
.
Product of a multiset of elements in a submonoid of a CommMonoid
is in the submonoid.
Sum of a multiset of elements in an AddSubmonoid
of an AddCommMonoid
is
in the AddSubmonoid
.
Product of elements of a submonoid of a CommMonoid
indexed by a Finset
is in the
submonoid.
Sum of elements in an AddSubmonoid
of an AddCommMonoid
indexed by a Finset
is in the AddSubmonoid
.
Sum of a list of elements in an AddSubmonoid
is in the AddSubmonoid
.
Product of a multiset of elements in a submonoid of a CommMonoid
is in the submonoid.
Sum of a multiset of elements in an AddSubmonoid
of an AddCommMonoid
is
in the AddSubmonoid
.
Product of elements of a submonoid of a CommMonoid
indexed by a Finset
is in the
submonoid.
Sum of elements in an AddSubmonoid
of an AddCommMonoid
indexed by a Finset
is in the AddSubmonoid
.