Resuming arbitrary query machines on virtual inputs #
The outer machine's encoded state is retained across each translated read. The runtime header
and cursor are loaded once and then preserved. Optional reads distinguish an absent symbol from
some false, including past the virtual end. Emission and final-output continuations are those
of the outer machine, without restricting its state type or transition graph.
Main definitions #
State: saved runtime header/cursor paired with the simulated outer state.machine: uniform header loading and arbitrary outer-machine simulation.symbol: optional virtual read, distinguishing EOF from a present false bit.
Main results #
resume: exact simulation from any saved outer state with header/cursor preservation.output: preservation of all emissions and the final output continuation.computableInSpace: native compiler with an additive saved-state/header/position budget.
This original construction addresses the generic consumer gap in the recomputation argument for Lemma 3.3, expanded ECCC TR13-047, printed page 6 [GNR+13]. It does not prepare headers, regenerate answer words, implement suffix iteration or adaptive-to-tt conversion, or prove Lemma 3.3.
Saved runtime header/cursor and unrestricted outer state.
- runtime : Runtime.State
State of the underlying runtime header/bit accessor.
- outer : σ
State of the simulated outer query machine.
Parameters retained by the initialized runtime accessor.
Restore the outer machine's optional input symbol from one physical tail read.
One fixed simulator loads the runtime header, then resumes the outer machine.
Loading never changes the suspended outer state.
The loaded simulator queries precisely the unchanged original-input tail.
The translated symbol is the exact optional read, including the virtual end.
A resumed step preserves the header/cursor and exactly advances the arbitrary outer state.
Any number of resumed steps, from any saved state, preserves the loaded runtime data.
After initialization the outer run is simulated step for step, even after halting.
Emission resumes the unrestricted outer output continuation with the exact symbol.
A bound on outer states transfers to resumed physical states additively.
The virtual width is computed without allocating the virtual input.
The optional-read adapter has a native certificate from the outer query certificate alone.
Native certificates for every simulator component; all outer continuations are arbitrary. Only ordinary native outer component certificates are premises, never substitution certificates.
Exact first halt transfers from the outer machine, with only the fixed header-loading delay.
The simulator's output is precisely the outer output, including all emissions and finish.
Valid cuts give the ordinary prefix/suffix word, with no padded-gap convention.
All states up to an outer clock satisfy an additive header/position/outer-state bound.
Generic native virtual-input substitution for a certified query transducer. Constants are shared across all runtime headers and original inputs. The only semantic premises are the outer machine's own termination/output and saved-state bound; no oracle or substitution is assumed.