Hubbry Logo
SemiringSemiringMain
Open search
Semiring
Community hub
Semiring
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Semiring
Semiring
from Wikipedia

In abstract algebra, a semiring is an algebraic structure. Semirings are a generalization of rings, dropping the requirement that each element must have an additive inverse. At the same time, semirings are a generalization of bounded distributive lattices.

The smallest semiring that is not a ring is the two-element Boolean algebra, for instance with logical disjunction as addition. A motivating example that is neither a ring nor a lattice is the set of natural numbers (including zero) under ordinary addition and multiplication. Semirings are abundant because a suitable multiplication operation arises as the function composition of endomorphisms over any commutative monoid.

Terminology

[edit]

Some authors define semirings without the requirement for there to be a or . 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.[1][a] This originated as a joke, suggesting that rigs are rings without negative elements. (Akin to using rng to mean a ring without a multiplicative identity.)

The term dioid (for "double monoid") has been used to mean semirings or other structures. It was used by Kuntzmann in 1972 to denote a semiring.[2] (It is alternatively sometimes used for naturally ordered semirings[3] but the term was also used for idempotent subgroups by Baccelli et al. in 1992.[4])

Definition

[edit]

A semiring is a set equipped with two binary operations and called addition and multiplication, such that:[5][6][7]

  • is a commutative monoid with an identity element called :
  • is a monoid with an identity element called :

Further, the following axioms tie to both operations:

  • Through multiplication, any element is left- and right-annihilated by the additive identity:
  • Multiplication left- and right-distributes over addition:

Notation

[edit]

The symbol is usually omitted from the notation; that is, is just written

Similarly, an order of operations is conventional, in which is applied before . That is, denotes .

For the purpose of disambiguation, one may write or to emphasize which structure the units at hand belong to.

If is an element of a semiring and , then -times repeated multiplication of with itself is denoted , and one similarly writes for the -times repeated addition.

Construction of new semirings

[edit]

The zero ring with underlying set is a semiring called the trivial semiring. This triviality can be characterized via and so when speaking of nontrivial semirings, is often silently assumed as if it were an additional axiom. Now given any semiring, there are several ways to define new ones.

As noted, the natural numbers with its arithmetic structure form a semiring. Taking the zero and the image of the successor operation in a semiring , i.e., the set together with the inherited operations, is always a sub-semiring of .

If is a commutative monoid, function composition provides the multiplication to form a semiring: The set of endomorphisms forms a semiring where addition is defined from pointwise addition in . The zero morphism and the identity are the respective neutral elements. If with a semiring, we obtain a semiring that can be associated with the square matrices with coefficients in , the matrix semiring using ordinary addition and multiplication rules of matrices. Given and a semiring, is always a semiring also. It is generally non-commutative even if was commutative.

Dorroh extensions: If is a semiring, then with pointwise addition and multiplication given by defines another semiring with multiplicative unit . Very similarly, if is any sub-semiring of , one may also define a semiring on , just by replacing the repeated addition in the formula by multiplication. Indeed, these constructions even work under looser conditions, as the structure is not actually required to have a multiplicative unit.

Zerosumfree semirings are in a sense furthest away from being rings. Given a semiring, one may adjoin a new zero to the underlying set and thus obtain such a zerosumfree semiring that also lacks zero divisors. In particular, now and the old semiring is actually not a sub-semiring. One may then go on and adjoin new elements "on top" one at a time, while always respecting the zero. These two strategies also work under looser conditions. Sometimes the notations resp. are used when performing these constructions.

Adjoining a new zero to the trivial semiring, in this way, results in another semiring which may be expressed in terms of the logical connectives of disjunction and conjunction: . Consequently, this is the smallest semiring that is not a ring. Explicitly, it violates the ring axioms as for all , i.e. has no additive inverse. In the self-dual definition, the fault is with . (This is not to be conflated with the ring , whose addition functions as xor .) In the von Neumann model of the naturals, , and . The two-element semiring may be presented in terms of the set theoretic union and intersection as . Now this structure in fact still constitutes a semiring when is replaced by any inhabited set whatsoever.

The ideals on a semiring , with their standard operations on subset, form a lattice-ordered, simple and zerosumfree semiring. The ideals of are in bijection with the ideals of . The collection of left ideals of (and likewise the right ideals) also have much of that algebraic structure, except that then does not function as a two-sided multiplicative identity.

If is a semiring and is an inhabited set, denotes the free monoid and the formal polynomials over its words form another semiring. For small sets, the generating elements are conventionally used to denote the polynomial semiring. For example, in case of a singleton such that , one writes . Zerosumfree sub-semirings of can be used to determine sub-semirings of .

Given a set , not necessarily just a singleton, adjoining a default element to the set underlying a semiring one may define the semiring of partial functions from to .

Given a derivation on a semiring , another the operation "" fulfilling can be defined as part of a new multiplication on , resulting in another semiring.

The above is by no means an exhaustive list of systematic constructions.

Derivations

[edit]

Derivations on a semiring are the maps with and .

For example, if is the unit matrix and , then the subset of given by the matrices with is a semiring with derivation .

Properties

[edit]

A basic property of semirings is that is not a left or right zero divisor, and that but also squares to itself, i.e. these have .

Some notable properties are inherited from the monoid structures: The monoid axioms demand unit existence, and so the set underlying a semiring cannot be empty. Also, the 2-ary predicate defined as , here defined for the addition operation, always constitutes the right canonical preorder relation. Reflexivity is witnessed by the identity. Further, is always valid, and so zero is the least element with respect to this preorder. Considering it for the commutative addition in particular, the distinction of "right" may be disregarded. In the non-negative integers , for example, this relation is anti-symmetric and strongly connected, and thus in fact a (non-strict) total order.

Below, more conditional properties are discussed.

Semifields

[edit]

Any field is also a semifield, which in turn is a semiring in which also multiplicative inverses exist.

Rings

[edit]

Any field is also a ring, which in turn is a semiring in which also additive inverses exist. Note that a semiring omits such a requirement, i.e., it requires only a commutative monoid, not a commutative group. The extra requirement for a ring itself already implies the existence of a multiplicative zero. This contrast is also why for the theory of semirings, the multiplicative zero must be specified explicitly.

Here , the additive inverse of , squares to . As additive differences always exist in a ring, is a trivial binary relation in a ring.

Commutative semirings

[edit]

A semiring is called a commutative semiring if also the multiplication is commutative.[8] Its axioms can be stated concisely: It consists of two commutative monoids and on one set such that and .

The center of a semiring is a sub-semiring and being commutative is equivalent to being its own center.

The commutative semiring of natural numbers is the initial object among its kind, meaning there is a unique structure preserving map of into any commutative semiring.

The bounded distributive lattices are partially ordered commutative semirings fulfilling certain algebraic equations relating to distributivity and idempotence. Thus so are their duals.

