Preorder

From Wikipedia, the free encyclopedia
(Redirected from Preordered set)
Jump to navigation Jump to search
Transitive binary relations
Symmetric Antisymmetric Connected Well-founded Has joins Has meets Reflexive Irreflexive Asymmetric
Total,
Semiconnex
Anti-
reflexive
Equivalence relation Green tickY Green tickY
Preorder (Quasiorder) Green tickY
Partial order Green tickY Green tickY
Total preorder Green tickY Green tickY
Total order Green tickY Green tickY Green tickY
Prewellordering Green tickY Green tickY Green tickY
Well-quasi-ordering Green tickY Green tickY
Well-ordering Green tickY Green tickY Green tickY Green tickY
Lattice Green tickY Green tickY Green tickY Green tickY
Join-semilattice Green tickY Green tickY Green tickY
Meet-semilattice Green tickY Green tickY Green tickY
Strict partial order Green tickY Green tickY Green tickY
Strict weak order Green tickY Green tickY Green tickY
Strict total order Green tickY Green tickY Green tickY Green tickY
Symmetric Antisymmetric Connected Well-founded Has joins Has meets Reflexive Irreflexive Asymmetric
Definitions,
for all a,b and S:
aRbbRa aRb and bRaa=b abaRb or bRa minSexists abexists abexists aRa not aRa aRbnot bRa
Green tickY indicates that the column's property is always true for the row's term (at the very left), while indicates that the property is not guaranteed
in general (it might, or might not, hold). For example, that every equivalence relation is symmetric, but not necessarily antisymmetric,
is indicated by Green tickY in the "Symmetric" column and in the "Antisymmetric" column, respectively.

All definitions tacitly require the homogeneous relation R be transitive: for all a,b,c, if aRb and bRc then aRc.
A term's definition may require additional properties that are not listed in this table.

File:Preorder.png
x R y defined by x//4≤y//4 is a preorder on the natural numbers. It corresponds to the equivalence relation x E y defined by x//4=y//4. The set of equivalence classes is partially ordered, and thus can be shown as a Hasse diagram (depicted).

In mathematics, especially in order theory, a preorder or quasiorder is a binary relation that is reflexive and transitive. The name preorder is meant to suggest that preorders are almost partial orders, but not quite, as they are not necessarily antisymmetric.

A natural example of a preorder is the divides relation "x divides y" between integers. This relation is reflexive as every integer divides itself. It is also transitive. But it is not antisymmetric, because e.g. 1 divides 1 and 1 divides 1. It is to this preorder that "least" refers in the phrase "least common multiple" (in contrast, using the natural order on integers, e.g. 4 and 6 have the common multiples 24, 12, 0, 12, 24, ..., but no least one).

Preorders are closely related to equivalence relations and (non-strict) partial orders. Both of these are special cases of a preorder: an antisymmetric preorder is a partial order, and a symmetric preorder is an equivalence relation. Moreover, a preorder on a set X can equivalently be defined as an equivalence relation on X, together with a partial order on the set of equivalence class, cf. picture. Like partial orders and equivalence relations, preorders (on a nonempty set) are never asymmetric.

A preorder can be visualized as a directed graph, with elements of the set corresponding to vertices, and the order relation between pairs of elements corresponding to the directed edges between vertices. The converse is not true: most directed graphs are neither reflexive nor transitive. A preorder that is antisymmetric no longer has cycles; it is a partial order, and corresponds to a directed acyclic graph. A preorder that is symmetric is an equivalence relation; it can be thought of as having lost the direction markers on the edges of the graph. In general, a preorder's corresponding directed graph may have many disconnected components.

A preorder is often denoted or .

Definition

[edit | edit source]

A binary relation on a set X is called a preorder or quasiorder if it is reflexive and transitive; that is, if it satisfies:

  1. Reflexivity: aa for all aX, and
  2. Transitivity: if ab and bc then ac for all a,b,cX.

A set that is equipped with a preorder is called a preordered set (or proset).[1]

Preorders as partial orders on partitions

[edit | edit source]

Given a preorder on X one may define an equivalence relation on X by ab if ab and ba. The resulting relation is reflexive since the preorder is reflexive; transitive by applying the transitivity of twice; and symmetric by definition.

