Английская Википедия:Grzegorczyk hierarchy
Шаблон:Short description The Grzegorczyk hierarchy (Шаблон:IPAc-en, Шаблон:IPA-pl), named after the Polish logician Andrzej Grzegorczyk, is a hierarchy of functions used in computability theory.Шаблон:Sfn Every function in the Grzegorczyk hierarchy is a primitive recursive function, and every primitive recursive function appears in the hierarchy at some level. The hierarchy deals with the rate at which the values of the functions grow; intuitively, functions in lower levels of the hierarchy grow slower than functions in the higher levels.
Definition
First we introduce an infinite set of functions, denoted Ei for some natural number i. We define
- <math>
\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} </math>
<math>E_0</math> is the addition function, and <math>E_1</math> is a unary function which squares its argument and adds two. Then, for each n greater than 1, <math>E_n(x)=E^{x}_{n-1}(2)</math>, i.e. the x-th iterate of <math>E_{n-1}</math> evaluated at 2.
From these functions we define the Grzegorczyk hierarchy. <math>\mathcal{E}^n</math>, the n-th set in the hierarchy, contains the following functions:
- Ek for k < n
- the zero function (Z(x) = 0);
- the successor function (S(x) = x + 1);
- the projection functions (<math> p_i^m(t_1, t_2, \dots, t_m) = t_i </math>);
- the (generalized) compositions of functions in the set (if h, g1, g2, ... and gm are in <math>\mathcal{E}^n</math>, then <math> f(\bar{u}) = h(g_1(\bar{u}), g_2(\bar{u}), \dots, g_m(\bar{u})) </math> is as well);[note 1] and
- the results of limited (primitive) recursion applied to functions in the set, (if g, h and j are in <math>\mathcal{E}^n</math> and <math>f(t, \bar{u}) \leq j(t, \bar{u})</math> for all t and <math>\bar{u}</math>, and further <math>f(0, \bar{u}) = g(\bar{u})</math> and <math>f(t+1, \bar{u}) = h(t,\bar{u},f(t,\bar{u}))</math>, then f is in <math>\mathcal{E}^n</math> as well).[note 1]
In other words, <math>\mathcal{E}^n</math> is the closure of set <math>B_n = \{Z, S, (p_i^m)_{i \le m}, E_k : k < n\}</math> with respect to function composition and limited recursion (as defined above).
Properties
These sets clearly form the hierarchy
- <math> \mathcal{E}^0 \subseteq \mathcal{E}^1 \subseteq \mathcal{E}^2 \subseteq \cdots </math>
because they are closures over the <math>B_n</math>'s and <math> B_0 \subseteq B_1 \subseteq B_2 \subseteq \cdots</math>.
They are strict subsets.Шаблон:SfnШаблон:Sfn In other words
- <math> \mathcal{E}^0 \subsetneq \mathcal{E}^1 \subsetneq \mathcal{E}^2 \subsetneq \cdots </math>
because the hyperoperation <math>H_n</math> is in <math>\mathcal{E}^n</math> but not in <math>\mathcal{E}^{n-1}</math>.
- <math>\mathcal{E}^0</math> includes functions such as x+1, x+2, ...
- <math>\mathcal{E}^1</math> provides all addition functions, such as x+y, 4x, ...
- <math>\mathcal{E}^2</math> provides all multiplication functions, such as xy, x4
- <math>\mathcal{E}^3</math> provides all exponentiation functions, such as xy, 222x, and is exactly the elementary recursive functions.
- <math>\mathcal{E}^4</math> provides all tetration functions, and so on.
Notably, both the function <math>U</math> and the characteristic function of the predicate <math>T</math> from the Kleene normal form theorem are definable in a way such that they lie at level <math>\mathcal{E}^0</math> of the Grzegorczyk hierarchy. This implies in particular that every recursively enumerable set is enumerable by some <math>\mathcal{E}^0</math>-function.
Relation to primitive recursive functions
The definition of <math>\mathcal{E}^n</math> is the same as that of the primitive recursive functions, Шаблон:Sans-serif, except that recursion is limited (<math>f(t, \bar{u}) \leq j(t, \bar{u})</math> for some j in <math>\mathcal{E}^n</math>) and the functions <math>(E_k)_{k<n}</math> are explicitly included in <math>\mathcal{E}^n</math>. Thus the Grzegorczyk hierarchy can be seen as a way to limit the power of primitive recursion to different levels.
It is clear from this fact that all functions in any level of the Grzegorczyk hierarchy are primitive recursive functions (i.e. <math> \mathcal{E}^n \subseteq \mathsf{PR} </math>) and thus:
- <math> \bigcup_n{\mathcal{E}^n} \subseteq \mathsf{PR} </math>
It can also be shown that all primitive recursive functions are in some level of the hierarchy,Шаблон:SfnШаблон:Sfn thus
- <math> \bigcup_n{\mathcal{E}^n} = \mathsf{PR} </math>
and the sets <math> \mathcal{E}^0, \mathcal{E}^1 - \mathcal{E}^0, \mathcal{E}^2 - \mathcal{E}^1, \dots, \mathcal{E}^n - \mathcal{E}^{n-1}, \dots </math> partition the set of primitive recursive functions, Шаблон:Sans-serif.
Meyer and Ritchie introduced another hierarchy subdividing the primitive recursive functions, based on the nesting depth of loops needed to write a LOOP program that computes the function. For a natural number <math>i</math>, let <math>\mathcal{L}_i</math> denote the set of functions computable by a LOOP program with LOOP
and END
commands nested no deeper than <math>i</math> levels.[1] Fachini and Maggiolo-Schettini showed that <math>\mathcal{L}_i</math> coincides with <math>\mathcal{E}_{i+1}</math> for all integers <math>i>1</math>.[2]p.63
Extensions
The Grzegorczyk hierarchy can be extended to transfinite ordinals. Such extensions define a fast-growing hierarchy. To do this, the generating functions <math>E_\alpha</math> must be recursively defined for limit ordinals (note they have already been recursively defined for successor ordinals by the relation <math> E_{\alpha+1}(n) = E_\alpha^n(2) </math>). If there is a standard way of defining a fundamental sequence <math>\lambda_m</math>, whose limit ordinal is <math>\lambda</math>, then the generating functions can be defined <math> E_\lambda(n) = E_{\lambda_n}(n) </math>. However, this definition depends upon a standard way of defining the fundamental sequence. Шаблон:Harvtxt suggests a standard way for all ordinals α < ε0.
The original extension was due to Martin Löb and Stan S. Wainer and is sometimes called the Löb–Wainer hierarchy.Шаблон:Sfn
See also
Notes
References
Bibliography
Шаблон:ComplexityClasses Шаблон:Hyperoperations Шаблон:Large numbers
Ошибка цитирования Для существующих тегов <ref>
группы «note» не найдено соответствующего тега <references group="note"/>
- ↑ A. R. Meyer, D. M. Ritchie, "The complexity of loop programs". Proceedings A.C.M. National Meeting, 1967.
- ↑ E. Fachini, A. Maggiolo-Schettini, "[A hierarchy of primitive recursive sequence functions]". From Informatique théorique, book 13, no. 1 (1979), pp.49--67.