In order theory, a branch of mathematics, a **linear extension** of a partial order is a total order (or linear order) that is compatible with the partial order. As a classic example, the lexicographic order of totally ordered sets is a linear extension of their product order.

## Definitions

Given any partial orders ≤ and ≤^{*} on a set *X*, ≤^{*} is a linear extension of ≤ exactly when (1) ≤^{*} is a total order and (2) for every *x* and *y* in *X*, if *x* ≤ *y*, then *x* ≤^{*} *y*. It is that second property that leads mathematicians to describe ≤^{*} as **extending** ≤.

Alternatively, a linear extension may be viewed as an order-preserving bijection from a partially ordered set *P* to a chain *C* on the same ground set.

## Order-extension principle

The statement that every partial order can be extended to a total order is known as the **order-extension principle**. A proof using the axiom of choice was first published by Edward Marczewski in 1930. Marczewski writes that the theorem had previously been proven by Stefan Banach, Kazimierz Kuratowski, and Alfred Tarski, again using the axiom of choice, but that the proofs had not been published.^{[1]}

In modern axiomatic set theory the order-extension principle is itself taken as an axiom, of comparable ontological status to the axiom of choice. The order-extension principle is implied by the Boolean prime ideal theorem or the equivalent compactness theorem,^{[2]} but the reverse implication doesn't hold.^{[3]}

Applying the order-extension principle to a partial order in which every two elements are incomparable shows that (under this principle) every set can be linearly ordered. This assertion that every set can be linearly ordered is known as the **ordering principle**, OP, and is a weakening of the well-ordering theorem. However, there are models of set theory in which the ordering principle holds while the order-extension principle does not.^{[4]}

## Related results

The order extension principle is constructively provable for *finite* sets using topological sorting algorithms, where the partial order is represented by a directed acyclic graph with the set's elements as its vertices. Several algorithms can find an extension in linear time.^{[5]} Despite the ease of finding a single linear extension, the problem of counting all linear extensions of a finite partial order is #P-complete; however, it may be estimated by a fully polynomial-time randomized approximation scheme.^{[6]}^{[7]} Among all partial orders with a fixed number of elements and a fixed number of comparable pairs, the partial orders that have the largest number of linear extensions are semiorders.^{[8]}

The order dimension of a partial order is the minimum cardinality of a set of linear extensions whose intersection is the given partial order; equivalently, it is the minimum number of linear extensions needed to ensure that each critical pair of the partial order is reversed in at least one of the extensions.

Antimatroids may be viewed as generalizing partial orders; in this view, the structures corresponding to the linear extensions of a partial order are the basic words of the antimatroid.^{[9]}

This area also includes one of order theory's most famous open problems, the 1/3–2/3 conjecture, which states that in any finite partially ordered set *P* that is not totally ordered there exists a pair (*x*,*y*) of elements of *P* for which the linear extensions of *P* in which *x* < *y* number between 1/3 and 2/3 of the total number of linear extensions of *P*.^{[10]}^{[11]} An equivalent way of stating the conjecture is that, if one chooses a linear extension of *P* uniformly at random, there is a pair (*x*,*y*) which has probability between 1/3 and 2/3 of being ordered as *x* < *y*. However, for certain infinite partially ordered sets, with a canonical probability defined on its linear extensions as a limit of the probabilities for finite partial orders that cover the infinite partial order, the 1/3–2/3 conjecture does not hold.^{[12]}

## Algebraic combinatorics

Counting the number of linear extensions of a finite poset is a common problem in algebraic combinatorics. This number is given by the leading coefficient of the order polynomial.

Young tableau can be considered as linear extensions of a finite order-ideal in the infinite poset , and they are counted by the hook length formula.

## References

**^**Marczewski, Edward (1930), "Sur l'extension de l'ordre partiel" (PDF),*Fundamenta Mathematicae*(in French),**16**: 386–389, doi:10.4064/fm-16-1-386-389.**^**Jech, Thomas (2008) [originally published in 1973],*The Axiom of Choice*, Dover Publications, ISBN 978-0-486-46624-8.**^**Felgner, U.; Truss, J. K. (March 1999), "The Independence of the Prime Ideal Theorem from the Order-Extension Principle",*The Journal of Symbolic Logic*,**64**(1): 199–215, CiteSeerX 10.1.1.54.8336, doi:10.2307/2586759, JSTOR 2586759.**^**Mathias, A. R. D. (1971), "The order extension principle", in Scott, Dana S.; Jech, Thomas J. (eds.),*Axiomatic Set Theory (University of California, Los Angeles, Calif., July 10 – August 5, 1967)*, Proceedings of Symposia in Pure Mathematics,**13**, American Mathematical Society, pp. 179–183.**^**Cormen, Thomas H.; Leiserson, Charles E.; Rivest, Ronald L.; Stein, Clifford (2001), "Section 22.4: Topological sort",*Introduction to Algorithms*(2nd ed.), MIT Press, pp. 549–552, ISBN 978-0-262-03293-3.**^**Brightwell, Graham R.; Winkler, Peter (1991), "Counting linear extensions",*Order*,**8**(3): 225–242, doi:10.1007/BF00383444**^**Bubley, Russ; Dyer, Martin (1999), "Faster random generation of linear extensions",*Discrete Mathematics*,**201**(1–3): 81–88, doi:10.1016/S0012-365X(98)00333-1.**^**Fishburn, Peter C.; Trotter, W. T. (1992), "Linear extensions of semiorders: a maximization problem",*Discrete Mathematics*,**103**(1): 25–40, doi:10.1016/0012-365X(92)90036-F, MR 1171114.**^**Björner, Anders; Ziegler, Günter M. (1992), "Introduction to Greedoids", in White, Neil (ed.),*Matroid Applications*, Encyclopedia of Mathematics and its Applications,**40**, Cambridge University Press, pp. 284–357, ISBN 978-0-521-38165-9. See especially item (1) on p. 294.**^**Kislitsyn, S. S. (1968), "Finite partially ordered sets and their associated sets of permutations",*Matematicheskie Zametki*,**4**: 511–518.**^**Brightwell, Graham R. (1999), "Balanced pairs in partial orders",*Discrete Mathematics*,**201**(1–3): 25–52, doi:10.1016/S0012-365X(98)00311-2.**^**Brightwell, G. R.; Felsner, S.; Trotter, W. T. (1995), "Balancing pairs and the cross product conjecture",*Order*,**12**(4): 327–349, CiteSeerX 10.1.1.38.7841, doi:10.1007/BF01110378, MR 1368815.