Let consist of a rooted path of edges followed by two leaves at its far end. Its only vertex with two children has depth . An adjacency-preserving rooted-tree embedding must preserve this depth, so embeds into only when . This gives an infinite bad sequence, while rooted-tree homeomorphic embeddings can stretch the stems.
Minimal bad sequence 2026-10-06
A minimal bad sequence chooses each successive object of least possible natural-number size among choices that admit an infinite bad continuation of the already fixed prefix. Replacing its next object by a strictly smaller one cannot leave a bad sequence. This contradiction principle proves Higman lemma and the labelled version of Kruskal's tree theorem.
We prove the labelled version of Kruskal's tree theorem, with labels in a well-quasi-ordering ; the unlabelled result is its one-label case. A label-monotone tree embedding is an injective map of finite rooted trees preserving lowest common ancestors and increasing labels. Its root may map below the host root, and an edge may map to a path. These conventions distinguish rooted-tree homeomorphic embedding from the stricter adjacency-preserving relation, which is not well-quasi-ordered.
We will use two elementary consequences of well-quasi-ordering. Every infinite sequence in a well-quasi-ordering has an infinite nondecreasing subsequence: color pairs by whether the earlier element precedes the later one, apply Ramsey's theorem, and exclude an all-bad infinite set. Restricting successively in each coordinate proves finite product closure of well-quasi-orderings.
For completeness, here is the required proof of Higman's lemma. If finite words over admitted a bad sequence, choose one whose next word always has the least length admitting a bad continuation of the fixed prefix. No word is empty. Write , separating the last letter. The set of prefixes is a well-quasi-ordering. Otherwise select a bad sequence of these prefixes with strictly increasing owner indices ; this is possible because every finite initial set of owners supplies only finitely many prefixes, and a bad sequence cannot repeat a word. Then
is bad. An earlier original word embedding into would also embed into , contradicting the original badness; comparisons inside the new tail are excluded by its choice. But is shorter than , contradicting minimality. Since the prefixes and the last letters are well-quasi-ordered, their product gives with embedding into and . Appending the matched last letters embeds into , the final contradiction. Thus finite words over a WQO are WQO.
Now suppose labelled finite rooted trees admit a bad sequence . Choose it minimally in vertex count at each successive position. Let be all immediate child subtrees of its members. This is a well-quasi-ordering: if not, select a bad sequence of child subtrees with increasing owner indices , and splice it after . Every child subtree embeds into its owner, so a comparison from the prefix to the tail would contradict original badness. The splice is bad and its first replacement is strictly smaller, contradicting the minimal bad sequence choice.
For each , list its child subtrees in any order as a finite word over and record its root label . The product is a well-quasi-ordering by Higman's lemma. Hence some has and a subsequence embedding of into . Match the roots and use the chosen subtree embeddings in distinct target branches. Their union preserves lowest common ancestors and labels, and stretches only edge paths. Thus embeds into , a contradiction. We have proved
To deduce Friedman's finite form of Kruskal's theorem, fix . At position permit unlabelled trees of at most vertices. Up to isomorphism only finitely many trees are possible at each position. Form the finite bad-sequence tree whose nodes are finite bad sequences satisfying these bounds, ordered by extension. It is finitely branching. If there were arbitrarily long admissible bad sequences, König infinity lemma would give an infinite branch, contradicting Kruskal's tree theorem. Therefore
One can instead use a fixed finite set of labels, giving a correspondingly parameterized finite statement by exactly the same proof. The crucial feature is a uniform bound for each initial size allowance, not merely termination of one chosen sequence.
The consistency implication needs more than the fact that the finite tree statement is unprovable in Peano arithmetic. Its mechanism is a concrete encoding of ordinal descent by bad finite-tree sequences, combined with the controlled-termination form of Gentzen ordinal reduction for arithmetic.
First define the natural-sum ordinal rank of a finite rooted tree. A leaf has rank zero, and a tree with immediate child subtrees has
where is Hessenberg natural sum. By induction every such rank is below epsilon zero. Conversely, if is in Cantor normal form, represent it by a root with copies of the recursively constructed tree for . The leaf represents zero. Denote the resulting canonical tree by and its vertex count by .
We claim that a rooted-tree homeomorphic embedding implies . If the roots match, the source child subtrees embed into distinct target branches. By induction their ranks do not decrease; exponentiation and Hessenberg natural sum preserve these comparisons, and additional target branches only increase the sum. If the source root maps below the host root, its entire image lies in an immediate subtree of . Induction gives , while
This also holds when . Thus the claim follows by induction on the host tree. In particular,
Consequently Friedman's finite form of Kruskal's theorem supplies slow well-ordering below epsilon zero: for each , descending ordinal sequences with have uniformly bounded length. Otherwise their canonical trees would be arbitrarily long admissible bad sequences. The notation system and its comparisons are primitive recursive, and there are only finitely many notations of bounded norm.
The proof-theoretic input is the following precise miniaturization lemma: for the standard effective Cantor normal form notation system below , slow well-ordering with linear norm control implies the formal consistency statement for Peano arithmetic. The Friedman–Smith controlled-termination theorem, stated in its general ordinal-analysis form in Section 2.2 of formal.hknu.ac.kr/Publi/kruskalJKMS.pdf , supplies this implication over arithmetical comprehension theory , whose first-order part is conservative over Peano arithmetic. This is an established proof-theoretic lemma, separate from the elementary tree-rank calculation above.
Here is why that lemma is a consistency result. Gentzen ordinal reduction for arithmetic assigns an alleged arithmetic contradiction an effective ordinal below . Reducing cuts and induction inferences preserves the contradictory end-sequent while strictly decreasing the assigned ordinal. A terminal normal derivation of a contradiction is excluded by inspection of the rules. The miniaturization argument converts this reduction/induction analysis into finite controlled descents: a contradictory proof would yield arbitrarily long descending notation sequences with a common initial allowance and linear norm control. Slow well-ordering excludes these. The control conversion is substantive; ordinary proof reductions must not simply be asserted to have linear-size growth. Gentzen's ordinal-reduction framework is discussed in math.stanford.edu/~feferman/papers/reductive.pdf .
Combining the coding with that precise termination lemma gives
Thus the finite combinatorial principle proves that no PA proof of a contradiction exists in the specified arithmetic metatheory. If consistent Peano arithmetic proved FFF, it would also prove its own formal consistency statement: the displayed implication is arithmetical and the first-order conservativity of transfers it to PA. This contradicts the Gödel second incompleteness theorem. It is the consistency implication, rather than unprovability by itself, that explains the strength of the finite tree principle.
We use rooted-tree homeomorphic embedding: an injective vertex map preserves ancestors and lowest common ancestors, while an edge may map to a longer path. The root may map below the host root. Write for this relation. The assertion of Kruskal's tree theorem is that finite rooted trees form a well-quasi-ordering: every infinite sequence has with .
We first supply the word lemma needed in the proof. In a well-quasi-order , every sequence has an infinite nondecreasing subsequence. Indeed, if no term had infinitely many later terms above it, successive choices beyond the finite sets of later dominators would give a bad sequence. Some term therefore has infinitely many later dominators; repeat the argument inside that infinite subsequence, which is still well-quasi-ordered, to build a chain.
Now order finite words over by subsequence embedding with coordinatewise increase. Suppose a bad word sequence exists and choose one minimally: at each position use a word of least length allowing a bad continuation of the fixed prefix. No word is empty. Write , removing its last letter. Choose indices with . The sequence
would also be bad. An old word embedding into embeds into , contrary to the original badness; and would extend, using the last-letter comparison, to . But is shorter than , contradicting minimality. This proves Higman lemma, including its empty-word case.
Suppose next that there is a bad sequence of finite rooted trees, and choose a minimal bad sequence by vertex count. Let consist of all proper rooted subtrees hanging below vertices of the . This collection is well-quasi-ordered. Otherwise choose a bad sequence in . Its containing-tree indices can be selected strictly increasing, say is a proper subtree of : a finite initial collection of containing trees has only finitely many proper subtrees, and a bad sequence cannot repeat an isomorphism class. Then
is bad. No earlier can embed into , because and this would contradict the original sequence. The new tail is bad by construction. Since , this contradicts minimality.
List each tree's immediate root subtrees in any chosen order. These are finite words in the well-quasi-order , so the word lemma gives for which the child word of embeds into that of . Send the root of to the root of , and use the chosen embeddings inside the selected, distinct target branches. The connecting paths from the target root to the images of the source children have disjoint interiors; lowest common ancestors in different branches are preserved. This constructs , the final contradiction. Thus finite rooted trees are well-quasi-ordered by homeomorphic embedding. If labels lie in an arbitrary well-quasi-order, the same proof uses label-monotone embeddings; compare root labels and child words in their product well-quasi-order. The product property follows by taking a nondecreasing subsequence in the first coordinate and a good pair in the second.
For Friedman's finite form of Kruskal's theorem, fix . Consider all finite bad prefixes satisfying , up to rooted-tree isomorphism. They form a prefix tree. At each node there are finitely many possible next trees, because there are only finitely many rooted-tree isomorphism types on at most vertices. If prefixes of arbitrary length existed, the König infinity lemma would give an infinite branch, hence an infinite bad sequence, contrary to what we proved. Its height is therefore bounded. Consequently
The same finite-prefix argument works with a fixed finite label alphabet, and more generally with any prescribed size bound having only finitely many possibilities at each position. These are finite existence statements; no numerical estimate on is needed for the conclusion.
For finite rooted trees, use rooted-tree homeomorphic embedding: an injective vertex map preserves ancestors and lowest common ancestors, so edges may become paths and distinct branches remain distinct. The root can map to a vertex below the host root. More generally label vertices in a well-quasi-ordering and require each source label to precede its image label. We prove this stronger labelled version of Kruskal's tree theorem, from which the unlabelled result follows by taking one label.
We first need the finite-word closure, and prove it rather than merely invoking Higman lemma. If finite words over were not a well-quasi-ordering under order-preserving subsequence embedding with increased labels, choose a minimal bad sequence , minimizing the length of among words admitting a bad continuation of the already chosen prefix. No is empty. Write by removing its last letter. The perfect subsequence lemma gives with for .
The sequence is still bad. An earlier embedding into a later would embed into , contradicting the original sequence. An embedding of into extends by the last-letter comparison to an embedding of into . Both possibilities are excluded. This contradicts minimality at position , since is shorter. Thus the finite-word closure holds. The perfect subsequence lemma also proves finite product closure: first pass to a nondecreasing subsequence in one coordinate, then in the next, preserving all previous comparisons.
Suppose now that the labelled trees admit a bad sequence . Choose a minimal bad sequence by vertex number. Let be all the proper descendant-rooted subtrees of these trees. We claim that is a well-quasi-ordering. If it had a bad sequence of subtrees , its parent indices can be made strictly increasing, say comes from . Indeed each finite initial collection of parent trees has only finitely many subtrees, and a bad sequence cannot contain infinitely many terms from a finite collection. Passing to a subsequence therefore makes .
Then is bad. A prefix tree embedding into would embed into its parent , contrary to the original badness, and the tail is bad by construction. But has fewer vertices than , contradicting minimality. This proves the claim.
Give the children of each root any fixed order. Its forest of child subtrees is a finite word in . The word theorem and finite product closure show that the pairs consisting of the root label and the child-subtree word are a well-quasi-ordering. Thus some have comparable root labels and an embedding of the child word of into that of . Map the source root to the target root and use the obtained embeddings inside distinct target child subtrees. The paths from the target root into those distinct branches are disjoint except at the root, so this is a label-monotone tree embedding. It contradicts badness. Hence
For Friedman's finite form of Kruskal's theorem, fix . There is such that any trees with contain with . Use indices starting at zero; shifting them only changes . To prove this uniform finite bound, form the finite bad-sequence tree of finite bad prefixes obeying the size bounds. At position there are only finitely many rooted-tree isomorphism types with at most vertices, so every node has finitely many successors.
If no bound existed, this tree would have nodes of arbitrarily large depth. A node with arbitrarily long extensions has a child with arbitrarily long extensions, since it has only finitely many children. Choosing such a child repeatedly produces an infinite branch, as in the König infinity lemma. The branch is an infinite bad tree sequence, contradicting the theorem just proved. Therefore the required exists. The same proof works with any fixed finite label alphabet and any specified size bound finite at each position.
A well-quasi-ordering is a preorder such that every infinite sequence has indices with . Reflexivity and transitivity are part of the definition; antisymmetry is unnecessary. An infinite sequence without such a pair is a bad sequence.
The perfect subsequence lemma strengthens this definition: every infinite sequence in a well-quasi-order has an infinite nondecreasing subsequence, meaning
Here is a proof that does not assume the lemma implicitly. There must be an index with infinitely many later indices satisfying . Otherwise each index would have only finitely many such successors. Starting with any index, choose the next one beyond the union of those finite successor sets for the previously chosen indices. This constructs a bad sequence, contradicting the well-quasi-ordering property.
Choose with infinitely many successors above it, and restrict to those successors. Apply the same argument to that infinite subsequence, obtaining with infinitely many later successors above it within the restricted sequence. Continue. Every subsequent restriction lies inside all previous upper cones, so for every . This proves the lemma, including for a genuine quasi-order with distinct equivalent elements. Both alternatives below use it.
Use the rooted-tree homeomorphic embedding relation: an injective map of vertices preserves lowest common ancestors, so edges may become paths and the source root may map below the target root. We prove the stronger labelled statement for labels in any well-quasi-ordering , with labels increasing under the embedding. Forgetting labels gives Kruskal's tree theorem.
First every infinite sequence in a well-quasi-ordering has an infinite nondecreasing subsequence. Colour its index pairs according as the earlier term is or is not below the later term. Ramsey's theorem gives an infinite constant-colour subsequence; the bad colour would contradict well-quasi-ordering. Applying this successively in each coordinate proves finite product closure of well-quasi-orderings.
We need Higman lemma with its proof. Order finite words over by subsequence embedding with increased letters. If there were a bad sequence, choose one minimally: at each position choose a shortest word admitting a bad continuation of the fixed prefix. No word is empty. Write , separating the last letter, and choose with . Consider
An earlier prefix word cannot embed in a later , since it would then embed in . Nor can embed in : adding the comparable last letters would embed in . Thus the displayed sequence is bad, contradicting minimality at , since is shorter. Finite words over a well-quasi-order are well-quasi-ordered.
Now suppose labelled rooted trees admit a bad sequence , chosen minimally in vertex count at each position. Let consist of all proper rooted subtrees of these trees, rooted at a descendant and containing all its descendants. We claim is well-quasi-ordered. Otherwise take a bad sequence from . Only finitely many subtrees come from any fixed finite prefix of the 's, and a bad sequence cannot repeat an object. Thin it so that comes from with . The sequence
is bad: would imply , since a rooted subtree embeds in its host; comparisons within the 's are excluded by their choice. But is strictly smaller than , contradicting minimality. This proves the claim.
Choose an arbitrary ordering of the children of each . Record its root label and the finite word of rooted child-subtrees:
By Higman lemma and finite product closure, two records, with indices , are comparable. Map the root of to the root of , and map its selected child-subtrees into the distinct selected branches of . Within a branch the embeddings preserve lowest common ancestors; between different branches both lowest common ancestors are the roots. Labels increase everywhere. This gives , contradicting badness. Finite labelled rooted trees are well-quasi-ordered by label-monotone homeomorphic embedding. In particular, this proves the unlabelled theorem. A root-preserving variant follows by giving the root a special incomparable label unavailable at nonroot vertices; the general labelled theorem then forces root to root. Adjacency-preserving embeddings are a different, more restrictive relation and do not satisfy the same assertion.
For Friedman's finite form of Kruskal's theorem, fix and consider finite bad sequences satisfying , with indices starting at . Their prefixes form a finite bad-sequence tree. At each depth there are only finitely many possible unlabelled tree isomorphism types below the size bound, so this tree is finitely branching. If bad sequences existed at every finite length, König infinity lemma would yield an infinite branch, hence an infinite bad sequence of rooted trees, contrary to what was just proved. Therefore
The same proof works with any fixed finite label set. The finite size bounds are what make the bad-prefix tree finitely branching; the proof does not claim a small effective numerical bound.
A well-quasi-ordering is a preorder for which every infinite sequence has with . Such a comparable pair is good; a sequence without one is a bad sequence. Equivalently there is no infinite strictly descending chain in the quotient order and no infinite antichain.
A better-quasi-ordering strengthens this by requiring every barrier array to be good. A barrier in better-quasi-order theory on an infinite is a family of nonempty finite increasing sequences, no one properly contained in another, such that every infinite subset of has an initial segment in . Write when is an initial segment of a finite increasing sequence and is an initial segment of with its first entry deleted. A map is good if some satisfy . Requiring this for all barriers defines a better-quasi-ordering. Singleton barriers recover well-quasi-ordering; the stronger property supports infinitary closure operations that can fail for a mere well-quasi-ordering.
The labelled version of Kruskal's tree theorem states that finite rooted trees labelled in a well-quasi-order are well-quasi-ordered under label-monotone rooted-tree homeomorphic embedding. An embedding sends edges to nonempty downward paths, separates different child branches, and increases labels. Initially allow the source root to land at any vertex of the target. We prove this version; forcing roots to match follows at the end.
Suppose there is a bad sequence . Choose it as a minimal bad sequence: at each stage choose a tree with the fewest vertices among those admitting a bad continuation of the already fixed prefix. Let contain all proper rooted descendant subtrees of these trees. We first show that is well-quasi-ordered by the same root-flexible embedding.
Otherwise choose a bad sequence from . Each finite collection of the has only finitely many descendant subtrees, and a bad sequence cannot repeat an object. Thus, after passing to a subsequence, choose strictly increasing such that is a proper descendant subtree of . The sequence
is bad: an embedding of a prefix tree into would compose with the subtree inclusion to embed into , contradicting the original badness. But is smaller than , contradicting minimality. Hence is well-quasi-ordered.
Give the children of each root any fixed linear order, and describe a tree by its root label and the word of its child subtrees. The Higman lemma makes well-quasi-ordered, and finite product closure of well-quasi-orderings makes well-quasi-ordered. There are therefore with an increased root label and an embedding of the child word of as a subsequence of that of . Embed the root into the root, use the chosen subtree embeddings inside the corresponding distinct target branches, and join their root images to the target root by downward paths. This gives a label-monotone tree embedding , the required contradiction.
If root-preserving embeddings are required, replace by the disjoint union of two copies of , label every root in copy one and every other vertex in copy zero, and allow comparisons only within a copy. This is again a well-quasi-order. The unique copy-one vertex of a tree forces an embedding to send root to root. Taking to be a singleton gives Kruskal's tree theorem for unlabelled trees. The Higman lemma used above follows from the same minimal-bad-sequence argument for words: delete the last letters along an infinite nondecreasing subsequence of those letters; a good pair among the shortened words would extend to a good pair of original words, contradicting minimality. Empty shortened words cause an immediate good pair. This supplies the word lemma needed in the tree proof.
Use rooted-tree homeomorphic embedding: edges may be stretched into downward paths, different child branches stay disjoint, and the source root may map to any target vertex. Write for this relation. More generally allow labels in a well-quasi-ordering and require every source label to be at most its image label. We prove this labelled version, which includes the unlabelled case by taking one label.
First, every infinite sequence in a well-quasi-ordering has an infinite nondecreasing subsequence. In every infinite set of indices there is an index with infinitely many later successors above its value. Otherwise repeatedly discard the finitely many successors of each chosen index, obtaining a bad sequence. Applying this observation successively within the infinite successor set produces the required subsequence.
We also need the Higman lemma, and prove it here. If finite words over admitted a bad sequence, choose one with each word of least possible length among choices permitting a bad continuation of its fixed prefix. No word is empty. Write , and extract indices with . The sequence
is bad: an earlier embedding into some would embed into , while together with would give . This contradicts the minimal length of , since is shorter. Hence finite words are well-quasi-ordered under subsequence embedding with increased labels.
Now suppose labelled rooted trees admitted a bad sequence , chosen minimally by number of vertices at each successive position. Let consist of all immediate child subtrees of all the , with the inherited labels. We claim is a well-quasi-ordering. Otherwise take a bad sequence of members of . Only finitely many distinct rooted trees occur among the children of any finite initial list of , so, by discarding terms and selecting a subsequence, we may arrange its members to come from strictly increasing parent indices . Then
is bad. A prefix rooted tree embedding into would embed into its parent ; embeddings between the are excluded by their choice. But has fewer vertices than , contradicting minimality. This proves the claim.
List the child subtrees of each in any order. By the Higman lemma these child lists are well-quasi-ordered. Extract an infinite subsequence with nondecreasing root labels, and then compare two child lists on that subsequence. Their subsequence embedding gives distinct target child branches into which the source child subtrees embed. Map the source root to the target root and join each embedded child root to it by the corresponding downward path. The paths are disjoint except at the root, and labels increase. Thus for some , contradicting badness. This proves Kruskal's tree theorem and its labelled version. If root preservation is required, mark the root with a special label incomparable with all ordinary labels; the same proof then forces root to map to root.
For Friedman's finite form of Kruskal's theorem, fix and suppose there are arbitrarily long bad lists satisfying for . Make a finite bad-sequence tree whose nodes are these lists, using one representative of each finite rooted-rooted tree isomorphism type. At each position only finitely many choices satisfy the size bound, so the rooted tree is finitely branching. An infinite path exists: at every stage choose a child having extensions of arbitrarily large length, which must exist because there are finitely many children. The path is an infinite bad sequence, contradicting Kruskal's tree theorem. Therefore
The identical argument works with finitely many labels and any fixed finite size bound at each position.
Use rooted-tree homeomorphic embedding: an injective map of vertices preserves ancestor order and lowest common ancestors, so edges may be stretched into paths and distinct branches remain distinct. The source root may map below the target root. Kruskal's tree theorem asserts that finite rooted trees are well-quasi-ordered by this embedding: every infinite sequence has with . More generally, labels from any well-quasi-ordering may be required to increase under the embedding. This labelled result implies the unlabelled one by using a one-point label set, and also implies the version for unrooted trees by choosing roots arbitrarily.
We first prove the word lemma needed for the tree argument. In a well-quasi-ordering , every infinite sequence has an infinite nondecreasing subsequence. Indeed, some term must be below infinitely many later terms: if no term were, recursively avoiding the finitely many successors dominated by each previously chosen term would produce a bad sequence. Repeat this observation inside the infinite set of later terms dominating the chosen one.
The Higman lemma says that finite words over are well-quasi-ordered by subsequence embedding with letterwise comparison. Suppose otherwise, and choose a minimal bad sequence of words, minimizing length at each position among words admitting a bad continuation of the chosen prefix. No word is empty. Write , separating its last letter. Choose indices on which is nondecreasing. Then
is bad. A comparison from a prefix word into some would give a comparison into in the old bad sequence. A comparison , , together with would give . Both are impossible. But the new continuation uses a shorter word at position , contradicting minimality. This proves the Higman lemma.
Now suppose there were a bad sequence of labelled finite rooted trees. Choose it minimally by number of vertices at each position. Let be the collection of all proper rooted subtrees occurring at vertices other than the roots in these trees. We claim that is well-quasi-ordered. Otherwise take a bad sequence of such subtrees , with a proper subtree of . The indices cannot remain bounded, because finitely many finite trees have only finitely many rooted subtrees, and repetition is a comparison. Pass to a subsequence with strictly increasing . The sequence
is bad: a comparison from an earlier into would compose with the subtree embedding to contradict the original badness. Its other comparisons were excluded already. Since has fewer vertices than , this contradicts minimality, proving the claim.
List each tree's immediate root subtrees in any chosen order. These are finite words over , hence form a well-quasi-ordering by the word lemma. Combine the lists with the root labels. A product of two well-quasi-orders is well-quasi-ordered: pass to an infinite nondecreasing subsequence in the first coordinate and find a comparable pair in the second. Thus two trees have comparable root labels and a subsequence matching of their child lists. Map the first root to the second root and use the matched subtree embeddings in distinct child branches. The resulting injective map preserves labels and lowest common ancestors, giving , the desired contradiction. This proves the full labelled form of Kruskal's tree theorem.
Friedman's finite form of Kruskal's theorem is a uniform finite consequence. For every fixed natural , there is such that any sequence of finite rooted trees satisfying has a comparable pair . It also holds with labels in any fixed finite label set. To prove it, assume no such exists. Form the finite bad-sequence tree whose nodes are bad finite tree sequences satisfying those size bounds, using one representative of each isomorphism type. Each position has finitely many extensions, since there are finitely many labelled tree types of each bounded size. By assumption this finitely branching tree has nodes at every finite height. The König infinity lemma supplies an infinite branch, which is an infinite bad sequence of trees, contradicting the theorem just proved. Hence
Likewise, using fixed labels with the bound for gives the customary finite labelled tree form. Only existence of its finite bound is claimed here, not a small numerical estimate.
A well-quasi-ordering is a reflexive transitive relation such that every infinite sequence contains with . Such a pair is good; a sequence without one is bad. A better-quasi-ordering strengthens this condition from sequences to barrier arrays. A barrier in better-quasi-order theory on an infinite is a family of nonempty finite increasing sequences whose underlying sets are inclusion-incomparable, such that every infinite subset of has an initial segment in . Write if both are initial segments of some increasing sequence and its first-term deletion, respectively. BQO means that every has with . Singleton barriers give the WQO condition, so BQO implies WQO. These are the barrier-array conventions explained in the treatment of better-quasi-orders.
The labelled version of Kruskal's tree theorem states that finite rooted trees labelled by a WQO are WQO under label-monotone tree embedding. An embedding is an injective vertex map preserving lowest common ancestors and increasing labels. In particular an edge may map to a nonempty path, and the source root may map below the target root. The unlabelled theorem follows by taking one label. We prove the stronger labelled assertion.
We first supply the word lemma needed in the proof. Every sequence in a WQO has an infinite nondecreasing subsequence: color pairs according to whether and use Ramsey's theorem; the all-bad homogeneous possibility is excluded by WQO. Suppose finite words over had a bad sequence. Choose a minimal bad sequence , minimizing length at each stage among choices admitting a bad continuation. No word is empty. Write and choose with for . The sequence
cannot be bad by minimality, since its new word at position is shorter. A good pair within the old prefix was already forbidden. A prefix word embedding in some embeds in , also forbidden. A good pair extends by the ordered last letters to , again forbidden. This proves the Higman lemma.
Assume next that labelled trees have a bad sequence. Choose minimally by number of vertices, again among choices admitting a bad continuation. Let be the collection of all immediate child subtrees of all . We claim it is WQO. If were a bad sequence in , attach to each a parent index with a proper child subtree of . The indices must be unbounded on every tail: bounded indices provide only finitely many actual child subtrees, forcing a repeated tree and hence a good pair. Pass to a subsequence with strictly increasing parent indices . Then
is bad. Indeed a prefix tree embedding into also embeds into its host , contrary to the original bad sequence, and the other possible good pairs were excluded already. But is smaller than , contradicting minimality. This proves the claim.
Enumerate each tree's child subtrees in any chosen order. Higman's lemma makes the resulting finite words over WQO. Products of two WQOs are WQO: choose a nondecreasing subsequence in the first coordinate and then a good pair in the second. Apply this to each root label and child word. Some has an increasing root label and an embedding of its child word into the other's child word. Map the first root to the second root and use the child-subtree embeddings in the matched distinct branches. Their images lie below distinct children, so their pairwise meets are the second root; within each branch the chosen embeddings preserve meets. This gives an embedding , contradicting badness. Hence Kruskal's theorem holds. If one requires roots to be preserved, label the root with a new label incomparable with all ordinary labels and apply the just-proved labelled version; its unique occurrence forces root preservation.
For Friedman's finite form of Kruskal's theorem, fix . Consider bad finite sequences of unlabelled tree isomorphism types satisfying , with indices starting at one. Put them in a tree ordered by extension. At each position there are only finitely many isomorphism types with the allowed vertex bound, so this tree is finitely branching. If bad sequences had arbitrarily large lengths, the König infinity lemma would give an infinite branch, an infinite bad sequence contradicting Kruskal's theorem. Consequently
The bound is uniform over all such sequences. Quotienting by tree isomorphism types is essential to the finite-branching argument; arbitrary vertex names would give infinitely many codes for the same finite tree. A fixed finite label alphabet can be included with the same argument.
A well-quasi-ordering is a preorder in which every infinite sequence has with . A sequence without such a pair is a bad sequence. We use rooted-tree homeomorphic embedding: an injective map of vertices preserving lowest common ancestors, so edges may become paths and a source root may map below the host root. Labels, when present, must increase in their label preorder. This convention is important; adjacency-preserving embeddings do not give the same theorem.
We first prove the auxiliary Higman lemma. If is a well-quasi-order, its finite words are well-quasi-ordered by subsequence embedding with increased letters. Suppose not, and choose a minimal bad sequence of words: at each position choose one of least length among those permitting a bad continuation of the preceding prefix. No word is empty. Write by deleting its last letter. A well-quasi-order has an infinite nondecreasing subsequence of any sequence: if no member of an infinite subsequence had infinitely many later upper bounds within it, one could recursively avoid the finitely many upper bounds of earlier choices and construct a bad sequence. Choose a member with infinitely many later upper bounds, restrict to those bounds and repeat. Apply this to get .
The sequence is still bad. An earlier prefix word embedding into a would embed into , contrary to the original bad sequence. An embedding would extend by the comparable last letters to , equally impossible. But its next word at position is strictly shorter than , contradicting minimality. This proves Higman's lemma, including the possibility that a deleted word is empty, since that would make the proposed bad continuation impossible immediately.
We now prove the labelled version of Kruskal's tree theorem for labels in any well-quasi-order . Assume there is a bad sequence , and choose one minimal in vertex count at each position, subject to bad extendibility. Let be the collection of rooted subtrees obtained by deleting a root and taking one of its child branches, over all .
This collection is well-quasi-ordered. Otherwise take a bad sequence from . Only finitely many of these objects can come from any bounded initial segment of the , since that segment has only finitely many child branches and a bad sequence cannot repeat an object. Pass to a subsequence with a child branch of and . Then
is bad: a prefix tree embedding into would embed into , and the are already bad among themselves. The next object has fewer vertices than , contradicting the minimal bad choice. Notice that a child branch does embed into its full tree under the stated homeomorphic convention.
List each tree's child branches in any chosen order. The preceding result and Higman's lemma make these finite lists well-quasi-ordered. The product of two well-quasi-orders is well-quasi-ordered: first thin to an infinite nondecreasing subsequence in one coordinate and then find an increasing pair in the other. Therefore there are such that the root label of increases to that of , and the child list of embeds as a subsequence into the child list of , with each source branch homeomorphically embedding into its matched branch.
Map the root of to the root of , and use these branch embeddings below it. Different child branches map into different host branches, so their lowest common ancestor maps to the host root. Within each branch it is preserved by the chosen embedding. Thus the whole map is injective, preserves all lowest common ancestors and respects labels, contradicting badness. Finite rooted trees labelled by a well-quasi-order are well-quasi-ordered under homeomorphic embedding. Taking one label proves Kruskal's tree theorem. If one uses a root-preserving convention, mark the root by a separate label incomparable with all ordinary labels and apply the labelled theorem; the marked root then has to map to the marked root. No adjacency-preservation assertion is being made.
For Friedman's finite form of Kruskal's theorem, fix . The required finite conclusion is
Assume there were arbitrarily long bad sequences satisfying these size bounds. Form the tree of their finite prefixes, using rooted-tree isomorphism classes as objects. At position only finitely many finite rooted trees have at most vertices, so this prefix tree is finitely branching and has nodes at arbitrarily large depths. König infinity lemma supplies an infinite branch: at each step some child must still have arbitrarily deep extensions, because there are only finitely many children. The branch is an infinite bad sequence of finite rooted trees, contradicting Kruskal's theorem. Thus such an exists. The argument also works for any prescribed size-bound function, or any fixed finite label set, because each position then still has finitely many possible objects.
A well-quasi-ordering is a reflexive transitive relation such that every infinite sequence has with . An infinite sequence without such a pair is a bad sequence. For a finite rooted tree, let denote the lowest common ancestor of two vertices. A homeomorphic embedding of a rooted tree into another is an injective map with
Thus it preserves branching and sends each edge to a nonempty downward path, with different branches separated. The source root may map to a vertex below the target root. Kruskal's tree theorem says that finite rooted trees are well-quasi-ordered under these embeddings.
We first establish the word lemma used in the proof. The Higman lemma says that finite words over a well-quasi-ordering are well-quasi-ordered by subsequence embedding with increased letters. Every infinite sequence in has an infinite nondecreasing subsequence. To see this, some term must have infinitely many later terms above it: otherwise, repeatedly choosing past all finitely many successors of earlier chosen terms constructs a bad sequence. Apply this observation again inside that infinite upper cone, and repeat.
If the Higman lemma failed, choose a minimal bad sequence of words , minimizing length at each position among choices admitting a bad continuation. None is empty. Write , with last letter , and choose indices on which the are nondecreasing. Then
is still a bad sequence. A comparison from the original prefix into some would give one into . A comparison would extend by to . Both contradict the original badness. But the replacement at position is shorter than , contradicting minimality. This proves the Higman lemma.
Now suppose Kruskal's tree theorem fails and choose a minimal bad sequence , minimizing the number of vertices at each stage. Let contain all proper descendant-rooted subtrees of all . We claim that is well-quasi-ordered by rooted-tree homeomorphic embeddings. Otherwise take a bad sequence from it. Each finite set of host trees supplies only finitely many subtrees, so after passing to a subsequence we may arrange that is a proper subtree of with . The sequence
is bad: a comparison from a prefix tree into would compose with its inclusion into and contradict the original badness; comparisons among the are excluded by construction. Yet is smaller than , contradicting minimality. This proves the claim.
List the immediate-child subtrees of each in any fixed order. These are finite words over . By the Higman lemma, some earlier child list embeds into a later one with increased letters. The selected child subtrees embed into distinct child branches of the later tree. Map the source root to the target root and use these embeddings in the selected branches. The paths from the target root to the embedded child roots are separated because the target child branches are distinct. The resulting injection preserves lowest common ancestors, giving , a contradiction. This proves Kruskal's tree theorem completely. It also gives the root-preserving homeomorphic version: once the weaker relation is well-quasi-ordered on all finite rooted trees, apply the Higman lemma to their child lists to obtain a comparison preserving the root.
For the proposed adjacency-preserving rooted-tree embedding, the answer is no: it is not a well-quasi-ordering. For every , form from a stem of edges starting at the root and then attach two leaves to its terminal vertex. The only vertex with two children is at depth . A root-preserving adjacency injection preserves depths: the unique path of length from the root maps to a simple path of length from the target root. The image of a vertex with two children must still have two distinct children. Thus an embedding must send the branch vertex at depth to the unique branch vertex at depth , forcing . Therefore
This is the branching-depth antichain of rooted trees. Homeomorphic embeddings can stretch the stem and hence do not have this obstruction.
Figure 1.
Root-preserving adjacency embeddings preserve the depth of the branching vertex
. Details.
A well-quasi-ordering is a reflexive transitive relation for which every infinite sequence has with . A bad sequence has no such pair. The labelled version of Kruskal's tree theorem says that finite rooted trees labelled in any well-quasi-ordering are themselves well-quasi-ordered by label-monotone tree embedding.
More explicitly, an embedding is an injective map of vertices preserving lowest common ancestors, and satisfying at every vertex. The root need not map to the host root. This is a homeomorphic embedding of a rooted tree: an edge can map to a longer path, but distinct branches must separate at the image of their common ancestor. We shall prove the stronger version in which every vertex's children are linearly ordered and embeddings respect that ordering. Forgetting the child order gives the stated result for unordered rooted trees.
We first establish the two well-quasi-ordering facts used in the proof. Every infinite sequence in a well-quasi-ordering has an infinite nondecreasing subsequence. Indeed, color an index pair according to whether . The infinite two-color Ramsey theorem gives a homogeneous infinite set; the negative color would be a bad sequence, so the positive color gives the required subsequence. It follows that the componentwise product of two well-quasi-orderings is a well-quasi-ordering: first extract a nondecreasing subsequence in one coordinate, then find a good pair in the other.
Next prove Higman lemma: finite words over a well-quasi-ordering , ordered by subsequence embedding with coordinatewise increase of letters, are a well-quasi-ordering. Suppose not, and choose a minimal bad sequence by making the length of minimal among all choices admitting an infinite bad continuation of the already fixed prefix. No word is the empty word, since that embeds in every later word. Write with . Extract indices for which . Consider
It cannot be a bad sequence, since its first replacement is shorter than the minimal choice . But a good pair within the original prefix is impossible. A prefix word embedding into would embed into , contradicting the original bad sequence. And embedding into would, after appending the ordered last letters, embed into , also impossible. This contradiction proves Higman lemma, including words of arbitrary finite length.
Now suppose there is a bad sequence of finite ordered labelled rooted trees. Choose a minimal bad sequence by minimizing the number of vertices of , subject to the fixed prefix having an infinite bad continuation. Existence of a least possible size uses ordinary well-ordering of the natural numbers; after selecting such a tree retain a bad continuation to make the next choice.
Let be the collection of all proper rooted subtrees of all , with inherited labels and child ordering. These are the subtrees rooted at vertices other than the root, and each embeds into its containing tree. We claim is a well-quasi-ordering under the same label-monotone tree embedding.
Otherwise choose a bad sequence from , and choose for each a containing tree . The indices are unbounded in every tail: finitely many containing trees have only finitely many rooted subtrees, and an infinite bad sequence cannot repeatedly use one of these, since it embeds into itself. Passing to a subsequence, arrange . The spliced sequence
is bad. A good pair within either piece is already excluded. A comparison , where , would compose with to give , contradicting the original bad sequence. But is smaller than , contradicting the minimal choice at that position. This proves the claim about .
Describe by its root label and its finite ordered list of child subtrees. Every entry of lies in . By Higman lemma, is a well-quasi-ordering; hence so is . There exist with and an increasing injection matching the child subtrees in to child subtrees in , each by an embedding. Map root to root and combine these child embeddings. Different matched children lie in different target branches, so their paths meet exactly at the target root; within each branch the chosen embedding already preserves lowest common ancestors. The resulting map is a label-monotone tree embedding , a contradiction. Therefore
The empty labelled tree, if included by convention, embeds into every tree and causes no exception. A common stronger formulation requires the source root to map to the target root. It also follows: the theorem just proved makes all labelled child subtrees a well-quasi-ordering, and the product then provides a good pair with roots explicitly matched, by the same final assembly. Internal child roots may map further down their matched branches. This must not be confused with edge-to-edge embedding, for which the theorem is false in general.
Perfect subsequence lemma 2026-10-14
Every infinite sequence in a well-quasi-ordering has an infinite subsequence all of whose earlier terms precede its later terms. Some term must have infinitely many later terms above it: otherwise choose each new index outside the finitely many upper-cone index sets of the terms already chosen, producing a bad sequence. Apply the same observation successively inside the infinite upper-cone subsequence. Each restriction preserves all earlier inequalities, proving the assertion.