Reductions, Lower Bounds and the Limits of Computation

Algorithms · Advanced Placement

Reductions, Lower Bounds and the Limits of Computation: the big picture

Reduction is the central technique for relating problems, and it works in both directions: a reduction from a hard problem to a new one shows the new one is hard, while a reduction from a new problem to a solved one gives an algorithm. The same technique establishes lower bounds within polynomial time, as when sorting's comparison bound transfers to problems that could otherwise sort, and it establishes undecidability. The halting problem is undecidable, proved by a diagonalisation argument showing that a decider would permit a program that halts exactly when it does not, and Rice's theorem generalises this to show that every non-trivial semantic property of programs is undecidable. These results bound what any tool can achieve: a general program analyser cannot decide arbitrary semantic properties, so practical analysers are either unsound, incomplete, or restricted to a decidable fragment, and understanding which is essential to using them. Complexity classes beyond NP include co-NP, PSPACE and the polynomial hierarchy, and the known inclusions and open separations among them structure the field. Randomised and quantum classes relate differently again, with Shor's algorithm placing factoring in polynomial quantum time without settling its classical status, which is why post-quantum cryptography is being standardised.

Reductions Both Ways, Transferred Lower Bounds & Undecidability

Reduction works in both directions, and keeping them straight is most of the skill. Reduce a hard problem to yours and you have shown yours is hard; reduce yours to a solved one and you have an algorithm. The same technique transfers lower bounds — if your problem could be used to sort, it inherits sorting's bound. Pushed further, diagonalisation gives undecidability: no program can decide whether an arbitrary program halts, and Rice's theorem extends that to essentially every interesting semantic property.

{{illustration:algos-l22-f1}}

{{illustration:algos-l22-f2}}

Key relations

- Reduction and the diagonalisation argument. A ≤ₚ B and B ∈ P ⇒ A ∈ P ; D(x): loop iff H(x,x) = halt

Beyond NP: Space, Randomness, Quantum & Post-Quantum

NP is not the top of the hierarchy. PSPACE contains problems needing polynomial space but possibly exponential time, and it includes game-playing and quantified Boolean formulas. Randomness gives classes that are believed not to extend P, which is why derandomisation is a research programme rather than a necessity. Quantum computing is different: Shor's algorithm factors integers in polynomial time, which does not settle factoring's classical status but is enough to break RSA, and that is why post-quantum standards are being deployed now rather than later.

{{illustration:algos-l22-f3}}

{{illustration:algos-l22-f4}}

Key relations

- Known inclusions and Shor's bound. P subseteq BPP subseteq BQP subseteq PSPACE subseteq EXPTIME ; T_Shor = O(b³)