Imagine you are walking a maze with only a handful of sticky notes to keep track of where you are. You have no map, no backtracking list — just a few scraps of paper and a machine that can guess its next step. That is, roughly, the world of nondeterministic logspace: computations that use only bits of working memory but may branch nondeterministically, accepting if any branch reaches a yes answer.
For years, complexity theorists worried about a basic asymmetry. In this setting it is easy to say yes — just guess a path and verify it. But what about saying no? To certify that no path leads to a goal might seem to require remembering every path ever explored, which could blow up the memory budget entirely.
In 1987, two researchers working independently — Neil Immerman at Yale and Róbert Szelepcsényi in Bratislava — proved the opposite. They showed that NSPACE(s(n)) is closed under complement for every space bound . In particular, NL = coNL: any problem solvable in nondeterministic logspace has its complement solvable in nondeterministic logspace too.
The proof is one of the most elegant in complexity theory: it uses inductive counting — carefully counting how many graph vertices are reachable from a source, one distance at a time, all within space.
Comments
Loading comments...