Jump to content

Many-one reduction

From Wikipedia, the free encyclopedia

Incomputability theoryandcomputational complexity theory,amany-one reduction(also calledmapping reduction[1]) is areductionthat converts instances of onedecision problem(whether an instance is in) to another decision problem (whether an instance is in) using acomputable function.The reduced instance is in the languageif and only if the initial instance is in its language.Thus if we can decide whetherinstances are in the language,we can decide whetherinstances are in its 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 thatreduces toif, in layman's termsis at least as hard to solve as.This means that any algorithm that solvescan also be used as part of a (otherwise relatively simple) program that solves.

Many-one reductions are a special case and stronger form ofTuring reductions.[1]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 problemcan be reduced to problem,we can use our solution foronly once in our solution for,unlike in Turing reductions, where we can use our solution foras many times as needed in order to solve the membership problem for the given instance of.

Many-one reductions were first used byEmil Postin a paper published in 1944.[2]LaterNorman Shapiroused the same concept in 1956 under the namestrong reducibility.[3]

Definitions

[edit]

Formal languages

[edit]

Supposeandareformal languagesover theAlpha betsand,respectively. Amany-one reductionfromtois atotal computable functionthat has the property that each wordis inif and only ifis in.

If such a functionexists, one says thatismany-one reducibleorm-reducibletoand writes

Subsets of natural numbers

[edit]

Given two setsone saysismany-one reducibletoand writes

if there exists atotal computable functionwithiff.

If the many-one reductionisinjective,one speaks of a one-one reduction and writes.

If the one-one reductionissurjective,one saysisrecursively isomorphictoand writes[4]p.324

Many-one equivalence

[edit]

If bothand,one saysismany-one equivalentorm-equivalenttoand writes

Many-one completeness (m-completeness)

[edit]

A setis calledmany-one complete,or simplym-complete,iffis recursively enumerable and every recursively enumerable setis m-reducible to.

Degrees

[edit]

The relationindeed is anequivalence,itsequivalence classesare called m-degrees and form a posetwith the order induced by.[4]p.257

Some properties of the m-degrees, some of which differ from analogous properties ofTuring degrees:[4]pp.555--581

  • There is a well-defined jump operator on the m-degrees.
  • The only m-degree with jump0m′ is0m.
  • There are m-degreeswhere there does not existwhere.
  • Every countable linear order with a least element embeds into.
  • The first order theory ofis isomorphic to the theory of second-order arithmetic.

There is a characterization ofas the unique poset satisfying several explicit properties of itsideals,a similar characterization has eluded the Turing degrees.[4]pp.574--575

Myhill's isomorphism theoremcan be stated as follows: "For all setsof natural numbers,."As a corollary,andhave the same equivalence classes.[4]p.325The equivalences classes ofare called the1-degrees.

Many-one reductions with resource limitations

[edit]

Many-one reductions are often subjected to resource restrictions, for example that the reduction function is computable in polynomial time, logarithmic space, byorcircuits, or polylogarithmic projections where each subsequent reduction notion is weaker than the prior; seepolynomial-time reductionandlog-space reductionfor details.

Given decision problemsandand analgorithmNthat solves instances of,we can use a many-one reduction fromtoto solve instances ofin:

  • the time needed forNplus the time needed for the reduction
  • the maximum of the space needed forNand the space needed for the reduction

We say that a classCof languages (or a subset of thepower setof the natural numbers) isclosed under many-one reducibilityif there exists no reduction from a language outsideCto a language inC.If a class is closed under many-one reducibility, then many-one reduction can be used to show that a problem is inCby reducing it to a problem inC.Many-one reductions are valuable because most well-studied complexity classes are closed under some type of many-one reducibility, includingP,NP,L,NL,co-NP,PSPACE,EXP,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

[edit]

One may also ask about generalized cases of many-one reduction. One such example ise-reduction,where we considerthat 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 setfore-degrees. Thee-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.[5]

Properties

[edit]
  • Therelationsof many-one reducibility and 1-reducibility aretransitiveandreflexiveand thus induce apreorderon thepowersetof the natural numbers.
  • if and only if
  • A set is many-one reducible to thehalting problemif and only ifit isrecursively enumerable.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 anindividualTuring machineT(i.e., the set of inputs for whichTeventually halts) is many-one complete iffTis auniversal Turing machine.Emil Post showed that there exist recursively enumerable sets that are neitherdecidablenor m-complete, and hence thatthere existnonuniversal Turing machines whose individual halting problems are nevertheless undecidable.

Karp reductions

[edit]

Apolynomial-timemany-one reduction from a problemAto a problemB(both of which are usually required to bedecision problems) is a polynomial-time algorithm for transforming inputs to problemAinto inputs to problemB,such that the transformed problem has the same output as the original problem. An instancexof problemAcan be solved by applying this transformation to produce an instanceyof problemB,givingyas the input to an algorithm for problemB,and returning its output. Polynomial-time many-one reductions may also be known aspolynomial transformationsorKarp reductions,named afterRichard Karp.A reduction of this type is denoted byor.[6][7]

References

[edit]
  1. ^abAbrahamson, Karl R. (Spring 2016)."Mapping reductions".CSCI 6420 – Computability and Complexity.East Carolina University.Retrieved2021-11-12.
  2. ^E. L. Post, "Recursively enumerable sets of positive integers and their decision problems",Bulletin of the American Mathematical Society50(1944) 284–316
  3. ^Norman Shapiro, "Degrees of Computability",Transactions of the American Mathematical Society82,(1956) 281–299
  4. ^abcdeP. 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.
  5. ^S. Ahmad,Embedding the Diamond in theEnumeration Degrees(1991).Journal of Symbolic Logic,vol.56.
  6. ^Goldreich, Oded(2008),Computational Complexity: A Conceptual Perspective,Cambridge University Press, pp. 59–60,ISBN9781139472746
  7. ^Kleinberg, Jon;Tardos, Éva(2006).Algorithm Design.Pearson Education. pp. 452–453.ISBN978-0-321-37291-8.