Index set (computability)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

In computability theory, index sets describe classes of computable functions; specifically, they give all indices of functions in a certain class, according to a fixed Gödel numbering of partial computable functions.

Definition

[edit | edit source]

Let φe be a computable enumeration of all partial computable functions, and We be a computable enumeration of all c.e. sets.

Let 𝒜 be a class of partial computable functions. If A={x:φx𝒜} then A is the index set of 𝒜. In general A is an index set if for every x,y with φxφy (i.e. they index the same function), we have xAyA. 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

[edit | edit source]

Most index sets are non-computable, aside from two trivial exceptions. This is stated in Rice's theorem:

Let

𝒞

be a class of partial computable functions with its index set

C

. Then

C

is computable if and only if

C

is empty, or

C

is all of

.

Rice's theorem says "any nontrivial property of partial computable functions is undecidable".[1]

Completeness in the arithmetical hierarchy

[edit | edit source]

Index sets provide many examples of sets which are complete at some level of the arithmetical hierarchy. Here, we say a Σn set A is Σn-complete if, for every Σn set B, there is an m-reduction from B to A. Πn-completeness is defined similarly. Here are some examples:[2]

  • Emp={e:We=} is Π1-complete.
  • Fin={e:We is finite} is Σ2-complete.
  • Inf={e:We is infinite} is Π2-complete.
  • Tot={e:φe is total}={e:We=} is Π2-complete.
  • Con={e:φe is total and constant} is Π2-complete.
  • Cof={e:We is cofinite} is Σ3-complete.
  • Rec={e:We is computable} is Σ3-complete.
  • Ext={e:φe is extendible to a total computable function} is Σ3-complete.
  • Cpl={e:WeTHP} is Σ4-complete, where HP is the halting problem.

Empirically, if the "most obvious" definition of a set A is Σn [resp. Πn], we can usually show that A is Σn-complete [resp. Πn-complete].

Notes

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).; page 151
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

References

[edit | edit source]
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).