Using this relation, it is possible to construct a partial order on the quotient set X/ of the equivalence, by defining [x][y] if xy. That this is well-defined, meaning that it does not depend on the particular choice of representatives x and y, follows from the definition of .

Conversely, from any partial order on a partition of a set X, it is possible to construct a preorder on X itself. There is a one-to-one correspondence between preorders and pairs (partition, partial order).

Example: Let X be the set of all (valid or invalid) sentences in some subfield of mathematics, like geometry. Define pq if p is a logical consequence of q. Then is a preorder on X: every sentence p can be proven from itself (reflexivity), and if p can be proven from q, and q from r, then p can also be proven from r (transitivity). The corresponding equivalence relation is usually denoted pq, and defined as pq and qp; in this case p and q are called "logically equivalent". The equivalence class of a sentence p is the set of all sentences qX that are logically equivalent to p; formally: [p]={qpq}. The preordered set (X,) is a directed set: given two sentences p,qX, their logical conjunction pq, pronounced "both p and q", is a common upper bound of them, since p is a consequence of pq, and so is q. The partially ordered set (X/,) is hence also a directed set. See Lindenbaum–Tarski algebra for a related example.

Relationship to strict partial orders

[edit | edit source]

If reflexivity is replaced with irreflexivity (while keeping transitivity) then we get the definition of a strict partial order on X. For this reason, the term strict preorder is sometimes used for a strict partial order. That is, this is a binary relation < on X that satisfies:

  1. Irreflexivity or anti-reflexivity: not a<a for all aX; that is, a<a is false for all aX, and
  2. Transitivity: if a<b and b<c then a<c for all a,b,cX.

Strict partial order induced by a preorder

[edit | edit source]

Any preorder gives rise to a strict partial order defined by a<b if and only if ab and not ba. Using the equivalence relation introduced above, a<b if and only if ab and not ab; and so the following holds ab if and only if a<b or ab. The relation < is a strict partial order and every strict partial order can be constructed this way. If the preorder is antisymmetric (and thus a partial order) then the equivalence is equality (that is, ab if and only if a=b) and so in this case, the definition of < can be restated as: a<b if and only if ab and ab(assuming  is antisymmetric). But importantly, this new condition is not used as (nor is it equivalent to) the general definition of the relation < (that is, < is not defined as: a<b if and only if ab and ab) because if the preorder is not antisymmetric then the resulting relation < would not be transitive (consider how equivalent non-equal elements relate). This is the reason for using the symbol "" instead of the "less than or equal to" symbol "", which might cause confusion for a preorder that is not antisymmetric since it might misleadingly suggest that ab implies a<b or a=b.

Preorders induced by a strict partial order

[edit | edit source]

Using the construction above, multiple non-strict preorders can produce the same strict preorder <, so without more information about how < was constructed (such knowledge of the equivalence relation for instance), it might not be possible to reconstruct the original non-strict preorder from <. Possible (non-strict) preorders that induce the given strict preorder < include the following:

  • Define ab as a<b or a=b (that is, take the reflexive closure of the relation). This gives the partial order associated with the strict partial order "<" through reflexive closure; in this case the equivalence is equality =, so the symbols and are not needed.
  • Define ab as " not b<a" (that is, take the inverse complement of the relation), which corresponds to defining ab as "neither a<b nor b<a"; these relations and are in general not transitive; however, if they are then is an equivalence; in that case "<" is a strict weak order. The resulting preorder is connected (formerly called total); that is, a total preorder.

If ab then ab. The converse holds (that is, =) if and only if whenever ab then a<b or b<a.

Examples

[edit | edit source]

Graph theory

[edit | edit source]
  • The reachability relationship in any directed graph (possibly containing cycles) gives rise to a preorder, where xy in the preorder if and only if there is a path from x to y in the directed graph. Conversely, every preorder is the reachability relationship of a directed graph (for instance, the graph that has an edge from x to y for every pair (x, y) with xy). However, many different graphs may have the same reachability preorder as each other. In the same way, reachability of directed acyclic graphs, directed graphs with no cycles, gives rise to partially ordered sets (preorders satisfying an additional antisymmetry property).
  • The graph-minor relation is also a preorder.

