TOPICS
Search

TREE Function


The TREE function assigns to a positive integer k the greatest possible length m of a sequence T_1,...,T_m of nonempty finite unordered rooted trees satisfying the following conditions. The vertices of each rooted tree have labels from {1,...,k}, and T_i has at most i vertices. No earlier T_i may be related to a later T_j by the comparison T_i<=T_j defined below (Friedman 2006).

Order the vertices of a rooted tree by declaring u<=v when u lies on the unique path from the root to v, including its endpoints. Write u ^ v for the meet in this order. The relation T<=U means that there is an injection f from the vertices of T to those of U that preserves labels exactly and, for every pair of vertices u,v of T, satisfies

 f(u ^ v)=f(u) ^ f(v).

The injection need not send the root of T to the root of U. Labels are compared by equality, not by their numerical order (Gallier 1991).

For fixed k, only finitely many choices occur at each position, up to graph isomorphism preserving roots and labels. If admissible sequences had unbounded lengths, their finite prefixes would form a finitely branching infinite rooted tree. König's lemma would give an infinite admissible sequence, contrary to Kruskal's tree theorem. Thus TREE(k) is finite (Gallier 1991).

The first two values are TREE(1)=1 and TREE(2)=3. With two labels, the first single-vertex rooted tree excludes its label from all later rooted trees. To permit a third rooted tree, the second must consist of two joined vertices bearing the other label. The third is then the single-vertex rooted tree with that label, after which no continuation is possible. The case TREE(3) is illustrated by Numberphile (2017).

Prepending a single-vertex rooted tree with a new label to an admissible sequence gives TREE(k+1)>=TREE(k)+1. Thus TREE(k)>=k. The inverse threshold

 a(n)=min{k>=1:TREE(k)>=n}

is defined for every nonnegative integer n. Its values begin 1, 1, 2, 2, 3, ... (OEIS A300402), indexed from n=0.


See also

Kruskal's Tree Theorem, Rooted Tree

Explore with Wolfram|Alpha

References

Friedman, H. M. "273:Sigma01/Optimal/Size." FOM. Mar. 28, 2006. https://fomarchive.ugent.be/2006-March/010279.html.Gallier, J. H. "What's So Special About Kruskal's Theorem and the Ordinal Gamma_0? A Survey of Some Results in Proof Theory." Ann. Pure and Appl. Logic 53, 199-260, 1991. https://doi.org/10.1016/0168-0072(91)90022-E.Numberphile. "The Enormous TREE(3)." Featuring T. Padilla. Oct. 19, 2017. https://www.youtube.com/watch?v=3P6DWAwwViU.Numberphile. "TREE vs Graham's Number." Oct. 25, 2019. https://www.youtube.com/watch?v=0X9DYRLmTNY.Sloane, N. J. A. Sequence A300402in "The On-Line Encyclopedia of Integer Sequences."

Cite this as:

Weisstein, Eric W. "TREE Function." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/TREEFunction.html

Subject classifications