Clocked runs of Boolean and word-output machines #
Turing.MultiTapeTM.Universal.runBool d w t runs the machine described by d on the bit word w
for t steps with the universal function, and returns the bit it has output if it has halted
with a single bit, and none otherwise. Turing.MultiTapeTM.Universal.runWord d w t is the
word-output analogue: if the machine halts within t steps, it decodes the emitted symbol numbers
to bits via (· != 0) and returns some o, and none otherwise. With the number of steps in
unary, both are polynomial-time (Turing.MultiTapeTM.Universal.computableInPolyTime_runBool,
Turing.MultiTapeTM.Universal.computableInPolyTime_runWord).
Every computable Boolean function has a description whose clocked runs are sound and eventually
complete (Turing.MultiTapeTM.IsComputable.exists_runBool): a run never returns a wrong bit, and
returns the right one once it is allowed enough steps. Delayed diagonalization uses this to
compare computable sets on short words within a polynomial time budget, without knowing how long
the machines take, while Levin's universal search uses runWord to collect candidate witnesses.
Main definitions #
Turing.MultiTapeTM.Universal.runBool: the bit output by a described machine within a number of steps, if any.Turing.MultiTapeTM.Universal.runWord: the bit word output by a described machine within a number of steps, if it halts.
Main results #
Turing.MultiTapeTM.Universal.runBool_eq_some_iff:runBoolthrough the universal function.Turing.MultiTapeTM.Universal.computableInPolyTime_runBool:runBoolis polynomial-time with the number of steps in unary.Turing.MultiTapeTM.Universal.runWord_eq_some_iff,Turing.MultiTapeTM.Universal.runWord_mono,Turing.MultiTapeTM.Universal.length_le_of_runWord_eq_some,Turing.MultiTapeTM.Universal.runWord_desc,Turing.MultiTapeTM.Universal.runWord_desc_of_halted: semantics, monotonicity, and output-length bound ofrunWord.Turing.MultiTapeTM.Universal.computableInPolyTime_runWord:runWordis polynomial-time with the number of steps in unary.Turing.MultiTapeTM.IsComputable.exists_runBool: clocked runs of a computable Boolean function are sound and eventually complete.
Clocked runs are polynomial-time with the number of steps in unary.
If a finite binary machine halts within t steps on w, then runWord on its description for
any T ≥ t steps returns its output.
Clocked word-output runs are polynomial-time with the number of steps in unary.
Clocked runs of a computable Boolean function. A computable f has a description whose
clocked runs never return a wrong bit and return the right one from some number of steps on.