Naturally Ordered Semiring
   HOME

TheInfoList



OR:

In mathematics, monus is an operator on certain
commutative In mathematics, a binary operation is commutative if changing the order of the operands does not change the result. It is a fundamental property of many binary operations, and many mathematical proofs depend on it. Perhaps most familiar as a pr ...
monoid In abstract algebra, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being . Monoids are semigroups with identity ...
s that are not groups. A commutative monoid on which a monus operator is defined is called a commutative monoid with monus, or CMM. The monus operator may be denoted with the − symbol because the
natural number In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s are a CMM under
subtraction Subtraction (which is signified by the minus sign, –) is one of the four Arithmetic#Arithmetic operations, arithmetic operations along with addition, multiplication and Division (mathematics), division. Subtraction is an operation that repre ...
; it is also denoted with the \mathop symbol to distinguish it from the standard subtraction operator.


Notation

A use of the monus symbol is seen in Dennis Ritchie's PhD Thesis from
1968 Events January–February * January 1968, January – The I'm Backing Britain, I'm Backing Britain campaign starts spontaneously. * January 5 – Prague Spring: Alexander Dubček is chosen as leader of the Communist Party of Cze ...
.


Definition

Let (M, +, 0) be a commutative
monoid In abstract algebra, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being . Monoids are semigroups with identity ...
. Define a
binary relation In mathematics, a binary relation associates some elements of one Set (mathematics), set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs ...
\leq on this monoid as follows: for any two elements a and b, define a \leq b if there exists an element c such that a + c = b. It is easy to check that \leq is reflexive and that it is transitive. M is called ''naturally ordered'' if the \leq relation is additionally antisymmetric and hence a
partial order In mathematics, especially order theory, a partial order on a set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements needs to be comparable ...
. Further, if for each pair of elements a and b, a unique smallest element c exists such that a \leq b + c, then is called a ''commutative monoid with monus'' and the ''monus'' a \mathop b of any two elements a and b can be defined as this unique smallest element c such that a \leq b + c. An example of a commutative monoid that is not naturally ordered is (\mathbb, +, 0), the commutative monoid of the
integer An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
s with usual
addition Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol, +) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication, and Division (mathematics), divis ...
, as for any a, b \in \mathbb there exists c such that a + c = b, so a \leq b holds for any a, b \in \mathbb, so \leq is not a partial order. There are also examples of monoids that are naturally ordered but are not semirings with monus.


Other structures

Beyond monoids, the notion of monus can be applied to other structures. For instance, a naturally ordered semiring (sometimes called a dioidSemirings for breakfast
slide 17) is a
semiring In abstract algebra, a semiring is an algebraic structure. Semirings are a generalization of rings, dropping the requirement that each element must have an additive inverse. At the same time, semirings are a generalization of bounded distribu ...
where the commutative monoid induced by the addition operator is naturally ordered. When this monoid is a commutative monoid with monus, the semiring is called a semiring with monus, or m-semiring.


Examples

If is an ideal in a
Boolean algebra In mathematics and mathematical logic, Boolean algebra is a branch of algebra. It differs from elementary algebra in two ways. First, the values of the variable (mathematics), variables are the truth values ''true'' and ''false'', usually denot ...
, then is a commutative monoid with monus under a + b = a \vee b and a \mathop b = a \wedge \neg b .


Natural numbers

The
natural number In mathematics, the natural numbers are the numbers 0, 1, 2, 3, and so on, possibly excluding 0. Some start counting with 0, defining the natural numbers as the non-negative integers , while others start with 1, defining them as the positive in ...
s including 0 form a commutative monoid with monus, with their ordering being the usual order of natural numbers and the monus operator being a saturating variant of standard subtraction, variously referred to as truncated subtraction, limited subtraction, proper subtraction, doz (''difference or zero''), and monus. Truncated subtraction is usually defined as :a \mathop b = \begin 0 & \mbox a < b \\ a - b & \mbox a \ge b, \end where − denotes standard
subtraction Subtraction (which is signified by the minus sign, –) is one of the four Arithmetic#Arithmetic operations, arithmetic operations along with addition, multiplication and Division (mathematics), division. Subtraction is an operation that repre ...
. For example, 5 − 3 = 2 and 3 − 5 = −2 in regular subtraction, whereas in truncated subtraction 3 ∸ 5 = 0. Truncated subtraction may also be defined as :a \mathop b = \max(a - b, 0). In Peano arithmetic, truncated subtraction is defined in terms of the predecessor function (the inverse of the
successor function In mathematics, the successor function or successor operation sends a natural number to the next one. The successor function is denoted by ''S'', so ''S''(''n'') = ''n'' +1. For example, ''S''(1) = 2 and ''S''(2) = 3. The successor functio ...
): : \begin P(0) &= 0 \\ P(S(a)) &= a \\ a \mathop 0 &= a \\ a \mathop S(b) &= P(a \mathop b). \end A definition that does not need the predecessor function is: : \begin a \mathop 0 &= a \\ 0 \mathop b &= 0 \\ S(a) \mathop S(b) &= a \mathop b. \end Truncated subtraction is useful in contexts such as
primitive recursive function In computability theory, a primitive recursive function is, roughly speaking, a function that can be computed by a computer program whose loops are all "for" loops (that is, an upper bound of the number of iterations of every loop is fixed befor ...
s, which are not defined over negative numbers. Truncated subtraction is also used in the definition of the
multiset In mathematics, a multiset (or bag, or mset) is a modification of the concept of a set that, unlike a set, allows for multiple instances for each of its elements. The number of instances given for each element is called the ''multiplicity'' of ...
difference operator.


Properties

The class of all commutative monoids with monus form a variety. The equational basis for the variety of all CMMs consists of the axioms for commutative monoids, as well as the following axioms: \begin a + (b \mathop a) &= b + (a \mathop b),\\ (a \mathop b) \mathop c &= a \mathop (b + c),\\ (a \mathop a) &= 0,\\ (0 \mathop a) &= 0.\\ \end{align}


Notes

Algebraic structures