Apartness relation

In constructive mathematics, an apartness relation is a constructive form of inequality, and is often taken to be more basic than equality.

An apartness relation is often written as # {\displaystyle \#} (⧣ in unicode) to distinguish from the negation of equality (the denial inequality), which is weaker. In the literature, the symbol {\displaystyle \neq } is found to be used for either of these.

Definition

A binary relation # {\displaystyle \#} is an apartness relation if it satisfies:[1]

  1. ¬ ( x # x ) {\displaystyle \neg (x\#x)}
  2. x # y y # x {\displaystyle x\#y\;\to \;y\#x}
  3. x # y ( x # z y # z ) {\displaystyle x\#y\;\to \;(x\#z\;\vee \;y\#z)}

So 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.

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, # {\displaystyle \#} is a tight apartness relation if it additionally satisfies:

4. ¬ ( x # y ) x = y . {\displaystyle \neg (x\#y)\;\to \;x=y.}

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.

Examples

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 x {\displaystyle x} and y {\displaystyle y} are apart if there exists a rational number z {\displaystyle z} such that x < z < y {\displaystyle x<z<y} or y < z < x . {\displaystyle y<z<x.} 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.

Related definitions

A set endowed with an apartness relation is known as a constructive setoid. A function f : A B {\displaystyle f:A\to B} between such setoids A {\displaystyle A} and B {\displaystyle B} may be called a morphism for # A {\displaystyle \#_{A}} and # B {\displaystyle \#_{B}} if the strong extensionality property holds

( x , y : A ) . f ( x ) # B f ( y ) x # A y . {\displaystyle \forall (x,\,y\colon A).\,f(x)\;\#_{B}\;f(y)\to x\;\#_{A}\;y.}

This ought to be compared with the extensionality property of functions, i.e. that functions preserve equality. Indeed, for the denial inequality defined in common set theory, the former represents the contrapositive of the latter.

See also

  • Equivalence class – Mathematical concept

References

  1. ^ Troelstra, A. S.; Schwichtenberg, H. (2000), Basic proof theory, Cambridge Tracts in Theoretical Computer Science, vol. 43 (2nd ed.), Cambridge University Press, Cambridge, p. 136, doi:10.1017/CBO9781139168717, ISBN 0-521-77911-1, MR 1776976.
  • v
  • t
  • e
GeneralTheorems (list)
 and paradoxesLogics
Traditional
Propositional
Predicate
Set theory
Types of sets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems (list)
Proof theoryModel theoryComputability theoryRelated
icon Mathematics portal
  • v
  • t
  • e
Overview
  • Set (mathematics)
Venn diagram of set intersection
Axioms
Operations
  • Concepts
  • Methods
Set types
Theories
Set theorists