Algebra
An Algebra is a set with any number of operations with any arities
Magma
A Magma is a set with a binary operation. an example of a magma:
Semigroup
A Semigroup is a magma whose operation is associative.
Monoid
A Monoid is a semigroup with a nullary operation which takes a value . This element acts as the identity.
Group
A Group is a Monoid with invertibility. Meaning there is a unary operation called inversion that maps any element its inverse such that To put it a different way, if exists in a group, it has an inverse which satisfies the above equation.
Ring
A Ring is a more complex group. It has 4 additional properties
- It is a group with an additional binary operation (Double Magma) .
- must be commutative
- The distributive law must hold for
- must be a semigroup It follows from the property of rings that , the additive identity, functions as a destructor in .
Field
A Field is a more complex Ring.
- is commutative
- All elements in except must have an inverse
- must have an identity noted as .