Not completely sure about this, but here we go: I will show that an ordered, plane recursive tree is -computable, , if each vertex has its number of children bounded by an function. So this rules out trees which grow sideways a lot quicker than they grow in height, but it has to be a lot quicker.
Let be an ordered, plane recursive tree. The height of a vertex is its geodesic distance from the root node. A breadth-first search of is a labelling of the vertices which begins at the root node, then visits all the vertices of height 1 in order (left to right), then the vertices of height 2, and so on.
Suppose there is a function such that is the number of direct children of the vertex with label . Then we can define the following functions:
- is the number of vertices of height ,
- is the label of the leftmost vertex of height ,
- is the label of the leftmost vertex of height ,
- is the height of the vertex with label ,
- is the label of the parent of the vertex with label .
Lemma 1
, and are -computable.
Proof
Define , and as follows:
Note that and are both bounded by , so we only need to show is bounded by an function.
Let , an function. Then . So it looks like this is bounded by some number of compositions of factorial, but I’m considerably less sure about that than when I began this post. Certainly, if the number of children of each vertex of height is , then is bounded by . I should definitely know more about sums of series than I do.
(maybe)
Once those are defined, we can give definitions of and :