Ordered semirings

[edit]

Notions or order can be defined using strict, non-strict or second-order formulations. Additional properties such as commutativity simplify the axioms.

Given a strict total order (also sometimes called linear order, or pseudo-order in a constructive formulation), then by definition, the positive and negative elements fulfill resp. . By irreflexivity of a strict order, if is a left zero divisor, then is false. The non-negative elements are characterized by , which is then written .

Generally, the strict total order can be negated to define an associated partial order. The asymmetry of the former manifests as . In fact in classical mathematics the latter is a (non-strict) total order and such that implies . Likewise, given any (non-strict) total order, its negation is irreflexive and transitive, and those two properties found together are sometimes called strict quasi-order. Classically this defines a strict total order – indeed strict total order and total order can there be defined in terms of one another.

Recall that "" defined above is trivial in any ring. The existence of rings that admit a non-trivial non-strict order shows that these need not necessarily coincide with "".

Additively idempotent semirings

[edit]

A semiring in which every element is an additive idempotent, that is, for all elements , is called an (additively) idempotent semiring.[9] Establishing suffices. Be aware that sometimes this is just called idempotent semiring, regardless of rules for multiplication.

In such a semiring, is equivalent to and always constitutes a partial order, here now denoted . In particular, here . So additively idempotent semirings are zerosumfree and, indeed, the only additively idempotent semiring that has all additive inverses is the trivial ring and so this property is specific to semiring theory. Addition and multiplication respect the ordering in the sense that implies , and furthermore implies as well as , for all and .

If is additively idempotent, then so are the polynomials in .

A semiring such that there is a lattice structure on its underlying set is lattice-ordered if the sum coincides with the meet, , and the product lies beneath the join . The lattice-ordered semiring of ideals on a semiring is not necessarily distributive with respect to the lattice structure.

More strictly than just additive idempotence, a semiring is called simple iff for all . Then also and for all . Here then functions akin to an additively infinite element. If is an additively idempotent semiring, then with the inherited operations is its simple sub-semiring. An example of an additively idempotent semiring that is not simple is the tropical semiring on with the 2-ary maximum function, with respect to the standard order, as addition. Its simple sub-semiring is trivial.

A c-semiring is an idempotent semiring and with addition defined over arbitrary sets.

An additively idempotent semiring with idempotent multiplication, , is called additively and multiplicatively idempotent semiring, but sometimes also just idempotent semiring. The commutative, simple semirings with that property are exactly the bounded distributive lattices with unique minimal and maximal element (which then are the units). Heyting algebras are such semirings and the Boolean algebras are a special case.

Further, given two bounded distributive lattices, there are constructions resulting in commutative additively-idempotent semirings, which are more complicated than just the direct sum of structures.

Number lines

[edit]

In a model of the ring , one can define a non-trivial positivity predicate and a predicate as that constitutes a strict total order, which fulfills properties such as , or classically the law of trichotomy. With its standard addition and multiplication, this structure forms the strictly ordered field that is Dedekind-complete. By definition, all first-order properties proven in the theory of the reals are also provable in the decidable theory of the real closed field. For example, here is mutually exclusive with .

But beyond just ordered fields, the four properties listed below are also still valid in many sub-semirings of , including the rationals, the integers, as well as the non-negative parts of each of these structures. In particular, the non-negative reals, the non-negative rationals and the non-negative integers are such a semirings. The first two properties are analogous to the property valid in the idempotent semirings: Translation and scaling respect these ordered rings, in the sense that addition and multiplication in this ring validate

In particular, and so squaring of elements preserves positivity.

Take note of two more properties that are always valid in a ring. Firstly, trivially for any . In particular, the positive additive difference existence can be expressed as

Secondly, in the presence of a trichotomous order, the non-zero elements of the additive group are partitioned into positive and negative elements, with the inversion operation moving between them. With , all squares are proven non-negative. Consequently, non-trivial rings have a positive multiplicative unit,

Having discussed a strict order, it follows that and , etc.

Discretely ordered semirings

[edit]

There are a few conflicting notions of discreteness in order theory. Given some strict order on a semiring, one such notion is given by being positive and covering , i.e. there being no element between the units, . Now in the present context, an order shall be called discrete if this is fulfilled and, furthermore, all elements of the semiring are non-negative, so that the semiring starts out with the units.

Denote by the theory of a commutative, discretely ordered semiring also validating the above four properties relating a strict order with the algebraic structure. All of its models have the model as its initial segment and Gödel incompleteness and Tarski undefinability already apply to . The non-negative elements of a commutative, discretely ordered ring always validate the axioms of . So a slightly more exotic model of the theory is given by the positive elements in the polynomial ring , with positivity predicate for defined in terms of the last non-zero coefficient, , and as above. While proves all -sentences that are true about , beyond this complexity one can find simple such statements that are independent of . For example, while -sentences true about are still true for the other model just defined, inspection of the polynomial demonstrates -independence of the -claim that all numbers are of the form or ("odd or even"). Showing that also can be discretely ordered demonstrates that the -claim for non-zero ("no rational squared equals ") is independent. Likewise, analysis for demonstrates independence of some statements about factorization true in . There are characterizations of primality that does not validate for the number .

In the other direction, from any model of one may construct an ordered ring, which then has elements that are negative with respect to the order, that is still discrete the sense that covers . To this end one defines an equivalence class of pairs from the original semiring. Roughly, the ring corresponds to the differences of elements in the old structure, generalizing the way in which the initial ring can be defined from . This, in effect, adds all the inverses and then the preorder is again trivial in that .

Beyond the size of the two-element algebra, no simple semiring starts out with the units. Being discretely ordered also stands in contrast to, e.g., the standard ordering on the semiring of non-negative rationals , which is dense between the units. For another example, can be ordered, but not discretely so.

Natural numbers

[edit]

plus mathematical induction gives a theory equivalent to first-order Peano arithmetic . The theory is also famously not categorical, but is of course the intended model. proves that there are no zero divisors and it is zerosumfree and so no model of it is a ring.

The standard axiomatization of is more concise and the theory of its order is commonly treated in terms of the non-strict "". However, just removing the potent induction principle from that axiomatization does not leave a workable algebraic theory. Indeed, even Robinson arithmetic , which removes induction but adds back the predecessor existence postulate, does not prove the monoid axiom .

Complete semirings

[edit]

A complete semiring is a semiring for which the additive monoid is a complete monoid, meaning that it has an infinitary sum operation for any index set and that the following (infinitary) distributive laws must hold:[10][11][12]

Examples of a complete semiring are the power set of a monoid under union and the matrix semiring over a complete semiring.[13] For commutative, additively idempotent and simple semirings, this property is related to residuated lattices.

Continuous semirings

[edit]

