Accepting counts of counting machines within a space bound #
Turing.MultiTapeCTM.CountsInSpace M enc f s says that the counting machine M realizes the
accepting count f within work space s. On every encoded instance each computation prefix
visits at most s a work-tape cells, some clock bounds every branch, and f a is the number of
accepting transition-occurrence traces at that clock. The space bound is an arbitrary function of
the instance; input and output are uncharged, as in Turing.MultiTapeNTM.RunsInSpace.
Forgetting transition multiplicity turns such a witness into a nondeterministic decider, within the same space, for the instances whose count is positive.
Main definitions #
Turing.MultiTapeCTM.CountsInSpace: an accepting-count witness within a space bound.
Main results #
Turing.MultiTapeCTM.CountsInSpace.decidesInSpace: the instances with a positive count are decided within the same space by the machine without multiplicities.
The counting machine M realizes the accepting count f within work space s: on each
encoded instance every computation prefix visits at most s a work-tape cells, and at a clock
bounding every branch the number of accepting occurrence traces is f a. The clock is chosen for
each instance, because the count is stable once every branch has halted.
Space bounds can be increased.
Forgetting multiplicity gives a nondeterministic decider. If M realizes the count f
within space s, then the machine without transition multiplicities decides, within space s
and with every branch halting, the instances whose count is positive.