Definition. polytime reduction
[polytime-reduction]
Definition. polytime reduction [polytime-reduction]
Let ( are languages). is a polytime reduction from to if:
- is a Polytime computable function
We then may say .
Example.
Suppose , and . Claim:
What does this mean? It means there exists some function that can take a String, map it, and manipulate it so that if , then , and the same for converses.
Proof:
Let be the function that flips bits of its input.
Note that these do not need to be bijections! A reduction that simply sends all satisfiable inputs to is fine.