HOME

TheInfoList



OR:

In
computability theory Computability theory, also known as recursion theory, is a branch of mathematical logic, computer science, and the theory of computation that originated in the 1930s with the study of computable functions and Turing degrees. The field has since ex ...
, a Turing reduction from a
decision problem In computability theory and computational complexity theory, a decision problem is a computational problem that can be posed as a yes–no question on a set of input values. An example of a decision problem is deciding whether a given natura ...
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 In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
that could be used to solve A if it had access to a
subroutine In computer programming, a function (also procedure, method, subroutine, routine, or subprogram) is a callable unit of software logic that has a well-defined interface and behavior and can be invoked multiple times. Callable units provide a ...
for solving B. The concept can be analogously applied to
function problem In computational complexity theory, a function problem is a computational problem where a single output (of a total function) is expected for every input, but the output is more complex than that of a decision problem. For function problems, the ou ...
s. If a Turing reduction from A to B exists, then every
algorithm In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
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 In theoretical computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations p ...
is known as a
Cook reduction 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 ...
. The first formal definition of relative computability, then called relative reducibility, was given by
Alan Turing Alan Mathison Turing (; 23 June 1912 – 7 June 1954) was an English mathematician, computer scientist, logician, cryptanalyst, philosopher and theoretical biologist. He was highly influential in the development of theoretical computer ...
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 Emil Leon Post (; February 11, 1897 – April 21, 1954) was an American mathematician and logician. He is best known for his work in the field that eventually became known as computability theory. Life Post was born in Augustów, Suwałki Govern ...
used the term "Turing reducibility" to refer to the concept.


Definition

Given two sets A,B \subseteq \mathbb of natural numbers, we say A is Turing reducible to B and write :A \leq_T B
if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
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 In mathematics, a partial function from a set to a set is a function from a subset of (possibly the whole itself) to . The subset , that is, the '' domain'' of viewed as a function, is called the domain of definition or natural domain ...
with domain ''A'', then ''A'' is said to be ''B''-
recursively enumerable In computability theory, a set ''S'' of natural numbers is called computably enumerable (c.e.), recursively enumerable (r.e.), semidecidable, partially decidable, listable, provable or Turing-recognizable if: *There is an algorithm such that the ...
and ''B''-computably enumerable. We say A is Turing equivalent to B and write A \equiv_T B\, if both A \leq_T B and B \leq_T A. The
equivalence class In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements ...
es of Turing equivalent sets are called
Turing degree In computer science and mathematical logic the Turing degree (named after Alan Turing) or degree of unsolvability of a set of natural numbers measures the level of algorithmic unsolvability of the set. Overview The concept of Turing degree is fund ...
s. The Turing degree of a set X is written \textbf(X). Given a set \mathcal \subseteq \mathcal(\mathbb), a set A \subseteq \mathbb is called Turing hard for \mathcal if X \leq_T A for all X \in \mathcal. If additionally A \in \mathcal then A is called Turing complete for \mathcal.


Relation of Turing completeness to computational universality

