Complementary nondeterministic logarithmic space #
coNL enc consists of the complements of problems in the native machine class NL enc.
It uses exactly the same encoding, every-prefix work-space measure and all-branches halting
convention as NL.
NL is the nondeterministic space class of the bound Nat.log2
(Cslib.Complexity.NL_eq_NSPACE), so the Immerman–Szelepcsényi theorem for nondeterministic
space (Cslib.Complexity.NSPACE_eq_coNSPACE) gives NL = coNL. Its source machine may even be a
recognizer with nonterminating branches; the constructed machine halts on every branch.
Main definitions #
Cslib.Complexity.coNL: complements of nondeterministic logarithmic-space problems.
Main results #
Cslib.Complexity.mem_coNL: membership is membership of the complement inNL.Cslib.Complexity.compl_mem_coNL_iff: the corresponding double-complement equivalence.Cslib.Complexity.NL_eq_NSPACE:NLisNSPACE(log₂ n).Cslib.Complexity.compl_mem_NL: native nondeterministic logarithmic-space complement closure.Cslib.Complexity.NL_eq_coNL: the Immerman–Szelepcsényi theorem.Cslib.Complexity.mem_NL_of_recognizesInSpace: recognizers and deciders give the same class.
References #
The problems whose complements belong to native nondeterministic logarithmic space Sipser, Section 8.6.
Instances For
A logarithmic-space recognizer, even with nonterminating branches, recognizes a problem decidable within logarithmic space with every branch halting.