Semiring

Semiring

In abstract algebra, a semiring is an algebraic structure similar to a ring, but without the requirement that each element must have an additive inverse. The term rig is also used occasionally—this originated as a joke, suggesting that rigs are rings without negative elements.

Contents

Definition

A semiring is a set R equipped with two binary operations + and ·, called addition and multiplication, such that:[1]

  1. (R, +) is a commutative monoid with identity element 0:
    1. (a + b) + c = a + (b + c)
    2. 0 + a = a + 0 = a
    3. a + b = b + a
  2. (R, ·) is a monoid with identity element 1:
    1. (a·bc = a·(b·c)
    2. a = a·1 = a
  3. Multiplication distributes over addition:
    1. a·(b + c) = (a·b) + (a·c)
    2. (a + bc = (a·c) + (b·c)
  4. 0 annihilates R, with respect to multiplication:
    1. a = a·0 = 0

This last axiom is omitted from the definition of a ring: it follows automatically from the other ring axioms. Here it does not, and it is necessary to state it in the definition.

The difference between rings and semirings, then, is that addition yields only a commutative monoid, not necessarily a commutative group. Specifically, elements in semirings do not necessarily have an inverse for the addition.

The symbol · is usually omitted from the notation; that is, a·b is just written ab. Similarly, an order of operations is accepted, according to which · is applied before +; that is, a + bc is a + (bc).

A commutative semiring is one whose multiplication is commutative. An idempotent semiring (also known as a dioid) is one whose addition is idempotent: a + a = a, that is, (R, +, 0) is a join-semilattice with zero.

There are some authors who prefer to leave out the requirement that a semiring have a 0 or 1. This makes the analogy between ring and semiring on the one hand and group and semigroup on the other hand work more smoothly. These authors often use rig for the concept defined here.

Examples

In general

  • Any ring is also a semiring.
  • The ideals of a ring form a semiring under addition and multiplication of ideals.
  • Any unital, quantale is an idempotent semiring, or dioid, under join and multiplication.
  • Any bounded, distributive lattice is a commutative, idempotent semiring under join and meet.
  • In particular, a Boolean algebra is such a semiring. A Boolean ring is also a semiring—indeed, a ring—but it is not idempotent under addition.
  • A normal skew lattice in a ring R is an idempotent semiring for the operations multiplication and nabla, where the latter operation is defined by a\nabla b=a+b+ba-aba-bab.
  • A Kleene algebra is an idempotent semiring R with an additional unary operator * : RR called the Kleene star. Kleene algebras are important in the theory of formal languages and regular expressions.

Specific examples

  • The motivating example of a semiring is the set of natural numbers N (including zero) under ordinary addition and multiplication. Likewise, the non-negative rational numbers and the non-negative real numbers form semirings. All these semirings are commutative.
  • The square n-by-n matrices with non-negative entries form a (non-commutative) semiring under ordinary addition and multiplication of matrices. More generally, this likewise applies to the square matrices whose entries are elements of any other given semiring S, and the semiring is generally non-commutative even though S may be commutative.
  • If A is a commutative monoid, the set End(A) of endomorphisms f:A→A form a semiring, where addition is pointwise addition and multiplication is function composition. The zero morphism and the identity are the respective neutral elements. If A is the additive monoid of natural numbers we obtain the semiring of natural numbers as End(A), and if A=S^n with S a semiring, we obtain (after associating each morphism to a matrix) the semiring of square n-by-n matrices with coefficients in S.
  • The simplest example of a semiring which is not a ring is the commutative semiring B formed by the two-element Boolean algebra.
  • N[x], polynomials with natural number coefficients form a commutative semiring. In fact, this is the free commutative semiring on a single generator {x}.
  • Of course, rings such as the integers or the real numbers are also examples of semirings.
  • The tropical semiring, R ∪ {−∞}, is a commutative, idempotent semiring with max(a,b) serving as semiring addition (identity −∞) and ordinary addition (identity 0) serving as semiring multiplication. In an alternative formulation, the tropical semiring is R ∪ {∞}, and min replaces max as the addition operation.
  • The set of cardinal numbers smaller than any given infinite cardinal form a semiring under cardinal addition and multiplication. The set of all cardinals of an inner model form a semiring under (inner model) cardinal addition and multiplication.

Semiring theory

Much of the theory of rings continues to make sense when applied to arbitrary semirings. In particular, one can generalise the theory of algebras over commutative rings directly to a theory of algebras over commutative semirings. Then a ring is simply an algebra over the commutative semiring Z of integers. Some mathematicians go so far as to say that semirings are really the more fundamental concept, and specialising to rings should be seen in the same light as specialising to, say, algebras over the complex numbers.

Idempotent semirings are special to semiring theory as any ring which is idempotent under addition is trivial. One can define a partial order ≤ on an idempotent semiring by setting ab whenever a + b = b (or, equivalently, if there exists an x such that a + x = b). It is easy to see that 0 is the least element with respect to this order: 0 ≤ a for all a. Addition and multiplication respect the ordering in the sense that ab implies acbc and cacb and (a+c) ≤ (b+c).

Further generalizations

A near-ring does not require addition to be commutative, nor does it require right-distributivity. Just as cardinal numbers form a semiring, so do ordinal numbers form a near-ring.

In category theory, a 2-ring is a category with functorial operations analogous to those of a ring. That the cardinal numbers form a ring can be categorified to say that the category of sets (or more generally, any topos) is a 2-ring.

Applications

Dioids, especially the (max, +) and (min, +) dioids on the reals, are often used in performance evaluation on discrete event systems. The real numbers then are the "costs" or "arrival time"; the "max" operation corresponds to having to wait for all prerequisites of an events (thus taking the maximal time) while the "min" operation corresponds to being able to choose the best, less costly choice; and + corresponds to accumulation along the same path.

The Floyd-Warshall algorithm for shortest paths can thus be reformulated as a computation over a (min, +) algebra. Similarly, the Viterbi algorithm for finding the most probable state sequence corresponding to an observation sequence in a Hidden Markov model can also be formulated as a computation over a (max, ×) algebra on probabilities. These dynamic programming algorithms rely on the distributive property of their associated semirings to compute quantities over a large (possibly exponential) number of terms more efficiently than enumerating each of them.

Semiring of sets

A semiring (of sets)[2] is a non-empty collection S of sets such that

  1. \emptyset \in S
  2. If E \in S and F \in S then E \cap F \in S.
  3. If E \in S and F \in S then there exists a finite number of mutually disjoint sets C_i \in S for i=1,\ldots,n such that E \setminus F = \cup_{i=1}^n C_i.

Such semirings are used in measure theory. An example of a semiring of sets is the collection of half-open, half-closed real intervals [a,b) \subset \mathbb{R}.

See also

Bibliography

  1. ^ Berstel & Perrin (1985), p. 26
  2. ^ Noel Vaillant, Caratheodory's Extension, on probability.net.
  • François Baccelli, Guy Cohen, Geert Jan Olsder, Jean-Pierre Quadrat, Synchronization and Linearity (online version), Wiley, 1992, ISBN 0 471 93609 X
  • Golan, Jonathan S., Semirings and their applications. Updated and expanded version of The theory of semirings, with applications to mathematics and theoretical computer science (Longman Sci. Tech., Harlow, 1992, MR1163371. Kluwer Academic Publishers, Dordrecht, 1999. xii+381 pp. ISBN 0-7923-5786-8 MR1746739
  • Berstel, Jean; Perrin, Dominique (1985). Theory of codes. Pure and applied mathematics. 117. Academic Press. ISBN 9780120934201. 

Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Semiring — Sem i*ring (s[e^]m [i^]*r[i^]ng ), n. (Anat.) One of the incomplete rings of the upper part of the bronchial tubes of most birds. The semirings form an essential part of the syrinx, or musical organ, of singing birds. [1913 Webster] …   The Collaborative International Dictionary of English

  • Semiring — Original name in latin Semiring Name in other language Semering, Semiring State code ID Continent/City Asia/Jakarta longitude 7.63 latitude 114.0222 altitude 7 Population 0 Date 2012 01 17 …   Cities with a population over 1000 database

  • Semiring — Der Ausdruck Halbring bzw. Semiring bezeichnet in der Mathematik eine algebraische Struktur, siehe Halbring (Algebraische Struktur) ein Mengensystem, siehe Halbring (Mengensystem) …   Deutsch Wikipedia

  • semiring — noun An algebraic structure similar to a ring, but without the requirement that each element must have an additive inverse …   Wiktionary

  • semiring — semi·ring …   English syllables

  • semiring — ˈ ̷ ̷(ˌ) ̷ ̷+ˌ noun Etymology: semi + ring : a partial or incomplete ring; especially : half ring …   Useful english dictionary

  • Near-semiring — In mathematics, a near semiring (also seminearring) is an algebraic structure more general to near ring and semiring. Near semirings arise naturally from functions on semigroups. Definition A near semiring is a nonempty set S with two binary… …   Wikipedia

  • C-semiring — In abstract algebra, a c semiring (that is, a constraint based semiring) is a tuple such that: A is a set and 0, 1 are elements of A . + is the additive operation and is a commutative (i.e., +( a , b ) = +( b , a )) and associative (i.e., +( a… …   Wikipedia

  • c-semiring — In abstract algebra, a c semiring (that is, a constraint based semiring) is a tuple <A,+,X,0,1> such that: A is a set and 0, 1 are elements of A. + is the additive operation and is a commutative (i.e., +(a,b) = +(b,a)) and associative (i.e …   Wikipedia

  • List of algebraic structures — In universal algebra, a branch of pure mathematics, an algebraic structure is a variety or quasivariety. Abstract algebra is primarily the study of algebraic structures and their properties. Some axiomatic formal systems that are neither… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”