First we introduce an infinite set of functions, denoted
Ei for some
natural number i. We define : \begin{array}{lcl} E_0(x,y) & = & x + y \\ E_1(x) & = & x^2 + 2 \\ E_{n+2}(0) & = & 2 \\ E_{n+2}(x+1) & = & E_{n+1}(E_{n+2}(x)) \\ \end{array} E_0 is the addition function, and E_1 is a unary function which squares its argument and adds two. Then, for each
n greater than 1, E_n(x)=E^{x}_{n-1}(2), i.e. the
x-th
iterate of E_{n-1} evaluated at 2. From these functions we define the Grzegorczyk hierarchy. \mathcal{E}^n, the
n-th set in the hierarchy, contains the following functions: •
Ek for
k p_i^m(t_1, t_2, \dots, t_m) = t_i ); • the (generalized)
compositions of functions in the set (if
h,
g1,
g2, ... and
gm are in \mathcal{E}^n, then f(\bar{u}) = h(g_1(\bar{u}), g_2(\bar{u}), \dots, g_m(\bar{u})) is as well); and • the results of limited (primitive) recursion applied to functions in the set, (if
g,
h and
j are in \mathcal{E}^n and f(t, \bar{u}) \leq j(t, \bar{u}) for all
t and \bar{u}, and further f(0, \bar{u}) = g(\bar{u}) and f(t+1, \bar{u}) = h(t,\bar{u},f(t,\bar{u})), then
f is in \mathcal{E}^n as well). In other words, \mathcal{E}^n is the
closure of set B_n = \{Z, S, (p_i^m)_{i \le m}, E_k : k with respect to function composition and limited recursion (as defined above). == Properties ==