1. Home
  2. Explore
  3. Mathematics
  4. Turing Degrees Introduction

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Turing Degrees Introduction

Turing Degrees: Study Notes

Introduction to Relative Computability

The Turing degrees arise from studying relative computability: if a computer is given magical access to one noncomputable function, what other noncomputable functions become computable? This leads to an “is more powerful than” ordering on functions, and the study of this ordering is part of recursion theory. The proofs in this field often involve progressive constructions: working out an infinite sequence entry by entry to satisfy desired properties.

Key prerequisites: familiarity with the halting problem, the notion of computability, partial orderings, and equivalence relations.


Computable Functions and Their Limitations

To reason mathematically about computability, we consider functions from natural numbers to Booleans (0 or 1). Such a function corresponds to an infinite sequence of 0s and 1s, or equivalently a set of natural numbers (the inputs where the function is 1). This restriction does not lose generality:

  • More complex inputs can be encoded as natural numbers.

  • Multiple outputs can be handled via relationalization: define g(x,y)g(x, y)g(x,y) that tells whether yyy is the correct output for input xxx, then search over yyy.

Programs are strings, hence can be enumerated. The nnn‑th program is denoted Φn\Phi_nΦn​, so Φn(x)\Phi_n(x)Φn​(x) is either 0, 1, or ∞\infty∞ (if the program never halts). Most strings are nonsense, so many Φn\Phi_nΦn​ are undefined.

Definition: Every computable function from N\mathbb{N}N to {0,1}\{0,1\}{0,1} is Φn\Phi_nΦn​ for some nnn (and many nnn). The list Φn\Phi_nΦn​ contains all computable functions but not all functions — there are uncountably many functions from N\mathbb{N}N to {0,1}\{0,1\}{0,1}, but only countably many programs.

Explicit Construction of a Noncomputable Function

A noncomputable function ddd can be built via diagonalization:

  • Ensure ddd differs from Φ0\Phi_0Φ0​ at input 0, differs from Φ1\Phi_1Φ1​ at input 1, etc.

  • For each nnn, set d(n)=1−Φn(n)d(n) = 1 - \Phi_n(n)d(n)=1−Φn​(n) if Φn(n)\Phi_n(n)Φn​(n) halts; otherwise set d(n)=0d(n)=0d(n)=0 (or 1).

  • This ddd is not computable because determining whether Φn(n)\Phi_n(n)Φn​(n) halts is undecidable (the halting problem).


Oracles and Turing Computability

If we add the noncomputable function ddd as an oracle to our programming language — programs can call d(x)d(x)d(x) and get an answer — new functions become computable. Denote Φnd\Phi_n^dΦnd​ as the nnn‑th program with oracle ddd.

Again, there are only countably many programs Φnd\Phi_n^dΦnd​, so uncountably many functions remain noncomputable even with oracle ddd. The process can be iterated: d′d'd′ is noncomputable with oracle ddd, d′′d''d′′ noncomputable with oracle d′d'd′, etc.

Turing computability: Given functions AAA and BBB from N\mathbb{N}N to {0,1}\{0,1\}{0,1}, we say AAA is computable from BBB, written A≤TBA \leq_T BA≤T​B, if there exists a program using BBB as an oracle that computes AAA. Equivalently, A=ΦnBA = \Phi_n^BA=ΦnB​ for some nnn.


Turing Equivalence and Turing Degrees

If A≤TBA \leq_T BA≤T​B and B≤TAB \leq_T AB≤T​A, then AAA and BBB are Turing equivalent, denoted A≡TBA \equiv_T BA≡T​B. For example, any two computable functions are Turing equivalent (they are both computable from any oracle, so from each other).

To make the relation antisymmetric, we consider equivalence classes: a Turing degree is the set of all functions Turing equivalent to a given function. The Turing degrees form a partial order under ≤T\leq_T≤T​:

  • Reflexive: A≤TAA \leq_T AA≤T​A.

  • Antisymmetric: A≡TBA \equiv_T BA≡T​B means AAA and BBB belong to the same degree.

  • Transitive: A≤TBA \leq_T BA≤T​B and B≤TCB \leq_T CB≤T​C imply A≤TCA \leq_T CA≤T​C.

There is a least Turing degree, denoted 0\mathbf{0}0, consisting of all computable functions. (Often the constant function 0 is taken as representative.)

Upper bounds: Given two functions fff and ggg, define hhh by interlacing their values: h(2n)=f(n)h(2n) = f(n)h(2n)=f(n), h(2n+1)=g(n)h(2n+1) = g(n)h(2n+1)=g(n). Then f≤Thf \leq_T hf≤T​h and g≤Thg \leq_T hg≤T​h, and hhh is the least upper bound of fff and ggg in the degrees.


