A group is a triple $(G, \cdot, e)$ where $G$ is a set, $\cdot : G \times G \to G$ is a binary operation, and $e \in G$ is an element, satisfying:
\begin{align}
&\text{(Associativity)} \quad (a \cdot b) \cdot c = a \cdot (b \cdot c) \quad \text{for all } a, b, c \in G, \\
&\text{(Identity)} \quad a \cdot e = e \cdot a = a \quad \text{for all } a \in G, \\
&\text{(Inverses)} \quad \text{for all } a \in G \text{ there exists } a^{-1} \in G \text{ with } a \cdot a^{-1} = a^{-1} \cdot a = e.
\end{align}