OctoInform Beta

OpenAI preprint, September 2026 · §1. Introduction · §1

Recursively enumerable sets and single-fold representations: Integer evaluation of a polynomial and existence and uniqueness of witness tuples for S⊆ℕnS\subseteq\mathbb{N}^n

Single-fold Diophantine representations of sets of tuples.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

Throughout, ℕ={0,1,2,…}\mathbb{N}=\{0,1,2,\ldots\}. For n,m∈ℕn,m\in\mathbb{N}, Diophantine representations of subsets S⊆ℕnS\subseteq\mathbb{N}^n study when membership in SS is captured by the vanishing of a polynomial with integer coefficients in nn argument variables and mm witness variables over the natural numbers.

Integer evaluation

For n,m∈ℕn,m\in\mathbb{N}, a polynomial P∈ℤ[A1,…,An,W1,…,Wm]P\in\mathbb{Z}[A_1,\ldots,A_n,W_1,\ldots,W_m] in nn argument variables and mm witness variables, an argument tuple a=(a1,…,an)∈ℕna=(a_1,\ldots,a_n)\in\mathbb{N}^n, and a witness tuple w=(w1,…,wm)∈ℕmw=(w_1,\ldots,w_m)\in\mathbb{N}^m, the integer evaluation P(a,w)P(a,w) of PP at aa and ww is the element of ℤ\mathbb{Z} given by P(a,w)=P(a1,…,an,w1,…,wm)∈ℤ.P(a,w) = P(a_1,\ldots,a_n,w_1,\ldots,w_m) \in \mathbb{Z}.(1)✦

The definition

Definition. For n,m∈ℕn,m\in\mathbb{N}, a polynomial P∈ℤ[A1,…,An,W1,…,Wm]P\in\mathbb{Z}[A_1,\ldots,A_n,W_1,\ldots,W_m] is a single-fold representation of a subset S⊆ℕnS\subseteq\mathbb{N}^n if, with integer evaluation P(a,w)P(a,w) as in (1), every a∈ℕna\in\mathbb{N}^n satisfies a∈S⇔P(a,w)=0 for some w∈ℕm,w=vwhenever w,v∈ℕm satisfy P(a,w)=0 and P(a,v)=0.\begin{aligned} a\in S &\iff P(a,w)=0 \text{ for some } w\in\mathbb{N}^m,\\ w=v &\quad\text{whenever } w,v\in\mathbb{N}^m \text{ satisfy } P(a,w)=0 \text{ and } P(a,v)=0. \end{aligned}(2)✦

In the paper, the result reads: a set S⊆ℕnS\subseteq\mathbb{N}^n is recursively enumerable if a deterministic computation accepts exactly its members; a Diophantine representation of SS is a polynomial P∈ℤ[A1,…,An,W1,…,Wm]P\in\mathbb{Z}[A_1,\ldots,A_n,W_1,\ldots,W_m] with a∈Sa\in S if and only if P(a,w)=0P(a,w)=0 for some w∈ℕmw\in\mathbb{N}^m; and it is single-fold if that complete witness tuple ww is unique whenever it exists.

What is checked

The single-fold representation (2) is stated over natural numbers n,m∈ℕn,m\in\mathbb{N}, integer polynomials P∈ℤ[A1,…,An,W1,…,Wm]P\in\mathbb{Z}[A_1,\ldots,A_n,W_1,\ldots,W_m], subsets S⊆ℕnS\subseteq\mathbb{N}^n, and the integer evaluation (1) at natural-number argument and witness tuples.