A semigroup ring
is a ring of finite formal sums
indexed by a semigroup
, with coefficients
in a ring
. Addition is coefficientwise,
and multiplication is obtained by extending the
multiplication of
and the multiplication
of
distributively,
so
(Gilmer and Parker 1974). If is a unit ring, the underlying
-module is
a free module with basis
. If
is a group, this construction is
the group ring. If
is the semigroup of
-tuples of nonnegative integers
under componentwise addition, then
is the polynomial ring
.