Monus Explained

In mathematics, monus is an operator on certain commutative monoids 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 numbers are a CMM under subtraction; it is also denoted with the

-
symbol to distinguish it from the standard subtraction operator.

Notation

glyphUnicode nameUnicode code point[1] HTML character entity referenceHTML/XML numeric character referencesTeX
DOT MINUSU+2238∸\dot -
MINUS SIGNU+2212−−-

Definition

Let

(M,+,0)

be a commutative monoid. Define a binary relation

\leq

on this monoid as follows: for any two elements

a

and

b

, define

a\leqb

if there exists an element

c

such that

a+c=b

. It is easy to check that

\leq

is reflexive[2] and that it is transitive.[3]

M

is called naturally ordered if the

\leq

relation is additionally antisymmetric and hence a partial order. Further, if for each pair of elements

a

and

b

, a unique smallest element

c

exists such that

a\leqb+c

, then is called a commutative monoid with monus and the monus

a

-

b

of any two elements

a

and

b

can be defined as this unique smallest element

c

such that

a\leqb+c

.

An example of a commutative monoid that is not naturally ordered is

(Z,+,0)

, the commutative monoid of the integers with usual addition, as for any

a,b\inZ

there exists

c

such that

a+c=b

, so

a\leqb

holds for any

a,b\inZ

, so

\leq

is not a partial order. There are also examples of monoids that are naturally ordered but are not semirings with monus.[4]

Other structures

Beyond monoids, the notion of monus can be applied to other structures. For instance, a naturally ordered semiring (sometimes called a dioid[5]) is a semiring 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, then is a commutative monoid with monus under

a+b=a\veeb

and

a

-

b=a\wedge\negb

.

Natural numbers

The natural numbers 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,[6] limited subtraction, proper subtraction, doz (difference or zero),[7] and monus.[8] Truncated subtraction is usually defined as

a

-

b= \begin{cases} 0&ifa<b\\ a-b&ifa\geb, \end{cases}

where - denotes standard subtraction. 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

-

b=max(a-b,0).

In Peano arithmetic, truncated subtraction is defined in terms of the predecessor function (the inverse of the successor function):

\begin{align} P(0)&=0\\ P(S(a))&=a\\ a

-

0&=a\\ a

-

S(b)&=P(a

-

b). \end{align}

A definition that does not need the predecessor function is:

\begin{align} a

-

0&=a\\ 0

-

b&=0\\ S(a)

-

S(b)&=a

-

b. \end{align}

Truncated subtraction is useful in contexts such as primitive recursive functions, which are not defined over negative numbers. Truncated subtraction is also used in the definition of the multiset 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{align} a+(b

-

a)&=b+(a

-

b),\\ (a

-

b)

-

c&=a

-

(b+c),\\ (a

-

a)&=0,\\ (0

-

a)&=0.\\ \end{align}

Notes

  1. [Character (computing)|Character]
  2. taking

    c

    to be the neutral element of the monoid
  3. if

    a\leqb

    with witness

    d

    and

    b\leqc

    with witness

    d'

    then

    d+d'

    witnesses that

    a\leqc

  4. Web site: Example of a naturally ordered semiring which is not an m-semiring . M.Monet . Mathematics Stack Exchange . 2016-10-14 . 2016-10-14 .
  5. http://marcpouly.ch/pdf/internal_100712.pdf Semirings for breakfast
  6. Book: Vereschchagin , Nikolai K. . Shen . Alexander . V. N. Dubrovskii . Computable Functions . . 2003 . 0-8218-2732-4 . 141.
  7. Book: Warren Jr. , Henry S. . Hacker's Delight . 2013 . 2 . . 978-0-321-84268-8.
  8. Book: Jacobs , Bart . Algebraic Methodology and Software Technology . Coalgebraic Specifications and Models of Deterministic Hybrid Systems . 522 . Wirsing . Martin . Nivat . Maurice . 1996 . Springer . 3-540-61463-X . Lecture Notes in Computer Science . 1101 . https://www.cs.ru.nl/B.Jacobs/PAPERS/AMAST96.ps.