A continuous semiring is similarly defined as one for which the addition monoid is a continuous monoid. That is, partially ordered with the least upper bound property, and for which addition and multiplication respect order and suprema. The semiring with usual addition, multiplication and order extended is a continuous semiring.[14]

Any continuous semiring is complete:[10] this may be taken as part of the definition.[13]

Star semirings

[edit]

A star semiring (sometimes spelled starsemiring) or closed semiring is a semiring with an additional unary operator ,[9][11][15][16] satisfying

A Kleene algebra is a star semiring with idempotent addition and some additional axioms. They are important in the theory of formal languages and regular expressions.[11]

Complete star semirings

[edit]

In a complete star semiring, the star operator behaves more like the usual Kleene star: for a complete semiring we use the infinitary sum operator to give the usual definition of the Kleene star:[11]

where

Note that star semirings are not related to *-algebra, where the star operation should instead be thought of as complex conjugation.

Conway semiring

[edit]

A Conway semiring is a star semiring satisfying the sum-star and product-star equations:[9][17]

Every complete star semiring is also a Conway semiring,[18] but the converse does not hold. An example of Conway semiring that is not complete is the set of extended non-negative rational numbers with the usual addition and multiplication (this is a modification of the example with extended non-negative reals given in this section by eliminating irrational numbers).[11] An iteration semiring is a Conway semiring satisfying the Conway group axioms,[9] associated by John Conway to groups in star-semirings.[19]

Examples

[edit]
  • By definition, any ring and any semifield is also a semiring.
  • The non-negative elements of a commutative, discretely ordered ring form a commutative, discretely (in the sense defined above) ordered semiring. This includes the non-negative integers .
  • Also the non-negative rational numbers as well as the non-negative real numbers form commutative, ordered semirings.[20][21][22] The latter is called probability semiring.[6] Neither are rings or distributive lattices. These examples also have multiplicative inverses.
  • New semirings can conditionally be constructed from existing ones, as described. The extended natural numbers with addition and multiplication extended so that .[21]
  • The set of polynomials with natural number coefficients, denoted forms a commutative semiring. In fact, this is the free commutative semiring on a single generator Also polynomials with coefficients in other semirings may be defined, as discussed.
  • The non-negative terminating fractions , in a positional number system to a given base , form a sub-semiring of the rationals. One has ‍ if divides . For , the set is the ring of all terminating fractions to base and is dense in .
  • The log semiring on with addition given by with multiplication zero element and unit element [6]

Similarly, in the presence of an appropriate order with bottom element,

  • Tropical semirings are variously defined. The max-plus semiring is a commutative semiring with serving as semiring addition (identity ) and ordinary addition (identity 0) serving as semiring multiplication. In an alternative formulation, the tropical semiring is and min replaces max as the addition operation.[23] A related version has as the underlying set.[6][10] They are an active area of research, linking algebraic varieties with piecewise linear structures.[24]
  • The Łukasiewicz semiring: the closed interval with addition of and given by taking the maximum of the arguments () and multiplication of and given by appears in multi-valued logic.[11]
  • The Viterbi semiring is also defined over the base set and has the maximum as its addition, but its multiplication is the usual multiplication of real numbers. It appears in probabilistic parsing.[11]
  • The set of all ideals of a given semiring form a semiring under addition and multiplication of ideals.
  • Any bounded, distributive lattice is a commutative, semiring under join and meet. A Boolean algebra is a special case of these. A Boolean ring is also a semiring (indeed, a ring) but it is not idempotent under addition. A Boolean semiring is a semiring isomorphic to a sub-semiring of a Boolean algebra.[20]
  • The commutative semiring formed by the two-element Boolean algebra and defined by . It is also called the Boolean semiring.[6][21][22][9] Now given two sets and binary relations between and correspond to matrices indexed by and with entries in the Boolean semiring, matrix addition corresponds to union of relations, and matrix multiplication corresponds to composition of relations.[25]
  • Any unital quantale is a semiring under join and multiplication.
  • A normal skew lattice in a ring is a semiring for the operations multiplication and nabla, where the latter operation is defined by

More using monoids,

  • The construction of semirings from a commutative monoid has been described. As noted, give a semiring , the matrices form another semiring. For example, the matrices with non-negative entries, form a matrix semiring.[20]
  • Given an alphabet (finite set) Σ, the set of formal languages over (subsets of ) is a semiring with product induced by string concatenation and addition as the union of languages (that is, ordinary union as sets). The zero of this semiring is the empty set (empty language) and the semiring's unit is the language containing only the empty string.[11]
  • Generalizing the previous example (by viewing as the free monoid over ), take to be any monoid; the power set of all subsets of forms a semiring under set-theoretic union as addition and set-wise multiplication: [22]
  • Similarly, if is a monoid, then the set of finite multisets in forms a semiring. That is, an element is a function ; given an element of the function tells you how many times that element occurs in the multiset it represents. The additive unit is the constant zero function. The multiplicative unit is the function mapping to and all other elements of to The sum is given by and the product is given by

Regarding sets and similar abstractions,

  • Given a set the set of binary relations over is a semiring with addition the union (of relations as sets) and multiplication the composition of relations. The semiring's zero is the empty relation and its unit is the identity relation.[11] These relations correspond to the matrix semiring (indeed, matrix semialgebra) of square matrices indexed by with entries in the Boolean semiring, and then addition and multiplication are the usual matrix operations, while zero and the unit are the usual zero matrix and identity matrix.
  • The set of cardinal numbers smaller than any given infinite cardinal form a semiring under cardinal addition and multiplication. The class of all cardinals of an inner model form a (class) semiring under (inner model) cardinal addition and multiplication.
  • The family of (isomorphism equivalence classes of) combinatorial classes (sets of countably many objects with non-negative integer sizes such that there are finitely many objects of each size) with the empty class as the zero object, the class consisting only of the empty set as the unit, disjoint union of classes as addition, and Cartesian product of classes as multiplication.[26]
  • Isomorphism classes of objects in any distributive category, under coproduct and product operations, form a semiring known as a Burnside rig.[27] A Burnside rig is a ring if and only if the category is trivial.

Star semirings

[edit]

Several structures mentioned above can be equipped with a star operation.

  • The aforementioned semiring of binary relations over some base set in which for all This star operation is actually the reflexive and transitive closure of (that is, the smallest reflexive and transitive binary relation over containing ).[11]
  • The semiring of formal languages is also a complete star semiring, with the star operation coinciding with the Kleene star (for sets/languages).[11]
  • The set of non-negative extended reals together with the usual addition and multiplication of reals is a complete star semiring with the star operation given by for (that is, the geometric series) and for [11]
  • The Boolean semiring with [b][11]
  • The semiring on with extended addition and multiplication, and for [b][11]

Applications

[edit]

The and tropical semirings 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 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 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.[28][29]

Generalizations

[edit]

A generalization of semirings does not require the existence of a multiplicative identity, so that multiplication is a semigroup rather than a monoid. Such structures are called hemirings[30] or pre-semirings.[31] A further generalization are left-pre-semirings,[32] which additionally do not require right-distributivity (or right-pre-semirings, which do not require left-distributivity).

Yet a further generalization are near-semirings: in addition to not requiring a neutral element for product, or right-distributivity (or left-distributivity), they do not require addition to be commutative. Just as cardinal numbers form a (class) semiring, so do ordinal numbers form a near-semiring, when the standard ordinal addition and multiplication are taken into account. However, the class of ordinals can be turned into a semiring by considering the so-called natural (or Hessenberg) operations instead.

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

See also

[edit]
  • Ring of sets – Family closed under unions and relative complements
  • Valuation algebra – Algebra describing information processing

Notes

[edit]

Citations

[edit]
  1. ^ Głazek (2002), p. 7
  2. ^ Kuntzmann, J. (1972). Théorie des réseaux (graphes) (in French). Paris: Dunod. Zbl 0239.05101.
  3. ^ Semirings for breakfast, slide 17
  4. ^ Baccelli, François Louis; Olsder, Geert Jan; Quadrat, Jean-Pierre; Cohen, Guy (1992). Synchronization and linearity. An algebra for discrete event systems. Wiley Series on Probability and Mathematical Statistics. Chichester: Wiley. Zbl 0824.93003.
  5. ^ Berstel & Perrin (1985), p. 26
  6. ^ a b c d e Lothaire (2005), p. 211
  7. ^ Sakarovitch (2009), pp. 27–28
  8. ^ Lothaire (2005), p. 212
  9. ^ a b c d e Ésik, Zoltán (2008). "Iteration semirings". In Ito, Masami (ed.). Developments in language theory. 12th international conference, DLT 2008, Kyoto, Japan, September 16–19, 2008. Proceedings. Lecture Notes in Computer Science. Vol. 5257. Berlin: Springer-Verlag. pp. 1–20. doi:10.1007/978-3-540-85780-8_1. ISBN 978-3-540-85779-2. Zbl 1161.68598.
  10. ^ a b c Kuich, Werner (2011). "Algebraic systems and pushdown automata". In Kuich, Werner (ed.). Algebraic foundations in computer science. Essays dedicated to Symeon Bozapalidis on the occasion of his retirement. Lecture Notes in Computer Science. Vol. 7020. Berlin: Springer-Verlag. pp. 228–256. ISBN 978-3-642-24896-2. Zbl 1251.68135.
  11. ^ a b c d e f g h i j k l m n o Droste & Kuich (2009), pp. 7–10
  12. ^ Kuich, Werner (1990). "ω-continuous semirings, algebraic systems and pushdown automata". In Paterson, Michael S. (ed.). Automata, Languages and Programming: 17th International Colloquium, Warwick University, England, July 16–20, 1990, Proceedings. Lecture Notes in Computer Science. Vol. 443. Springer-Verlag. pp. 103–110. ISBN 3-540-52826-1.
  13. ^ a b Sakarovitch (2009), p. 471
  14. ^ Ésik, Zoltán; Leiß, Hans (2002). "Greibach normal form in algebraically complete semirings". In Bradfield, Julian (ed.). Computer science logic. 16th international workshop, CSL 2002, 11th annual conference of the EACSL, Edinburgh, Scotland, September 22–25, 2002. Proceedings. Lecture Notes in Computer Science. Vol. 2471. Berlin: Springer-Verlag. pp. 135–150. Zbl 1020.68056.
  15. ^ Lehmann, Daniel J. (1977), "Algebraic structures for transitive closure" (PDF), Theoretical Computer Science, 4 (1): 59–76, doi:10.1016/0304-3975(77)90056-1
  16. ^ Berstel & Reutenauer (2011), p. 27
  17. ^ Ésik, Zoltán; Kuich, Werner (2004). "Equational axioms for a theory of automata". In Martín-Vide, Carlos (ed.). Formal languages and applications. Studies in Fuzziness and Soft Computing. Vol. 148. Berlin: Springer-Verlag. pp. 183–196. ISBN 3-540-20907-7. Zbl 1088.68117.
  18. ^ Droste & Kuich (2009), p. 15, Theorem 3.4
  19. ^ Conway, J.H. (1971). Regular algebra and finite machines. London: Chapman and Hall. ISBN 0-412-10620-5. Zbl 0231.94041.
  20. ^ a b c Guterman, Alexander E. (2008). "Rank and determinant functions for matrices over semirings". In Young, Nicholas; Choi, Yemon (eds.). Surveys in Contemporary Mathematics. London Mathematical Society Lecture Note Series. Vol. 347. Cambridge University Press. pp. 1–33. ISBN 978-0-521-70564-6. ISSN 0076-0552. Zbl 1181.16042.
  21. ^ a b c Sakarovitch (2009), p. 28.
  22. ^ a b c Berstel & Reutenauer (2011), p. 4
  23. ^ Speyer, David; Sturmfels, Bernd (2009) [2004]. "Tropical Mathematics". Math. Mag. 82 (3): 163–173. arXiv:math/0408099. doi:10.4169/193009809x468760. S2CID 119142649. Zbl 1227.14051.
  24. ^ Speyer, David; Sturmfels, Bernd (2009). "Tropical Mathematics". Mathematics Magazine. 82 (3): 163–173. arXiv:math/0408099. doi:10.1080/0025570X.2009.11953615. ISSN 0025-570X. S2CID 15278805.
  25. ^ John C. Baez (6 Nov 2001). "quantum mechanics over a commutative rig". Newsgroupsci.physics.research. Usenet: 9s87n0$iv5@gap.cco.caltech.edu. Retrieved November 25, 2018.
  26. ^ Bard, Gregory V. (2009), Algebraic Cryptanalysis, Springer, Section 4.2.1, "Combinatorial Classes", ff., pp. 30–34, ISBN 9780387887579
  27. ^ Schanuel S.H. (1991) Negative sets have Euler characteristic and dimension. In: Carboni A., Pedicchio M.C., Rosolini G. (eds) Category Theory. Lecture Notes in Mathematics, vol 1488. Springer, Berlin, Heidelberg
  28. ^ Pair (1967), p. 271.
  29. ^ Derniame & Pair (1971)
  30. ^ Golan (1999), p. 1, Ch 1
  31. ^ Gondran & Minoux (2008), p. 22, Ch 1, §4.2.
  32. ^ Gondran & Minoux (2008), p. 20, Ch 1, §4.1.

Bibliography

[edit]

Further reading

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
A semiring is an consisting of a set SS equipped with two binary operations, (denoted ++) and (denoted \cdot), such that (S,+)(S, +) is a commutative with 00, (S,)(S, \cdot) is a with 11, distributes over on (i.e., a(b+c)=ab+aca \cdot (b + c) = a \cdot b + a \cdot c and (a+b)c=ac+bc(a + b) \cdot c = a \cdot c + b \cdot c for all a,b,cSa, b, c \in S), and [0](/page/0)[0](/page/0) acts as an absorbing element for (i.e., a0=0a=0a \cdot 0 = 0 \cdot a = 0 for all aSa \in S). Semirings generalize rings by relaxing the requirement for additive inverses, allowing for structures where is not always possible, such as the natural numbers under usual and multiplication. The concept was formally introduced by H. S. Vandiver in as a "simple type of " lacking the cancellation for , motivated by studies in ring ideals and finite arithmetics. Common examples include the semiring of non-negative integers (N0,+,,0,1)(\mathbb{N}_0, +, \cdot, 0, 1), the semiring ({0,1},,,0,1)(\{0,1\}, \lor, \land, 0, 1) used in logic, and the max-plus semiring (R{},max,+,,0)(\mathbb{R} \cup \{\infty\}, \max, +, \infty, 0) applied in optimization problems. Semirings play a central role in various mathematical and computational domains, including formal language theory where they model weighted automata, idempotent analysis for solving nonlinear equations without inverses, and as an algebraic framework for optimization and polyhedral computations. Their theory encompasses ideals, homomorphisms, and radicals analogous to ; semirings are also known as rigs in some contexts. Extensions like semifields address specific applications in and .

Definition and Fundamentals

Axioms

A semiring is defined as a set SS equipped with two binary operations, ++ and \cdot, such that (S,+)(S, +) forms a commutative with 00, (S,)(S, \cdot) forms a with 11, multiplication distributes over addition on both the left and the right, and the 00 is absorbing for multiplication, meaning 0x=x0=00 \cdot x = x \cdot 0 = 0 for all xSx \in S. These conditions are captured by the following eight axioms, which hold for all x,y,zSx, y, z \in S:
  • Associativity of addition: (x+y)+z=x+(y+z)(x + y) + z = x + (y + z)
  • Commutativity of addition: x+y=y+xx + y = y + x
  • Additive identity: x+0=0+x=xx + 0 = 0 + x = x
  • Associativity of multiplication: (xy)z=x(yz)(x \cdot y) \cdot z = x \cdot (y \cdot z)
  • Multiplicative identity: x1=1x=xx \cdot 1 = 1 \cdot x = x
  • Left distributivity: x(y+z)=(xy)+(xz)x \cdot (y + z) = (x \cdot y) + (x \cdot z)
  • Right distributivity: (x+y)z=(xz)+(yz)(x + y) \cdot z = (x \cdot z) + (y \cdot z)
  • Absorption by zero: 0x=x0=00 \cdot x = x \cdot 0 = 0
The elements 00 and 11 serve as the respective identities for the additive and multiplicative monoids, ensuring a structured algebraic framework; in non-trivial semirings, these identities are distinct, i.e., 010 \neq 1. Rings arise as a special case of semirings when every element admits an .

Notation and Conventions

In semiring theory, the addition operation is typically denoted by ++, which forms a commutative on the underlying set with denoted by [0](/page/0)[0](/page/0). The operation is denoted by \cdot or, when unambiguous, by (e.g., xyxy instead of xyx \cdot y), forming a with denoted by 11. Expressions in semirings are written using these operations in a manner analogous to ring expressions, with often taking precedence over unless parenthesized, and the multiplicative identity 11 acting as a unit for while the [0](/page/0)[0](/page/0) annihilates all elements under : 0a=a[0](/page/0)=[0](/page/0)0 \cdot a = a \cdot [0](/page/0) = [0](/page/0) for all aa in the semiring. In applied contexts, such as theory or optimization, non-standard operations may be used to emphasize the ; for instance, generic symbols \oplus for and \otimes for are common, with identities [0](/page/0)[0](/page/0) and 11 preserved. In the tropical semiring over the extended reals, the notation \oplus often denotes the minimum (or maximum) operation as "," and \otimes denotes ordinary as "," highlighting the deviation from classical arithmetic while maintaining semiring axioms. Semirings feature concepts like annihilators, which are elements xx such that xa=[0](/page/0)x \cdot a = [0](/page/0) for all aa (with [0](/page/0)[0](/page/0) itself being the trivial left and right annihilator), and zero divisors, which are non-zero elements aa and bb such that ab=[0](/page/0)a \cdot b = [0](/page/0). In contexts involving partial orders, such as naturally ordered or idempotent semirings, the ++ may represent the supremum (join) operation, and the partial order is often denoted by \leq, defined via xyx \leq y x+y=yx + y = y, without altering the core notational conventions for the operations.

Terminology and Variants

Standard Terminology

In semiring theory, a semiring is termed additively idempotent if its addition operation satisfies x+x=xx + x = x for all elements xx in the semiring, implying that the additive structure forms a under the induced order xyx \leq y if and only if x+y=yx + y = y. Similarly, a semiring is multiplicatively idempotent if multiplication satisfies xx=xx \cdot x = x for all xx, making the multiplicative structure a with xyx \leq y if and only if xy=xx \cdot y = x. These properties are independent, allowing semirings to exhibit one, both, or neither, with both cases yielding structures known as idempotent semirings in some contexts. A semiring is zero-sum-free if the equation a+b=0a + b = 0 holds only when a=[0](/page/0)a = [0](/page/0) and b=[0](/page/0)b = [0](/page/0), for all elements a,ba, b in the semiring, preventing nontrivial additive combinations from yielding the . This condition positions zero-sum-free semirings at the opposite end of the spectrum from rings, as it excludes additive inverses entirely beyond the . Semirings without zero divisors—sometimes referred to as positive semirings in certain algebraic contexts—are those where ab=[0](/page/0)a \cdot b = [0](/page/0) implies a=[0](/page/0)a = [0](/page/0) or b=[0](/page/0)b = [0](/page/0) for all elements a,ba, b, ensuring multiplication behaves without annihilators. This absence of zero divisors facilitates unique properties in specific commutative cases, analogous to integral domains in . A bounded semiring is one equipped with a partial order compatible with its operations, where admits finite suprema and infima, often manifesting as a lattice structure under the order aba \leq b a+b=ba + b = b. In such semirings, the order ensures boundedness, with every pair of elements having a least upper bound (supremum) and greatest lower bound (infimum) under . A selective semiring is defined by the property that a+b{a,b}a + b \in \{a, b\} for all elements a,ba, b, meaning selects one , typically the maximum under a compatible , rendering the semiring linearly ordered and idempotent additively. Historically, the term "rig" emerged as an alternative to "semiring," coined by John Conway as a portmanteau of "ring" without the "i" for additive inverses, emphasizing the structure's positivity and lack of negatives. This nomenclature highlights the playful evolution of terminology in during the late 20th century. In contexts, "semiring" distinguishes structures lacking additive inverses from "rngs," which are rings without a multiplicative identity but with additive inverses, underscoring the former's emphasis on non-negative-like operations versus the latter's focus on non-unital rings.

