Apartness relation

From HandWiki

In constructive mathematics, an apartness relation is a constructive form of inequality, and is often taken to be more basic than equality. It is often written as [math]\displaystyle{ \# }[/math] (⧣ in unicode) to distinguish from the negation of equality (the denial inequality) [math]\displaystyle{ \neq, }[/math] which is weaker.

Description

An apartness relation is a symmetric irreflexive binary relation with the additional condition that if two elements are apart, then any other element is apart from at least one of them (this last property is often called co-transitivity or comparison).

That is, a binary relation [math]\displaystyle{ \# }[/math] is an apartness relation if it satisfies:[1]

  1. [math]\displaystyle{ \neg(x \# x) }[/math]
  2. [math]\displaystyle{ x \# y \;\to\; y \# x }[/math]
  3. [math]\displaystyle{ x \# y \;\to\; (x \# z \;\vee\; y \# z) }[/math]

The complement of an apartness relation is an equivalence relation, as the above three conditions become reflexivity, symmetry, and transitivity. If this equivalence relation is in fact equality, then the apartness relation is called tight. That is, [math]\displaystyle{ \# }[/math] is a tight apartness relation if it additionally satisfies:

4. [math]\displaystyle{ \neg(x \# y) \;\to\; x = y. }[/math]

In classical mathematics, it also follows that every apartness relation is the complement of an equivalence relation, and the only tight apartness relation on a given set is the complement of equality. So in that domain, the concept is not useful. In constructive mathematics, however, this is not the case.

The prototypical apartness relation is that of the real numbers: two real numbers are said to be apart if there exists (one can construct) a rational number between them. In other words, real numbers [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] are apart if there exists a rational number [math]\displaystyle{ z }[/math] such that [math]\displaystyle{ x \lt z \lt y }[/math] or [math]\displaystyle{ y \lt z \lt x. }[/math] The natural apartness relation of the real numbers is then the disjunction of its natural pseudo-order. The complex numbers, real vector spaces, and indeed any metric space then naturally inherit the apartness relation of the real numbers, even though they do not come equipped with any natural ordering.

If there is no rational number between two real numbers, then the two real numbers are equal. Classically, then, if two real numbers are not equal, one would conclude that there exists a rational number between them. However it does not follow that one can actually construct such a number. Thus to say two real numbers are apart is a stronger statement, constructively, than to say that they are not equal, and while equality of real numbers is definable in terms of their apartness, the apartness of real numbers cannot be defined in terms of their equality. For this reason, in constructive topology especially, the apartness relation over a set is often taken as primitive, and equality is a defined relation.

A set endowed with an apartness relation is known as a constructive setoid. A function [math]\displaystyle{ f: A \to B }[/math] where [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math] are constructive setoids is called a morphism for [math]\displaystyle{ \#_A }[/math] and [math]\displaystyle{ \#_B }[/math] if [math]\displaystyle{ \forall x, \, y: A.\, f(x) \; \#_B \; f(y) \Rarr x \; \#_A \; y. }[/math]

See also

References

  1. Basic proof theory, Cambridge Tracts in Theoretical Computer Science, 43 (2nd ed.), Cambridge University Press, Cambridge, 2000, p. 136, doi:10.1017/CBO9781139168717, ISBN 0-521-77911-1, https://books.google.com/books?id=x9x6F_4mUPgC&pg=PA136 .