A '''monoid''' is a semigroup with a unit element. Formally, a monoid <math>\underline{X}\!</math> is an ordered triple <math>(X, *, e),\!</math> where <math>X\!</math> is a set, <math>*\!</math> is an associative LOC on the set <math>X,\!</math> and <math>e\!</math> is the unit element in the semigroup <math>(X, *).\!</math> | A '''monoid''' is a semigroup with a unit element. Formally, a monoid <math>\underline{X}\!</math> is an ordered triple <math>(X, *, e),\!</math> where <math>X\!</math> is a set, <math>*\!</math> is an associative LOC on the set <math>X,\!</math> and <math>e\!</math> is the unit element in the semigroup <math>(X, *).\!</math> |