The Jump Operation

Given a function fff, its jump f′f'f′ is the halting problem for programs with oracle fff:

f′(n)={1if Φnf(n) halts0otherwisef'(n) = \begin{cases} 1 & \text{if } \Phi_n^f(n) \text{ halts}\\ 0 & \text{otherwise} \end{cases}f′(n)={10​if Φnf​(n) haltsotherwise​

The jump operator is well-defined on Turing degrees: if A≡TBA \equiv_T BA≡T​B then A′≡TB′A' \equiv_T B'A′≡T​B′. The jump is strictly increasing: f≤Tf′f \leq_T f'f≤T​f′ but f′̸≤Tff' \not\leq_T ff′≤T​f (the proof mirrors the halting problem). Starting from 0\mathbf{0}0, we obtain an increasing chain:

0  <  T  0′  <  T  0′′  <  T  ⋯\mathbf{0} \;<\;_T\; \mathbf{0}' \;<\;_T\; \mathbf{0}'' \;<\;_T\; \cdots0<T​0′<T​0′′<T​⋯

where 0′\mathbf{0}'0′ is the degree of the halting problem, 0′′\mathbf{0}''0′′ is the halting problem for oracle 0′\mathbf{0}'0′, etc. The earlier diagonal construction of ddd produces a function Turing equivalent to 0′\mathbf{0}'0′, d′d'd′ equivalent to 0′′\mathbf{0}''0′′, and so on.


Incomparable Turing Degrees

The Turing degrees are not linearly ordered: there exist functions fff and ggg such that f̸≤Tgf \not\leq_T gf≤T​g and g̸≤Tfg \not\leq_T fg≤T​f. The proof uses a progressive construction (a finite‑extension argument).

Construction Outline

We list conditions:

  • For each kkk, fff must not equal Φkg\Phi_k^gΦkg​ (so f̸≤Tgf \not\leq_T gf≤T​g).

  • For each kkk, ggg must not equal Φkf\Phi_k^fΦkf​ (so g̸≤Tfg \not\leq_T fg≤T​f).

We build fff and ggg as infinite binary sequences in stages. At each stage we have defined finite initial segments of fff and ggg. We process each condition in turn, extending the segments to satisfy it.

Satisfying One Condition

Suppose we need to ensure f≠Φkgf \neq \Phi_k^gf=Φkg​, and we already have values f(0),…,f(n)f(0),\dots,f(n)f(0),…,f(n) and g(0),…,g(m)g(0),\dots,g(m)g(0),…,g(m). Consider running Φkg\Phi_k^gΦkg​ on input n+1n+1n+1:

  • Case 1: There exists some finite extension of the current ggg such that Φkg(n+1)\Phi_k^g(n+1)Φkg​(n+1) halts with a value. Since the program only queries ggg finitely many times, we can fix those queried values to make the program output. Then set f(n+1)f(n+1)f(n+1) to the opposite value, ensuring disagreement.

  • Case 2: No finite extension of the current ggg makes Φkg(n+1)\Phi_k^g(n+1)Φkg​(n+1) halt. Then no matter how ggg is completed, the program will never halt. In that case we can set f(n+1)=0f(n+1)=0f(n+1)=0 (or 1) arbitrarily; the program never returns a value, so disagreement is automatic.

The roles are symmetric when we process conditions for g̸≤Tfg \not\leq_T fg≤T​f.

After processing all conditions (a countably infinite list), the limit defines total functions fff and ggg that are Turing incomparable.

This construction can be adapted to produce infinitely many pairwise incomparable degrees, and even a continuum of incomparable degrees. The general method of such progressive constructions is formalized by forcing in recursion theory.


Structure of the Turing Degrees

The Turing degrees form a very complex partial order. Key properties:

  • There exists a continuum (size 2ℵ02^{\aleph_0}2ℵ0​) of pairwise incomparable Turing degrees. The diagram is extremely “wide”.

  • Minimal degrees exist: degrees strictly above 0\mathbf{0}0 such that no degree lies strictly between them and 0\mathbf{0}0.

  • Every countable partial ordering can be embedded into the Turing degrees. This shows the degrees contain all kinds of configurations.

  • For any fixed degree d\mathbf{d}d, the set of degrees ≤Td\leq_T \mathbf{d}≤T​d is countable (because only countably many programs can use a given oracle).


Final Remarks

The progressive construction (or “finite‑extension argument”) is a powerful and elegant technique in recursion theory. While often presented abstractly using forcing, the core idea remains the mechanical building of infinite objects stage by stage. Understanding specific examples like the incomparability proof reveals the beauty of these arguments.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent