Template:Short description Template:Stack
In mathematics, especially order theory, a partial order on a set is an arrangement such that, for certain pairs of elements, one precedes the other. The word partial is used to indicate that not every pair of elements needs to be comparable; that is, there may be pairs for which neither element precedes the other. Partial orders thus generalize total orders, in which every pair is comparable.
Formally, a partial order is a homogeneous binary relation that is reflexive, antisymmetric, and transitive. A partially ordered set (poset for short) is an ordered pair <math>P=(X,\leq)</math> consisting of a set <math>X</math> (called the ground set of <math>P</math>) and a partial order <math>\leq</math> on <math>X</math>. When the meaning is clear from context and there is no ambiguity about the partial order, the set <math>X</math> itself is sometimes called a poset.
Partial order relationsEdit
Template:AnchorThe term partial order usually refers to the reflexive partial order relations, referred to in this article as non-strict partial orders. However some authors use the term for the other common type of partial order relations, the irreflexive partial order relations, also called strict partial orders. Strict and non-strict partial orders can be put into a one-to-one correspondence, so for every strict partial order there is a unique corresponding non-strict partial order, and vice versa.
Partial ordersEdit
A reflexive, weak,<ref name=Wallis/> or Template:Visible anchor,<ref>Template:Cite book</ref> commonly referred to simply as a partial order, is a homogeneous relation ≤ on a set <math>P</math> that is reflexive, antisymmetric, and transitive. That is, for all <math>a, b, c \in P,</math> it must satisfy:
- Reflexivity: <math>a \leq a</math>, i.e. every element is related to itself.
- Antisymmetry: if <math>a \leq b</math> and <math>b \leq a</math> then <math>a = b</math>, i.e. no two distinct elements precede each other.
- Transitivity: if <math>a \leq b </math> and <math>b \leq c</math> then <math>a \leq c</math>.
A non-strict partial order is also known as an antisymmetric preorder.
Strict partial ordersEdit
An irreflexive, strong,<ref name=Wallis/> or Template:Visible anchor is a homogeneous relation < on a set <math>P</math> that is irreflexive, asymmetric and transitive; that is, it satisfies the following conditions for all <math>a, b, c \in P:</math>
- Irreflexivity: <math>\neg\left( a < a \right)</math>, i.e. no element is related to itself (also called anti-reflexive).
- Asymmetry: if <math>a < b</math> then not <math>b < a</math>.
- Transitivity: if <math>a < b</math> and <math>b < c</math> then <math>a < c</math>.
A transitive relation is asymmetric if and only if it is irreflexive.<ref name="Flaška 2007">Template:Cite journal Lemma 1.1 (iv). This source refers to asymmetric relations as "strictly antisymmetric".</ref> So the definition is the same if it omits either irreflexivity or asymmetry (but not both).
A strict partial order is also known as an asymmetric strict preorder.
Correspondence of strict and non-strict partial order relationsEdit
Strict and non-strict partial orders on a set <math>P</math> are closely related. A non-strict partial order <math>\leq</math> may be converted to a strict partial order by removing all relationships of the form <math>a \leq a;</math> that is, the strict partial order is the set <math>< \; := \ \leq\ \setminus \ \Delta_P</math> where <math>\Delta_P := \{ (p, p) : p \in P \}</math> is the identity relation on <math>P \times P</math> and <math>\;\setminus\;</math> denotes set subtraction. Conversely, a strict partial order < on <math>P</math> may be converted to a non-strict partial order by adjoining all relationships of that form; that is, <math>\leq\; := \;\Delta_P\; \cup \;<\;</math> is a non-strict partial order. Thus, if <math>\leq</math> is a non-strict partial order, then the corresponding strict partial order < is the irreflexive kernel given by <math display=block>a < b \text{ if } a \leq b \text{ and } a \neq b.</math> Conversely, if < is a strict partial order, then the corresponding non-strict partial order <math>\leq</math> is the reflexive closure given by: <math display=block>a \leq b \text{ if } a < b \text{ or } a = b.</math>
Dual ordersEdit
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}
The dual (or opposite) <math>R^{\text{op}}</math> of a partial order relation <math>R</math> is defined by letting <math>R^{\text{op}}</math> be the converse relation of <math>R</math>, i.e. <math>x R^{\text{op}} y</math> if and only if <math>y R x</math>. The dual of a non-strict partial order is a non-strict partial order,Template:Sfnp and the dual of a strict partial order is a strict partial order. The dual of a dual of a relation is the original relation.
NotationEdit
Given a set <math>P</math> and a partial order relation, typically the non-strict partial order <math>\leq</math>, we may uniquely extend our notation to define four partial order relations <math>\leq,</math> <math><,</math> <math>\geq,</math> and <math>></math>, where <math>\leq</math> is a non-strict partial order relation on <math>P</math>, <math> < </math> is the associated strict partial order relation on <math>P</math> (the irreflexive kernel of <math>\leq</math>), <math>\geq</math> is the dual of <math>\leq</math>, and <math> > </math> is the dual of <math> < </math>. Strictly speaking, the term partially ordered set refers to a set with all of these relations defined appropriately. But practically, one need only consider a single relation, <math>(P,\leq)</math> or <math>(P,<)</math>, or, in rare instances, the non-strict and strict relations together, <math>(P,\leq,<)</math>.<ref>Template:Cite book</ref>
The term ordered set is sometimes used as a shorthand for partially ordered set, as long as it is clear from the context that no other kind of order is meant. In particular, totally ordered sets can also be referred to as "ordered sets", especially in areas where these structures are more common than posets. Some authors use different symbols than <math>\leq</math> such as <math>\sqsubseteq</math><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> or <math>\preceq</math><ref>Template:Cite book</ref> to distinguish partial orders from total orders.
When referring to partial orders, <math>\leq</math> should not be taken as the complement of <math> > </math>. The relation <math> > </math> is the converse of the irreflexive kernel of <math>\leq</math>, which is always a subset of the complement of <math>\leq</math>, but <math> > </math> is equal to the complement of <math>\leq</math> if, and only if, <math>\leq</math> is a total order.Template:Efn
Alternative definitionsEdit
Another way of defining a partial order, found in computer science, is via a notion of comparison. Specifically, given <math>\leq, <, \geq, \text{ and } ></math> as defined previously, it can be observed that two elements x and y may stand in any of four mutually exclusive relationships to each other: either Template:Nowrap, or Template:Nowrap, or Template:Nowrap, or x and y are incomparable. This can be represented by a function <math>\text{compare}: P \times P \to \{<,>,=,\vert \}</math> that returns one of four codes when given two elements.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>Template:Cite tech report</ref> This definition is equivalent to a partial order on a setoid, where equality is taken to be a defined equivalence relation rather than set equality.<ref>Template:Cite conference</ref>
Wallis defines a more general notion of a partial order relation as any homogeneous relation that is transitive and antisymmetric. This includes both reflexive and irreflexive partial orders as subtypes.<ref name=Wallis>Template:Cite book</ref>
A finite poset can be visualized through its Hasse diagram.<ref>Template:Cite book</ref> Specifically, taking a strict partial order relation <math>(P,<)</math>, a directed acyclic graph (DAG) may be constructed by taking each element of <math>P</math> to be a node and each element of <math> < </math> to be an edge. The transitive reduction of this DAGTemplate:Efn is then the Hasse diagram. Similarly this process can be reversed to construct strict partial orders from certain DAGs. In contrast, the graph associated to a non-strict partial order has self-loops at every node and therefore is not a DAG; when a non-strict order is said to be depicted by a Hasse diagram, actually the corresponding strict order is shown.
ExamplesEdit
Standard examples of posets arising in mathematics include:
- The real numbers, or in general any totally ordered set, ordered by the standard less-than-or-equal relation ≤, is a partial order.
- On the real numbers <math>\mathbb{R}</math>, the usual less than relation < is a strict partial order. The same is also true of the usual greater than relation > on <math>\R</math>.
- By definition, every strict weak order is a strict partial order.
- The set of subsets of a given set (its power set) ordered by inclusion (see Fig. 1). Similarly, the set of sequences ordered by subsequence, and the set of strings ordered by substring.
- The set of natural numbers equipped with the relation of divisibility. (see Fig. 3 and Fig. 6)
- The vertex set of a directed acyclic graph ordered by reachability.
- The set of subspaces of a vector space ordered by inclusion.
- For a partially ordered set P, the sequence space containing all sequences of elements from P, where sequence a precedes sequence b if every item in a precedes the corresponding item in b. Formally, <math>\left(a_n\right)_{n \in \N} \leq \left(b_n\right)_{n \in \N}</math> if and only if <math>a_n \leq b_n</math> for all <math>n \in \N</math>; that is, a componentwise order.
- For a set X and a partially ordered set P, the function space containing all functions from X to P, where Template:Nowrap if and only if Template:Nowrap for all <math>x \in X.</math>
- A fence, a partially ordered set defined by an alternating sequence of order relations Template:Nowrap
- The set of events in special relativity and, in most cases,Template:Efn general relativity, where for two events X and Y, Template:Nowrap if and only if Y is in the future light cone of X. An event Y can be causally affected by X only if Template:Nowrap.
One familiar example of a partially ordered set is a collection of people ordered by genealogical descendancy. Some pairs of people bear the descendant-ancestor relationship, but other pairs of people are incomparable, with neither being a descendant of the other.
Orders on the Cartesian product of partially ordered setsEdit
Template:Multiple image In order of increasing strength, i.e., decreasing sets of pairs, three of the possible partial orders on the Cartesian product of two partially ordered sets are (see Fig. 4):
- the lexicographical order: Template:Nowrap if Template:Nowrap or (Template:Nowrap and Template:Nowrap);
- the product order: (a, b) ≤ (c, d) if a ≤ c and b ≤ d;
- the reflexive closure of the direct product of the corresponding strict orders: Template:Nowrap if (Template:Nowrap and Template:Nowrap) or (Template:Nowrap and Template:Nowrap).
All three can similarly be defined for the Cartesian product of more than two sets.
Applied to ordered vector spaces over the same field, the result is in each case also an ordered vector space.
See also orders on the Cartesian product of totally ordered sets.
Sums of partially ordered setsEdit
Template:Anchor Another way to combine two (disjoint) posets is the ordinal sum<ref> Template:Citation</ref> (or linear sum),Template:Sfnp Template:Nowrap, defined on the union of the underlying sets X and Y by the order Template:Nowrap if and only if:
- a, b ∈ X with a ≤X b, or
- a, b ∈ Y with a ≤Y b, or
- a ∈ X and b ∈ Y.
If two posets are well-ordered, then so is their ordinal sum.<ref>Template:Cite book</ref>
Series-parallel partial orders are formed from the ordinal sum operation (in this context called series composition) and another operation called parallel composition. Parallel composition is the disjoint union of two partially ordered sets, with no order relation between elements of one set and elements of the other set.
Derived notionsEdit
The examples use the poset <math>(\mathcal{P}(\{x, y, z\}),\subseteq)</math> consisting of the set of all subsets of a three-element set <math>\{x, y, z\},</math> ordered by set inclusion (see Fig. 1).
- a is related to b when a ≤ b. This does not imply that b is also related to a, because the relation need not be symmetric. For example, <math>\{x\}</math> is related to <math>\{x, y\},</math> but not the reverse.
- a and b are comparable if Template:Nowrap or Template:Nowrap. Otherwise they are incomparable. For example, <math>\{x\}</math> and <math>\{x, y, z\}</math> are comparable, while <math>\{x\}</math> and <math>\{y\}</math> are not.
- A total order or linear order is a partial order under which every pair of elements is comparable, i.e. trichotomy holds. For example, the natural numbers with their standard order.
- A chain is a subset of a poset that is a totally ordered set. For example, <math>\{ \{\,\}, \{x\}, \{x, y, z\} \}</math> is a chain.
- An antichain is a subset of a poset in which no two distinct elements are comparable. For example, the set of singletons <math>\{\{x\}, \{y\}, \{z\}\}.</math>
- An element a is said to be strictly less than an element b, if a ≤ b and <math>a \neq b.</math> For example, <math>\{x\}</math> is strictly less than <math>\{x, y\}.</math>
- An element a is said to be covered by another element b, written a ⋖ b (or a <: b), if a is strictly less than b and no third element c fits between them; formally: if both a ≤ b and <math>a \neq b</math> are true, and a ≤ c ≤ b is false for each c with <math>a \neq c \neq b.</math> Using the strict order <, the relation a ⋖ b can be equivalently rephrased as "Template:Nowrap but not Template:Nowrap for any c". For example, <math>\{x\}</math> is covered by <math>\{x, z\},</math> but is not covered by <math>\{x, y, z\}.</math>
ExtremaEdit
There are several notions of "greatest" and "least" element in a poset <math>P,</math> notably:
- Greatest element and least element: An element <math>g \in P</math> is a Template:Em if <math>a \leq g</math> for every element <math>a \in P.</math> An element <math>m \in P</math> is a Template:Em if <math>m \leq a</math> for every element <math>a \in P.</math> A poset can only have one greatest or least element. In our running example, the set <math>\{x, y, z\}</math> is the greatest element, and <math>\{\,\}</math> is the least.
- Maximal elements and minimal elements: An element <math>g \in P</math> is a maximal element if there is no element <math>a \in P</math> such that <math>a > g.</math> Similarly, an element <math>m \in P</math> is a minimal element if there is no element <math>a \in P</math> such that <math>a < m.</math> If a poset has a greatest element, it must be the unique maximal element, but otherwise there can be more than one maximal element, and similarly for least elements and minimal elements. In our running example, <math>\{x, y, z\}</math> and <math>\{\,\}</math> are the maximal and minimal elements. Removing these, there are 3 maximal elements and 3 minimal elements (see Fig. 5).
- Upper and lower bounds: For a subset A of P, an element x in P is an upper bound of A if a ≤ x, for each element a in A. In particular, x need not be in A to be an upper bound of A. Similarly, an element x in P is a lower bound of A if a ≥ x, for each element a in A. A greatest element of P is an upper bound of P itself, and a least element is a lower bound of P. In our example, the set <math>\{x, y\}</math> is an Template:Em for the collection of elements <math>\{\{x\}, \{y\}\}.</math>
As another example, consider the positive integers, ordered by divisibility: 1 is a least element, as it divides all other elements; on the other hand this poset does not have a greatest element. This partially ordered set does not even have any maximal elements, since any g divides for instance 2g, which is distinct from it, so g is not maximal. If the number 1 is excluded, while keeping divisibility as ordering on the elements greater than 1, then the resulting poset does not have a least element, but any prime number is a minimal element for it. In this poset, 60 is an upper bound (though not a least upper bound) of the subset <math>\{2, 3, 5, 10\},</math> which does not have any lower bound (since 1 is not in the poset); on the other hand 2 is a lower bound of the subset of powers of 2, which does not have any upper bound. If the number 0 is included, this will be the greatest element, since this is a multiple of every integer (see Fig. 6).
Mappings between partially ordered setsEdit
Template:Multiple image Given two partially ordered sets Template:Math and Template:Math, a function <math>f : S \to T</math> is called order-preserving, or monotone, or isotone, if for all <math>x, y \in S,</math> <math>x \leq y</math> implies Template:Math. If Template:Math is also a partially ordered set, and both <math>f : S \to T</math> and <math>g : T \to U</math> are order-preserving, their composition <math>g \circ f : S \to U</math> is order-preserving, too. A function <math>f : S \to T</math> is called order-reflecting if for all <math>x, y \in S,</math> Template:Math implies <math>x \leq y.</math> If Template:Mvar is both order-preserving and order-reflecting, then it is called an order-embedding of Template:Math into Template:Math. In the latter case, Template:Mvar is necessarily injective, since <math>f(x) = f(y)</math> implies <math>x \leq y \text{ and } y \leq x</math> and in turn <math>x = y</math> according to the antisymmetry of <math>\leq.</math> If an order-embedding between two posets S and T exists, one says that S can be embedded into T. If an order-embedding <math>f : S \to T</math> is bijective, it is called an order isomorphism, and the partial orders Template:Math and Template:Math are said to be isomorphic. Isomorphic orders have structurally similar Hasse diagrams (see Fig. 7a). It can be shown that if order-preserving maps <math>f : S \to T</math> and <math>g : T \to U</math> exist such that <math>g \circ f</math> and <math>f \circ g</math> yields the identity function on S and T, respectively, then S and T are order-isomorphic.Template:Sfnp
For example, a mapping <math>f : \N \to \mathbb{P}(\N)</math> from the set of natural numbers (ordered by divisibility) to the power set of natural numbers (ordered by set inclusion) can be defined by taking each number to the set of its prime divisors. It is order-preserving: if Template:Mvar divides Template:Mvar, then each prime divisor of Template:Mvar is also a prime divisor of Template:Mvar. However, it is neither injective (since it maps both 12 and 6 to <math>\{2, 3\}</math>) nor order-reflecting (since 12 does not divide 6). Taking instead each number to the set of its prime power divisors defines a map <math>g : \N \to \mathbb{P}(\N)</math> that is order-preserving, order-reflecting, and hence an order-embedding. It is not an order-isomorphism (since it, for instance, does not map any number to the set <math>\{4\}</math>), but it can be made one by restricting its codomain to <math>g(\N).</math> Fig. 7b shows a subset of <math>\N</math> and its isomorphic image under Template:Mvar. The construction of such an order-isomorphism into a power set can be generalized to a wide class of partial orders, called distributive lattices; see Birkhoff's representation theorem.
Number of partial ordersEdit
Sequence A001035 in OEIS gives the number of partial orders on a set of n labeled elements:
The number of strict partial orders is the same as that of partial orders.
If the count is made only up to isomorphism, the sequence 1, 1, 2, 5, 16, 63, 318, ... (sequence A000112 in the OEIS) is obtained.
SubposetsEdit
A poset <math>P^*=(X^*, \leq^*)</math> is called a subposet of another poset <math>P=(X, \leq)</math> provided that <math>X^*</math> is a subset of <math>X</math> and <math>\leq^*</math> is a subset of <math>\leq</math>. The latter condition is equivalent to the requirement that for any <math>x</math> and <math>y</math> in <math>X^*</math> (and thus also in <math>X</math>), if <math>x \leq^* y</math> then <math>x \leq y</math>.
If <math>P^*</math> is a subposet of <math>P</math> and furthermore, for all <math>x</math> and <math>y</math> in <math>X^*</math>, whenever <math>x \leq y</math> we also have <math>x \leq^* y</math>, then we call <math>P^*</math> the subposet of <math>P</math> induced by <math>X^*</math>, and write <math>P^* = P[X^*]</math>.
Linear extensionEdit
A partial order <math>\leq^*</math> on a set <math>X</math> is called an extension of another partial order <math>\leq</math> on <math>X</math> provided that for all elements <math>x, y \in X,</math> whenever <math>x \leq y,</math> it is also the case that <math>x \leq^* y.</math> A linear extension is an extension that is also a linear (that is, total) order. As a classic example, the lexicographic order of totally ordered sets is a linear extension of their product order. Every partial order can be extended to a total order (order-extension principle).<ref>Template:Cite book</ref>
In computer science, algorithms for finding linear extensions of partial orders (represented as the reachability orders of directed acyclic graphs) are called topological sorting.
In category theoryEdit
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} Every poset (and every preordered set) may be considered as a category where, for objects <math>x</math> and <math>y,</math> there is at most one morphism from <math>x</math> to <math>y.</math> More explicitly, let Template:Nowrap if Template:Nowrap (and otherwise the empty set) and <math>(y, z) \circ (x, y) = (x, z).</math> Such categories are sometimes called posetal.
Posets are equivalent to one another if and only if they are isomorphic. In a poset, the smallest element, if it exists, is an initial object, and the largest element, if it exists, is a terminal object. Also, every preordered set is equivalent to a poset. Finally, every subcategory of a poset is isomorphism-closed.
Partial orders in topological spacesEdit
{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}}
If <math>P</math> is a partially ordered set that has also been given the structure of a topological space, then it is customary to assume that <math>\{ (a,b) : a \le b \}</math> is a closed subset of the topological product space <math>P \times P.</math> Under this assumption partial order relations are well behaved at limits in the sense that if <math>\lim_{i \to \infty} a_i = a,</math> and <math>\lim_{i \to \infty} b_i = b,</math> and for all <math>i,</math> <math>a_i \leq b_i,</math> then <math>a \leq b.</math><ref name="ward-1954">Template:Cite journal</ref>
IntervalsEdit
A convex set in a poset P is a subset Template:Mvar of P with the property that, for any x and y in Template:Mvar and any z in P, if x ≤ z ≤ y, then z is also in Template:Mvar. This definition generalizes the definition of intervals of real numbers. When there is possible confusion with convex sets of geometry, one uses order-convex instead of "convex".
A convex sublattice of a lattice L is a sublattice of L that is also a convex set of L. Every nonempty convex sublattice can be uniquely represented as the intersection of a filter and an ideal of L.
An interval in a poset P is a subset that can be defined with interval notation:
- For a ≤ b, the closed interval Template:Closed-closed is the set of elements x satisfying Template:Nowrap (that is, Template:Nowrap and Template:Nowrap). It contains at least the elements a and b.
- Using the corresponding strict relation "<", the open interval Template:Open-open is the set of elements x satisfying Template:Nowrap (i.e. Template:Nowrap and Template:Nowrap). An open interval may be empty even if Template:Nowrap. For example, the open interval Template:Open-open on the integers is empty since there is no integer Template:Mvar such that Template:Math.
- The half-open intervals Template:Closed-open and Template:Open-closed are defined similarly.
Whenever Template:Nowrap does not hold, all these intervals are empty. Every interval is a convex set, but the converse does not hold; for example, in the poset of divisors of 120, ordered by divisibility (see Fig. 7b), the set Template:Mset is convex, but not an interval.
An interval Template:Mvar is bounded if there exist elements <math>a, b \in P</math> such that Template:Math. Every interval that can be represented in interval notation is obviously bounded, but the converse is not true. For example, let Template:Math as a subposet of the real numbers. The subset Template:Open-open is a bounded interval, but it has no infimum or supremum in P, so it cannot be written in interval notation using elements of P.
A poset is called locally finite if every bounded interval is finite. For example, the integers are locally finite under their natural ordering. The lexicographical order on the cartesian product <math>\N \times \N</math> is not locally finite, since Template:Math. Using the interval notation, the property "a is covered by b" can be rephrased equivalently as <math>[a, b] = \{a, b\}.</math>
This concept of an interval in a partial order should not be confused with the particular class of partial orders known as the interval orders.
See alsoEdit
- Antimatroid, a formalization of orderings on a set that allows more general families of orderings than posets
- Causal set, a poset-based approach to quantum gravity
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Nested set collection
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Template:Annotated link
- Poset topology, a kind of topological space that can be defined from any poset
- Scott continuity – continuity of a function between two partial orders.
- Template:Annotated link
- Template:Annotated link
- Szpilrajn extension theorem – every partial order is contained in some total order.
- Template:Annotated link
- Strict weak ordering – strict partial order "<" in which the relation Template:Nowrap Template:Nowrap is transitive.
- Template:Annotated link
- Template:Annotated link
NotesEdit
CitationsEdit
ReferencesEdit
- Template:Cite book
- Template:Cite journal
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite book
- Template:Cite journal
External linksEdit
Template:Commons category inline; each of which shows an example for a partial order Template:Refbegin