DFinsupp
and submonoids #
This file mainly concerns the interaction between submonoids and products/sums of DFinsupp
s.
Main results #
AddSubmonoid.mem_iSup_iff_exists_dfinsupp
: elements of the supremum of additive commutative monoids can be given by taking finite sums of elements of each monoid.AddSubmonoid.mem_bsupr_iff_exists_dfinsupp
: elements of the supremum of additive commutative monoids can be given by taking finite sums of elements of each monoid.
The supremum of a family of commutative additive submonoids is equal to the range of
DFinsupp.sumAddHom
; that is, every element in the iSup
can be produced from taking a finite
number of non-zero elements of S i
, coercing them to γ
, and summing them.
The bounded supremum of a family of commutative additive submonoids is equal to the range of
DFinsupp.sumAddHom
composed with DFinsupp.filterAddMonoidHom
; that is, every element in the
bounded iSup
can be produced from taking a finite number of non-zero elements from the S i
that
satisfy p i
, coercing them to γ
, and summing them.
A variant of AddSubmonoid.mem_iSup_iff_exists_dfinsupp
with the RHS fully unfolded.