Canonical: https://knowlpedia.com/algebra-rings/ordered-semiring/

# Ordered semiring

A semiring with a partial order compatible with addition and multiplication.

An **ordered semiring** is a [semiring](https://knowlpedia.com/algebra-rings/semiring/) \(R\) equipped with a [partial order](https://knowlpedia.com/shared-foundations/partial-order/) \(\leq\) such that
\[
a\leq b\Longrightarrow a+c\leq b+c
\quad\text{and}\quad
ac\leq bc
\]
for all \(a,b,c\in R\). In this knowl, semirings are commutative and unital, so the second condition also covers multiplication on the other side.

## Scope

The order is part of the structure; it need not be the [natural order of an idempotent semiring](https://knowlpedia.com/algebra-rings/natural-order-of-idempotent-semiring/), and \(0\) need not be the least element. Morphisms of ordered semirings preserve \(0,1,+,\cdot\) and the order.

An order generated by specified inequalities is closed under reflexivity, transitivity, addition, and multiplication. This presentation viewpoint is the additive-relation layer used by [ordered blueprints](https://knowlpedia.com/algebraic-geometry-foundations/ordered-blueprint/).

## Examples

- Every semiring has the **discrete order**, \(a\leq b\) exactly when \(a=b\).
- \(\mathbb{R}_{\geq 0}\) with its usual operations and order is an ordered semiring.
- An [idempotent semiring](https://knowlpedia.com/algebra-rings/idempotent-semiring/) has the canonical order \(a\leq b\iff a+b=b\), but reversing that order is also common in tropical conventions.

## References

The convention follows Baker–Lorscheid, [*The moduli space of matroids*, §2.6](https://arxiv.org/abs/1809.03542).
