Definition (finitely branching tree)
A subset $T\subseteq \mathbb{N}$$^\ast$ is said to be a finitely branching tree if
-
$T$ is closed under initial segments, i.e. if $t\in T$ and $s\subseteq t$, then $s\in T$; and
-
for each $t\in T$, there exists some $n\in \N$ such that $tk\in T$ iff $k<n$.
-
We say $t$ has $n$ successors or is $n$-branching.
-
An element $t\in T$ is a leaf or terminal node if it has no successors.
-
$ε$ is contained in every non-empty tree, and is called the root.
-
The $k$-th level of $T$ is all elements of length $k$.
-
The height of $T$ is the maximal $k\in \N$ such that $T$ has an element on the $k$-th level. This exists if $T$ is a finite tree.
-
For $t\in T$ on the $k$-th level, the corresponding branch through $T$ is the sequence $\sb{t|_m}{m\leq k}$, which is a sequence of nodes of $T$ of length $k+1$.
Define the left-to-right order $<$ as $$ \begin{align*} s<t\iff s\neq t \text{ and if $k$ is least such that $s(k)\neq t(k)$, then $s(k) < t(k)$}. \end{align*} $$
-
This defines a partial order on $T$.
-
$<$ is a total order on the set of nodes on the same level.
-
$<$ is a total order on the set of leaves of $T$.