Computer science

[edit | edit source]

In computer science, one can find examples of the following preorders.

Category theory

[edit | edit source]
  • A category with at most one morphism from any object x to any other object y is a preorder. Such categories are called thin. Here the objects correspond to the elements of X, and there is one morphism for objects which are related, zero otherwise. In this sense, categories "generalize" preorders by allowing more than one relation between objects: each morphism is a distinct (named) preorder relation.
  • Alternately, a preordered set can be understood as an enriched category, enriched over the category 2=(01).

Other

[edit | edit source]

Further examples:

  • Every finite topological space gives rise to a preorder on its points by defining xy if and only if x belongs to every neighborhood of y. Every finite preorder can be formed as the specialization preorder of a topological space in this way. That is, there is a one-to-one correspondence between finite topologies and finite preorders. However, the relation between infinite topological spaces and their specialization preorders is not one-to-one.

Example of a total preorder:

Constructions

[edit | edit source]

Every binary relation R on a set X can be extended to a preorder on X by taking the transitive closure and reflexive closure, R+=. The transitive closure indicates path connection in R:xR+y if and only if there is an R-path from x to y.

Left residual preorder induced by a binary relation

Given a binary relation R, the complemented composition RR=R𝖳R forms a preorder called the left residual,[5] where R𝖳 denotes the converse relation of R, and R denotes the complement relation of R, while denotes relation composition.

[edit | edit source]

If a preorder is also antisymmetric, that is, ab and ba implies a=b, then it is a partial order.

On the other hand, if it is symmetric, that is, if ab implies ba, then it is an equivalence relation.

A preorder is total if ab or ba for all a,bX.

A preordered class is a class equipped with a preorder. Every set is a class and so every preordered set is a preordered class.

Preorders play a pivotal role in several situations:

Number of preorders

[edit | edit source]
Number of n-element binary relations of different types
Elem­ents Any Transitive Reflexive Symmetric Preorder Partial order Total preorder Total order Equivalence relation
0 1 1 1 1 1 1 1 1 1
1 2 2 1 2 1 1 1 1 1
2 16 13 4 8 4 3 3 2 2
3 512 171 64 64 29 19 13 6 5
4 65,536 3,994 4,096 1,024 355 219 75 24 15
n 2n2 2n(n−1) 2n(n+1)/2 n
k=0
k!S(n, k)
n! n
k=0
S(n, k)
OEIS A002416 A006905 A053763 A006125 A000798 A001035 A000670 A000142 A000110

Note that S(n, k) refers to Stirling numbers of the second kind.

As explained above, there is a 1-to-1 correspondence between preorders and pairs (partition, partial order). Thus the number of preorders is the sum of the number of partial orders on every partition. For example:

  • for n=3:
    • 1 partition of 3, giving 1 preorder
    • 3 partitions of 2 + 1, giving 3×3=9 preorders
    • 1 partition of 1 + 1 + 1, giving 19 preorders
    I.e., together, 29 preorders.
  • for n=4:
    • 1 partition of 4, giving 1 preorder
    • 7 partitions with two classes (4 of 3 + 1 and 3 of 2 + 2), giving 7×3=21 preorders
    • 6 partitions of 2 + 1 + 1, giving 6×19=114 preorders
    • 1 partition of 1 + 1 + 1 + 1, giving 219 preorders
    I.e., together, 355 preorders.

Interval

[edit | edit source]

For ab, the interval [a,b] is the set of points x satisfying ax and xb, also written axb. It contains at least the points a and b. One may choose to extend the definition to all pairs (a,b) The extra intervals are all empty.

Using the corresponding strict relation "<", one can also define the interval (a,b) as the set of points x satisfying a<x and x<b, also written a<x<b. An open interval may be empty even if a<b.

Also [a,b) and (a,b] can be defined similarly.

See also

[edit | edit source]

Notes

[edit | edit source]
  1. ^ For "proset", see e.g. Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)..
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  5. ^ In this context, "" does not mean "set difference".
  6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value)..

References

[edit | edit source]
  • Schmidt, Gunther, "Relational Mathematics", Encyclopedia of Mathematics and its Applications, vol. 132, Cambridge University Press, 2011, Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).