Common Variants

A hemiring, also known as a pre-semiring in some contexts, is a variant of a semiring that relaxes the requirement for a , while retaining commutative addition with a and the . In such structures, the multiplicative operation forms a rather than a , allowing for broader algebraic applications where unity is not essential. Variants lacking an additive identity omit the zero element for addition, resulting in a commutative under paired with a under and distributivity. These structures emphasize the semigroup nature of addition without a neutral element, differing from standard semirings. A related notion is the semiring without a multiplicative identity (also called nonunital semiring), where multiplication is associative but lacks a unit, focusing solely on the semigroup property for multiplication. An idempotent semiring requires both and to be idempotent operations, meaning a+a=aa + a = a and aa=aa \cdot a = a for all elements aa, in addition to satisfying the standard semiring axioms with identities. This variant, often studied in optimization and , strengthens the idempotence condition across both operations. A skew semiring, or non-commutative semiring, permits to be non-commutative while maintaining commutative , a structure for , and distributivity; this contrasts with commutative semirings by allowing asymmetric products. Semirings inherently lack s, distinguishing them fundamentally from rings, where every element has an , thus emphasizing positive or non-negative algebraic behaviors without . Semirings exist in both finite and infinite forms, with finite variants often arising in combinatorial contexts and infinite ones in analysis or formal languages, though the core axioms remain unchanged across these scopes.

Basic Examples

Non-negative Numbers

One prominent example of a semiring is the set of non-negative integers N0={0,1,2,}\mathbb{N}_0 = \{0, 1, 2, \dots \} equipped with the standard operations of addition ++ and multiplication \cdot, where 00 serves as the additive identity and 11 as the multiplicative identity. This structure satisfies the semiring axioms: addition is associative and commutative with identity 00, multiplication is associative with identity 11, multiplication distributes over addition, and 00 annihilates under multiplication (i.e., 0n=n0=00 \cdot n = n \cdot 0 = 0 for all nN0n \in \mathbb{N}_0). Another example is the set of non-negative real numbers R0=R+{0}\mathbb{R}_{\geq 0} = \mathbb{R}_+ \cup \{0\} under the usual addition and multiplication, which also forms a commutative semiring with the same identities 00 and 11. This semiring satisfies the standard axioms analogously to the integer case, as the operations inherit their properties from the real numbers while remaining closed on non-negative elements. Moreover, R0\mathbb{R}_{\geq 0} is a semifield because every non-zero element has a multiplicative inverse within the set. A distinct numeric example is the tropical semiring on the extended reals R{}\mathbb{R} \cup \{\infty\}, where the addition operation \oplus is defined as the minimum and the multiplication \otimes as standard addition. The explicit operations are given by: xy=min(x,y),xy=x+yx \oplus y = \min(x, y), \quad x \otimes y = x + y for x,yR{}x, y \in \mathbb{R} \cup \{\infty\}, with \infty acting as the additive identity (since min(x,)=x\min(x, \infty) = x) and 00 as the multiplicative identity (since x+0=xx + 0 = x). This structure, often called the min-plus semiring, satisfies the semiring axioms, including associativity of both operations, distributivity (min(x,y+z)=min(x+y,x+z)\min(x, y + z) = \min(x + y, x + z)), and the annihilation property (+x=\infty + x = \infty). A max-plus exists by replacing minimum with maximum, yielding isomorphic structures.

Boolean Semiring

The semiring, denoted B\mathbb{B}, is the two-element set {[0](/page/0),1}\{[0](/page/0), 1\} equipped with ++ defined as (OR) and \cdot defined as (AND). The operation satisfies [0](/page/0)+[0](/page/0)=[0](/page/0)[0](/page/0) + [0](/page/0) = [0](/page/0), [0](/page/0)+1=1+[0](/page/0)=1[0](/page/0) + 1 = 1 + [0](/page/0) = 1, and 1+1=11 + 1 = 1, while the operation satisfies [0](/page/0)[0](/page/0)=[0](/page/0)1=1[0](/page/0)=[0](/page/0)[0](/page/0) \cdot [0](/page/0) = [0](/page/0) \cdot 1 = 1 \cdot [0](/page/0) = [0](/page/0) and 11=11 \cdot 1 = 1. These operations render B\mathbb{B} a semiring, with serving as the and 1 as the multiplicative identity, and distributing over . The Boolean semiring is both additively and multiplicatively idempotent, meaning x+x=xx + x = x and xx=xx \cdot x = x for all xBx \in \mathbb{B}. This idempotence arises directly from the properties of OR and AND: disjunction of identical elements yields the element itself, as does conjunction. In the category of additively idempotent semirings, B\mathbb{B} serves as the initial object, admitting a unique homomorphism into any other such semiring. Equivalently, under the 0<10 < 1, the operations of B\mathbb{B} can be expressed using lattice operations: x+y=max(x,y)x + y = \max(x, y) and xy=min(x,y)x \cdot y = \min(x, y). This formulation highlights its structure as a bounded lattice, where addition corresponds to the join and multiplication to the meet. The Boolean semiring is isomorphic to the power set of a singleton set, say P({})={,{}}\mathcal{P}(\{*\}) = \{\emptyset, \{*\}\}, with addition as set union and multiplication as set intersection; here, \emptyset maps to 0 and {}\{*\} to 1. This representation underscores its connection to Boolean algebras, where union and intersection preserve the semiring axioms.

Constructions of Semirings

From Existing Structures

In partially ordered rings, the non-negative cone offers a straightforward construction of a semiring. Let R be a ring equipped with a partial order ≤ compatible with addition and multiplication, such that for all a, b, c ∈ R, if a ≤ b then a + c ≤ b + c, and if 0 ≤ a and 0 ≤ b then 0 ≤ a · b. The subset S = {x ∈ R | 0 ≤ x} contains the additive identity 0 and, assuming the order places 1 above 0, the multiplicative identity 1. Moreover, S is closed under the addition and multiplication of R, inheriting these operations to form a semiring. In the special case of totally ordered rings, this non-negative cone yields a semiring, whereas the non-positive cone fails to do so because the product of two negative elements is positive and thus lies outside the cone. Subsemirings provide another method to extract semirings from rings by restricting to suitable subsets. A subset S ⊆ R of a ring R (viewed as a semiring) is a subsemiring if it contains 0 and 1 and is closed under the addition and multiplication operations of R. The induced operations on S satisfy the semiring axioms, though S need not possess additive inverses for all its elements. Rings themselves are semirings in which every element has an additive inverse, but subsemirings generally lack this property. A prototypical example is the set of non-negative integers ℕ₀ = {0, 1, 2, …} under ordinary addition and multiplication, which forms a subsemiring of the ring ℤ of integers. Quotient semirings can also be derived from rings via ideals, yielding structures where the full additive inverse property may not be emphasized. For a ring R and a two-sided ideal I ⊆ R, the quotient R/I consists of the cosets {x + I | x ∈ R}, with operations defined by (x + I) + (y + I) = (x + y) + I and (x + I) · (y + I) = (x · y) + I. This quotient inherits the zero coset 0 + I and the identity coset 1 + I (provided I ≠ R), forming a ring and thus a semiring under these operations. While the quotient retains additive inverses as a ring, considering it as a semiring effectively disregards this feature, aligning with broader semiring applications where inverses are absent.

