The Grzegorczyk hierarchy, named after the Polish logician Andrzej Grzegorczyk, is a hierarchy of functions used in computability theory. 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 level 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 numberi. We define and. I.e., E0 is the addition function, and E1 is a unary function which squares its argument and adds two. Then, for each ngreater than 1, we define, i.e. the x-th iterate of evaluated at 2. From these functions we define the Grzegorczyk hierarchy., the n-th set in the hierarchy, contains the following functions:
These sets clearly form the hierarchy because they are closures over the 's and. They are strict subsets. In other words because the hyper operation is in but not in.
includes functions such as x+1, x+2,...
provides all addition functions, such as x+y, 4x,...
provides all multiplication functions, such as xy, x4
The definition of is the same as that of the primitive recursive functions,, except that recursion is limited and the functions are explicitly included in. 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 and thus: It can also be shown that all primitive recursive functions are in some level of the hierarchy, thus and the sets partition the set of primitive recursive functions,.
Extensions
The Grzegorczyk hierarchy can be extended to transfinite ordinals. Such extensions define a fast-growing hierarchy. To do this, the generating functions must be recursively defined for limit ordinals. If there is a standard way of defining a fundamental sequence, whose limit ordinal is, then the generating functions can be defined. However, this definition depends upon a standard way of defining the fundamental sequence. Rose 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.