The Direction of a Problem Reduction

Reducing problem A to B gives a way to use a solver for B when answering inputs of A, under the reduction's conditions.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace a solver pipeline
  2. Check a hardness argument
  3. Follow the solver that would answer the original question
  4. Keep the reverse claim separate

Trace a solver pipeline

An input of A enters a transformation, whose output is passed to the B solver. Its answer is interpreted as the original result. Composition explains the direction.

Check a hardness argument

If A is hard under a chosen notion, the reduction can transfer that constraint to B. A fast solver for A alone gives no such pipeline for B. See both directions of correctness.[1]

Follow the solver that would answer the original question

A problem with an undirected graph can be transformed to directed reachability by replacing each edge with two arrows. A directed reachability solver then answers the original input's question. The stated transformation runs from undirected instances to directed ones. See checking both reduction directions.

Original instance of A → construct instance of B
Run solver for B
Convert its answer according to the proven equivalence
Thus solver for B gives a solver for A

Keep the reverse claim separate

Showing A reduces to B does not automatically show B reduces to A. For a hardness claim, identify the already hard problem being transformed and the proposed target.

References

  1. Michael Sipser, Introduction to the Theory of Computation ↩