# Well-quasi-ordering

In mathematics, specifically order theory, a well-quasi-ordering or wqo is a quasi-ordering such that any infinite sequence of elements ${\displaystyle x_{0},x_{1},x_{2},\ldots }$ from ${\displaystyle X}$ contains an increasing pair ${\displaystyle x_{i}\leq x_{j}}$ with ${\displaystyle i.

## Motivation

Well-founded induction can be used on any set with a well-founded relation, thus one is interested in when a quasi-order is well-founded. (Here, by abuse of terminology, a quasiorder ${\displaystyle \leq }$  is said to be well-founded if the corresponding strict order ${\displaystyle x\leq y\land y\nleq x}$  is a well-founded relation.) However the class of well-founded quasiorders is not closed under certain operations—that is, when a quasi-order is used to obtain a new quasi-order on a set of structures derived from our original set, this quasiorder is found to be not well-founded. By placing stronger restrictions on the original well-founded quasiordering one can hope to ensure that our derived quasiorderings are still well-founded.

An example of this is the power set operation. Given a quasiordering ${\displaystyle \leq }$  for a set ${\displaystyle X}$  one can define a quasiorder ${\displaystyle \leq ^{+}}$  on ${\displaystyle X}$ 's power set ${\displaystyle P(X)}$  by setting ${\displaystyle A\leq ^{+}B}$  if and only if for each element of ${\displaystyle A}$  one can find some element of ${\displaystyle B}$  that is larger than it with respect to ${\displaystyle \leq }$ . One can show that this quasiordering on ${\displaystyle P(X)}$  needn't be well-founded, but if one takes the original quasi-ordering to be a well-quasi-ordering, then it is.

## Formal definition

A well-quasi-ordering on a set ${\displaystyle X}$  is a quasi-ordering (i.e., a reflexive, transitive binary relation) such that any infinite sequence of elements ${\displaystyle x_{0},x_{1},x_{2},\ldots }$  from ${\displaystyle X}$  contains an increasing pair ${\displaystyle x_{i}\leq x_{j}}$  with ${\displaystyle i . The set ${\displaystyle X}$  is said to be well-quasi-ordered, or shortly wqo.

A well partial order, or a wpo, is a wqo that is a proper ordering relation, i.e., it is antisymmetric.

Among other ways of defining wqo's, one is to say that they are quasi-orderings which do not contain infinite strictly decreasing sequences (of the form ${\displaystyle x_{0}>x_{1}>x_{2}>\cdots }$ )[1] nor infinite sequences of pairwise incomparable elements. Hence a quasi-order (X, ≤) is wqo if and only if (X, <) is well-founded and has no infinite antichains.

## Examples

Pic.1: Integer numbers with the usual order

Pic.2: Hasse diagram of the natural numbers ordered by divisibility

Pic.3: Hasse diagram of ${\displaystyle \mathbb {N} ^{2}}$  with componentwise order
• ${\displaystyle (\mathbb {N} ,\leq )}$ , the set of natural numbers with standard ordering, is a well partial order (in fact, a well-order). However, ${\displaystyle (\mathbb {Z} ,\leq )}$ , the set of positive and negative integers, is not a well-quasi-order, because it is not well-founded (see Pic.1).
• ${\displaystyle (\mathbb {N} ,|)}$ , the set of natural numbers ordered by divisibility, is not a well-quasi-order: the prime numbers are an infinite antichain (see Pic.2).
• ${\displaystyle (\mathbb {N} ^{k},\leq )}$ , the set of vectors of ${\displaystyle k}$  natural numbers (where ${\displaystyle k}$  is finite) with component-wise ordering, is a well partial order (Dickson's lemma; see Pic.3). More generally, if ${\displaystyle (X,\leq )}$  is well-quasi-order, then ${\displaystyle (X^{k},\leq ^{k})}$  is also a well-quasi-order for all ${\displaystyle k}$ .
• Let ${\displaystyle X}$  be an arbitrary finite set with at least two elements. The set ${\displaystyle X^{*}}$  of words over ${\displaystyle X}$  ordered lexicographically (as in a dictionary) is not a well-quasi-order because it contains the infinite decreasing sequence ${\displaystyle b,ab,aab,aaab,\ldots }$ . Similarly, ${\displaystyle X^{*}}$  ordered by the prefix relation is not a well-quasi-order, because the previous sequence is an infinite antichain of this partial order. However, ${\displaystyle X^{*}}$  ordered by the subsequence relation is a well partial order.[1] (If ${\displaystyle X}$  has only one element, these three partial orders are identical.)
• More generally, ${\displaystyle (X^{*},\leq )}$ , the set of finite ${\displaystyle X}$ -sequences ordered by embedding is a well-quasi-order if and only if ${\displaystyle (X,\leq )}$  is a well-quasi-order (Higman's lemma). Recall that one embeds a sequence ${\displaystyle u}$  into a sequence ${\displaystyle v}$  by finding a subsequence of ${\displaystyle v}$  that has the same length as ${\displaystyle u}$  and that dominates it term by term. When ${\displaystyle (X,=)}$  is an unordered set, ${\displaystyle u\leq v}$  if and only if ${\displaystyle u}$  is a subsequence of ${\displaystyle v}$ .
• ${\displaystyle (X^{\omega },\leq )}$ , the set of infinite sequences over a well-quasi-order ${\displaystyle (X,\leq )}$ , ordered by embedding, is not a well-quasi-order in general. That is, Higman's lemma does not carry over to infinite sequences. Better-quasi-orderings have been introduced to generalize Higman's lemma to sequences of arbitrary lengths.
• Embedding between finite trees with nodes labeled by elements of a wqo ${\displaystyle (X,\leq )}$  is a wqo (Kruskal's tree theorem).
• Embedding between infinite trees with nodes labeled by elements of a wqo ${\displaystyle (X,\leq )}$  is a wqo (Nash-Williams' theorem).
• Embedding between countable boolean algebras is a well-quasi-order. This follows from Laver's theorem and a theorem of Ketonen.

## Wqo's versus well partial orders

In practice, the wqo's one manipulates are quite often not orderings (see examples above), and the theory is technically smoother[citation needed] if we do not require antisymmetry, so it is built with wqo's as the basic notion. On the other hand, according to Milner 1985, no real gain in generality is obtained by considering quasi-orders rather than partial orders... it is simply more convenient to do so.

Observe that a wpo is a wqo, and that a wqo gives rise to a wpo between equivalence classes induced by the kernel of the wqo. For example, if we order ${\displaystyle \mathbb {Z} }$  by divisibility, we end up with ${\displaystyle n\equiv m}$  if and only if ${\displaystyle n=\pm m}$ , so that ${\displaystyle (\mathbb {Z} ,|)\approx (\mathbb {N} ,|)}$ .

## Infinite increasing subsequences

If ${\displaystyle (X,\leq )}$  is wqo then every infinite sequence ${\displaystyle x_{0},x_{1},x_{2},\ldots ,}$  contains an infinite increasing subsequence ${\displaystyle x_{n_{0}}\leq x_{n_{1}}\leq x_{n_{2}}\leq \cdots }$  (with ${\displaystyle n_{0} ). Such a subsequence is sometimes called perfect. This can be proved by a Ramsey argument: given some sequence ${\displaystyle (x_{i})_{i}}$ , consider the set ${\displaystyle I}$  of indexes ${\displaystyle i}$  such that ${\displaystyle x_{i}}$  has no larger or equal ${\displaystyle x_{j}}$  to its right, i.e., with ${\displaystyle i . If ${\displaystyle I}$  is infinite, then the ${\displaystyle I}$ -extracted subsequence contradicts the assumption that ${\displaystyle X}$  is wqo. So ${\displaystyle I}$  is finite, and any ${\displaystyle x_{n}}$  with ${\displaystyle n}$  larger than any index in ${\displaystyle I}$  can be used as the starting point of an infinite increasing subsequence.

The existence of such infinite increasing subsequences is sometimes taken as a definition for well-quasi-ordering, leading to an equivalent notion.

## Properties of wqos

• Given a quasiordering ${\displaystyle (X,\leq )}$  the quasiordering ${\displaystyle (P(X),\leq ^{+})}$  defined by ${\displaystyle A\leq ^{+}B\iff \forall a\in A,\exists b\in B,a\leq b}$  is well-founded if and only if ${\displaystyle (X,\leq )}$  is a wqo.[4]
• A quasiordering is a wqo if and only if the corresponding partial order (obtained by quotienting by ${\displaystyle x\sim y\iff x\leq y\land y\leq x}$ ) has no infinite descending sequences or antichains. (This can be proved using a Ramsey argument as above.)
• Given a well-quasi-ordering ${\displaystyle (X,\leq )}$ , any sequence of upward-closed subsets ${\displaystyle S_{0}\subseteq S_{1}\subseteq \cdots \subseteq X}$  eventually stabilises (meaning there exists ${\displaystyle n\in \mathbb {N} }$  such that ${\displaystyle S_{n}=S_{n+1}=\cdots }$ ; a subset ${\displaystyle S\subseteq X}$  is called upward-closed if ${\displaystyle \forall x,y\in X,x\leq y\wedge x\in S\Rightarrow y\in S}$ ): assuming the contrary ${\displaystyle \forall i\in \mathbb {N} ,\exists j\in \mathbb {N} ,j>i,\exists x\in S_{j}\setminus S_{i}}$ , a contradiction is reached by extracting an infinite non-ascending subsequence.
• Given a well-quasi-ordering ${\displaystyle (X,\leq )}$ , any subset ${\displaystyle S}$  of ${\displaystyle X}$  has a finite number of minimal elements with respect to ${\displaystyle \leq }$ , for otherwise the minimal elements of ${\displaystyle S}$  would constitute an infinite antichain.

## Notes

^ Here x < y means: ${\displaystyle x\leq y}$  and ${\displaystyle y\nleq x.}$

1. ^ Gasarch, W. (1998), "A survey of recursive combinatorics", Handbook of Recursive Mathematics, Vol. 2, Stud. Logic Found. Math., 139, Amsterdam: North-Holland, pp. 1041–1176, doi:10.1016/S0049-237X(98)80049-9, MR 1673598. See in particular page 1160.
2. ^ Nešetřil, Jaroslav; Ossona de Mendez, Patrice (2012), "Lemma 6.13", Sparsity: Graphs, Structures, and Algorithms, Algorithms and Combinatorics, 28, Heidelberg: Springer, p. 137, doi:10.1007/978-3-642-27875-4, ISBN 978-3-642-27874-7, MR 2920058.
3. ^ Damaschke, Peter (1990), "Induced subgraphs and well-quasi-ordering", Journal of Graph Theory, 14 (4): 427–435, doi:10.1002/jgt.3190140406, MR 1067237.
4. ^ Forster, Thomas (2003). "Better-quasi-orderings and coinduction". Theoretical Computer Science. 309 (1–3): 111–123. doi:10.1016/S0304-3975(03)00131-2.