Turing completeness, as just defined above, corresponds only partially to
Turing completeness In computability theory, a system of data-manipulation rules (such as a model of computation, a computer's instruction set, a programming language, or a cellular automaton) is said to be Turing-complete or computationally universal if it can b ...
in the sense of computational universality. Specifically, a Turing machine is a universal Turing machine if its
halting problem In computability theory (computer science), computability theory, the halting problem is the problem of determining, from a description of an arbitrary computer program and an input, whether the program will finish running, or continue to run for ...
(i.e., the set of inputs for which it eventually halts) is many-one complete for the set \mathcal 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 \mathcal. Insufficient because it may still be the case that, the language accepted by the machine is not itself recursively enumerable.


Example

Let W_e denote the set of input values for which the Turing machine with index ''e'' halts. Then the sets A = \ and B = \ are Turing equivalent (here (-,-) denotes an effective pairing function). A reduction showing A \leq_T B can be constructed using the fact that e \in A \Leftrightarrow (e,e) \in B. Given a pair (e,n), a new index i(e,n) can be constructed using the smn 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) \in A \Leftrightarrow (e,n) \in B holds for all ''e'' and ''n''. Because the function ''i'' is computable, this shows B \leq_T A. 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 In computability theory, a set of natural numbers is computable (or decidable or recursive) if there is an algorithm that computes the membership of every natural number in a finite number of steps. A set is noncomputable (or undecidable) if it i ...
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 \leq_T is transitive: if A \leq_T B and B \leq_T C then A \leq_T C. Moreover, A \leq_T A holds for every set ''A'', and thus the relation \leq_T is a
preorder In mathematics, especially in order theory, a preorder or quasiorder is a binary relation that is reflexive relation, reflexive and Transitive relation, transitive. The name is meant to suggest that preorders are ''almost'' partial orders, ...
(it is not a
partial order In mathematics, especially order theory, a partial order on a set is an arrangement such that, for certain pairs of elements, one precedes the other. The word ''partial'' is used to indicate that not every pair of elements needs to be comparable ...
because A \leq_T B and B \leq_T A 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 \leq_T is not a
total order In mathematics, a total order or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X: # a \leq a ( re ...
. * There are infinite decreasing sequences of sets under \leq_T. Thus this relation is not
well-founded In mathematics, a binary relation is called well-founded (or wellfounded or foundational) on a set (mathematics), set or, more generally, a Class (set theory), class if every non-empty subset has a minimal element with respect to ; that is, t ...
. * Every set is Turing reducible to its own
Turing jump In computability theory, the Turing jump or Turing jump operator, named for Alan Turing, is an operation that assigns to each decision problem a successively harder decision problem with the property that is not decidable by an oracle machine ...
, 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. * Set A is many-one reducible to B if there is a total computable function f such that an element n is in A if and only if f(n) is in B. Such a function can be used to generate a Turing reduction (by computing f(n), querying the oracle, and then interpreting the result). * A truth table reduction or a weak truth table reduction must present all of its oracle queries at the same time. In a truth table reduction, the reduction also gives a boolean function (a truth table) that, when given the answers to the queries, will produce the final answer of the reduction. In a weak truth table reduction, the reduction uses the oracle answers as a basis for further computation depending on the given answers (but not using the oracle). Equivalently, a weak truth table reduction is one for which the use of the reduction is bounded by a computable function. For this reason, weak truth table reductions are sometimes called "bounded Turing" reductions. The second way to produce a stronger reducibility notion is to limit the computational resources that the program implementing the Turing reduction may use. These limits on the
computational complexity In computer science, the computational complexity or simply complexity of an algorithm is the amount of resources required to run it. Particular focus is given to computation time (generally measured by the number of needed elementary operations ...
of the reduction are important when studying subrecursive classes such as P. A set ''A'' is polynomial-time reducible to a set B if there is a Turing reduction of A to B that runs in polynomial time. The concept of
log-space reduction In computational complexity theory, a log-space reduction is a reduction (complexity), reduction computable by a deterministic Turing machine using logarithmic space. Conceptually, this means it can keep a constant number of Pointer (computer progr ...
is similar. These reductions are stronger in the sense that they provide a finer distinction into equivalence classes, and satisfy more restrictive requirements than Turing reductions. Consequently, such reductions are harder to find. There may be no way to build a many-one reduction from one set to another even when a Turing reduction for the same sets exists.


Weaker reductions

According to the
Church–Turing thesis In Computability theory (computation), computability theory, the Church–Turing thesis (also known as computability thesis, the Turing–Church thesis, the Church–Turing conjecture, Church's thesis, Church's conjecture, and Turing's thesis) ...
, a Turing reduction is the most general form of an effectively calculable reduction. Nevertheless, weaker reductions are also considered. Set A is said to be arithmetical in B if A is definable by a formula of Peano arithmetic with B as a parameter. The set A is hyperarithmetical in B if there is a recursive ordinal \alpha such that A is computable from B^, the ''α''-iterated Turing jump of B. The notion of relative constructibility is an important reducibility notion in
set theory Set theory is the branch of mathematical logic that studies Set (mathematics), sets, which can be informally described as collections of objects. Although objects of any kind can be collected into a set, set theory – as a branch of mathema ...
.


See also

* Karp reduction


Notes


References

* M. Davis, ed., 1965. ''The Undecidable—Basic Papers on Undecidable Propositions, Unsolvable Problems and Computable Functions'', Raven, New York. Reprint, Dover, 2004. . * S. C. Kleene, 1952. Introduction to Metamathematics. Amsterdam: North-Holland. * S. C. Kleene and E. L. Post, 1954. "The upper semi-lattice of degrees of recursive unsolvability". ''
Annals of Mathematics The ''Annals of Mathematics'' is a mathematical journal published every two months by Princeton University and the Institute for Advanced Study. History The journal was established as ''The Analyst'' in 1874 and with Joel E. Hendricks as t ...
'' v. 2 n. 59, 379–407. * * A. Turing, 1939. "Systems of logic based on ordinals." '' Proceedings of the London Mathematical Society'', ser. 2 v. 45, pp. 161–228. Reprinted in "The Undecidable", M. Davis ed., 1965. * H. Rogers, 1967. Theory of recursive functions and effective computability. McGraw-Hill. * R. Soare, 1987. Recursively enumerable sets and degrees, Springer. *


External links


NIST Dictionary of Algorithms and Data Structures: Turing reductionUniversity of Cambridge, Andrew Pitts, Tobias Kohn: Computation Theory
{{Authority control Reduction (complexity) Alan Turing he:רדוקציה חישובית