Idea
A semigroup is an algebraic structure consisting of a set equipped with an associative binary operation. It generalizes the concept of a monoid by removing the requirement for an identity element.
Definition
A semigroup is a tuple where is a set and is a binary operation satisfying: \forall x, y, z \in S, (x \cdot y) \cdot z = x \cdot (y \cdot z) \tag{assoc}
Properties
- Every monoid is a semigroup.
- Every semigroup is a group.
- A semigroup is a monoid if and only if there exists an element such that and for all .
- For any semigroup , the unitization is formed by adjoining a new element and defining for all , which forms a monoid.
- If is a semigroup, the set of functions under composition also forms a semigroup.