Everipedia Logo
Everipedia is now IQ.wiki - Join the IQ Brainlist and our Discord for early access to editing on the new platform and to participate in the beta testing.
Magma (algebra)

Magma (algebra)

In abstract algebra, a magma (or groupoid; not to be confused with groupoids in category theory) is a basic kind of algebraic structure. Specifically, a magma consists of a set equipped with a single binary operation. The binary operation must be closed by definition but no other properties are imposed.

History and terminology

The term groupoid was introduced in 1927 by Heinrich Brandt describing his Brandt groupoid (translated from the German Gruppoid). The term was then appropriated by B. A. Hausmann and Øystein Ore (1937)[1] 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.[2]

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]."[3] It also appears in Bourbaki's Éléments de mathématique, Algèbre, chapitres 1 à 3, 1970.[4]

Definition

A magma is a set M matched with an operation, •, that sends any two elements a, bM to another element, ab. The symbol, •, is a general placeholder for a properly defined operation. To qualify as a magma, the set and operation (M, •) must satisfy the following requirement (known as the magma or closure axiom):

For all a, b in M, the result of the operationabis also in M.

And in mathematical notation:

.

If • is instead a partial operation, then S is called a partial magma[5] or more often a partial groupoid.[5][6]

Morphism of magmas

A morphism of magmas is a function, f : MN, mapping magma M to magma N, that preserves the binary operation:

f (xMy) = f(x) •Nf(y)

where •M and •N denote the binary operation on M and N respectively.

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 • (bc)) • d = (a(bc))d

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, xyz = (xy) • z. For example, the above is abbreviated to the following expression, still containing parentheses:

(abc)d.

A way to avoid completely the use of parentheses is prefix notation, in which the same expression would be written ••abcd. Another way, familiar to programmers, is postfix notation (Reverse Polish notation), in which the same expression would be written abc••d•, 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 n applications of the magma operator is given by the Catalan number, Cn. Thus, for example, C2 = 2, which is just the statement that (ab)c and a(bc) are the only two ways of pairing three elements of a magma with two operations. Less trivially, C3 = 5: ((ab)c)d, (a(bc))d, (ab)(cd), a((bc)d), and a(b(cd)).

There aremagmas withelements so 1, 1, 16, 19683, 4294967296, ... (sequenceA002489in theOEIS) magmas with 0, 1, 2, 3, 4, ... elements. The corresponding numbers of non-isomorphic magmas are 1, 1, 10, 3330, 178981952, ... (sequenceA001329in theOEIS) and of simultaneously non-isomorphic and non-antiisomorphicmagmas are 1, 1, 7, 1734, 89521056, ... (sequenceA001424in theOEIS).[7]

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). It can be described as the set of non-associative words on X with parentheses retained.[8]

It can also be viewed, in terms familiar in computer science, as the magma of binary trees with leaves labelled by elements of X. The operation is that of joining trees at the root. It therefore has a foundational role in syntax.

A free magma has the universal property such that, if f : XN is a function from X to any magma, N, then there is a unique extension of f to a morphism of magmas, f ′

f ′ : *MX
  • N.

Types of magma

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:

QuasigroupA magma wheredivisionis always possibleLoopA quasigroup with anidentity elementSemigroupA magma where the operation isassociativeSemilatticeA semigroup where the operation iscommutativeandidempotentMonoidA semigroup with anidentity elementGroupA monoid withinverse elements, or equivalently, an associative loop, or a non-empty associative quasigroupAbelian groupA group where the operation is commutative

Note that each of divisibility and invertibility imply the cancellation property.

Classification by properties

Group-like structures
TotalityαAssociativityIdentityInvertibilityCommutativity
SemigroupoidUnneededRequiredUnneededUnneededUnneeded
Small CategoryUnneededRequiredRequiredUnneededUnneeded
GroupoidUnneededRequiredRequiredRequiredUnneeded
MagmaRequiredUnneededUnneededUnneededUnneeded
QuasigroupRequiredUnneededUnneededRequiredUnneeded
LoopRequiredUnneededRequiredRequiredUnneeded
SemigroupRequiredRequiredUnneededUnneededUnneeded
Inverse SemigroupRequiredRequiredUnneededRequiredUnneeded
MonoidRequiredRequiredRequiredUnneededUnneeded
GroupRequiredRequiredRequiredRequiredUnneeded
Abelian groupRequiredRequiredRequiredRequiredRequired
Closure, which is used in many sources, is an equivalent axiom to totality, though defined differently.

A magma (S, •), with x, y, u, zS, is called

MedialIf it satisfies the identity,xyuzxuyzLeft semimedialIf it satisfies the identity,xxyzxyxzRight semimedialIf it satisfies the identity,yzxxyxzxSemimedialIf it is both left and right semimedialLeft distributiveIf it satisfies the identity,xyzxyxzRight distributiveIf it satisfies the identity,yzxyxzxAutodistributiveIf it is both left and right distributiveCommutativeIf it satisfies the identity,xyyxIdempotentIf it satisfies the identity,xxxUnipotentIf it satisfies the identity,xxyyZeropotentIf it satisfies the identities,xxyxxyxx[9]AlternativeIf it satisfies the identitiesxxyxxyandxyyxyyPower-associativeIf the submagma generated by any element is associativeAsemigroup, orassociativeIf it satisfies the identity,xyzxyzA left unarIf it satisfies the identity,xyxzA right unarIf it satisfies the identity,yxzxSemigroup with zero multiplication, ornull semigroupIf it satisfies the identity,xyuvUnitalIf it has an identity elementLeft-cancellativeIf, for allx, y, and,z,xy = xzimpliesy = zRight-cancellativeIf, for allx, y, and,z,yx = zximpliesy = zCancellativeIf it is both right-cancellative and left-cancellativeAsemigroup with left zerosIf it is a semigroup and, for allx, the identity,xxy, holdsAsemigroup with right zerosIf it is a semigroup and, for allx, the identity,xyx, holdsTrimedialIf any triple of (not necessarily distinct) elements generates a medial submagmaEntropicIf it is ahomomorphic imageof a medialcancellationmagma.[10]

