The group consists of , a set of elements and , an operation that operates on that set of elements:

The group axioms:

  1. The group is closed under the operation:
  1. The operation is associative for each element in the set:
  1. There exists an identity element, so that when an identity element is paired with any element via the operation, it returns that element – i.e. operation with the identity element have no effect on the element.
  1. For every element there exists an invers, where the operation between the element and its inverse result in the identity element: