Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Semiring

From Wikipedia, the free encyclopedia
(Redirected fromIdempotent semiring)
This article is about algebraic structures. For other uses, seeRing of sets § semiring.
Algebraic ring that need not have additive negative elements
Algebraic structure → Ring theory
Ring theory

Inabstract algebra, asemiring is analgebraic structure. Semirings are a generalization ofrings, dropping the requirement that each element must have anadditive inverse. At the same time, semirings are a generalization ofboundeddistributive lattices.

The smallest semiring that is not a ring is thetwo-element Boolean algebra, for instance withlogical disjunction{\displaystyle \lor } as addition. A motivating example that is neither a ring nor a lattice is the set ofnatural numbersN{\displaystyle \mathbb {N} } (including zero) under ordinary addition and multiplication. Semirings are abundant because a suitable multiplication operation arises as thefunction composition ofendomorphisms over anycommutative monoid.

Algebraic structures

Terminology

[edit]

Some authors define semirings without the requirement for there to be a0{\displaystyle 0} or1{\displaystyle 1}. This makes the analogy betweenring andsemiring on the one hand andgroup andsemigroup on the other hand work more smoothly. These authors often userig for the concept defined here.[1][a] This originated as a joke, suggesting that rigs are rings withoutnegative elements. (Akin to usingrng to mean a ring without a multiplicativeidentity.)

The termdioid (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 fornaturally ordered semirings[3] but the term was also used for idempotent subgroups byBaccelli et al. in 1992.[4])

Definition

[edit]

Asemiring is asetR{\displaystyle R} equipped with twobinary operations+{\displaystyle +} and,{\displaystyle \cdot ,} called addition and multiplication, such that:[5][6][7]

Further, the following axioms tie to both operations:

Notation

[edit]

The symbol{\displaystyle \cdot } is usually omitted from the notation; that is,ab{\displaystyle a\cdot b} is just writtenab.{\displaystyle ab.}

Similarly, anorder of operations is conventional, in which{\displaystyle \cdot } is applied before+{\displaystyle +}. That is,a+bc{\displaystyle a+b\cdot c} denotesa+(bc){\displaystyle a+(b\cdot c)}.

For the purpose of disambiguation, one may write0R{\displaystyle 0_{R}} or1R{\displaystyle 1_{R}} to emphasize which structure the units at hand belong to.

IfxR{\displaystyle x\in R} is an element of a semiring andnN{\displaystyle n\in {\mathbb {N} }}, thenn{\displaystyle n}-times repeated multiplication ofx{\displaystyle x} with itself is denotedxn{\displaystyle x^{n}}, and one similarly writesxn:=x+x++x{\displaystyle x\,n:=x+x+\cdots +x} for then{\displaystyle n}-times repeated addition.

Construction of new semirings

[edit]

Thezero ring with underlying set{0}{\displaystyle \{0\}} is a semiring called the trivial semiring. This triviality can be characterized via0=1{\displaystyle 0=1} and so when speaking of nontrivial semirings,01{\displaystyle 0\neq 1} 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 numbersN{\displaystyle {\mathbb {N} }} with its arithmetic structure form a semiring. Taking the zero and the image of the successor operation in a semiringR{\displaystyle R}, i.e., the set{xRx=0Rp.x=p+1R}{\displaystyle \{x\in R\mid x=0_{R}\lor \exists p.x=p+1_{R}\}} together with the inherited operations, is always a sub-semiring ofR{\displaystyle R}.

If(M,+){\displaystyle (M,+)} is a commutative monoid, function composition provides the multiplication to form a semiring: The setEnd(M){\displaystyle \operatorname {End} (M)} of endomorphismsMM{\displaystyle M\to M} forms a semiring where addition is defined from pointwise addition inM{\displaystyle M}. Thezero morphism and the identity are the respective neutral elements. IfM=Rn{\displaystyle M=R^{n}} withR{\displaystyle R} a semiring, we obtain a semiring that can be associated with the squaren×n{\displaystyle n\times n}matricesMn(R){\displaystyle {\mathcal {M}}_{n}(R)} with coefficients inR{\displaystyle R}, thematrix semiring using ordinaryaddition andmultiplication rules of matrices. GivennN{\displaystyle n\in {\mathbb {N} }} andR{\displaystyle R} a semiring,Mn(R){\displaystyle {\mathcal {M}}_{n}(R)} is always a semiring also. It is generally non-commutative even ifR{\displaystyle R} was commutative.

