Skip to content

Commutative magma

A set with a closed binary operation satisfying commutativity but not necessarily associativity, identity or inverses.

Version
v2 · 2026-09-19 · History
Domain-specific #
3773
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Abstract Algebra → Mathematics

Core Idea

Commutativity alone is constitutive, associativity must not be assumed and the operation and carrier must be closed and total; a commutative semigroup is the associative specialization. The binary operation combines any ordered pair into the carrier and obeys x dot y equals y dot x, so input order is irrelevant even though parenthesization of three or more elements can change the result. The abstraction is therefore identified by a declared carrier, a transformation or constraint over that carrier, and an invariant that tells an analyst whether the named structure is genuinely present.

How would you explain it like I'm…

Swap-Doesn't-Matter Mixing

Imagine a rule for mixing two things into one, like 'find the spot halfway between two friends'. It doesn't matter who you name first — halfway between Ann and Ben is the same as halfway between Ben and Ann. But if three friends are involved, which two you do first can change where you end up! A rule like that, where order of the two doesn't matter but grouping might, is a commutative magma.

Order Free, Grouping Not

A commutative magma is a set of things with a way to combine any two of them into another thing in the same set, where the order of the two doesn't matter: a combined with b is the same as b combined with a. The surprise is that grouping can still matter. For example, averaging two numbers is order-free: the average of 2 and 6 is the same as the average of 6 and 2. But averaging 2 and 6 first and then averaging with 10 gives 7, while averaging 6 and 10 first and then averaging with 2 gives 5.

Commutative Non-Associative Operation

A magma is the simplest algebraic structure: a nonempty set with an operation that takes any two elements and always gives an element of the same set. A commutative magma adds one rule: x · y = y · x for all x and y, so the order of the two inputs doesn't matter. Crucially, it does not assume associativity, meaning (x · y) · z can differ from x · (y · z). The average of two numbers, (x + y)/2, is an example: swapping inputs changes nothing, but averaging 0 and 0 first and then with 4 gives 2, while averaging 0 with the average of 0 and 4 gives 1. If a commutative magma is also associative, it becomes a commutative semigroup.

 

A commutative magma is a nonempty set equipped with a total, closed binary operation satisfying x · y = y · x for all elements. Commutativity is the only constitutive law: associativity is not assumed, and neither are identity elements, inverses or idempotence, though any of them may happen to hold. Because associativity can fail, expressions with three or more elements are parenthesization-sensitive, so the input order within each product is irrelevant but the bracketing is not. A standard example is the arithmetic mean on the rationals, which is commutative but not associative. Adding associativity yields a commutative semigroup; commutative quasigroups, where division is always uniquely possible, form another specialization. The usual notions of homomorphism (maps preserving the operation) and submagma (subsets closed under it) apply. The main error to avoid is silently assuming associativity because the operation 'looks like' multiplication.

Scope of Application

Commutative magma belongs to abstract algebra and is useful where the analyst can specify the typed abstract algebra carrier, including objects, relations, parameters, conventions, evidence, boundaries, and comparison targets, then evaluate the nonempty carrier set, total closed binary operation, commutative identity for all pairs, absence or optional presence of associativity identity inverses and idempotence, parenthesization sensitivity, homomorphisms and submagmas and relation to commutative semigroups and quasigroups are explicit. The scope is broad within that domain but bounded by the need for the nonempty carrier set, total closed binary operation, commutative identity for all pairs, absence or optional presence of associativity identity inverses and idempotence, parenthesization sensitivity, homomorphisms and submagmas and relation to commutative semigroups and quasigroups are explicit.

Clarity

The abstraction clarifies a crowded vocabulary by making the nonempty carrier set, total closed binary operation, commutative identity for all pairs, absence or optional presence of associativity identity inverses and idempotence, parenthesization sensitivity, homomorphisms and submagmas and relation to commutative semigroups and quasigroups are explicit the center of the account. A claim should name the carrier, the governing operation or relation, the applicable assumptions, and the recognition test.

Manages Complexity

Without the abstraction, an analyst must reason directly over many local details: the carrier roles, admissibility assumptions, competing conventions, derived invariants, boundary cases, and proof or validation obligations specific to Commutative magma. Commutative magma compresses them into the roles in the structural signature. That compression permits comparison across instances without erasing the variables that determine validity. It also exposes which details may be varied safely and which are constitutive.

Abstract Reasoning

  1. Identify the carrier. State what the elements, states, objects, or observations are: the typed abstract algebra carrier, including objects, relations, parameters, conventions, evidence, boundaries, and comparison targets. Reject examples whose alleged carrier belongs to a different problem.
  2. Lock the constitutive rule. Express the nonempty carrier set, total closed binary operation, commutative identity for all pairs, absence or optional presence of associativity identity inverses and idempotence, parenthesization sensitivity, homomorphisms and submagmas and relation to commutative semigroups and quasigroups are explicit independently of one notation or implementation.

Knowledge Transfer

Knowledge transfers strongly among subfields of abstract algebra because they reuse the typed abstract algebra carrier, including objects, relations, parameters, conventions, evidence, boundaries, and comparison targets, The binary operation combines any ordered pair into the carrier and obeys x dot y equals y dot x, so input order is irrelevant even though parenthesization of three or more elements can change the result., and type the carrier, state every parameter and convention in the definition, test that the nonempty carrier set, total closed binary operation, commutative identity for all pairs, absence or optional presence of associativity identity inverses and idempotence, parenthesization sensitivity, homomorphisms and submagmas and relation to commutative semigroups and quasigroups are explicit, compare the nearest accepted identity, and report counterexamples, uncertainty, and limiting cases.

Relationships to Other Abstractions

Local relationship map for Commutative magmaParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Commutative magmaDOMAINPrime abstraction: Relation — is a kind ofRelationPRIME

Current abstraction Commutative magma Domain-specific

Parents (1) — outgoing typed relations

  • Commutative magma is a kind of Relation Prime

    It remains its own entry because its identity is fixed by the nonempty carrier set, total closed binary operation, commutative identity for all pairs, absence or optional presence of associativity identity inverses and idempotence, parenthesization sensitivity, homomorphisms and submagmas and relation to commutative semigroups and quasigroups.

Hierarchy path (1) — routes to 1 parentless root

  • Commutative magma → is a kind of Relation

Neighborhood in Abstraction Space

Commutative magma sits in a crowded region of the domain-specific corpus (9th percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Commutative Algebra & Ring Structures (28 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-10-25