Generalizations

See n-ary group.

See also

  • Magma category

  • Auto magma object

  • Universal algebra

  • Magma computer algebra system, named after the object of this article.

  • Commutative non-associative magmas

  • Algebraic structures whose axioms are all identities

  • Groupoid algebra

References

[1]
Citation Link//www.jstor.org/stable/2371362Hausmann, B. A.; Ore, Øystein (October 1937), "Theory of quasi-groups", American Journal of Mathematics, 59 (4): 983–1004, doi:10.2307/2371362, JSTOR 2371362
Sep 22, 2019, 7:28 PM
[2]
Citation Linkbooks.google.comHollings, Christopher (2014), Mathematics across the Iron Curtain: A History of the Algebraic Theory of Semigroups, American Mathematical Society, pp. 142–3, ISBN 978-1-4704-1493-1
Sep 22, 2019, 7:28 PM
[3]
Citation Linkbooks.google.comBergman, George M.; Hausknecht, Adam O. (1996), Cogroups and Co-rings in Categories of Associative Rings, American Mathematical Society, p. 61, ISBN 978-0-8218-0495-7
Sep 22, 2019, 7:28 PM
[4]
Citation Linkbooks.google.comBourbaki, N. (1998) [1970], "Algebraic Structures: §1.1 Laws of Composition: Definition 1", Algebra I: Chapters 1–3, Springer, p. 1, ISBN 978-3-540-64243-5
Sep 22, 2019, 7:28 PM
[5]
Citation Linkbooks.google.comMüller-Hoissen, Folkert; Pallo, Jean Marcel; Stasheff, Jim, eds. (2012), Associahedra, Tamari Lattices and Related Structures: Tamari Memorial Festschrift, Springer, p. 11, ISBN 978-3-0348-0405-9
Sep 22, 2019, 7:28 PM
[6]
Citation Linkopenlibrary.orgEvseev, A. E. (1988), "A survey of partial groupoids", in Silver, Ben (ed.), Nineteen Papers on Algebraic Semigroups, American Mathematical Society, ISBN 0-8218-3115-1
Sep 22, 2019, 7:28 PM
[7]
Citation Linkmathworld.wolfram.comWeisstein, Eric W. "Groupoid". MathWorld.
Sep 22, 2019, 7:28 PM
[8]
Citation Linkbooks.google.comRowen, Louis Halle (2008), "Definition 21B.1.", Graduate Algebra: Noncommutative View, Graduate Studies in Mathematics, American Mathematical Society, p. 321, ISBN 0-8218-8408-5
Sep 22, 2019, 7:28 PM
[9]
Citation Linkdml.czKepka, T.; Němec, P. (1996), "Simple balanced groupoids" (PDF), Acta Universitatis Palackianae Olomucensis. Facultas Rerum Naturalium. Mathematica, 35 (1): 53–60
Sep 22, 2019, 7:28 PM
[10]
Citation Link//www.ams.org/mathscinet-getitem?mr=0620359Ježek, Jaroslav; Kepka, Tomáš (1981), "Free entropic groupoids" (PDF), Commentationes Mathematicae Universitatis Carolinae, 22 (2): 223–233, MR 0620359.
Sep 22, 2019, 7:28 PM
[11]
Citation Linkwww.encyclopediaofmath.org"Magma"
Sep 22, 2019, 7:28 PM
[12]
Citation Linkwww.encyclopediaofmath.org"Groupoid"
Sep 22, 2019, 7:28 PM
[13]
Citation Linkwww.encyclopediaofmath.org"Free magma"
Sep 22, 2019, 7:28 PM
[14]
Citation Linkmathworld.wolfram.com"Groupoid"
Sep 22, 2019, 7:28 PM
[15]
Citation Linkdoi.org10.2307/2371362
Sep 22, 2019, 7:28 PM
[16]
Citation Linkwww.jstor.org2371362
Sep 22, 2019, 7:28 PM
[17]
Citation Linkbooks.google.comMathematics across the Iron Curtain: A History of the Algebraic Theory of Semigroups
Sep 22, 2019, 7:28 PM
[18]
Citation Linkbooks.google.comCogroups and Co-rings in Categories of Associative Rings
Sep 22, 2019, 7:28 PM
[19]
Citation Linkbooks.google.com"Algebraic Structures: §1.1 Laws of Composition: Definition 1"
Sep 22, 2019, 7:28 PM
[20]
Citation Linkbooks.google.comAssociahedra, Tamari Lattices and Related Structures: Tamari Memorial Festschrift
Sep 22, 2019, 7:28 PM