Dorroh extensions: IfR{\displaystyle R} is a semiring, thenR×N{\displaystyle R\times {\mathbb {N} }} with pointwise addition and multiplication given byx,ny,m:=xy+(xm+yn),nm{\displaystyle \langle x,n\rangle \bullet \langle y,m\rangle :=\langle x\cdot y+(x\,m+y\,n),n\cdot m\rangle } defines another semiring with multiplicative unit1R×N:=0R,1N{\displaystyle 1_{R\times {\mathbb {N} }}:=\langle 0_{R},1_{\mathbb {N} }\rangle }. Very similarly, ifN{\displaystyle N} is any sub-semiring ofR{\displaystyle R}, one may also define a semiring onR×N{\displaystyle R\times N}, just by replacing the repeated addition in the formula by multiplication. Indeed, these constructions even work under looser conditions, as the structureR{\displaystyle R} 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 zero0{\displaystyle 0'} to the underlying set and thus obtain such a zerosumfree semiring that also lackszero divisors. In particular, now00=0{\displaystyle 0\cdot 0'=0'} 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{\displaystyle -\infty } resp.+{\displaystyle +\infty } 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 thelogical connectives of disjunction and conjunction:{0,1},+,,0,1={,},,,,{\displaystyle \langle \{0,1\},+,\cdot ,\langle 0,1\rangle \rangle =\langle \{\bot ,\top \},\lor ,\land ,\langle \bot ,\top \rangle \rangle }. Consequently, this is the smallest semiring that is not a ring. Explicitly, it violates the ring axioms asP={\displaystyle \top \lor P=\top } for allP{\displaystyle P}, i.e.1{\displaystyle 1} has no additive inverse. In theself-dual definition, the fault is withP={\displaystyle \bot \land P=\bot }. (This is not to be conflated with the ringZ2{\displaystyle \mathbb {Z} _{2}}, whose addition functions asxor{\displaystyle \veebar }.) In thevon Neumann model of the naturals,0ω:={}{\displaystyle 0_{\omega }:=\{\}},1ω:={0ω}{\displaystyle 1_{\omega }:=\{0_{\omega }\}} and2ω:={0ω,1ω}=P1ω{\displaystyle 2_{\omega }:=\{0_{\omega },1_{\omega }\}={\mathcal {P}}1_{\omega }}. The two-element semiring may be presented in terms of the set theoretic union and intersection asP1ω,,,{},1ω{\displaystyle \langle {\mathcal {P}}1_{\omega },\cup ,\cap ,\langle \{\},1_{\omega }\rangle \rangle }. Now this structure in fact still constitutes a semiring when1ω{\displaystyle 1_{\omega }} is replaced by any inhabited set whatsoever.

Theideals on a semiringR{\displaystyle R}, with their standard operations on subset, form a lattice-ordered, simple and zerosumfree semiring. The ideals ofMn(R){\displaystyle {\mathcal {M}}_{n}(R)} are in bijection with the ideals ofR{\displaystyle R}. The collection of left ideals ofR{\displaystyle R} (and likewise the right ideals) also have much of that algebraic structure, except that thenR{\displaystyle R} does not function as a two-sided multiplicative identity.

IfR{\displaystyle R} is a semiring andA{\displaystyle A} is aninhabited set,A{\displaystyle A^{*}} denotes thefree monoid and the formal polynomialsR[A]{\displaystyle R[A^{*}]} 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 singletonA={X}{\displaystyle A=\{X\}} such thatA={ε,X,X2,X3,}{\displaystyle A^{*}=\{\varepsilon ,X,X^{2},X^{3},\dots \}}, one writesR[X]{\displaystyle R[X]}. Zerosumfree sub-semirings ofR{\displaystyle R} can be used to determine sub-semirings ofR[A]{\displaystyle R[A^{*}]}.

Given a setA{\displaystyle A}, not necessarily just a singleton, adjoining a default element to the set underlying a semiringR{\displaystyle R} one may define the semiring of partial functions fromA{\displaystyle A} toR{\displaystyle R}.

Given aderivationd{\displaystyle {\mathrm {d} }} on a semiringR{\displaystyle R}, another the operation "{\displaystyle \bullet }" fulfillingXy=yX+d(y){\displaystyle X\bullet y=y\bullet X+{\mathrm {d} }(y)} can be defined as part of a new multiplication onR[X]{\displaystyle R[X]}, resulting in another semiring.

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

Derivations

[edit]

Derivations on a semiringR{\displaystyle R} are the mapsd:RR{\displaystyle {\mathrm {d} }\colon R\to R} withd(x+y)=d(x)+d(y){\displaystyle {\mathrm {d} }(x+y)={\mathrm {d} }(x)+{\mathrm {d} }(y)} andd(xy)=d(x)y+xd(y){\displaystyle {\mathrm {d} }(x\cdot y)={\mathrm {d} }(x)\cdot y+x\cdot {\mathrm {d} }(y)}.

For example, ifE{\displaystyle E} is the2×2{\displaystyle 2\times 2} unit matrix andU=(0100){\displaystyle U={\bigl (}{\begin{smallmatrix}0&1\\0&0\end{smallmatrix}}{\bigr )}}, then the subset ofM2(R){\displaystyle {\mathcal {M}}_{2}(R)} given by the matricesaE+bU{\displaystyle a\,E+b\,U} witha,bR{\displaystyle a,b\in R} is a semiring with derivationaE+bUbU{\displaystyle a\,E+b\,U\mapsto b\,U}.

Properties

[edit]

A basic property of semirings is that1{\displaystyle 1} is not a left or rightzero divisor, and that1{\displaystyle 1} but also0{\displaystyle 0} squares to itself, i.e. these haveu2=u{\displaystyle u^{2}=u}.

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, the2-ary predicatexprey{\displaystyle x\leq _{\text{pre}}y} defined asd.x+d=y{\displaystyle \exists d.x+d=y}, here defined for the addition operation, always constitutes the rightcanonicalpreorder relation.Reflexivityyprey{\displaystyle y\leq _{\text{pre}}y} is witnessed by the identity. Further,0prey{\displaystyle 0\leq _{\text{pre}}y} is always valid, and so zero is theleast 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 integersN{\displaystyle \mathbb {N} }, for example, this relation isanti-symmetric andstrongly connected, and thus in fact a (non-strict)total order.

Below, more conditional properties are discussed.

Semifields

[edit]

Anyfield is also asemifield, which in turn is a semiring in which also multiplicative inverses exist.

Rings

[edit]

Any field is also aring, 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 acommutative monoid, not acommutative 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.

Here1{\displaystyle -1}, the additive inverse of1{\displaystyle 1}, squares to1{\displaystyle 1}. As additive differencesd=yx{\displaystyle d=y-x} always exist in a ring,xprey{\displaystyle x\leq _{\text{pre}}y} is a trivial binary relation in a ring.

Commutative semirings

[edit]

A semiring is called acommutative semiring if also the multiplication is commutative.[8] Its axioms can be stated concisely: It consists of two commutative monoids+,0{\displaystyle \langle +,0\rangle } and,1{\displaystyle \langle \cdot ,1\rangle } on one set such thata0=0{\displaystyle a\cdot 0=0} anda(b+c)=ab+ac{\displaystyle a\cdot (b+c)=a\cdot b+a\cdot c}.

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

The commutative semiring of natural numbers is theinitial object among its kind, meaning there is a unique structure preserving map ofN{\displaystyle {\mathbb {N} }} into any commutative semiring.

The bounded distributive lattices arepartially ordered, commutative semirings fulfilling certain algebraic equations relating to distributivity and idempotence. Thus so are theirduals.

Ordered semirings

[edit]

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

Given astrict total order (also sometimes called linear order, orpseudo-order in a constructive formulation), then by definition, thepositive andnegative elements fulfill0<x{\displaystyle 0<x} resp.x<0{\displaystyle x<0}. By irreflexivity of a strict order, ifs{\displaystyle s} is a left zero divisor, thensx<sy{\displaystyle s\cdot x<s\cdot y} is false. Thenon-negative elements are characterized by¬(x<0){\displaystyle \neg (x<0)}, which is then written0x{\displaystyle 0\leq x}.

Generally, the strict total order can be negated to define an associated partial order. Theasymmetry of the former manifests asx<yxy{\displaystyle x<y\to x\leq y}. In fact inclassical mathematics the latter is a (non-strict) total order and such that0x{\displaystyle 0\leq x} impliesx=00<x{\displaystyle x=0\lor 0<x}. Likewise, given any (non-strict) total order, its negation isirreflexive andtransitive, 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 "pre{\displaystyle \leq _{\text{pre}}}" 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 "pre{\displaystyle \leq _{\text{pre}}}".

Additively idempotent semirings

[edit]

A semiring in which every element is an additiveidempotent, that is,x+x=x{\displaystyle x+x=x} for all elementsx{\displaystyle x}, is called an(additively) idempotent semiring.[9] Establishing1+1=1{\displaystyle 1+1=1} suffices. Be aware that sometimes this is just called idempotent semiring, regardless of rules for multiplication.

In such a semiring,xprey{\displaystyle x\leq _{\text{pre}}y} is equivalent tox+y=y{\displaystyle x+y=y} and always constitutes a partial order, here now denotedxy{\displaystyle x\leq y}. In particular, herex0x=0{\displaystyle x\leq 0\leftrightarrow x=0}. 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 thatxy{\displaystyle x\leq y} impliesx+ty+t{\displaystyle x+t\leq y+t}, and furthermore impliessxsy{\displaystyle s\cdot x\leq s\cdot y} as well asxsys{\displaystyle x\cdot s\leq y\cdot s}, for allx,y,t{\displaystyle x,y,t} ands{\displaystyle s}.

IfR{\displaystyle R} is additively idempotent, then so are the polynomials inR[X]{\displaystyle R[X^{*}]}.

A semiring such that there is a lattice structure on its underlying set islattice-ordered if the sum coincides with the meet,x+y=xy{\displaystyle x+y=x\lor y}, and the product lies beneath the joinxyxy{\displaystyle x\cdot y\leq x\land y}. The lattice-ordered semiring of ideals on a semiring is not necessarilydistributive with respect to the lattice structure.

More strictly than just additive idempotence, a semiring is calledsimple iffx+1=1{\displaystyle x+1=1} for allx{\displaystyle x}. Then also1+1=1{\displaystyle 1+1=1} andx1{\displaystyle x\leq 1} for allx{\displaystyle x}. Here1{\displaystyle 1} then functions akin to an additively infinite element. IfR{\displaystyle R} is an additively idempotent semiring, then{xRx+1=1}{\displaystyle \{x\in R\mid x+1=1\}} with the inherited operations is its simple sub-semiring. An example of an additively idempotent semiring that is not simple is thetropical semiring onR{}{\displaystyle {\mathbb {R} }\cup \{-\infty \}} with the 2-ary maximum function, with respect to the standard order, as addition. Its simple sub-semiring is trivial.

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

An additively idempotent semiring with idempotent multiplication,x2=x{\displaystyle x^{2}=x}, is calledadditively 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 theBoolean 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 ringR{\displaystyle {\mathbb {R} }}, one can define a non-trivial positivity predicate0<x{\displaystyle 0<x} and a predicatex<y{\displaystyle x<y} as0<(yx){\displaystyle 0<(y-x)} that constitutes a strict total order, which fulfills properties such as¬(x<00<x)x=0{\displaystyle \neg (x<0\lor 0<x)\to x=0}, or classically thelaw of trichotomy. With its standard addition and multiplication, this structure forms the strictlyordered field that isDedekind-complete.By definition, allfirst-order properties proven in the theory of the reals are also provable in thedecidable theory of thereal closed field. For example, herex<y{\displaystyle x<y} is mutually exclusive withd.y+d2=x{\displaystyle \exists d.y+d^{2}=x}.

But beyond just ordered fields, the four properties listed below are also still valid in many sub-semirings ofR{\displaystyle {\mathbb {R} }}, 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 theseordered rings, in the sense that addition and multiplication in this ring validate

In particular,(0<y0<s)0<sy{\displaystyle (0<y\land 0<s)\to 0<s\cdot y} and so squaring of elements preserves positivity.

Take note of two more properties that are always valid in a ring. Firstly, triviallyPxprey{\displaystyle P\,\to \,x\leq _{\text{pre}}y} for anyP{\displaystyle P}. In particular, thepositive 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(1)2=1{\displaystyle (-1)^{2}=1}, all squares are proven non-negative. Consequently, non-trivial rings have a positive multiplicative unit,

Having discussed a strict order, it follows that01{\displaystyle 0\neq 1} and11+1{\displaystyle 1\neq 1+1}, 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 by1{\displaystyle 1} being positive andcovering0{\displaystyle 0}, i.e. there being no elementx{\displaystyle x} between the units,¬(0<xx<1){\displaystyle \neg (0<x\land x<1)}. Now in the present context, an order shall be calleddiscrete if this is fulfilled and, furthermore, all elements of the semiring are non-negative, so that the semiring starts out with the units.

Denote byPA{\displaystyle {\mathsf {PA}}^{-}} 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 modelN{\displaystyle \mathbb {N} } as its initial segment andGödel incompleteness andTarski undefinability already apply toPA{\displaystyle {\mathsf {PA}}^{-}}. The non-negative elements of a commutative,discretely ordered ring always validate the axioms ofPA{\displaystyle {\mathsf {PA}}^{-}}. So a slightly more exotic model of the theory is given by the positive elements in thepolynomial ringZ[X]{\displaystyle {\mathbb {Z} }[X]}, with positivity predicate forp=k=0nakXk{\displaystyle p={\textstyle \sum }_{k=0}^{n}a_{k}X^{k}} defined in terms of the last non-zero coefficient,0<p:=(0<an){\displaystyle 0<p:=(0<a_{n})}, andp<q:=(0<qp){\displaystyle p<q:=(0<q-p)} as above. WhilePA{\displaystyle {\mathsf {PA}}^{-}} proves allΣ1{\displaystyle \Sigma _{1}}-sentences that are true aboutN{\displaystyle \mathbb {N} }, beyond this complexity one can find simple such statements that areindependent ofPA{\displaystyle {\mathsf {PA}}^{-}}. For example, whileΠ1{\displaystyle \Pi _{1}}-sentences true aboutN{\displaystyle \mathbb {N} } are still true for the other model just defined, inspection of the polynomialX{\displaystyle X} demonstratesPA{\displaystyle {\mathsf {PA}}^{-}}-independence of theΠ2{\displaystyle \Pi _{2}}-claim that all numbers are of the form2q{\displaystyle 2q} or2q+1{\displaystyle 2q+1} ("odd or even"). Showing that alsoZ[X,Y]/(X22Y2){\displaystyle {\mathbb {Z} }[X,Y]/(X^{2}-2Y^{2})} can be discretely ordered demonstrates that theΠ1{\displaystyle \Pi _{1}}-claimx22y2{\displaystyle x^{2}\neq 2y^{2}} for non-zerox{\displaystyle x} ("no rational squared equals2{\displaystyle 2}") is independent. Likewise, analysis forZ[X,Y,Z]/(XZY2){\displaystyle {\mathbb {Z} }[X,Y,Z]/(XZ-Y^{2})} demonstrates independence of some statements aboutfactorization true inN{\displaystyle \mathbb {N} }. There arePA{\displaystyle {\mathsf {PA}}} characterizations of primality thatPA{\displaystyle {\mathsf {PA}}^{-}} does not validate for the number2{\displaystyle 2}.

In the other direction, from any model ofPA{\displaystyle {\mathsf {PA}}^{-}} one may construct an ordered ring, which then has elements that are negative with respect to the order, that is still discrete the sense that1{\displaystyle 1} covers0{\displaystyle 0}. 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 theinitial ringZ{\displaystyle \mathbb {Z} }can be defined fromN{\displaystyle \mathbb {N} }. This, in effect, adds all the inverses and then the preorder is again trivial in thatx.xpre0{\displaystyle \forall x.x\leq _{\text{pre}}0}.

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 rationalsQ0{\displaystyle {\mathbb {Q} }_{\geq 0}}, which isdense between the units. For another example,Z[X]/(2X21){\displaystyle {\mathbb {Z} }[X]/(2X^{2}-1)} can be ordered, but not discretely so.

Natural numbers

[edit]

PA{\displaystyle {\mathsf {PA}}^{-}} plusmathematical induction givesa theory equivalent to first-orderPeano arithmeticPA{\displaystyle {\mathsf {PA}}}. The theory is also famously notcategorical, butN{\displaystyle \mathbb {N} } is of course the intended model.PA{\displaystyle {\mathsf {PA}}} proves that there are no zero divisors and it is zerosumfree and so nomodel of it is a ring.

The standard axiomatization ofPA{\displaystyle {\mathsf {PA}}} is more concise and the theory of its order is commonly treated in terms of the non-strict "pre{\displaystyle \leq _{\text{pre}}}". However, just removing the potent induction principle from that axiomatization does not leave a workable algebraic theory. Indeed, evenRobinson arithmeticQ{\displaystyle {\mathsf {Q}}}, which removes induction but adds back the predecessor existence postulate, does not prove the monoid axiomy.(0+y=y){\displaystyle \forall y.(0+y=y)}.

Complete semirings

[edit]

Acomplete semiring is a semiring for which the additive monoid is acomplete monoid, meaning that it has aninfinitary sum operationΣI{\displaystyle \Sigma _{I}} for anyindex setI{\displaystyle I} and that the following (infinitary) distributive laws must hold:[10][11][12]

iI(aai)=a(iIai),iI(aia)=(iIai)a.{\displaystyle {\textstyle \sum }_{i\in I}{\left(a\cdot a_{i}\right)}=a\cdot \left({\textstyle \sum }_{i\in I}{a_{i}}\right),\qquad {\textstyle \sum }_{i\in I}{\left(a_{i}\cdot a\right)}=\left({\textstyle \sum }_{i\in I}{a_{i}}\right)\cdot a.}

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 toresiduated lattices.

Continuous semirings

[edit]

Acontinuous semiring is similarly defined as one for which the addition monoid is acontinuous monoid. That is, partially ordered with theleast upper bound property, and for which addition and multiplication respect order and suprema. The semiringN{}{\displaystyle \mathbb {N} \cup \{\infty \}} 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]

Astar semiring (sometimes spelledstarsemiring) orclosed semiring is a semiring with an additional unary operator{\displaystyle {}^{*}},[9][11][15][16] satisfying

a=1+aa=1+aa.{\displaystyle a^{*}=1+aa^{*}=1+a^{*}a.}

AKleene algebra is a star semiring with idempotent addition and some additional axioms. They are important in the theory offormal languages andregular expressions.[11]

Complete star semirings

[edit]

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

a=j0aj,{\displaystyle a^{*}={\textstyle \sum }_{j\geq 0}{a^{j}},}

where

aj={1,j=0,aaj1=aj1a,j>0.{\displaystyle a^{j}={\begin{cases}1,&j=0,\\a\cdot a^{j-1}=a^{j-1}\cdot a,&j>0.\end{cases}}}

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

Conway semiring

[edit]

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

(a+b)=(ab)a,(ab)=1+a(ba)b.{\displaystyle {\begin{aligned}(a+b)^{*}&=\left(a^{*}b\right)^{*}a^{*},\\(ab)^{*}&=1+a(ba)^{*}b.\end{aligned}}}

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-negativerational numbersQ0{}{\displaystyle \mathbb {Q} _{\geq 0}\cup \{\infty \}} 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]Aniteration semiring is a Conway semiring satisfying the Conway group axioms,[9] associated byJohn Conway to groups in star-semirings.[19]

