Definition: Monoid

A monoid is a set equipped with a binary operation which has the following properties.

  • Associativity:
  • Existence of an identity element: