monoid
A monoid is a semigroup which contains an identity element
; that is, there exists an element such that for all .
If and are identity elements of a monoid , then , so we may speak of “the” identity element of .
A monoid homomorphism from monoids to is a semigroup homomorphism such that , where are identity elements of and respectively.