Lably
Skip to content

Polynomial-time counting reduction

  • 2 min read
  • 3 chapters

Related on Lably

Through Function composition, Identity (mathematics) and Algorithm

Definition

A polynomial-time counting reduction is usually used to transform instances of a known-hard problem X into instances of another problem Y that is to be proven hard. It consists of two functions f and g, both of which must be computable in polynomial time. The function f transforms inputs for X into inputs for Y, and the function g transforms outputs for Y into outputs for X.

These two functions must preserve the correctness of the output. That is, suppose that one transforms an input x for problem X to an input y=f(x) for problem Y, and then one solves y to produce an output z. It must be the case that the transformed output g(z) is the correct output for the original input x. That is, if the input-output relations of X and Y are expressed as functions, then their function composition must obey the identity X=g∘Y∘f. Alternatively, expressed in terms of algorithms, one possible algorithm for solving X would be to apply f to transform the problem into an instance of Y, solve that instance, and then apply g to transform the output of Y into the correct answer for X.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Computing and communication