# Kleene–Brouwer order

In descriptive set theory, the Kleene–Brouwer order or Lusin–Sierpiński order[1] is a linear order on finite sequences over some linearly ordered set ${\displaystyle (X,<)}$, that differs from the more commonly used lexicographic order in how it handles the case when one sequence is a prefix of the other. In the Kleene–Brouwer order, the prefix is later than the longer sequence containing it, rather than earlier.

The Kleene–Brouwer order generalizes the notion of a postorder traversal from finite trees to trees that are not necessarily finite. For trees over a well-ordered set, the Kleene–Brouwer order is itself a well-ordering if and only if the tree has no infinite branch. It is named after Stephen Cole Kleene, Luitzen Egbertus Jan Brouwer, Nikolai Luzin, and Wacław Sierpiński.

## Definition

If ${\displaystyle t}$ and ${\displaystyle s}$ are finite sequences of elements from ${\displaystyle X}$, we say that ${\displaystyle t<_{KB}s\,}$ when there is an ${\displaystyle n}$ such that either:

Here, the notation ${\displaystyle t\upharpoonright n}$ refers to the prefix of ${\displaystyle t}$ up to but not including ${\displaystyle t(n)}$. In simple terms, ${\displaystyle t<_{KB}s\,}$ whenever ${\displaystyle s}$ is a prefix of ${\displaystyle t}$ (i.e. ${\displaystyle s}$ terminates before ${\displaystyle t}$, and they are equal up to that point) or ${\displaystyle t}$ is to the "left" of ${\displaystyle s}$ on the first place they differ.[1]

## Tree interpretation

A tree, in descriptive set theory, is defined as a set of finite sequences that is closed under prefix operations. The parent in the tree of any sequence is the shorter sequence formed by removing its final element. Thus, any set of finite sequences can be augmented to form a tree, and the Kleene–Brouwer order is a natural ordering that may be given to this tree. It is a generalization to potentially-infinite trees of the postorder traversal of a finite tree: at every node of the tree, the child subtrees are given their left to right ordering, and the node itself comes after all its children. The fact that the Kleene–Brouwer order is a linear ordering (that is, that it is transitive as well as being total) follows immediately from this, as any three sequences on which transitivity is to be tested form (with their prefixes) a finite tree on which the Kleene–Brouwer order coincides with the postorder.

The significance of the Kleene–Brouwer ordering comes from the fact that if ${\displaystyle X}$ is well-ordered, then a tree over ${\displaystyle X}$ is well-founded (having no infinitely long branches) if and only if the Kleene–Brouwer ordering is a well-ordering of the elements of the tree.[1]

## Recursion theory

In recursion theory, the Kleene–Brouwer order may be applied to the computation trees of implementations of total recursive functionals. A computation tree is well-founded if and only if the computation performed by it is total recursive. Each state ${\displaystyle x}$ in a computation tree may be assigned an ordinal number ${\displaystyle ||x||}$, the supremum of the ordinal numbers ${\displaystyle 1+||y||}$ where ${\displaystyle y}$ ranges over the children of ${\displaystyle x}$ in the tree. In this way, the total recursive functionals themselves can be classified into a hierarchy, according to the minimum value of the ordinal at the root of a computation tree, minimized over all computation trees that implement the functional. The Kleene–Brouwer order of a well-founded computation tree is itself a recursive well-ordering, and at least as large as the ordinal assigned to the tree, from which it follows that the levels of this hierarchy are indexed by recursive ordinals.[2]

## History

This ordering was used by Template:Harvtxt,[3] and then again by Template:Harvtxt.[4] Brouwer does not cite any references, but Moschovakis argues that he may either have seen Template:Harvtxt, or have been influenced by earlier work of the same authors leading to this work. Much later, Template:Harvtxt studied the same ordering, and credited it to Brouwer.[5]

## References

1. {{#invoke:citation/CS1|citation |CitationClass=citation }}
2. {{#invoke:citation/CS1|citation |CitationClass=citation }}.
3. {{#invoke:citation/CS1|citation |CitationClass=citation }}.
4. {{#invoke:citation/CS1|citation |CitationClass=citation }}. As cited by Template:Harvtxt.
5. {{#invoke:citation/CS1|citation |CitationClass=citation }}. See in particular section 26, "A digression concerning recursive linear orderings", pp. 419–422.