Magma
A set with a binary operation (no other axioms)
Magma
A magma is a set together with a binary operation . 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 semigroups , monoids , and groups are magmas.
Examples:
- Any set with any binary operation
- — integers under subtraction (not associative)
- Rock-paper-scissors with the “winner” operation