Documentation

CslibFrontier.Computability.Complexity.Problems.BoundedTermination

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 #

Main results #

References #

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.

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.

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.