Let denote the formula

from [
2] (p. 336). From the results of [
2], it follows that the set
is non-recursively enumerable and co-recursively enumerable. In this article, we define another non-recursively enumerable subsets of
which have a short description in terms of arithmetic. Semi-algorithms differ from algorithms, as they may not terminate.
Definition 1 (cf. [
4], pp. 233–235)
. A computation in the limit of a function is a semi-algorithm which takes as input a non-negative integer n and for every prints a non-negative integer such that .
By Definition 1, a function is computable in the limit when there exists an infinite computation which takes as input a non-negative integer n and prints a non-negative integer on each iteration and prints on each sufficiently high iteration.
For
,
denotes the smallest
such that if a system of equations
has a solution in
, then
S has a solution in
. The function
is computable in the limit and eventually dominates every computable function
, see [
6]. The term
"dominated" in the title of [
6] means
"eventually dominated".
Theorem 1 ([
6])
. Figure 1 shows a semi-algorithm which computes in the limit.
Definition 2.
An approximation of a tuple is a tuple such that
Figure 2 shows a simpler semi-algorithm which computes
in the limit.
Lemma 1. For every , the number printed by Figure 2 does not exceed the number printed by Figure 1.
Proof. For every
,
□
Lemma 2. For every , the number printed by Figure 1 does not exceed the number printed by Figure 2.
Proof. Let
. For every system of equations
, if
and
solves
S, then
solves the following system of equations:
□
Proof. It follows from Lemmas 1 and 2. □
Corollary 1. For every , Figure 1 and Figure 2 print the smallest such that every tuple possesses an approximation in .
Theorem 3. For every , is the smallest such that every tuple possesses an approximation in .
Proof. It follows from Theorem 1 and Corollary 1. □
Theorem 4.
No algorithm takes as input non-negative integers n and m and decides whether or not
Proof. Since the function f is not computable, it follows from Theorem 3. □
Lemma 3 ([
3])
. The function
is bijective.
Theorem 5.
No algorithm takes as input a non-negative integer n and decides whether or not
Proof. It follows from Theorem 4 and Lemma 3. □
Theorem 6. The set is recursively enumerable.
Proof. For
, let
denote the
i-th prime number.
Figure 3 shows a semi-algorithm which takes as input
and terminates if and only if
. □
Theorem 7. The set T is not recursively enumerable.
Proof. It follows from Theorems 5 and 6. □
Lemma 4. ([5], p. 110). For non-negative integers, the equation is equivalent to a system which consists of equations of the forms and .
For
,
denotes the smallest
such that if a system of equations
has a solution in
, then
S has a solution in
. From Lemma 4 and [
6], it follows that the function
is computable in the limit and eventually dominates every computable function
.
Theorem 8.
No algorithm takes as input non-negative integers n and m and decides whether or not
Proof. It holds because the function
h is not computable, and for every
,
is the smallest
such that
□
Theorem 9.
No algorithm takes as input a non-negative integer n and decides whether or not
Proof. It follows from Theorem 8 and Lemma 3. □
Let
W denote the algorithmically undecidable subset of
considered in Theorem 9. Similarly as in Theorem 6, the set
is recursively enumerable. Similarly as in Theorem 7, the set
W is not recursively enumerable. Let
denote Gödel’s
function, see [
1]. For
,
equals the remainder after integer division of
by
.
Lemma 5 ([
1])
. If , then .
Theorem 10. The formula that defines the set W can be easily translated into a formula in Peano arithmetic.
Proof. By Lemma 5, the set
W consists of all
such that
The above formula can be easily translated into a formula in Peano arithmetic. □