Transitivebinary relations | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 in the "Symmetric" column and✗in the "Antisymmetric" column, respectively. All definitions tacitly require thehomogeneous relationbetransitive:for allifandthen |
Inmathematics,especially inorder theory,apreorderorquasiorderis abinary relationthat isreflexiveandtransitive.The namepreorderis meant to suggest that preorders arealmostpartial orders,but not quite, as they are not necessarilyantisymmetric.
A natural example of a preorder is thedivides relation"x divides y" between integers,polynomials,or elements of acommutative ring.For example, the divides relation is reflexive as every integer divides itself. But the divides relation is not antisymmetric, becausedividesanddivides.It is to this preorder that "greatest" and "lowest" refer in the phrases "greatest common divisor"and"lowest common multiple"(except that, for integers, the greatest common divisor is also the greatest for the natural order of the integers).
Preorders are closely related toequivalence relationsand (non-strict) partial orders. Both of these are special cases of a preorder: an antisymmetric preorder is a partial order, and asymmetricpreorder is an equivalence relation. Moreover, a preorder on a setcan equivalently be defined as an equivalence relation on,together with a partial order on the set of equivalence class. Like partial orders and equivalence relations, preorders (on a nonempty set) are neverasymmetric.
A preorder can be visualized as adirected 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 adirected 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.
As a binary relation, a preorder may be denotedor.In words, whenone may say thatbcoversaor thataprecedesb,or thatbreducestoa.Occasionally, the notation ← or → is also used.
Definition
editLetbe a binary relation on asetso that by definition,is some subset ofand the notationis used in place ofThenis called apreorderorquasiorderif it isreflexiveandtransitive;that is, if it satisfies:
- Reflexivity:for alland
- Transitivity:iffor all
A set that is equipped with a preorder is called apreordered set(orproset).[1]
Preorders as partial orders on partitions
editGiven a preorderonone may define anequivalence relationonsuch that The resulting relationis reflexive since the preorderis reflexive; transitive by applying the transitivity oftwice; and symmetric by definition.
Using this relation, it is possible to construct a partial order on the quotient set of the equivalence,which is the set of allequivalence classesofIf the preorder is denoted bythenis the set of-cycleequivalence classes: if and only iforis in an-cycle with. In any case, onit is possible to defineif and only if That this is well-defined, meaning that its defining condition does not depend on which representatives ofandare chosen, follows from the definition ofIt is readily verified that this yields a partially ordered set.
Conversely, from any partial order on a partition of a setit is possible to construct a preorder onitself. There is aone-to-one correspondencebetween preorders and pairs (partition, partial order).
Example:Letbe aformal theory,which is a set ofsentenceswith certain properties (details of which can be found inthe article on the subject). For instance,could be afirst-order theory(likeZermelo–Fraenkel set theory) or a simplerzeroth-order theory.One of the many properties ofis that it is closed under logical consequences so that, for instance, if a sentencelogically implies some sentencewhich will be written asand also asthen necessarily(bymodus ponens). The relationis a preorder onbecausealways holds and wheneverandboth hold then so does Furthermore, for anyif and only if;that is, two sentences are equivalent with respect toif and only if they arelogically equivalent.This particular equivalence relationis commonly denoted with its own special symboland so this symbolmay be used instead ofThe equivalence class of a sentencedenoted byconsists of all sentencesthat are logically equivalent to(that is, allsuch that). The partial order oninduced bywhich will also be denoted by the same symbolis characterized byif and only ifwhere the right hand side condition is independent of the choice of representativesandof the equivalence classes. All that has been said ofso far can also be said of itsconverse relation The preordered setis adirected setbecause ifand ifdenotes the sentence formed bylogical conjunctionthenandwhereThe partially ordered setis consequently also a directed set. SeeLindenbaum–Tarski algebrafor a related example.
Relationship to strict partial orders
editIf reflexivity is replaced withirreflexivity(while keeping transitivity) then we get the definition of astrict partial orderon.For this reason, the termstrict preorderis sometimes used for a strict partial order. That is, this is a binary relationonthat satisfies:
- Irreflexivityor anti-reflexivity:notfor allthat is,isfalsefor alland
- Transitivity:iffor all
Strict partial order induced by a preorder
editAny preordergives rise to a strict partial order defined byif and only ifand not. Using the equivalence relationintroduced above,if and only if and so the following holds The relationis astrict partial orderandeverystrict partial order can be constructed this way. Ifthe preorderisantisymmetric(and thus a partial order) then the equivalenceis equality (that is,if and only if) and so in this case, the definition ofcan be restated as: But importantly, this new condition isnotused as (nor is it equivalent to) the general definition of the relation(that is,isnotdefined as:if and only if) because if the preorderis not antisymmetric then the resulting relationwould 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 thatimplies
Preorders induced by a strict partial order
editUsing the construction above, multiple non-strict preorders can produce the same strict preorderso without more information about howwas constructed (such knowledge of the equivalence relationfor instance), it might not be possible to reconstruct the original non-strict preorder fromPossible (non-strict) preorders that induce the given strict preorderinclude the following:
- Defineas(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 equalityso the symbolsandare not needed.
- Defineas ""(that is, take the inverse complement of the relation), which corresponds to definingas "neither";these relationsandare in general not transitive; however, if they are thenis an equivalence; in that case ""is astrict weak order.The resulting preorder isconnected(formerly called total); that is, atotal preorder.
Ifthen The converse holds (that is,) if and only if wheneverthenor
Examples
editGraph theory
edit- Thereachabilityrelationship in anydirected graph(possibly containing cycles) gives rise to a preorder, wherein the preorder if and only if there is a path fromxtoyin the directed graph. Conversely, every preorder is the reachability relationship of a directed graph (for instance, the graph that has an edge fromxtoyfor every pair(x,y)with). However, many different graphs may have the same reachability preorder as each other. In the same way, reachability ofdirected acyclic graphs,directed graphs with no cycles, gives rise topartially ordered sets(preorders satisfying an additional antisymmetry property).
- Thegraph-minorrelation is also a preorder.
Computer science
editIn computer science, one can find examples of the following preorders.
- Asymptotic ordercauses a preorder over functions.The corresponding equivalence relation is calledasymptotic equivalence.
- Polynomial-time,many-one (mapping)andTuring reductionsare preorders on complexity classes.
- Subtypingrelations are usually preorders.[2]
- Simulation preordersare preorders (hence the name).
- Reduction relationsinabstract rewriting systems.
- Theencompassment preorderon the set ofterms,defined byif asubtermoftis asubstitution instanceofs.
- Theta-subsumption,[3]which is when the literals in a disjunctive first-order formula are contained by another, after applying asubstitutionto the former.
Category theory
edit- Acategorywith at most onemorphismfrom any objectxto any other objectyis a preorder. Such categories are calledthin.Here theobjectscorrespond to the elements ofand 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 anenriched category,enriched over the category
Other
editFurther examples:
- Everyfinite topological spacegives rise to a preorder on its points by definingif and only ifxbelongs to everyneighborhoodofy.Every finite preorder can be formed as thespecialization preorderof a topological space in this way. That is, there is aone-to-one correspondencebetween finite topologies and finite preorders. However, the relation between infinite topological spaces and their specialization preorders is not one-to-one.
- Anetis adirectedpreorder, that is, each pair of elements has anupper bound.The definition of convergence via nets is important intopology,where preorders cannot be replaced bypartially ordered setswithout losing important features.
- The relation defined byifwherefis a function into some preorder.
- The relation defined byif there exists someinjectionfromxtoy.Injection may be replaced bysurjection,or any type of structure-preserving function, such asring homomorphism,orpermutation.
- Theembeddingrelation for countabletotal orderings.
Example of atotal preorder:
- Preference,according to common models.
Constructions
editEvery binary relationon a setcan be extended to a preorder onby taking thetransitive closureandreflexive closure,The transitive closure indicates path connection inif and only if there is an-pathfromto
Left residual preorder induced by a binary relation
Given a binary relationthe complemented compositionforms a preorder called theleft residual,[4]wheredenotes theconverse relationofanddenotes thecomplementrelation ofwhiledenotesrelation composition.
Related definitions
editIf a preorder is alsoantisymmetric,that is,andimpliesthen it is apartial order.
On the other hand, if it issymmetric,that is, ifimpliesthen it is anequivalence relation.
A preorder istotaliforfor all
Apreordered classis aclassequipped with a preorder. Every set is a class and so every preordered set is a preordered class.
Uses
editPreorders play a pivotal role in several situations:
- Every preorder can be given a topology, theAlexandrov topology;and indeed, every preorder on a set is in one-to-one correspondence with an Alexandrov topology on that set.
- Preorders may be used to defineinterior algebras.
- Preorders provide theKripke semanticsfor certain types ofmodal logic.
- Preorders are used inforcinginset theoryto proveconsistencyandindependenceresults.[5]
Number of preorders
editElements | 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=0k!S(n,k) |
n! | ∑n k=0S(n,k) | |||
OEIS | A002416 | A006905 | A053763 | A006125 | A000798 | A001035 | A000670 | A000142 | A000110 |
Note thatS(n,k)refers toStirling 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
- 1 partition of 3, giving 1 preorder
- 3 partitions of2 + 1,givingpreorders
- 1 partition of1 + 1 + 1,giving 19 preorders
- for
- 1 partition of 4, giving 1 preorder
- 7 partitions with two classes (4 of3 + 1and 3 of2 + 2), givingpreorders
- 6 partitions of2 + 1 + 1,givingpreorders
- 1 partition of1 + 1 + 1 + 1,giving 219 preorders
Interval
editFortheintervalis the set of pointsxsatisfyingandalso writtenIt contains at least the pointsaandb.One may choose to extend the definition to all pairsThe extra intervals are all empty.
Using the corresponding strict relation "",one can also define the intervalas the set of pointsxsatisfyingandalso writtenAn open interval may be empty even if
Alsoandcan be defined similarly.
See also
edit- Partial order– preorder that isantisymmetric
- Equivalence relation– preorder that issymmetric
- Total preorder– preorder that istotal
- Total order– preorder that is antisymmetric and total
- Directed set
- Category of preordered sets
- Prewellordering
- Well-quasi-ordering
Notes
edit- ^For "proset", see e.g.Eklund, Patrik; Gähler, Werner (1990), "Generalized Cauchy spaces",Mathematische Nachrichten,147:219–233,doi:10.1002/mana.19901470123,MR1127325.
- ^Pierce, Benjamin C.(2002).Types and Programming Languages.Cambridge, Massachusetts/London, England: The MIT Press. pp. 182ff.ISBN0-262-16209-1.
- ^Robinson, J. A. (1965)."A machine-oriented logic based on the resolution principle".ACM.12(1): 23–41.doi:10.1145/321250.321253.S2CID14389185.
- ^In this context, ""does not mean" set difference ".
- ^Kunen, Kenneth (1980),Set Theory, An Introduction to Independence Proofs,Studies in logic and the foundation of mathematics, vol. 102, Amsterdam, the Netherlands: Elsevier.
References
edit- Schmidt, Gunther, "Relational Mathematics", Encyclopedia of Mathematics and its Applications, vol. 132, Cambridge University Press, 2011,ISBN978-0-521-76268-7
- Schröder, Bernd S. W. (2002),Ordered Sets: An Introduction,Boston: Birkhäuser,ISBN0-8176-4128-9