Magma (algebra)

Last updated

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.

Contents

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) [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 Éléments de mathématique, Algèbre, chapitres 1 à 3, 1970. [5]

Definition

A magma is a set M matched with an operation • that sends any two elements a, bM to another element, abM. 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 operation ab is also in M.

And 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 : MN that maps magma (M, •) to magma (N, ∗) that preserves the binary operation:

f (xy) = f(x) ∗ f(y).

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 are nn2 magmas with n elements, so there are 1, 1, 16, 19683, 4294967296, ... (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, 178981952, ... (sequence A001329 in the OEIS ) and the numbers of simultaneously non-isomorphic and non-antiisomorphic magmas are 1, 1, 7, 1734, 89521056, ... (sequence A001424 in the OEIS ). [8]

Free magma

A free magmaMX 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:

ab = (a)(b),
a • (ab) = (a)((a)(b)),
(aa) • b = ((a)(a))(b).

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. 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 : MXN.

Types of magma

Algebraic structures from magmas to groups Magma to group4.svg
Algebraic structures from magmas to groups

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:

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

Magmas with commutativity

Classification by properties

Group-like structures
Totality α Associativity Identity Divisibility β Commutativity
Partial magma UnneededUnneededUnneededUnneededUnneeded
Semigroupoid UnneededRequiredUnneededUnneededUnneeded
Small category UnneededRequiredRequiredUnneededUnneeded
Groupoid UnneededRequiredRequiredRequiredUnneeded
Magma RequiredUnneededUnneededUnneededUnneeded
Quasigroup RequiredUnneededUnneededRequiredUnneeded
Unital magma RequiredUnneededRequiredUnneededUnneeded
Loop RequiredUnneededRequiredRequiredUnneeded
Semigroup RequiredRequiredUnneededUnneededUnneeded
Associative quasigroup RequiredRequiredUnneededRequiredUnneeded
Monoid RequiredRequiredRequiredUnneededUnneeded
Commutative monoid RequiredRequiredRequiredUnneededRequired
Group RequiredRequiredRequiredRequiredUnneeded
Abelian group RequiredRequiredRequiredRequiredRequired
The closure axiom, used by many sources and defined differently, is equivalent.
Here, divisibility refers specifically to the quasigroup axioms.

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

Medial
If it satisfies the identity xyuzxuyz
Left semimedial
If it satisfies the identity xxyzxyxz
Right semimedial
If it satisfies the identity yzxxyxzx
Semimedial
If it is both left and right semimedial
Left distributive
If it satisfies the identity xyzxyxz
Right distributive
If it satisfies the identity yzxyxzx
Autodistributive
If it is both left and right distributive
Commutative
If it satisfies the identity xyyx
Idempotent
If it satisfies the identity xxx
Unipotent
If it satisfies the identity xxyy
Zeropotent
If it satisfies the identities xxyxxyxx [10]
Alternative
If it satisfies the identities xxyxxy and xyyxyy
Power-associative
If the submagma generated by any element is associative
Flexible
if xyxxyx
Associative
If it satisfies the identity xyzxyz, called a semigroup
A left unar
If it satisfies the identity xyxz
A right unar
If it satisfies the identity yxzx
Semigroup with zero multiplication, or null semigroup
If it satisfies the identity xyuv
Unital
If it has an identity element
Left-cancellative
If, for all x, y, z, relation xy = xz implies y = z
Right-cancellative
If, for all x, y, z, relation yx = zx implies y = z
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 xyx
A semigroup with right zeros
If it is a semigroup and it satisfies the identity yxx
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]

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 → Med ↪ Mag as trivial magmas, with operations given by projection x T y = y.

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.

Because the singleton ({*}, *) is the terminal object of Mag, and because Mag is algebraic, Mag is pointed and complete. [12]

See also

Related Research Articles

<span class="mw-page-title-main">Associative property</span> Property of a mathematical operation

In mathematics, the associative property is a property of some binary operations, which means that rearranging the parentheses in an expression will not change the result. In propositional logic, associativity is a valid rule of replacement for expressions in logical proofs.

In abstract algebra, an alternative algebra is an algebra in which multiplication need not be associative, only alternative. That is, one must have

<span class="mw-page-title-main">Binary operation</span> Mathematical operation with two operands

In mathematics, a binary operation or dyadic operation is a rule for combining two elements to produce another element. More formally, a binary operation is an operation of arity two.

<span class="mw-page-title-main">Monoid</span> Algebraic structure with an associative operation and an identity element

In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.

<span class="mw-page-title-main">Quasigroup</span> Magma obeying the Latin square property

In mathematics, especially in abstract algebra, a quasigroup is an algebraic structure resembling a group in the sense that "division" is always possible. Quasigroups differ from groups mainly in that the associative and identity element properties are optional.

<span class="mw-page-title-main">Semigroup</span> Algebraic structure consisting of a set with an associative binary operation

In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative internal binary operation on it.

In mathematics, the concept of an inverse element generalises the concepts of opposite and reciprocal of numbers.

In algebra, a unit or invertible element of a ring is an invertible element for the multiplication of the ring. That is, an element u of a ring R is a unit if there exists v in R such that

In mathematics, the Jacobi identity is a property of a binary operation that describes how the order of evaluation, the placement of parentheses in a multiple product, affects the result of the operation. By contrast, for operations with the associative property, any order of evaluation gives the same result. The identity is named after the German mathematician Carl Gustav Jacob Jacobi.

In abstract algebra, a medial magma or medial groupoid is a magma or groupoid (that is, a set with a binary operation) that satisfies the identity

In mathematics, a Moufang loop is a special kind of algebraic structure. It is similar to a group in many ways but need not be associative. Moufang loops were introduced by Ruth Moufang (1935). Smooth Moufang loops have an associated algebra, the Malcev algebra, similar in some ways to how a Lie group has an associated Lie algebra.

In abstract algebra, a Jordan algebra is a nonassociative algebra over a field whose multiplication satisfies the following axioms:

  1. .

In abstract algebra, the term associator is used in different ways as a measure of the non-associativity of an algebraic structure. Associators are commonly studied as triple systems.

In universal algebra, a variety of algebras or equational class is the class of all algebraic structures of a given signature satisfying a given set of identities. For example, the groups form a variety of algebras, as do the abelian groups, the rings, the monoids etc. According to Birkhoff's theorem, a class of algebraic structures of the same signature is a variety if and only if it is closed under the taking of homomorphic images, subalgebras, and (direct) products. In the context of category theory, a variety of algebras, together with its homomorphisms, forms a category; these are usually called finitary algebraic categories.

In mathematics, a Malcev algebra over a field is a nonassociative algebra that is antisymmetric, so that

In mathematics, many types of algebraic structures are studied. Abstract algebra is primarily the study of specific algebraic structures and their properties. Algebraic structures may be viewed in different ways, however the common starting point of algebra texts is that an algebraic object incorporates one or more sets with one or more binary operations or unary operations satisfying a collection of axioms.

In mathematics, a band is a semigroup in which every element is idempotent. Bands were first studied and named by A. H. Clifford.

In abstract algebra, a semiheap is an algebraic structure consisting of a non-empty set H with a ternary operation denoted that satisfies a modified associativity property:

A non-associative algebra (or distributive algebra) is an algebra over a field where the binary multiplication operation is not assumed to be associative. That is, an algebraic structure A is a non-associative algebra over a field K if it is a vector space over K and is equipped with a K-bilinear binary multiplication operation A × AA which may or may not be associative. Examples include Lie algebras, Jordan algebras, the octonions, and three-dimensional Euclidean space equipped with the cross product operation. Since it is not assumed that the multiplication is associative, using parentheses to indicate the order of multiplications is necessary. For example, the expressions (ab)(cd), (a(bc))d and a(b(cd)) may all yield different answers.

In mathematics, particularly in abstract algebra, a semigroup with involution or a *-semigroup is a semigroup equipped with an involutive anti-automorphism, which—roughly speaking—brings it closer to a group because this involution, considered as unary operator, exhibits certain fundamental properties of the operation of taking the inverse in a group: uniqueness, double application "cancelling itself out", and the same interaction law with the binary operation as in the case of the group inverse. It is thus not a surprise that any group is a semigroup with involution. However, there are significant natural examples of semigroups with involution that are not groups.

References

  1. Bergman, Clifford (2011), Universal Algebra: Fundamentals and Selected Topics, CRC Press, ISBN   978-1-4398-5130-2
  2. Hausmann, B. A.; Ore, Øystein (October 1937), "Theory of quasi-groups", American Journal of Mathematics, 59 (4): 983–1004, doi:10.2307/2371362, JSTOR   2371362 .
  3. Hollings, Christopher (2014), Mathematics across the Iron Curtain: A History of the Algebraic Theory of Semigroups, American Mathematical Society, pp. 142–143, ISBN   978-1-4704-1493-1 .
  4. Bergman, 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 .
  5. Bourbaki, 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 .
  6. 1 2 Mü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 .
  7. Evseev, 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 .
  8. Weisstein, Eric W. "Groupoid". MathWorld .
  9. Rowen, Louis Halle (2008), "Definition 21B.1.", Graduate Algebra: Noncommutative View, Graduate Studies in Mathematics, American Mathematical Society, p. 321, ISBN   0-8218-8408-5 .
  10. Kepka, T.; Němec, P. (1996), "Simple balanced groupoids" (PDF), Acta Universitatis Palackianae Olomucensis. Facultas Rerum Naturalium. Mathematica, 35 (1): 53–60.
  11. Ježek, Jaroslav; Kepka, Tomáš (1981), "Free entropic groupoids" (PDF), Commentationes Mathematicae Universitatis Carolinae, 22 (2): 223–233, MR   0620359 .
  12. Borceux, Francis; Bourn, Dominique (2004). Mal'cev, protomodular, homological and semi-abelian categories. Springer. pp. 7, 19. ISBN   1-4020-1961-0.

Further reading