Definition:Semiring (Abstract Algebra)

Definition
A semiring is a ringoid $\left({S, *, \circ}\right)$ in which:
 * $(1): \quad \left({S, *}\right)$ forms a semigroup
 * $(2): \quad \left({S, \circ}\right)$ forms a semigroup.

That is, such that $\left({S, *, \circ}\right)$ has the following properties:

These are called the semiring axioms.

Also defined as
There are various other conventions on what constitutes a semiring.

Some of these have a distinguished, different name on ProofWiki:


 * Additive semirings are semirings whose distributand is commutative


 * Rigs are semirings whose distributand forms a commutative monoid

Still, some sources impose further that there be a identity element for the distributor, i.e., that $\left({S, \circ}\right)$ be a monoid.

Such a structure could be referred to as a "rig with unity", consistent with the definition of ring with unity.

This website thus specifically defines a semiring as one fulfilling axioms $A0, A1, M0, M1, D$ only (that is, as two semigroups bound by distributivity).

Also see

 * Ringoid
 * Additive Semiring
 * Rig
 * Ring