Matrix and Function Semirings

Given a semiring RR, the matrix semiring Mn(R)M_n(R) consists of all n×nn \times n matrices with entries from RR. Addition in Mn(R)M_n(R) is defined entrywise using the addition operation of RR, making it an abelian monoid with the zero matrix as the identity element. Multiplication is the standard matrix multiplication adapted to RR, where for matrices A,BMn(R)A, B \in M_n(R), the (i,j)(i,j)-entry of the product ABAB is computed as (AB)ij=k=1nAikBkj,(AB)_{ij} = \sum_{k=1}^n A_{ik} \cdot B_{kj}, using the multiplication and addition from RR. This construction preserves the semiring axioms: addition is associative and commutative, multiplication is associative, and multiplication distributes over addition because the entrywise nature of addition aligns with the bilinear form of matrix multiplication over RR. If RR has a multiplicative identity 101 \neq 0, then Mn(R)M_n(R) also has a multiplicative identity given by the identity matrix with 11 on the diagonal and 00 elsewhere. The zero matrix serves as the additive identity, and the structure satisfies the required absorption properties if present in RR. Function semirings provide another key construction from a base semiring. For a set SS and semiring RR, the set RSR^S of all functions f:SRf: S \to R forms a semiring under pointwise addition and multiplication: (f+g)(s)=f(s)+Rg(s)(f + g)(s) = f(s) +_R g(s) and (fg)(s)=f(s)Rg(s)(f \cdot g)(s) = f(s) \cdot_R g(s) for all sSs \in S, where +R+_R and R\cdot_R are the operations in RR. The constant function mapping to 0R0_R is the additive identity, and if RR has a multiplicative identity 1R1_R, the constant function mapping to 1R1_R serves as the multiplicative identity. This pointwise structure inherits the semiring properties directly from RR, with distributivity holding componentwise. When applicable, composition can define multiplication in function semirings. For an abelian monoid (M,+M,0M)(M, +_M, 0_M), the endomorphism semiring End(M)\mathrm{End}(M) consists of functions f:MMf: M \to M preserving the monoid operation (i.e., f(a+Mb)=f(a)+Mf(b)f(a +_M b) = f(a) +_M f(b)), with addition pointwise: (f+g)(m)=f(m)+Mg(m)(f + g)(m) = f(m) +_M g(m), and multiplication as composition: (fg)(m)=f(g(m))(f \cdot g)(m) = f(g(m)). The zero map (constant to 0M0_M) is the additive identity, and the identity map is the multiplicative identity. Distributivity follows from the linearity of endomorphisms over the monoid addition. This construction generalizes to functions between sets SS and TT where composition is possible (e.g., S=TS = T and TT admits a suitable structure), yielding semirings that model transformations in algebraic settings.

General Properties

Algebraic Identities

In a semiring (S,+,,0,1)(S, +, \cdot, 0, 1), the multiplication distributes over addition on both sides, satisfying the identities x(y+z)=xy+xzx \cdot (y + z) = x \cdot y + x \cdot z and (x+y)z=xz+yz(x + y) \cdot z = x \cdot z + y \cdot z for all x,y,zSx, y, z \in S. Additionally, the additive identity acts as a multiplicative absorber (or annihilator), with 0x=x0=00 \cdot x = x \cdot 0 = 0 for all xSx \in S, and the multiplicative identity satisfies 1x=x1=x1 \cdot x = x \cdot 1 = x for all xSx \in S. These, together with the monoid axioms for (S,+)(S, +) and (S,)(S, \cdot), form the core structure. From the additive monoid axioms, it follows directly that x+0=0+x=xx + 0 = 0 + x = x for all xSx \in S, establishing the role of $0$ as the additive neutral element (annihilator in the sense of absorption under addition). However, unlike rings, semirings lack additive inverses, so no subtraction or negative elements exist, preventing identities involving differences. A key theorem concerns additive cancellativity: if (S,+)(S, +) is cancellative—meaning a+c=b+ca + c = b + c implies a=ba = b for all a,b,cSa, b, c \in S—then the absorption laws 0x=00 \cdot x = 0 and x0=0x \cdot 0 = 0 follow from distributivity alone. To see this, note that x0=x(0+0)=x0+x0x \cdot 0 = x \cdot (0 + 0) = x \cdot 0 + x \cdot 0; left cancellation under addition then yields x0=0x \cdot 0 = 0. The argument for 0x=00 \cdot x = 0 is symmetric. Such cancellative semirings imply stronger algebraic structures, often resembling semifields or integral domains in restricted cases, but additive cancellativity is rare among common semirings (e.g., it fails in idempotent examples like the ).

Canonical Representations

In semiring theory, an analogue of Rees's theorem characterizes completely simple semirings as those isomorphic to a Rees matrix semiring M(I,R,Λ;P)M(I, R, \Lambda; P), where II and Λ\Lambda are index sets forming left and right zero semigroups under addition, RR is a skew-ring, and P:Λ×IRP: \Lambda \times I \to R is a sandwich matrix satisfying regularity conditions such as the existence of inverses in rows and columns to ensure simplicity. This decomposition highlights the ideal structure, where the semiring decomposes into principal ideals generated by the matrix entries, analogous to the Rees matrix construction over groups in semigroup theory but adapted to the absence of additive inverses. Green's relations, originally defined for semigroups, are adapted to semirings by applying them separately to the additive monoid and the multiplicative semigroup. For the multiplicative structure, the relations L\mathcal{L}, R\mathcal{R}, H\mathcal{H}, D\mathcal{D}, and J\mathcal{J} classify elements based on generated principal left, right, and two-sided ideals, while additive variants L+\mathcal{L}^+, R+\mathcal{R}^+, etc., do the same for the addition operation. In quasi completely regular semirings, these relations facilitate decomposition into H+\mathcal{H}^+-classes, each forming a quasi skew-ring, providing a structural breakdown without assuming commutativity or inverses. Representations as spans of idempotents arise in this context, where regular elements in the multiplicative semigroup can be expressed as linear combinations (under addition) of primitive idempotents spanning principal ideals, particularly in completely 0-simple semirings where such idempotents characterize the simplicity. For finite semirings, a canonical form emerges from semisimplicity: every finite semisimple semiring decomposes as a subdirect product of primitive semirings, and since finiteness implies the components are congruence-simple, this yields a direct product decomposition. Primitive semirings, defined as those admitting a faithful simple (or minimal) semimodule, take the form of transitive endomorphism semirings over a division semiring DD (where every nonzero element is invertible under multiplication), often realized as full matrix semirings Mn(D)M_n(D) for finite dimension nn, mirroring the Artin-Wedderburn theorem for rings but over semifields or division semirings. Commutative primitive semirings are limited to the 2-element Boolean semiring or fields, ensuring the decomposition captures the full algebraic structure.

