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 ...
and
computational complexity theory
In theoretical computer science and mathematics, computational complexity theory focuses on classifying computational problems according to their resource usage, and explores the relationships between these classifications. A computational problem ...
, a many-one reduction (also called mapping reduction
) is a
reduction that converts instances of one
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 ...
(whether an instance is in
) to another decision problem (whether an instance is in
) using a
computable function
Computable functions are the basic objects of study in computability theory. Informally, a function is ''computable'' if there is an algorithm that computes the value of the function for every value of its argument. Because of the lack of a precis ...
. The reduced instance is in the language
if and only if the initial instance is in its language
. Thus if we can decide whether
instances are in the language
, we can decide whether
instances are in the language
by applying the reduction and solving for
. Thus, reductions can be used to measure the relative computational difficulty of two problems. It is said that
reduces to
if, in layman's terms
is at least as hard to solve as
. This means that any algorithm that solves
can also be used as part of a (otherwise relatively simple) program that solves
.
Many-one reductions are a special case and stronger form of
Turing reductions.
With many-one reductions, the oracle (that is, our solution for
) can be invoked only once at the end, and the answer cannot be modified. This means that if we want to show that problem
can be reduced to problem
, we can use our solution for
only once in our solution for
, unlike in Turing reductions, where we can use our solution for
as many times as needed in order to solve the membership problem for the given instance of
.
Many-one reductions were first used by
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 ...
in a paper published in 1944. Later
Norman Shapiro used the same concept in 1956 under the name ''strong reducibility''.
Definitions
Formal languages
Suppose
and
are
formal language
In logic, mathematics, computer science, and linguistics, a formal language is a set of strings whose symbols are taken from a set called "alphabet".
The alphabet of a formal language consists of symbols that concatenate into strings (also c ...
s over the
alphabets
An alphabet is a standard set of letter (alphabet), letters written to represent particular sounds in a spoken language. Specifically, letters largely correspond to phonemes as the smallest sound segments that can distinguish one word from a ...
and
, respectively. A many-one reduction from
to
is a
total computable function that has the property that each word
is in
if and only if
is in
.
If such a function
exists, one says that
is many-one reducible or m-reducible to
and writes
:
Subsets of natural numbers
Given two sets
one says
is many-one reducible to
and writes
:
if there exists a
total computable function with
iff
.
If the many-one reduction
is
injective
In mathematics, an injective function (also known as injection, or one-to-one function ) is a function that maps distinct elements of its domain to distinct elements of its codomain; that is, implies (equivalently by contraposition, impl ...
, one speaks of a one-one reduction and writes
.
If the one-one reduction
is
surjective
In mathematics, a surjective function (also known as surjection, or onto function ) is a function such that, for every element of the function's codomain, there exists one element in the function's domain such that . In other words, for a f ...
, one says
is
recursively isomorphic to
and writes
[ P. Odifreddi, ''Classical Recursion Theory: The theory of functions and sets of natural numbers'' (p.320). Studies in Logic and the Foundations of Mathematics, vol. 125 (1989), Elsevier 0-444-87295-7.]p.324
:
Many-one equivalence
If both
and
, one says
is many-one equivalent or m-equivalent to
and writes
:
Many-one completeness (m-completeness)
A set
is called ''many-one complete'', or simply m-complete,
iff
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 both ...
is recursively enumerable and every recursively enumerable set
is m-reducible to
.
Degrees
The relation
indeed is an
equivalence, its
equivalence classes are called m-degrees and form a poset
with the order induced by
.
p.257
Some properties of the m-degrees, some of which differ from analogous properties of
Turing degrees:
pp.555--581
* There is a well-defined jump operator on the m-degrees.
* The only m-degree with jump 0
m′ is 0
m.
* There are m-degrees
where there does not exist
where
.
* Every countable linear order with a least element embeds into
.
* The first order theory of
is isomorphic to the theory of second-order arithmetic.
There is a characterization of
as the unique poset satisfying several explicit properties of its
ideals, a similar characterization has eluded the Turing degrees.
pp.574--575
Myhill's isomorphism theorem can be stated as follows: "For all sets
of natural numbers,
." As a corollary,
and
have the same equivalence classes.
p.325 The equivalences classes of
are called the ''1-degrees''.
Many-one reductions with resource limitations
Many-one reductions are often subjected to resource restrictions, for example that the reduction function is computable in polynomial time, logarithmic space, by
or
circuits, or polylogarithmic projections where each subsequent reduction notion is weaker than the prior; see
polynomial-time reduction
In computational complexity theory, a polynomial-time reduction is a method for solving one problem using another. One shows that if a hypothetical subroutine solving the second problem exists, then the first problem can be solved by transforming ...
and
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 ...
for details.
Given decision problems
and
and 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 ...
''N'' that solves instances of
, we can use a many-one reduction from
to
to solve instances of
in:
* the time needed for ''N'' plus the time needed for the reduction
* the maximum of the space needed for ''N'' and the space needed for the reduction
We say that a class C of languages (or a subset of the
power set
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is po ...
of the natural numbers) is ''closed under many-one reducibility'' if there exists no reduction from a language outside C to a language in C. If a class is closed under many-one reducibility, then many-one reduction can be used to show that a problem is in C by reducing it to a problem in C. Many-one reductions are valuable because most well-studied complexity classes are closed under some type of many-one reducibility, including
P,
NP,
L,
NL,
co-NP,
PSPACE,
EXP Exp or EXP may stand for:
* Exponential function, in mathematics
* Expiry date of organic compounds like food or medicines
* Experience point
An experience point (often abbreviated as exp or XP) is a unit of measurement used in some tabletop r ...
, and many others. It is known for example that the first four listed are closed up to the very weak reduction notion of polylogarithmic time projections. These classes are not closed under arbitrary many-one reductions, however.
Many-one reductions extended
One may also ask about generalized cases of many-one reduction. One such example is ''e-reduction'', where we consider
that are recursively enumerable instead of restricting to recursive
. The resulting reducibility relation is denoted
, and its poset has been studied in a similar vein to that of the Turing degrees. For example, there is a jump set
for ''e''-degrees. The ''e''-degrees do admit some properties differing from those of the poset of Turing degrees, e.g. an embedding of the diamond graph into the degrees below
.
[S. Ahmad]
Embedding the Diamond in the Enumeration Degrees
(1991). Journal of Symbolic Logic
The '' Journal of Symbolic Logic'' is a peer-reviewed mathematics journal published quarterly by Association for Symbolic Logic. It was established in 1936 and covers mathematical logic. The journal is indexed by '' Mathematical Reviews'', Zent ...
, vol.56.
Properties
* The
relations of many-one reducibility and 1-reducibility are
transitive and
reflexive and thus induce 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, ...
on the
powerset
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is po ...
of the natural numbers.
*
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 ...
* A set is many-one reducible to the
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 ...
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 ...
it is
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 ...
. This says that with regards to many-one reducibility, the halting problem is the most complicated of all recursively enumerable problems. Thus the halting problem is r.e. complete. Note that it is not the only r.e. complete problem.
* The specialized halting problem for an ''individual'' Turing machine ''T'' (i.e., the set of inputs for which ''T'' eventually halts) is many-one complete iff ''T'' is a
universal Turing machine. Emil Post showed that there exist recursively enumerable sets that are neither
decidable nor m-complete, and hence that ''there exist
nonuniversal Turing machines whose individual halting problems are nevertheless undecidable''.
Karp reductions
A
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 ...
many-one reduction from a problem ''A'' to a problem ''B'' (both of which are usually required to be
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 ...
s) is a polynomial-time algorithm for transforming inputs to problem ''A'' into inputs to problem ''B'', such that the transformed problem has the same output as the original problem. An instance ''x'' of problem ''A'' can be solved by applying this transformation to produce an instance ''y'' of problem ''B'', giving ''y'' as the input to an algorithm for problem ''B'', and returning its output. Polynomial-time many-one reductions may also be known as polynomial transformations or Karp reductions, named after
Richard Karp
Richard Manning Karp (born January 3, 1935) is an American computer scientist and computational theorist at the University of California, Berkeley. He is most notable for his research in the theory of algorithms, for which he received a Turin ...
. A reduction of this type is denoted by
or
.
[
]
References
{{reflist
Reduction (complexity)