Magma

A set with a binary operation (no other axioms)
Magma

A magma is a set MM together with a binary operation :M×MM\cdot : M \times M \to M. No additional axioms are required—the operation need not be associative, commutative, or have an identity.

This is the most general algebraic structure with a single binary operation. All , , and are magmas.

Examples:

  • Any set with any binary operation
  • (Z,)(\mathbb{Z}, -) — integers under subtraction (not associative)
  • Rock-paper-scissors with the “winner” operation