Jump to content

Apartness relation: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
 
(48 intermediate revisions by 34 users not shown)
Line 1: Line 1:
In [[constructivism (mathematics)|constructive mathematics]], an '''apartness relation''' is a constructive form of inequality. It is a [[symmetric]] [[irreflexive]] [[binary relation]] with the additional condition that if two elements are apart, then any other element is apart from one of them (this last property is often called ''co-transitivity''). That is, a binary relation R is an apartness relation if it satifies:
In [[constructivism (mathematics)|constructive mathematics]], an '''apartness relation''' is a constructive form of inequality, and is often taken to be more basic than [[equality (mathematics)|equality]].
# <math>\neg (x R x)</math>
# <math>x R y \to y R x</math>
# <math>x R y \to (x R z \vee y R z)</math>


An apartness relation is often written as <math>\#</math> (⧣ in [[unicode]]) to distinguish from the negation of equality (the ''denial inequality''), which is weaker. In the literature, the symbol <math>\neq</math> is found to be used for either of these.
The [[negation]] of an apartness relation is an [[equivalence relation]], as the above three conditions become [[Reflexive relation|reflexivity]], [[Symmetric relation|symmetry]], and [[transitivity]]. In [[classical logic|classical]] mathematics, therefore, it also follows that the negation of an equivalence relation is an apartness relation, and so the concept is not useful in that domain. In constructive mathematics, however, this is not the case. Often, in [[constructive topology]] especially, the apartness relation on a [[set]] is taken as primitive, and the equivalence relation derived from it.


==Definition==
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.
A binary relation <math>\#</math> is an apartness relation if it satisfies:<ref>{{citation
| last1 = Troelstra | first1 = A. S.|author1link = Anne Troelstra
| last2 = Schwichtenberg | first2 = H.|author2link = Helmut Schwichtenberg
| doi = 10.1017/CBO9781139168717
| edition = 2nd
| isbn = 0-521-77911-1
| mr = 1776976
| page = 136
| publisher = Cambridge University Press, Cambridge
| series = Cambridge Tracts in Theoretical Computer Science
| title = Basic proof theory
| url = https://books.google.com/books?id=x9x6F_4mUPgC&pg=PA136
| volume = 43
| year = 2000}}.</ref>
# <math>\neg(x \# x)</math>
# <math>x \# y \;\to\; y \# x</math>
# <math>x \# y \;\to\; (x \# z \;\vee\; y \# z)</math>
So an apartness relation is a [[Symmetric relation|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 [[Binary relation#Complement|complement]] of an apartness relation is an [[equivalence relation]], as the above three conditions become [[Reflexive relation|reflexivity]], [[Symmetric relation|symmetry]], and [[transitive relation|transitivity]]. If this equivalence relation is in fact equality, then the apartness relation is called ''tight''. That is, <math>\#</math> is a {{em|{{visible anchor|tight apartness relation}}}} if it additionally satisfies:
{{mathlogic-stub}}
:4. <math>\neg(x \# y) \;\to\; x = y.</math>
In [[classical logic|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==
[[Category:Mathematical constructivism]]
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>x</math> and <math>y</math> are apart if there exists a rational number <math>z</math> such that <math>x < z < y</math> or <math>y < z < 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 (mathematics)|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 [[Setoid|constructive setoid]].
A function <math>f: A \to B</math> between such setoids <math>A</math> and <math>B</math> may be called a ''morphism'' for <math>\#_A</math> and <math>\#_B</math> if the strong extensionality property holds
:<math>\forall (x, \, y\colon A).\, f(x) \; \#_B \; f(y) \to x \; \#_A \; y.</math>
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==

* {{annotated link|Equivalence class}}

==References==

{{reflist}}

{{Mathematical logic}}
{{Set theory}}

{{DEFAULTSORT:Apartness Relation}}

[[Category:Binary relations]]
[[Category:Constructivism (mathematics)]]

Latest revision as of 12:28, 16 March 2024

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 (⧣ in unicode) to distinguish from the negation of equality (the denial inequality), which is weaker. In the literature, the symbol is found to be used for either of these.

Definition

[edit]

A binary relation is an apartness relation if it satisfies:[1]

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, is a tight apartness relation if it additionally satisfies:

4.

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

[edit]

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 and are apart if there exists a rational number such that or 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.

[edit]

A set endowed with an apartness relation is known as a constructive setoid. A function between such setoids and may be called a morphism for and if the strong extensionality property holds

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

[edit]

References

[edit]
  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.