monoid
A monoid is an algebraic structure consisting of a set equipped with an associative binary operation and an identity element.
Formally,
A monoid is a set
is closed: is associative: has an identity element:
A monoid is a semigroup with an identity element.
A monoid with inverse elements is a group.