ArticleslgStudy

science

Turing reduction

Turing reduction is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Turing reduction rather than just read about it. In short: In computability theory, a Turing reduction from a decision problem A to a decision problem B is an oracle machine that decides problem A given an oracle for B (Rogers 1967, Soare 1987) in finitely many steps. It can be understood as an algorithm that could be used to solve A if it had access to a subroutine for solving B.

Key takeaways

  • Turing reduction belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Turing reduction to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Turing reduction from memory before moving on to harder problems.

Reference excerpt

In computability theory, a Turing reduction from a decision problem A to a decision problem B is an oracle machine that decides problem A given an oracle for B (Rogers 1967, Soare 1987) in finitely many steps. It can be understood as an algorithm that could be used to solve A if it had access to a subroutine for solving B. The concept can be analogously applied to function problems. If a Turing reduction from A to B exists, then every algorithm for B can be used to produce an algorithm for A, by inserting the algorithm for B at each place where the oracle machine computing A queries the oracle for B. However, because the oracle machine may query the oracle a large number of times, the resulting algorithm may require more time asymptotically than either the algorithm for B or the oracle machine computing A. A Turing reduction in which the oracle machine runs in polynomial time is known as a Cook reduction. The first formal definition of relative computability, then called relative reducibility, was given by Alan Turing in 1939 in terms of oracle machines. Later in 1943 and 1952 Stephen Kleene defined an equivalent concept in terms of recursive functions. In 1944 Emil Post used the term "Turing reducibility" to refer to the concept.

Definition Given two sets A,B⊆ℕ of natural numbers, we say A is Turing reducible to B and write

A≤TB if and only if there is an oracle machine that computes the characteristic function of A when run with oracle B. In this case, we also say A is B-recursive and B-computable. If there is an oracle machine that, when run with oracle B, computes a partial function with domain A, then A is said to be B-recursively enumerable and B-computably enumerable. We say A is Turing equivalent to B and write A≡TB if both A≤TB and B≤TA. The equivalence classes of Turing equivalent sets are called Turing degrees. The Turing degree of a set X is written 𝐝𝐞𝐠(X). Given a set 𝒳⊆𝒫(ℕ), a set A⊆ℕ is called Turing hard for 𝒳 if X≤TA for all X∈𝒳. If additionally A∈𝒳 then A is called Turing complete for 𝒳.

Relation of Turing completeness to computational universality Turing completeness, as just defined above, corresponds only partially to Turing completeness in the sense of computational universality. Specifically, a Turing machine is a universal Turing machine if its halting problem (i.e., the set of inputs for which it eventually halts) is many-one complete for the set 𝒳 of recursively enumerable sets. Thus, a necessary but insufficient condition for a machine to be computationally universal, is that the machine's halting problem be Turing-complete for 𝒳. Insufficient because it may still be the case that, the language accepted by the machine is not itself recursively enumerable.

Example Let We denote the set of input values for which the Turing machine with index e halts. Then the sets A={e∣e∈We} and B={(e,n)∣n∈We} are Turing equivalent (here (−,−) denotes an effective pairing function). A reduction showing A≤TB can be constructed using the fact that e∈A⇔(e,e)∈B. Given a pair (e,n), a new index i(e,n) can be constructed using the S mn theorem such that the program coded by i(e,n) ignores its input and merely simulates the computation of the machine with index e on input n. In particular, the machine with index i(e,n) either halts on every input or halts on no input. Thus i(e,n)∈A⇔(e,n)∈B holds for all e and n. Because the function i is computable, this shows B≤TA. The reductions presented here are not only Turing reductions but many-one reductions, discussed below.

Properties Every set is Turing equivalent to its complement. Every computable set is Turing reducible to every other set. Because any computable set can be computed with no oracle, it can be computed by an oracle machine that ignores the given oracle. The relation ≤T is transitive: if A≤TB and B≤TC then A≤TC. Moreover, A≤TA holds for every set A, and thus the relation ≤T is a preorder (it is not a partial order because A≤TB and B≤TA does not necessarily imply A=B). There are pairs of sets (A,B) such that A is not Turing reducible to B and B is not Turing reducible to A. Thus ≤T is not a total order. There are infinite decreasing sequences of sets under ≤T. Thus this relation is not well-founded. Every set is Turing reducible to its own Turing jump, but the Turing jump of a set is never Turing reducible to the original set.

The use of a reduction Since every reduction from a set A to a set B has to determine whether a single element is in A in only finitely many steps, it can only make finitely many queries of membership in the set B. When the amount of information about the set B used to compute a single bit of A is discussed, this is made precise by the use function. Formally, the use of a reduction is the function that sends each natural number n to the largest natural number m whose membership in the set B was queried by the reduction while determining the membership of n in A.

Stronger reductions There are two common ways of producing reductions stronger than Turing reducibility. The first way is to limit the number and manner of oracle queries.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Turing reduction

Start with the simplest possible case. Write down what Turing reduction claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Turing reduction before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Turing reduction ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Turing reduction

In research
Turing reduction appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Turing reduction in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Turing reduction is common in secondary-school and first-year university syllabi. It links to neighbouring topics Alan Turing, Reduction (complexity), so understanding it makes those chapters shorter.
In everyday life
Look for Turing reduction outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Turing reduction” →

How to study Turing reduction in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Turing reduction means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Turing reduction out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Turing reduction in simple terms?

In computability theory, a Turing reduction from a decision problem A to a decision problem B is an oracle machine that decides problem A given an oracle for B (Rogers 1967, Soare 1987) in finitely many steps. It can be understood as an algorithm that could be used to solve A if it had access to a…

Why does Turing reduction matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Turing reduction?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Turing reduction.

Tags

  • Alan Turing
  • Reduction (complexity)

Keep exploring