Preprint
Article

This version is not peer-reviewed.

There Exists a Non-Recursively Enumerable Set {n ∈ N : φ(n)} Such That the Formula φ(n) Is Short and Can Be Easily Translated into a First-Order Formula Which Uses Only + and ·

Submitted:

07 April 2026

Posted:

08 April 2026

You are already at the latest version

Abstract
We prove that the set \( T=\Bigl\{n\in\mathbb{N}: \exists p,q\in\mathbb{N}\;\Bigl((2n=(p+q)(p+q+1)+2q)\;\wedge\ \) \( \forall (x_0,\ldots,x_p)\in\mathbb{N}^{p+1}\;\exists (y_0,\ldots,y_p)\in\{0,\ldots,q\}^{p+1}\ \) \( \bigl((\forall k\in\{0,\ldots,p\}\;(1=x_k \Rightarrow 1=y_k))\;\wedge\ \) \( (\forall i,j,k\in\{0,\ldots,p\}\;(x_i+x_j=x_k \Rightarrow y_i+y_j=y_k))\;\wedge\ \) \( (\forall i,j,k\in\{0,\ldots,p\}\;(x_i\cdot x_j=x_k \Rightarrow y_i\cdot y_j=y_k))\bigr)\Bigr)\Bigr\}\ \) is not recursively enumerable. By using Gödel's \( \beta \) function, we prove that the formula that defines the set T can be easily translated into a first-order formula which uses only + and \( \cdot \). The same properties has the set \( \Bigl\{n\in\mathbb{N} : \exists p,q\in\mathbb{N}\;\Bigl((2n=(p+q)(p+q+1)+2q)\;\wedge\ \) \( \forall (x_0,\ldots,x_p)\in\mathbb{N}^{p+1}\;\exists (y_0,\ldots,y_p)\in\{0,\ldots,q\}^{p+1}\ \) \( \bigl((\forall j,k\in\{0,\ldots,p\}\;(x_j+1=x_k \Rightarrow y_j+1=y_k))\;\wedge\ \) \( (\forall i,j,k\in\{0,\ldots,p\}\;(x_i\cdot x_j=x_k \Rightarrow y_i\cdot y_j=y_k))\bigr)\Bigr)\Bigr\}\ \).
Keywords: 
;  ;  ;  ;  ;  
This article is a shortened version of the article [6]. 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 f : N N is a semi-algorithm which takes as input a non-negative integer n and for every m N prints a non-negative integer ξ ( n , m ) such that lim m ξ ( n , m ) = f ( n ) .
By Definition 1, a function f : N N 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 f ( n ) on each sufficiently high iteration.
For n N , let
E n = { 1 = x k , x i + x j = x k , x i · x j = x k : i , j , k { 0 , , n } }
Theorem 1. 
([3], p. 118). There exists a limit-computable function f : N N which eventually dominates every computable function g : N N .
We present an alternative proof of Theorem 1. For n N , f ( n ) denotes the smallest b N such that if a system of equations S E n has a solution in N n + 1 , then S has a solution in { 0 , , b } n + 1 . The function f : N N is computable in the limit and eventually dominates every computable function g : N N , see [5]. The term "dominated" in the title of [5] means "eventually dominated".
Theorem 2. 
([5]). Flowchart 1 shows a semi-algorithm which computes f ( n ) in the limit.
Preprints 207063 i001
Flowchart 1
A semi-algorithm which computes f ( n ) in the limit
Definition 2. 
An approximation of a tuple ( x 0 , , x n ) N n + 1 is a tuple ( y 0 , , y n ) N n + 1 such that
( k { 0 , , n } ( 1 = x k 1 = y k ) )
( i , j , k { 0 , , n } ( x i + x j = x k y i + y j = y k ) )
( i , j , k { 0 , , n } ( x i · x j = x k y i · y j = y k ) )
Observation 1. 
For every n N , there exists a set A ( n ) N n + 1 such that
card ( A ( n ) ) 2 card ( E n ) = 2 n + 1 + 2 · ( n + 1 ) 3
and every tuple ( x 0 , , x n ) N n + 1 possesses an approximation in A ( n ) .
Flowchart 2 shows a simpler semi-algorithm which computes f ( n ) in the limit.
Preprints 207063 i001
Flowchart 2
A simpler semi-algorithm which computes f ( n ) in the limit
Lemma 1. 
For every n , m N , the number printed by Flowchart 2 does not exceed the number printed by Flowchart 1.
Proof. 
For every ( a 0 , , a n ) { 0 , , m } n + 1 ,
E n { 1 = x k : ( k { 0 , , n } ) ( 1 = a k ) }
{ x i + x j = x k : ( i , j , k { 0 , , n } ) ( a i + a j = a k ) }
{ x i · x j = x k : ( i , j , k { 0 , , n } ) ( a i · a j = a k ) }
Lemma 2. 
For every n , m N , the number printed by Flowchart 1 does not exceed the number printed by Flowchart 2.
Proof. 
Let n , m N . For every system of equations S E n , if ( a 0 , , a n ) { 0 , , m } n + 1 and ( a 0 , , a n ) solves S, then ( a 0 , , a n ) solves the following system of equations:
{ 1 = x k : ( k { 0 , , n } ) ( 1 = a k ) }
{ x i + x j = x k : ( i , j , k { 0 , , n } ) ( a i + a j = a k ) }
{ x i · x j = x k : ( i , j , k { 0 , , n } ) ( a i · a j = a k ) }
Theorem 3. 
For every n , m N , Flowcharts 1 and 2 print the same number.
Proof. 
It follows from Lemmas 1 and 2. □
Corollary 1. 
For every n , m N , Flowcharts 1 and 2 print the smallest b { 0 , , m } such that every tuple ( x 0 , , x n ) { 0 , , m } n + 1 possesses an approximation in { 0 , , b } n + 1 .
Theorem 4. 
For every n N , f ( n ) is the smallest b N such that every tuple ( x 0 , , x n ) N n + 1 possesses an approximation in { 0 , , b } n + 1 .
Proof. 
It follows from Theorem 2 and Corollary 1. □
Theorem 5. 
No algorithm takes as input non-negative integers n and m and decides whether or not
( x 0 , , x n ) N n + 1 ( y 0 , , y n ) { 0 , , m } n + 1
( ( k { 0 , , n } ( 1 = x k 1 = y k ) )
( i , j , k { 0 , , n } ( x i + x j = x k y i + y j = y k ) )
( i , j , k { 0 , , n } ( x i · x j = x k y i · y j = y k ) ) )
Proof. 
Since the function f is not computable, it follows from Theorem 4. □
Lemma 3. 
([2]). The function
N 2 ( p , q ) 1 2 ( p + q ) ( p + q + 1 ) + q N
is bijective.
Theorem 6. 
No algorithm takes as input a non-negative integer n and decides whether or not
p , q N ( ( 2 n = ( p + q ) ( p + q + 1 ) + 2 q ) )
( x 0 , , x p ) N p + 1 ( y 0 , , y p ) { 0 , , q } p + 1
( ( k { 0 , , p } ( 1 = x k 1 = y k ) )
( i , j , k { 0 , , p } ( x i + x j = x k y i + y j = y k ) )
( i , j , k { 0 , , p } ( x i · x j = x k y i · y j = y k ) ) ) )
Proof. 
It follows from Theorem 5 and Lemma 3. □
Let
T = { n N : p , q N ( ( 2 n = ( p + q ) ( p + q + 1 ) + 2 q )
( x 0 , , x p ) N p + 1 ( y 0 , , y p ) { 0 , , q } p + 1
( ( k { 0 , , p } ( 1 = x k 1 = y k ) )
( i , j , k { 0 , , p } ( x i + x j = x k y i + y j = y k ) )
( i , j , k { 0 , , p } ( x i · x j = x k y i · y j = y k ) ) ) ) }
Theorem 7. 
The set N T is recursively enumerable.
Proof. 
For i N , let p i denote the i-th prime number. Flowchart 3 shows a semi-algorithm which takes as input n N and terminates if and only if n N T .
Preprints 207063 i003
Flowchart 3
A semi-algorithm which takes as input n N and terminates if and only if n N T
Theorem 8. 
The set T is not recursively enumerable.
Proof. 
It follows from Theorems 6 and 7. □
Let β : N 3 N denote Gödel’s β function, see [1]. For x 1 , x 2 , x 3 N , β ( x 1 , x 2 , x 3 ) equals the remainder after integer division of x 1 by 1 + ( x 3 + 1 ) · x 2 .
Lemma 4. 
([1]). If ( d 0 , , d p ) N p + 1 , then b , c N l { 0 , , p } β ( b , c , l ) = d l .
Theorem 9. 
The formula that defines the set T can be easily translated into a first-order formula which uses only + and ·.
Proof. 
By Lemma 4, the set T consists of all n N such that
u , v N a , b , p , q N ( ( 2 n = ( p + q ) ( p + q + 1 ) + 2 q )
i , j , k { 0 , , p } ( ( 1 = β ( u , v , k ) 1 = min ( β ( a , b , k ) , q ) )
( β ( u , v , i ) + β ( u , v , j ) = β ( u , v , k ) min ( β ( a , b , i ) , q ) + min ( β ( a , b , j ) , q ) = min ( β ( a , b , k ) , q ) )
( β ( u , v , i ) · β ( u , v , j ) = β ( u , v , k ) min ( β ( a , b , i ) , q ) · min ( β ( a , b , j ) , q ) = min ( β ( a , b , k ) , q ) ) ) )
The above formula can be easily translated into a first-order formula which uses only + and ·. □
A more sophisticated proof shows that the set
W = { n N : p , q N ( ( 2 n = ( p + q ) ( p + q + 1 ) + 2 q )
( x 0 , , x p ) N p + 1 ( y 0 , , y p ) { 0 , , q } p + 1
( ( j , k { 0 , , p } ( x j + 1 = x k y j + 1 = y k ) )
( i , j , k { 0 , , p } ( x i · x j = x k y i · y j = y k ) ) ) ) }
is not recursively enumerable, see [6]. By using Gödel’s β function, the formula that defines the set W can be easily translated into a first-order formula which uses only + and ·.

References

  1. Gödel’s β function. Available online: https://en.wikipedia.org/wiki/G%C3%B6del%27s_%CE%B2_function.
  2. Pairing function. Available online: https://en.wikipedia.org/wiki/Pairing_function.
  3. Royer, J. S.; Case, J. Subrecursive Programming Systems: Complexity and Succinctness; Birkhäuser: Boston, 1994. [Google Scholar]
  4. Soare, R. I. Interactive computing and relativized computability. In Computability: Turing, Gödel, Church and beyond; Copeland, B. J., Posy, C. J., Shagrir, O., Eds.; MIT Press: Cambridge, MA, 2013; pp. 203–260. [Google Scholar]
  5. Tyszka, A. All functions g:NN which have a single-fold Diophantine representation are dominated by a limit-computable function f:N∖{0}→N which is implemented in MuPAD and whose computability is an open problem. In Computation, cryptography, and network security; Daras, N. J., Rassias, M. Th., Eds.; Springer: Cham, 2015; pp. 577–590. [Google Scholar] [CrossRef]
  6. Tyszka, A. There exists a non-recursively enumerable subset of N. which has a short definition in terms of arithmetic. Available online: https://arxiv.org/abs/1309.2605.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated