Classes of partial recursive functions, specifically they give all indices of functions in that class according to a fixed enumeration of partial recursive functions
In the field of recursion theory, index sets describe classes of partial recursive functions, specifically they give all indices of functions in that class according to a fixed enumeration of partial recursive functions (a Gödel numbering).
Definition
Fix an enumeration of all partial recursive functions, or equivalently of recursively enumerable sets whereby the eth such set is and the eth such function (whose domain is ) is .
Let be a class of partial recursive functions. If then is the index set of . In general is an index set if for every with (i.e. they index the same function), we have . Intuitively, these are the sets of natural numbers that we describe only with reference to the functions they index.
Index sets and Rice's theorem
Most index sets are incomputable (non-recursive) aside from two trivial exceptions. This is stated in Rice's theorem:
Let be a class of partial recursive functions with its index set . Then is recursive if and only if is empty, or is all of .
Rice's theorem says "any nontrivial property of partial recursive functions is undecidable".[1]
Completeness in the arithmetical hierarchy
Index sets provide many examples of sets which are complete at some level of the arithmetical hierarchy. Here, we say a set is -complete if, for every set , there is an m-reduction from to . -completeness is defined similarly. Here are some examples:[2]
Empirically, if the "most obvious" definition of a set is [resp. ], we can usually show that is -complete [resp. -complete].
Notes
^Odifreddi, P. G. Classical Recursion Theory, Volume 1.; page 151
^Soare, Robert I. (2016), "Turing Reducibility", Turing Computability, Berlin, Heidelberg: Springer Berlin Heidelberg, pp. 51–78, ISBN978-3-642-31932-7, retrieved 2021-04-21
References
Odifreddi, P. G. (1992). Classical Recursion Theory, Volume 1. Elsevier. p. 668. ISBN0-444-89483-7.
Rogers Jr., Hartley (1987). Theory of Recursive Functions and Effective Computability. MIT Press. p. 482. ISBN0-262-68052-1.