Imagine a problem so sparse that, for inputs of length n, there are at most polynomially many YES-instances — say, at most strings of length n that the problem accepts. You might expect sparse problems to be easy: if there are so few "positive" examples, perhaps a fast algorithm can skip most of the work.
In 1982, Stephen Mahaney turned that intuition into a theorem. He proved that if any sparse set is NP-hard under polynomial-time many-one reductions (the standard notion of one problem being "at least as hard as" another), then P = NP. In other words, NP-complete problems cannot be sparse unless the entire complexity class NP collapses to P.
The result was striking because it showed that hardness forces density: a problem must have exponentially many distinct YES-instances (in input length) if it is to serve as a target for all of NP. Sparse witnesses — rare, well-separated positive instances — cannot bear the full weight of NP-hardness.
This placed strong constraints on where NP-complete problems can live in the landscape of all languages, and it answered a conjecture of Berman and Hartmanis from the late 1970s about the structure of NP-complete sets.
Comments
Loading comments...