← Student tools · Problem 44 · Lecture 15 · Round 3 (40 pts)

Immerman–Szelepcsényi · NL = coNL

Count reachable vertices inductively; conclude ¬PATH ∈ NL.

CLO-5R3·40 ptsL15
🔊 Listen

Immerman 1988 and Szelepcsényi 1987 independently proved: NL = coNL. Equivalently, ¬PATH (UNREACHABILITY) is in NL. This is a surprising and deep result — nondeterministic log space is closed under complement, while nondeterministic polynomial time (NP vs coNP) is open.

Inductive counting · the technique

For each i, let ci = |{v : v is reachable from s in ≤ i steps}|. Compute c0, c1, …, cn inductively in nondeterministic log space.

Key recurrence: ci+1 = (number of vertices v such that either v is in the reach-set at step i, or v has a predecessor in the reach-set at step i). Both checks use the value ci as a witness count — the nondeterministic machine guesses which ci vertices are in the reach-set, verifies each, and counts those satisfying the property.

Using cn to decide UNREACHABILITY

Given cn = number of vertices reachable from s. To certify that t is unreachable: nondeterministically guess cn reachable vertices v1, …, vcn, each different from t, and verify each is reachable (using the PATH algorithm). If all cn are accounted for and t isn't among them, t must be unreachable.

Space used at each step: counters of size O(log n), one current vertex of size O(log n). All operations fit in log space. The whole construction takes nondeterministic log space.

🔊 Listen
Compute ci one step at a time Auto-plays
🔊 Listen
🔊 Listen
🔊 Listen

Sipser: Theorem 8.27 (Immerman–Szelepcsényi). Lecture notes: Module 7 slide 4. Companion problems: P42 (PATH ∈ NL), P43 (PATH NL-complete).