For the sake of clarity, I am regarding a computable relation on $\mathbb{N}$ as a $2$-symbol ($0$ and $1$) Turing machine $T$ which halts on any initial binary string (which are interpreted as some fixed binary enumeration of $\mathbb{N} \times \mathbb{N}$ such as Cantor's zigzag). The final symbol written down before the machine halts is regarded as its "output".
So this Turing machine can be regarded as a function $T : \mathbb{N} \times \mathbb{N} \rightarrow \{0,1\}$, and therefore a relation on $\mathbb{N}$ where $n \sim_T m \iff T(n,m) = 1$.
My question starts with the following thought:
Can I construct a Turing machine $W$ where:
Given an arbitrary Turing machine $T$ as input, $W$ outputs $1$ if $T$ determines a well-ordered relation on $\mathbb{N}$ and outputs $0$ otherwise.
Now the answer to this question is no if $W$ is required to be a regular Turing machine, as $W$ has to determine whether $T$ always halts amongst other criteria. But what if we allow a potential construction of $W$ to include a certain level of halting oracle?
When I say a certain level, I'm follow the same line of reasoning as Scott Aaronson when he defines super oracles and super busy beaver functions $BB_1(n),BB_2(n),\dots$.
Essentially $BB_0(n)$ is the standard busy beaver function and then we inductively define:
- $\mathcal{O}_k$ as an oracle which given $n$ as input, outputs $BB_k(n)$
- $BB_{k+1}(n)$ as the maximum number of steps a $2$-symbol $n$-state Turing machine can perform before halting when the Turing machine has access to $\mathcal{O}_k$
Now here is my actual question:
Does there exist $K \in \mathbb{N}$, such that I construct a $\mathcal{O}_K$-Turing machine $W$ where:
Given an arbitrary (ordinary, no oracle) Turing machine $T$ as input, $W$ outputs $1$ if $T$ determines a well-ordered relation on $\mathbb{N}$ and outputs $0$ otherwise.
Let's break this down as a checklist for what $W$ needs to consider:
- Does $T$ halt on every initial string?
- Is $\sim_T$ a reflexive relation?
- Is $\sim_T$ a transitive relation?
- Is $\sim_T$ a antisymmetric relation?
- Is $\sim_T$ a total relation?
- Does there exist an infinitely long strictly decreasing sequence for $\sim_T$?
The first bullet point can be realized by an $\mathcal{O}_2$-Turing machine, by first constructing a $\mathcal{O}_1$-Turing machine (denoted $H$) which checks if each initial string one halts one by one and $H$ halts if it finds an initial string which doesn't halt. Then construct a $\mathcal{O}_2$-Turing machine which checks if $H$ halts.
The second through to fifth bullet points can be realized by $\mathcal{O}_1$-Turing machines. For example checking transitivity can be done by first constructing a Turing machine which checks every triplet of inputs of the form $(a,b), (b,c), (a,c)$ and halts if $T(a,b)=1, T(b,c)=1, T(a,c)=0$.
But what about the final bullet point?
The final bullet point seems trickier, but the reason why it seems potentially feasible to me is because computable sequences have bounded growth rate (for example by the busy beaver function).
My thought process is if $T$ is a Turing machine satisfying the first five bullet points and $\sim_T$ has a strictly decreasing sequence, does there then necessarily exist a (possibly different) strictly decreasing sequence which is eventually dominated by $BB_0(n)$? If not, what about $BB_K(n)$ for some $K \in \mathbb{N}$?
If so, then it would indeed be possible to find an oracle Turing machine which addresses the final bullet point. To do this construct a sequence of oracle Turing machines $(Or_m)_{m=0}^\infty$ such that if $Or_m$ is given an input $n$, then $Or_m$ finds the immediate $\sim_T$ predecessor from $\{ 1,...,m+BB_K(1) \}$, then the $\sim_T$ predecessor of that input from $\{ 1,...,m+BB_K(2) \}$, etc. By asking enough halting questions about this sequence of oracle Turing machines, we would have addressed the final bullet point.