Computation in the limit
In computability theory, a function is called limit computable if it is the limit of a uniformly computable sequence of functions. The terms computable in the limit, limit recursive and recursively approximable are also used. One can think of limit computable functions as those admitting an eventually correct computable guessing procedure at their true value. A set is limit computable just when its characteristic function is limit computable.
If the sequence is uniformly computable relative to D, then the function is limit computable in D.
Formal definition
A total function [math]\displaystyle{ r(x) }[/math] is limit computable if there is a total computable function [math]\displaystyle{ \hat{r}(x,s) }[/math] such that
- [math]\displaystyle{ \displaystyle r(x) = \lim_{s\to\infty} \hat{r}(x,s) }[/math]
The total function [math]\displaystyle{ r(x) }[/math] is limit computable in D if there is a total function [math]\displaystyle{ \hat{r}(x,s) }[/math] computable in D also satisfying
- [math]\displaystyle{ \displaystyle r(x) = \lim_{s\to\infty} \hat{r}(x,s) }[/math]
A set of natural numbers is defined to be computable in the limit if and only if its characteristic function is computable in the limit. In contrast, the set is computable if and only if it is computable in the limit by a function [math]\displaystyle{ \phi(t,i) }[/math] and there is a second computable function that takes input i and returns a value of t large enough that the [math]\displaystyle{ \phi(t,i) }[/math] has stabilized.
Limit lemma
The limit lemma states that a set of natural numbers is limit computable if and only if the set is computable from [math]\displaystyle{ 0' }[/math] (the Turing jump of the empty set). The relativized limit lemma states that a set is limit computable in [math]\displaystyle{ D }[/math] if and only if it is computable from [math]\displaystyle{ D' }[/math]. Moreover, the limit lemma (and its relativization) hold uniformly. Thus one can go from an index for the function [math]\displaystyle{ \hat{r}(x,s) }[/math] to an index for [math]\displaystyle{ \hat{r}(x) }[/math] relative to [math]\displaystyle{ 0' }[/math]. One can also go from an index for [math]\displaystyle{ \hat{r}(x) }[/math] relative to [math]\displaystyle{ 0' }[/math] to an index for some [math]\displaystyle{ \hat{r}(x,s) }[/math] that has limit [math]\displaystyle{ \hat{r}(x) }[/math].
Proof
As [math]\displaystyle{ 0' }[/math] is a [computably enumerable] set, it must be computable in the limit itself as the computable function can be defined
- [math]\displaystyle{ \displaystyle \hat{r}(x,s)=\begin{cases} 1 & \text{if by stage } s, x \text{ has been enumerated into } 0'\\ 0 & \text{if not} \end{cases} }[/math]
whose limit [math]\displaystyle{ r(x) }[/math] as [math]\displaystyle{ s }[/math] goes to infinity is the characteristic function of [math]\displaystyle{ 0' }[/math].
It therefore suffices to show that if limit computability is preserved by Turing reduction, as this will show that all sets computable from [math]\displaystyle{ 0' }[/math] are limit computable. Fix sets [math]\displaystyle{ X,Y }[/math] which are identified with their characteristic functions and a computable function [math]\displaystyle{ X_s }[/math] with limit [math]\displaystyle{ X }[/math]. Suppose that [math]\displaystyle{ Y(z)=\phi^{X}(z) }[/math] for some Turing reduction [math]\displaystyle{ \phi }[/math] and define a computable function [math]\displaystyle{ Y_s }[/math] as follows
- [math]\displaystyle{ \displaystyle Y_s(z)=\begin{cases} \phi^{X_s}(z) & \text{if } \phi^{X_s} \text{ converges in at most } s \text{ steps.}\\ 0 & \text{otherwise } \end{cases} }[/math]
Now suppose that the computation [math]\displaystyle{ \phi^{X}(z) }[/math] converges in [math]\displaystyle{ s }[/math] steps and only looks at the first [math]\displaystyle{ s }[/math] bits of [math]\displaystyle{ X }[/math]. Now pick [math]\displaystyle{ s'\gt s }[/math] such that for all [math]\displaystyle{ z \lt s+1 }[/math] [math]\displaystyle{ X_{s'}(z)=X(z) }[/math]. If [math]\displaystyle{ t \gt s' }[/math] then the computation [math]\displaystyle{ \phi^{X_t}(z) }[/math] converges in at most [math]\displaystyle{ s' \lt t }[/math] steps to [math]\displaystyle{ \phi^{X}(z) }[/math]. Hence [math]\displaystyle{ Y_s(z) }[/math] has a limit of [math]\displaystyle{ \phi^{X}(z)=Y(z) }[/math], so [math]\displaystyle{ Y }[/math] is limit computable.
As the [math]\displaystyle{ \Delta^0_2 }[/math] sets are just the sets computable from [math]\displaystyle{ 0' }[/math] by Post's theorem, the limit lemma also entails that the limit computable sets are the [math]\displaystyle{ \Delta^0_2 }[/math] sets.
Limit computable real numbers
A real number x is computable in the limit if there is a computable sequence [math]\displaystyle{ r_i }[/math] of rational numbers (or, which is equivalent, computable real numbers) which converges to x. In contrast, a real number is computable if and only if there is a sequence of rational numbers which converges to it and which has a computable modulus of convergence.
When a real number is viewed as a sequence of bits, the following equivalent definition holds. An infinite sequence [math]\displaystyle{ \omega }[/math] of binary digits is computable in the limit if and only if there is a total computable function [math]\displaystyle{ \phi(t,i) }[/math] taking values in the set [math]\displaystyle{ \{0,1\} }[/math] such that for each i the limit [math]\displaystyle{ \lim_{t \rightarrow \infty} \phi(t,i) }[/math] exists and equals [math]\displaystyle{ \omega(i) }[/math]. Thus for each i, as t increases the value of [math]\displaystyle{ \phi(t,i) }[/math] eventually becomes constant and equals [math]\displaystyle{ \omega(i) }[/math]. As with the case of computable real numbers, it is not possible to effectively move between the two representations of limit computable reals.
Examples
- The real whose binary expansion encodes the halting problem is computable in the limit but not computable.
- The real whose binary expansion encodes the truth set of first-order arithmetic is not computable in the limit.
- Chaitin's constant.
Set-theoretic extension
There is a modified version of the limit lemma for α-recursion theory via functions in the [math]\displaystyle{ \alpha }[/math]-arithmetical hierarchy, which is a hierarchy defined relative to some admissible ordinal [math]\displaystyle{ \alpha }[/math].[1]
For a given admissible ordinal [math]\displaystyle{ \alpha }[/math], define the [math]\displaystyle{ \alpha }[/math]-arithmetical hierarchy:
- A relation [math]\displaystyle{ R }[/math] on [math]\displaystyle{ \alpha }[/math] is [math]\displaystyle{ \boldsymbol\Sigma_0 }[/math] if it is [math]\displaystyle{ \alpha }[/math]-recursive.
- [math]\displaystyle{ R }[/math] is [math]\displaystyle{ \boldsymbol\Sigma_{n+1} }[/math] if it is the projection of a [math]\displaystyle{ \boldsymbol\Pi_n }[/math] relation.
- [math]\displaystyle{ R }[/math] is [math]\displaystyle{ \boldsymbol\Pi_n }[/math] if its complement is [math]\displaystyle{ \boldsymbol\Sigma_n }[/math].
Let [math]\displaystyle{ f }[/math] be a partial function from [math]\displaystyle{ \alpha }[/math] to [math]\displaystyle{ \alpha }[/math]. The following are equivalent:
- (The graph of) [math]\displaystyle{ f }[/math] is [math]\displaystyle{ \boldsymbol\Sigma_2 }[/math].
- [math]\displaystyle{ f }[/math] is weakly [math]\displaystyle{ \alpha }[/math]-recursive in [math]\displaystyle{ \boldsymbol 0^\prime }[/math], the [math]\displaystyle{ \alpha }[/math]-jump of [math]\displaystyle{ \emptyset }[/math] using indices of [math]\displaystyle{ \alpha }[/math]-computable functions.
- There is an [math]\displaystyle{ \alpha }[/math]-recursive function [math]\displaystyle{ f':\alpha\times\alpha\to\alpha }[/math] approximating [math]\displaystyle{ f }[/math] such that [math]\displaystyle{ f(\gamma)\simeq\lim_{\sigma\to\alpha}f'(\sigma,\gamma) }[/math].
[math]\displaystyle{ f\simeq g }[/math] denotes that either [math]\displaystyle{ f(x) }[/math] and [math]\displaystyle{ g(x) }[/math] are both undefined, or they are both defined and equal.
See also
References
- J. Schmidhuber, "Hierarchies of generalized Kolmogorov complexities and nonenumerable universal measures computable in the limit", International Journal of Foundations of Computer Science, 2002, doi:10.1142/S0129054102001291.
- R. Soare. Recursively Enumerable Sets and Degrees. Springer-Verlag 1987.
- V. Brattka. A Galois connection between Turing jumps and limits. Log. Methods Comput. Sci., 2018, doi:10.23638/LMCS-14(3:13)2018.
Original source: https://en.wikipedia.org/wiki/Computation in the limit.
Read more |