Definition (recursion tree)
A recursion tree is a pair $Π = (T, l)$ where $T$ is a non-empty finite tree and $l$ is a function with $\op{dom}(l)=T$ taking the following labels as values:
Label |
Arity |
Branching number |
Arities of successors |
Interpretation |
|---|---|---|---|---|
$\mathsf{B}^π_{k,i}$ |
$k$ |
0 |
Projection $π_{k,i}$ |
|
$\mathsf{B}^\mathrm{c}_k$ |
$k$ |
0 |
Constant $\mathrm{c}_{k,ε}$ |
|
$\mathsf{B}^s$ |
1 |
0 |
Successor $s$ |
|
$\mathsf{C}_{n,k}$ |
$k$ |
$n+1$ |
$n,\underbrace{k,\ldots,k}_{n}$ |
Composition |
$\mathsf{R}_{k}$ |
$k$ |
2 |
$k, k+2$ |
Recursion |
$\mathsf{M}_k$ |
$k$ |
1 |
$k+1$ |
Minimisation |
A recursion tree is primitive if no $\mathsf{M}$-labels occur.
Assign recursive functions $f_Π$ to each recursion tree by recursion on the height of the tree:
-
The tree has height 0 iff $l(ε)$ is a basic label:
$l(ε)$ |
$f_Π$ |
|---|---|
$\mathsf{B}^{π}_{k,i}$ |
$π_{k,i}$ |
$\mathsf{B}^\mathrm{c}_k$ |
$\mathrm{c}_{k,ε}$ |
$\mathsf{B}^s$ |
$s$ |
- Suppose the tree has height $k+1$ and we already know $f_{Π'}$ for all proper subtrees $Π'$ of $Π$. |
|
Let $\set{Π_i}$ be the subtrees at the successors of $ε$. |
$l(ε)$ |
$f_Π$ |
|---|---|
$\mathsf{C}_{n,k}$ |
$\v w\mapsto f_{Π_0}(f_{Π_1}(\v w), \ldots f_{Π_n}(\v w))$ |
$\mathsf{R}_k$ |
Recursion of $f_{Π_0}$ and $f_{Π_1}$ |
$\mathsf{M}_k$ |
Minimisation result of $f_{Π_0}$ |