See also: Comparison (mathematics). In mathematics, two elements x and y of a set P are said to be comparable with respect to a binary relation ≤ if at least one of x ≤ y or y ≤ x is true. They are called incomparable if they are not comparable.
A binary relation on a set
P
R
P x P.
x,y\inP,
xRy
(x,y)\inR,
x
y
R.
x\inP
y\inP
xRy
yRx.
<
\leq,
>,
\geq,
R,
x<y
xRy,
Comparability with respect to
R
P
R
(x,y)\inP x P
x
y
xRy
yRx
P
R
(x,y)\inP x P
x
y;
xRy
yRx
If the symbol
<
\leq
<
\overset{<}{\underset{>}{=}}
\cancel{\overset{<}{\underset{>}{=}}}
x
y
x \overset{<}{\underset{>}{=}} y
x\cancel{\overset{<}{\underset{>}{=}}}y
A totally ordered set is a partially ordered set in which any two elements are comparable. The Szpilrajn extension theorem states that every partial order is contained in a total order. Intuitively, the theorem says that any method of comparing elements that leaves some pairs incomparable can be extended in such a way that every pair becomes comparable.
Both of the relations and are symmetric, that is
x
y
y
x,
See main article: article and Comparability graph. The comparability graph of a partially ordered set
P
P
\{x,y\}
x \overset{<}{\underset{>}{=}} y
When classifying mathematical objects (e.g., topological spaces), two are said to be comparable when the objects that obey one criterion constitute a subset of the objects that obey the other, which is to say when they are comparable under the partial order ⊂. For example, the T1 and T2 criteria are comparable, while the T1 and sobriety criteria are not.