Recall that a semiring is a set equipped with two binary operations, denoted , and and called addition and multiplication, satisfying the ring (or rng) axioms except that there may not be a zero nor a negative.
An idempotent semiring (also known as a dioid) is one in which addition is idempotent: , for all .
The term dioid is sometimes used as an alternative name for idempotent semirings.
Any quantale is an idempotent semiring, or dioid, under join and multiplication.
The powerset of the set of languages over a given alphabet forms an idempotent semiring in which and multiplication is given by concatentation.
The tropical algebra and the max-plus algebra are idempotent semirings.