Magma (algebra)
Template:Short description Script error: No such module "about". Template:Algebraic structures In abstract algebra, a magma, binar,[1] or, rarely, groupoid is a basic kind of algebraic structure. Specifically, a magma consists of a set equipped with a single binary operation that must be closed by definition. No other properties are imposed.
History and terminology
The term groupoid was introduced in 1927 by Heinrich Brandt describing his Brandt groupoid. The term was then appropriated by B. A. Hausmann and Øystein Ore (1937)[2] in the sense (of a set with a binary operation) used in this article. In a couple of reviews of subsequent papers in Zentralblatt, Brandt strongly disagreed with this overloading of terminology. The Brandt groupoid is a groupoid in the sense used in category theory, but not in the sense used by Hausmann and Ore. Nevertheless, influential books in semigroup theory, including Clifford and Preston (1961) and Howie (1995) use groupoid in the sense of Hausmann and Ore. Hollings (2014) writes that the term groupoid is "perhaps most often used in modern mathematics" in the sense given to it in category theory.[3]
According to Bergman and Hausknecht (1996): "There is no generally accepted word for a set with a not necessarily associative binary operation. The word groupoid is used by many universal algebraists, but workers in category theory and related areas object strongly to this usage because they use the same word to mean 'category in which all morphisms are invertible'. The term magma was used by Serre [Lie Algebras and Lie Groups, 1965]."[4] It also appears in Bourbaki's Script error: No such module "Lang"..[5]
Definition
A magma is a set M with an operation • that sends any two elements a, b ∈ M to another element, a • b ∈ M. The symbol • is a general placeholder for a properly defined operation. This requirement that for all a, b in M, the result of the operation a • b also be in M, is known as the magma or closure property. In mathematical notation:
If • is instead a partial operation, then (M, •) is called a partial magma[6] or, more often, a partial groupoid.[6][7]
Morphism of magmas
A morphism of magmas is a function f : M → N that maps a magma (M, •) to a magma (N, ∗) and preserves the binary operation:
- f (x • y) = f(x) ∗ f(y).
For example, with M equal to the positive real numbers and • as the geometric mean, N equal to the real number line, and ∗ as the arithmetic mean, a logarithm f is a morphism of the magma (M, •) to (N, ∗).
- proof:
Note that these commutative magmas are not associative; nor do they have an identity element. This morphism of magmas has been used in economics since 1863 when W. Stanley Jevons calculated the rate of inflation in 39 commodities in England in his A Serious Fall in the Value of Gold Ascertained, page 7.
Notation and combinatorics
The magma operation may be applied repeatedly, and in the general, non-associative case, the order matters, which is notated with parentheses. Also, the operation • is often omitted and notated by juxtaposition:
- (a • (b • c)) • d ≡ (a(bc))dScript error: No such module "Check for unknown parameters"..
A shorthand is often used to reduce the number of parentheses, in which the innermost operations and pairs of parentheses are omitted, being replaced just with juxtaposition: xy • z ≡ (x • y) • zScript error: No such module "Check for unknown parameters".. For example, the above is abbreviated to the following expression, still containing parentheses:
- (a • bc)dScript error: No such module "Check for unknown parameters"..
A way to avoid completely the use of parentheses is prefix notation, in which the same expression would be written ••a•bcdScript error: No such module "Check for unknown parameters".. Another way, familiar to programmers, is postfix notation (reverse Polish notation), in which the same expression would be written abc••d•Script error: No such module "Check for unknown parameters"., in which the order of execution is simply left-to-right (no currying).
The set of all possible strings consisting of symbols denoting elements of the magma, and sets of balanced parentheses is called the Dyck language. The total number of different ways of writing nScript error: No such module "Check for unknown parameters". applications of the magma operator is given by the Catalan number CnScript error: No such module "Check for unknown parameters".. Thus, for example, C2 = 2Script error: No such module "Check for unknown parameters"., which is just the statement that (ab)cScript error: No such module "Check for unknown parameters". and a(bc)Script error: No such module "Check for unknown parameters". are the only two ways of pairing three elements of a magma with two operations. Less trivially, C3 = 5Script error: No such module "Check for unknown parameters".: ((ab)c)dScript error: No such module "Check for unknown parameters"., (a(bc))dScript error: No such module "Check for unknown parameters"., (ab)(cd)Script error: No such module "Check for unknown parameters"., a((bc)d)Script error: No such module "Check for unknown parameters"., and a(b(cd))Script error: No such module "Check for unknown parameters"..
There are nn2Script error: No such module "Check for unknown parameters". magmas with nScript error: No such module "Check for unknown parameters". elements, so there are 1, 1, 16, 19683, Script error: No such module "val"., ... (sequence A002489 in the OEIS) magmas with 0, 1, 2, 3, 4, ... elements. The corresponding numbers of non-isomorphic magmas are 1, 1, 10, 3330, Script error: No such module "val"., ... (sequence A001329 in the OEIS) and the numbers of simultaneously non-isomorphic and non-antiisomorphic magmas are 1, 1, 7, 1734, Script error: No such module "val"., ... (sequence A001424 in the OEIS).[8]
Free magma
A free magma MX on a set X is the "most general possible" magma generated by X (i.e., there are no relations or axioms imposed on the generators; see free object). The binary operation on MX is formed by wrapping each of the two operands in parentheses and juxtaposing them in the same order. For example:
- a • b = (a)(b),Script error: No such module "Check for unknown parameters".
- a • (a • b) = (a)((a)(b)),Script error: No such module "Check for unknown parameters".
- (a • a) • b = ((a)(a))(b).Script error: No such module "Check for unknown parameters".
MX can be described as the set of non-associative words on X with parentheses retained.[9]
It can also be viewed, in terms familiar in computer science, as the magma of full binary trees with leaves labelled by elements of X. The operation is that of joining trees at the root.
A free magma has the universal property that if f : X → N is a function from X to any magma N, then there is a unique extension of f to a morphism of magmas Template:ItcoTemplate:Prime
- Template:ItcoTemplate:Prime : MX → N.
Script error: No such module "Labelled list hatnote".
Types of magma
Template:Dark mode invert Magmas are not often studied as such; instead there are several different kinds of magma, depending on what axioms the operation is required to satisfy. Commonly studied types of magma include:
- Quasigroup: A magma where division is always possible.
- Loop: A quasigroup with an identity element.
- Semigroup: A magma where the operation is associative.
- Monoid: A semigroup with an identity element.
- Group: A magma with inverse, associativity, and an identity element.
Note that each of divisibility and invertibility imply the cancellation property.
- Magmas with commutativity
- Commutative magma: A magma with commutativity.
- Commutative monoid: A monoid with commutativity.
- Abelian group: A group with commutativity.
Classification by properties
| Total | Associative | Identity | <templatestyles src="Template:Tooltip/styles.css" />DivisibleScript error: No such module "Check for unknown parameters". | Commutative | |
|---|---|---|---|---|---|
| Partial magma | Unneeded | Unneeded | Unneeded | Unneeded | Unneeded |
| Semigroupoid | Unneeded | Required | Unneeded | Unneeded | Unneeded |
| Small category | Unneeded | Required | Required | Unneeded | Unneeded |
| Groupoid | Unneeded | Required | Required | Required | Unneeded |
| Magma | Required | Unneeded | Unneeded | Unneeded | Unneeded |
| Quasigroup | Required | Unneeded | Unneeded | Required | Unneeded |
| Unital magma | Required | Unneeded | Required | Unneeded | Unneeded |
| Loop | Required | Unneeded | Required | Required | Unneeded |
| Semigroup | Required | Required | Unneeded | Unneeded | Unneeded |
| Monoid | Required | Required | Required | Unneeded | Unneeded |
| Group | Required | Required | Required | Required | Unneeded |
| Abelian group | Required | Required | Required | Required | Required |
A magma (S, •)Script error: No such module "Check for unknown parameters"., with x, y, u, zScript error: No such module "Check for unknown parameters". ∈ SScript error: No such module "Check for unknown parameters"., is called
- Medial
- If it satisfies the identity xy • uz ≡ xu • yzScript error: No such module "Check for unknown parameters".
- Left semimedial
- If it satisfies the identity xx • yz ≡ xy • xzScript error: No such module "Check for unknown parameters".
- Right semimedial
- If it satisfies the identity yz • xx ≡ yx • zxScript error: No such module "Check for unknown parameters".
- Semimedial
- If it is both left and right semimedial
- Left distributive
- If it satisfies the identity x • yz ≡ xy • xzScript error: No such module "Check for unknown parameters".
- Right distributive
- If it satisfies the identity yz • x ≡ yx • zxScript error: No such module "Check for unknown parameters".
- Autodistributive
- If it is both left and right distributive
- Commutative
- If it satisfies the identity xy ≡ yxScript error: No such module "Check for unknown parameters".
- Idempotent
- If it satisfies the identity xx ≡ xScript error: No such module "Check for unknown parameters".
- Unipotent
- If it satisfies the identity xx ≡ yyScript error: No such module "Check for unknown parameters".
- Zeropotent
- If it satisfies the identities xx • y ≡ xx ≡ y • xxScript error: No such module "Check for unknown parameters".[10]
- Alternative
- If it satisfies the identities xx • y ≡ x • xyScript error: No such module "Check for unknown parameters". and x • yy ≡ xy • yScript error: No such module "Check for unknown parameters".
- Power-associative
- If the submagma generated by any element is associative
- Flexible
- if xy • x ≡ x • yxScript error: No such module "Check for unknown parameters".
- Associative
- If it satisfies the identity x • yz ≡ xy • zScript error: No such module "Check for unknown parameters"., called a semigroup
- A left unar
- If it satisfies the identity xy ≡ xzScript error: No such module "Check for unknown parameters".
- A right unar
- If it satisfies the identity yx ≡ zxScript error: No such module "Check for unknown parameters".
- Semigroup with zero multiplication, or null semigroup
- If it satisfies the identity xy ≡ uvScript error: No such module "Check for unknown parameters".
- Script error: No such module "anchor".Unital
- If it has an identity element
- Left-cancellative
- If, for all x, y, zScript error: No such module "Check for unknown parameters"., relation xy = xzScript error: No such module "Check for unknown parameters". implies y = zScript error: No such module "Check for unknown parameters".
- Right-cancellative
- If, for all x, y, zScript error: No such module "Check for unknown parameters"., relation yx = zxScript error: No such module "Check for unknown parameters". implies y = zScript error: No such module "Check for unknown parameters".
- Cancellative
- If it is both right-cancellative and left-cancellative
- A semigroup with left zeros
- If it is a semigroup and it satisfies the identity xy ≡ xScript error: No such module "Check for unknown parameters".
- A semigroup with right zeros
- If it is a semigroup and it satisfies the identity yx ≡ xScript error: No such module "Check for unknown parameters".
- Trimedial
- If any triple of (not necessarily distinct) elements generates a medial submagma
- Entropic
- If it is a homomorphic image of a medial cancellation magma.[11]
- Central
- If it satisfies the identity xy • yz ≡ yScript error: No such module "Check for unknown parameters".
Number of magmas satisfying given properties
| Idempotence | Commutative property | Associative property | Cancellation property | OEIS sequence (labeled) | OEIS sequence (isomorphism classes) |
|---|---|---|---|---|---|
| Unneeded | Unneeded | Unneeded | Unneeded | A002489 | A001329 |
| Required | Unneeded | Unneeded | Unneeded | A090588 | A030247 |
| Unneeded | Required | Unneeded | Unneeded | A023813 | A001425 |
| Unneeded | Unneeded | Required | Unneeded | A023814 | A001423 |
| Unneeded | Unneeded | Unneeded | Required | A002860 add a(0)=1 | A057991 |
| Required | Required | Unneeded | Unneeded | A076113 | A030257 |
| Required | Unneeded | Required | Unneeded | ||
| Required | Unneeded | Unneeded | Required | ||
| Unneeded | Required | Required | Unneeded | A023815 | A001426 |
| Unneeded | Required | Unneeded | Required | A057992 | |
| Unneeded | Unneeded | Required | Required | A034383 add a(0)=1 | A000001 with a(0)=1 instead of 0 |
| Required | Required | Required | Unneeded | ||
| Required | Required | Unneeded | Required | a(n)=1 for n=0 and all odd n, a(n)=0 for all even n≥2 | |
| Required | Unneeded | Required | Required | a(0)=a(1)=1, a(n)=0 for all n≥2 | a(0)=a(1)=1, a(n)=0 for all n≥2 |
| Unneeded | Required | Required | Required | A034382 add a(0)=1 | A000688 add a(0)=1 |
| Required | Required | Required | Required | a(0)=a(1)=1, a(n)=0 for all n≥2 | a(0)=a(1)=1, a(n)=0 for all n≥2 |
Category of magmas
The category of magmas, denoted Mag, is the category whose objects are magmas and whose morphisms are magma homomorphisms. The category Mag has direct products, and there is an inclusion functor: Set ↪ Mag as trivial magmas, with operations given by projection x T y = y Script error: No such module "Check for unknown parameters".. More generally, because Mag is algebraic, it is a complete category.[12]
An important property is that an injective endomorphism can be extended to an automorphism of a magma extension, just the colimit of the (constant sequence of the) endomorphism.
See also
- Universal algebra
- Magma computer algebra system, named after the object of this article.
- Commutative magma
- Algebraic structures whose axioms are all identities
- Groupoid algebra
- Hall set
References
<templatestyles src="Reflist/styles.css" />
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1"..
- ↑ Script error: No such module "citation/CS1"..
- ↑ Script error: No such module "citation/CS1"..
- ↑ Script error: No such module "citation/CS1"..
- ↑ a b Script error: No such module "citation/CS1"..
- ↑ Script error: No such module "citation/CS1"..
- ↑ Script error: No such module "Template wrapper".
- ↑ Script error: No such module "citation/CS1"..
- ↑ Script error: No such module "citation/CS1"..
- ↑ Script error: No such module "citation/CS1"..
- ↑ Script error: No such module "citation/CS1".
Script error: No such module "Check for unknown parameters". <templatestyles src="Refbegin/styles.css" />
- Template:Springer
- Template:Springer
- Template:Springer
- Script error: No such module "Template wrapper".
Further reading
- Script error: No such module "citation/CS1".