Math 2.0

Associative rings and algebras Definition

Semiring

Builds on Monoid

Definition

Let SS be a set with two binary operations ++ and ⋅\cdot, and two elements 00 and 11 of SS. The tuple (S,+,⋅,0,1)(S, +, \cdot, 0, 1) is a semiring if the following hold.

  1. (S,+,0)(S, +, 0) is a commutative monoid.
  2. (S,⋅,1)(S, \cdot, 1) is a monoid.
  3. Multiplication distributes over addition on both sides: a⋅(b+c)=a⋅b+a⋅ca \cdot (b + c) = a \cdot b + a \cdot c and (a+b)⋅c=a⋅c+b⋅c(a + b) \cdot c = a \cdot c + b \cdot c for all a,b,c∈Sa, b, c \in S.
  4. Zero is absorbing: 0⋅a=a⋅0=00 \cdot a = a \cdot 0 = 0 for all a∈Sa \in S.

The semiring is commutative if its multiplication is commutative.

Remarks

The natural numbers ℕ={0,1,2,… }\N = \set{0, 1, 2, \dots} with the usual addition and multiplication form a commutative semiring. The four clauses are the familiar rules of arithmetic on ℕ\N. The tropical semiring is ℝ∪{∞}\R \cup \set{\infty} with min⁡\min as addition, ordinary ++ as multiplication, ∞\infty as zero and 00 as one. For instance, a+min⁡(b,c)=min⁡(a+b,a+c)a + \min(b, c) = \min(a + b, a + c) gives distributivity, and a+∞=∞a + \infty = \infty gives the absorbing clause. The positive integers {1,2,3,… }\set{1, 2, 3, \dots} with the usual operations are not a semiring: there is no additive identity, so clause 1 fails. A ring is exactly a semiring in which (S,+)(S, +) is a group; clause 4 then follows from the others. Some authors omit 00 or 11 from the definition, and some do not require clause 4.

Reading path

To understand this page from the ground up, read these 2 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Monoid concept
  2. Semiring definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Semiring
About this page
TagQ07RA7AMDE
URIm2://Q07RA7AMDE
Kinddefinition
WritingW0 stub
MSC16Y60
DefinesSemiring
UsesMonoid
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.