Examples

[edit]

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

More using monoids,

Regarding sets and similar abstractions,

Star semirings

[edit]

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

Applications

[edit]

The(max,+){\displaystyle (\max ,+)} and(min,+){\displaystyle (\min ,+)}tropical semirings on the reals are often used inperformance 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.

TheFloyd–Warshall algorithm forshortest paths can thus be reformulated as a computation over a(min,+){\displaystyle (\min ,+)} algebra. Similarly, theViterbi algorithm for finding the most probable state sequence corresponding to an observation sequence in ahidden Markov model can also be formulated as a computation over a(max,×){\displaystyle (\max ,\times )} algebra on probabilities. Thesedynamic programming algorithms rely on thedistributive 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 asemigroup rather than a monoid. Such structures are calledhemirings[30] orpre-semirings.[31] A further generalization areleft-pre-semirings,[32] which additionally do not require right-distributivity (orright-pre-semirings, which do not require left-distributivity).

Yet a further generalization arenear-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 doordinal numbers form anear-semiring, when the standardordinal addition and multiplication are taken into account. However, the class of ordinals can be turned into a semiring by considering the so-callednatural (or Hessenberg) operations instead.

Incategory theory, a2-rig is a category withfunctorial operations analogous to those of a rig. That the cardinal numbers form a rig can be categorified to say that thecategory of sets (or more generally, anytopos) is a 2-rig.

See also

[edit]
  • Ring of sets – Family closed under unions and relative complements
  • Valuation algebra – Algebra describing information processingPages displaying short descriptions of redirect targets

Notes

[edit]
  1. ^For an example see the definition of rig on Proofwiki.org
  2. ^abThis is a complete star semiring and thus also a Conway semiring.[11]

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. ^abcdeLothaire (2005), p. 211
  7. ^Sakarovitch (2009), pp. 27–28
  8. ^Lothaire (2005), p. 212
  9. ^abcdeÉ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. ^abcKuich, 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. ^abcdefghijklmnoDroste & 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. ^abSakarovitch (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. ^abcGuterman, 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. ^abcSakarovitch (2009), p. 28.
  22. ^abcBerstel & 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.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. RetrievedNovember 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]
International
National
Retrieved from "https://en.wikipedia.org/w/index.php?title=Semiring&oldid=1285072295#idempotent_semiring"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp