Turing Degrees Introduction


Turing Degrees Introduction

Anna
Today we're diving into Turing degrees, a beautiful structure that comes from thinking about relative computability. The core idea is: if you could magically add one noncomputable function to your programming language, which other functions would become computable?

Michael
So it's like asking which problems become solvable once you have a given oracle. But first, we need to be precise about what we mean by a computable function. We usually restrict ourselves to functions from natural numbers to {0,1} — infinite binary sequences. That might seem limiting, but you can encode any more complex data structure into natural numbers, and relationalization handles multi-bit outputs.

Anna
Right. And our programs have unlimited memory and are deterministic — no randomness or user input. So we can enumerate all possible programs: let Phi_n be the function computed by the n-th program. Some of those programs will never halt, so we define Phi_n(x) as undefined (or infinity) in that case. Every computable function appears as some Phi_n.

Michael
But there are uncountably many functions from N to {0,1}, while there are only countably many Phi_n. So most functions are noncomputable. But we can explicitly construct one using diagonalization: define d(n) to be 1 if Phi_n(n) = 0, 0 if Phi_n(n) = 1, and 0 if Phi_n(n) doesn't halt. This d disagrees with every Phi_n, so it's not computable.

Anna
And that diagonalization is clever, but notice a problem: to compute d(n), you'd need to decide if Phi_n(n) halts — that's exactly the halting problem. So d is essentially the halting set for computable functions. Now, what if we augment our programming language with d as an oracle? We get a new list Phi_n^d, and again most functions won't be computable relative to d. We can keep jumping to get a hierarchy.

Michael
That leads to the notion of relative computability: for two functions A and B, we say A is Turing reducible to B, written A ≤_T B, if A can be computed from B via a program that can call B as an oracle. This relation is reflexive and transitive, but not antisymmetric — A ≤_T B and B ≤_T A means they are Turing equivalent. To get a partial order, we mod out by equivalence, calling each equivalence class a Turing degree.

Anna
So the Turing degrees form a partially ordered set. The bottom element is 0, the degree of all computable functions. We also have a join operation: given two degrees, you can interlace their functions to get a least upper bound. And there's the jump operation: for a function f, its jump f' is the halting problem for programs with oracle f. The jump of a degree is strictly greater, giving an infinite chain 0 < 0' < 0'' < ...

Michael
But is this ordering linear? Can we always compare two degrees? Actually, no. There exist incomparable degrees. The proof uses a beautiful progressive construction, similar to diagonalization but more elaborate. We simultaneously build two functions f and g, ensuring that f is not computable from g and g is not computable from f.

Anna
Let's sketch that construction. We list all conditions: for each k, we want f ≠ Φ_k^g and g ≠ Φ_k^f. We build f and g step by step, fixing finite initial segments. At a stage where we need to ensure f ≠ Φ_k^g, we look at input n+1. If there is some finite extension of g that makes Φ_k^g(n+1) converge, we extend g accordingly and set f(n+1) to the opposite value. If no extension makes it converge, then Φ_k^g(n+1) will never halt, so we can set f(n+1) arbitrarily — say 0.

Michael
And we do this for all conditions in a priority order, alternating between ensuring f not from g and g not from f. In the limit, we get total functions f and g that satisfy all conditions, so they are incomparable. This method generalizes: you can produce countably many pairwise incomparable functions.

Anna
This progressive construction is essentially a forcing argument in recursion theory. Forcing is a powerful tool that abstracts away the mechanical details, making proofs easier for experts but sometimes hiding the intuitive idea. If you're new to the field, it's helpful to work through specific examples to see what's really happening.

Michael
So what does the overall structure of the Turing degrees look like? It's quite complex. There are continuum many pairwise incomparable degrees, so it's very wide. There are minimal degrees — degrees strictly above 0 with nothing in between. And every countable partial order can be embedded into the degrees, so all sorts of configurations appear.

Anna
One easy property: the set of degrees computable from a given degree is countable. That's because there are only countably many programs with that oracle. This fact alone shows that the Turing degrees are not linearly ordered, since there are uncountably many degrees. There's a whole field of recursion theory studying these structures, and it's full of elegant proofs.

Michael
I think the takeaway is that Turing degrees give us a rich way to classify noncomputable problems by their relative computational power. And the simple idea of progressive constructions, like the one we just saw, lies at the heart of many deeper results.

Ask anything
We've read this whole study set, so questions about it get the best answers.