Designing and Verifying Reductions

Write reductions as algorithms on instances, prove both directions, and inspect how output size affects transferred guarantees.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Point the reduction in the intended direction
  2. Account for the representation change

Point the reduction in the intended direction

A many-one reduction from problem \(A\) to \(B\) computes an instance \(f(x)\) so \(x\in A\) exactly when \(f(x)\in B\). Composing \(f\) with a solver for \(B\) solves \(A\). As an example, reduce independent set of size at least \(k\) to clique of size at least \(k\) by complementing a simple graph. Two distinct vertices have no edge in the original exactly when they are adjacent in the complement, establishing both directions for every candidate vertex set.

Account for the representation change

Writing the complement can take quadratic size even for an input with few edges. A polynomial-time reduction is enough for NP-completeness. A claim about a near-linear algorithm also needs the reduction cost and the target size. Fine-grained complexity transfers exponents by tracking these quantities. Approximation ratios additionally need control of solution values and reconstruction of approximate witnesses.[1][2]

References

  1. Jeff Erickson, Algorithms ↩
  2. MIT OpenCourseWare, Design and Analysis of Algorithms: Lecture Notes ↩