Input-tape prefix locality of bounded machine runs #
In fuel instructions from the initial configuration (inputPos = 1), the input head moves by at
most one cell per instruction, so it never reads an input index at or beyond fuel and never clamps
at the right boundary input.length + 1 when at least fuel symbols are present. Consequently, a
fuel-step run of a MultiTapeMachine on input produces the exact same OracleComp output
program as on input.take m for any m ≥ fuel, and in particular a fuel-step run on u ++ v
depends only on u ++ v.take fuel.
Because this equality holds at the level of the uninterpreted OracleComp program, it applies to
every choice and query handler, including closed fair-coin runs (MultiTapePTM.runClosed) and
stateful external-oracle runs (MultiTapePTM.runOracle).
Main results #
Turing.MultiTapeMachine.runFrom_eq_of_prefix_agree: agreement on anm-symbol input prefix preservesrunFromwheneverinputPos.val + fuel ≤ m + 1.Turing.MultiTapeMachine.run_take_of_le,Turing.MultiTapeMachine.run_take: afuel-step run frominitialConfigdepends only oninput.take fuel.Turing.MultiTapeMachine.run_append_take_of_le,Turing.MultiTapeMachine.run_append_take: afuel-step run onu ++ vdepends only onu ++ v.take fuel.Turing.MultiTapePTM.runClosed_take_of_le,Turing.MultiTapePTM.runClosed_take,Turing.MultiTapePTM.runClosed_append_take_of_le,Turing.MultiTapePTM.runClosed_append_take: specializations to closed fair-coin runs.Turing.MultiTapePTM.runOracle_take_of_le,Turing.MultiTapePTM.runOracle_take,Turing.MultiTapePTM.runOracle_append_take_of_le,Turing.MultiTapePTM.runOracle_append_take: specializations to oracle fair-coin runs.
Two configurations whose input words agree on the first m symbols (m ≤ input₁.length,
m ≤ input₂.length) and whose input head starts at a position pos with pos + fuel ≤ m + 1
produce the exact same output program over fuel steps: the input head never visits or clamps at
a cell beyond index m - 1.
A fuel-step run from the initial configuration depends only on the first m input symbols
whenever fuel ≤ m: starting at inputPos = 1, the input head reads only indices below fuel.
A fuel-step run from the initial configuration depends only on input.take fuel.
A fuel-step run on u ++ v depends only on u ++ v.take m whenever fuel ≤ m.
Prefix locality on u ++ v. A fuel-step run on u ++ v depends only on
u ++ v.take fuel.
A fuel-step closed run depends only on the first m input symbols whenever fuel ≤ m.
A fuel-step closed run on u ++ v depends only on u ++ v.take m whenever fuel ≤ m.
Prefix locality for closed probabilistic runs. A fuel-step closed run on u ++ v
depends only on u ++ v.take fuel.
A fuel-step oracle run depends only on the first m input symbols whenever fuel ≤ m.
A fuel-step oracle run depends only on input.take fuel.
A fuel-step oracle run on u ++ v depends only on u ++ v.take m whenever fuel ≤ m.
Prefix locality for oracle probabilistic runs. A fuel-step oracle run on u ++ v
depends only on u ++ v.take fuel.