Unambiguous space classes #
Cslib.Complexity.USPACE enc s consists of the problems decided unambiguously within space
O(s n): one finite-state binary counting machine has exactly one accepting branch on members
and none on nonmembers, on instances whose encoding under enc has length n. As for
Cslib.Complexity.NSPACE, the bound c₁ * s n + c₂ holds along every computation prefix,
including rejecting branches, every branch halts, the input tape is read-only and the output tape
write-only. Branches are transition-occurrence traces of the counting machine, so two equal
transitions at one configuration count twice.
Forgetting transition multiplicity gives USPACE(s) ⊆ NSPACE(s) for every bound s. The
logarithmic case is Cslib.Complexity.UL, by Cslib.Complexity.UL_eq_USPACE.
Main definitions #
Cslib.Complexity.USPACE: unambiguous space classes.
Main results #
Cslib.Complexity.USPACE_subset_NSPACE: an unambiguous decider is a nondeterministic one.
The problems decided unambiguously within space O(s n), that is c₁ * s n + c₂: one
finite-state binary counting machine, along every computation prefix and with every branch
halting, has one accepting branch on members and none on nonmembers, on instances whose encoding
under enc has length n.