Definition. Derivations [016X]

In the presence of a set \mathcal {R} of syntactic rules describing a subset of X, a derivation that a particular element u lies in that subset is given by a finite tree with vertices labelled by elements of X such that:

  1. the root of the tree is u;
  2. each vertex of the tree is the conclusion of a rule whose premises are the children of the node
  3. each leaf of the tree is an axiom.

Viewing a tree as growing upwards from the root, we have the following derivation for 3\in \mathbb {N} in when \mathcal {R} is the two rules from Example [016T]:

\displaystyle \frac {\displaystyle \displaystyle \frac {\displaystyle \displaystyle \frac {\displaystyle \displaystyle \frac {\displaystyle }{\displaystyle \quad 0\quad } }{\displaystyle \quad 1\quad } }{\displaystyle \quad 2\quad } }{\displaystyle \quad 3\quad }