Any-output bounded termination with a binary clock #
Every word is interpreted as a framed description, framed input and most-significant-bit-first
binary clock via BoundedComputation. The language accepts any computation halted within that
clock, regardless of its output. On canonical native-machine triples this is exactly native
halting by the given step bound. Total decoders also fix the meaning of noncanonical words.
The language is in E and is EXP-complete under polynomial-time many-one reductions, hence is
outside P. These are [Gol07a], Exercises 4.6–4.7, in the chosen representation.
The existing BoundedHalting language instead requires the specific output [true]. Its
completeness is reused through one fixed complement decider and exact-step partialization.
No sharp universal-simulator lower bound or encoding-independent E invariance is asserted.
Main definitions #
Cslib.Complexity.BoundedTermination: any-output bounded halting on bit words.
Main results #
Cslib.Complexity.BoundedTermination.mk_desc_mem_iff: exact native-machine halting semantics.Cslib.Complexity.BoundedTermination.mem_E: membership in linear exponential time.Cslib.Complexity.BoundedTermination.polyTimeComplete_EXP: exponential-time completeness.Cslib.Complexity.BoundedTermination.notMem_P: separation from polynomial time.
References #
- [Gol07a], Exercises 4.6–4.7, printed page 152 / PDF page 36; the bounded universal function is defined on printed page 144 / PDF page 28, with the clock in binary.
The decoded machine halts within the binary step bound, with any output word allowed.
Membership tests only the halted flag of the shared bounded computation.
Total decoding gives every word the same termination behavior as its canonical re-encoding.
Canonical triples use exactly the supplied description, input and binary clock.
A canonical instance halts exactly when the native finite machine has halted at the specified step bound. Its output may be empty, false, true, or a longer word.
Any-output bounded termination is decidable in linear exponential time on all words.
Any-output bounded termination is also in EXP.
Any-output bounded termination has a total native decider.
The existing accepting-output-[true] language reduces to the any-output halting language.
The reduction emits canonical framed triples, while its equivalence holds for every source
word interpreted by the documented total decoders.
Every E problem reduces to bounded termination, by composing existing bounded-acceptance hardness with the exact-verdict bridge.
Goldreich Exercise 4.7: every EXP problem Karp-reduces to bounded termination.
Any-output bounded termination is E-complete under polynomial-time many-one reductions.
Any-output bounded termination is EXP-complete under polynomial-time many-one reductions.
Goldreich Exercise 4.6's strict lower bound follows from the existing complete acceptance problem: a P decider here would decide that problem in P as well.