Special Classes of Semirings

Commutative and Idempotent Semirings

A commutative semiring is a semiring (S,+,,0,1)(S, +, \cdot, 0, 1) in which both the addition and multiplication operations are commutative, meaning a+b=b+aa + b = b + a and ab=baa \cdot b = b \cdot a for all a,bSa, b \in S. This commutativity ensures that the additive monoid (S,+,0)(S, +, 0) is abelian and the multiplicative monoid (S,,1)(S, \cdot, 1) is abelian. Commutative semirings generalize commutative rings by omitting the requirement for additive inverses while preserving the commutativity of both binary operations; the absence of negatives distinguishes them structurally from rings, though many ring-theoretic concepts like ideals extend to this setting with modifications. An idempotent semiring, also known as an additively idempotent semiring or dioid, satisfies a+a=aa + a = a for all aSa \in S. In such structures, the additive operation turns (S,+,0)(S, +, 0) into a join-semilattice with least element $0,wherethecanonicalpartialorderisdefinedby, where the canonical partial order is defined by a \leq bifandonlyifif and only ifa + b = b$. When the semiring is also commutative, this semilattice structure aligns with the abelian additive monoid, enhancing the algebraic interplay between the operations. A canonical example of a commutative idempotent semiring is the max-plus algebra over the extended real line R{}\mathbb{R} \cup \{-\infty\}, where addition is the maximum operation =max\oplus = \max (idempotent and commutative) and multiplication is ordinary addition =+\otimes = + (commutative), with identities -\infty for \oplus and $0forfor\otimes$. This semiring's lattice-like additive structure underpins applications in optimization and scheduling, where paths or resources are aggregated via maxima. Commutative idempotent semirings exhibit lattice aspects through their additive semilattice, with distributivity ensuring that multiplication respects the join structure: a(b+c)=ab+aca \cdot (b + c) = a \cdot b + a \cdot c and (b+c)a=ba+ca(b + c) \cdot a = b \cdot a + c \cdot a, allowing elements to act as lattice homomorphisms in certain contexts.

Ordered Semirings

An ordered semiring is a semiring (S,+,,0,1)(S, +, \cdot, 0, 1) equipped with a partial order \leq on SS that is compatible with the semiring operations in the following sense: for all x,y,zSx, y, z \in S, if xyx \leq y, then x+zy+zx + z \leq y + z, xzyzx \cdot z \leq y \cdot z, and zxzyz \cdot x \leq z \cdot y. Additionally, $0istheminimalelementofis the minimal element ofSwithrespecttowith respect to\leq,so, so 0 \leq xforallfor allx \in S, and &#36;1 is positive, meaning 010 \leq 1. This compatibility ensures that the order respects both addition and multiplication, allowing ordered semirings to model structures where monotonicity is essential, such as in optimization problems or formal language theory. The positive cone of an ordered semiring (S,+,,0,1,)(S, +, \cdot, 0, 1, \leq) is the subset P={xS0x}P = \{ x \in S \mid 0 \leq x \}, which includes all elements greater than or equal to the additive identity. In many cases, particularly when $0isminimal,theentiresemiringis minimal, the entire semiringScoincideswithcoincides with{0} \cup P,reflectingtheabsenceofnegativeelementsinherenttosemirings.[](https://www.aimspress.com/article/doi/10.3934/math.2020370?viewType=HTML)Thepositivecone, reflecting the absence of negative elements inherent to semirings.[](https://www.aimspress.com/article/doi/10.3934/math.2020370?viewType=HTML) The positive cone P$ itself often forms a subsemiring under the induced operations, providing a foundation for studying order-preserving homomorphisms and ideals within ordered semirings. In the context of arithmetic and logic, a discretely ordered semiring is an ordered semiring equipped with a total discrete order \leq, meaning the order is linear and every element xSx \in S has an immediate successor yy, i.e., x<yx < y and there is no zz with x<z<yx < z < y. This property ensures that the order has no dense intervals, distinguishing discretely ordered semirings from those with continuous orders and enabling applications in discrete mathematics, such as automata theory over countable structures. A prototypical example is the semiring of non-negative integers (N0,+,,0,1,)(\mathbb{N}_0, +, \cdot, 0, 1, \leq), where the order is total and discrete, with each nn having immediate successor n+1n+1. An example of an ordered semiring that is not discretely ordered is the set of non-negative real numbers R0=[0,)\mathbb{R}_{\geq 0} = [0, \infty) equipped with the usual addition ++, multiplication \cdot, zero $0, one &#36;1, and the standard order \leq. Here, the order is total rather than merely partial, and the positive cone is R>0{0}\mathbb{R}_{>0} \cup \{0\}, illustrating a continuously ordered structure without discrete successors.

Complete and Continuous Semirings

Complete Semirings

A complete semiring is an (S,+,,0,1)(S, +, \cdot, 0, 1) where the additive (S,+,0)(S, +, 0) forms a complete join-semilattice, meaning every of SS has a least upper bound (supremum) with respect to the natural order induced by addition, and addition ++ coincides with this join operation; additionally, multiplication \cdot is continuous, preserving arbitrary suprema in each argument separately: for any sSs \in S and ASA \subseteq S, s(supA)=sup{saaA}s \cdot (\sup A) = \sup \{ s \cdot a \mid a \in A \} and (supA)s=sup{asaA}(\sup A) \cdot s = \sup \{ a \cdot s \mid a \in A \}. This definition ensures that infinite operations are well-defined and compatible with the semiring axioms, extending finite distributivity to arbitrary families. In complete semirings, arbitrary sums over an II are defined as the supremum of all finite partial sums: iIxi=sup{jJxj  |  JI,J<}\sum_{i \in I} x_i = \sup \left\{ \sum_{j \in J} x_j \;\middle|\; J \subseteq I, \, |J| < \infty \right\}
Add your contribution
Related Hubs
User Avatar
No comments yet.