Query machines with a runtime input offset #
withOffset retains a binary offset alongside the complete supplied machine state and adds it
only to input queries. The other components delegate unchanged. withOffset_runFrom proves
agreement at every clock with the original machine on word.drop offset, including absent reads
when the offset or query is past the end of the word. No prefix, suffix or transcript is stored.
The five native component certificates preserve a supplied linear encoded-state workspace
contract. withOffset_runFrom_encoding_le charges the framed binary offset in addition to the
complete inner-state bound; that bound must include any suspended caller/callee context.
These are original operational/component facts, not a native initializer/executor composition.
A native execution compiler must separately charge its original-input position and supply its
initialization, halting and physical callee resource contracts. Time is not bounded by space here.
A runtime input offset and the complete active or suspended machine state.
- offset : ℕ
First cell of the logical input within the original word.
- inner : σ
Complete state of the supplied machine.
Relocate queries using a runtime offset, delegating all remaining components unchanged.
The default initial offset is zero; a caller can supply a located runtime state with runFrom.
Exact all-clock dropped-word simulation, including halted and out-of-range states.
Native query dispatch charges addition of the retained binary offset.
Native transition dispatch retains the offset and applies the supplied transition once.
Native emissions use the supplied component on the unchanged inner state and reply.
Native halting dispatch tests the unchanged inner state.
Native final-output dispatch uses the unchanged supplied final-output component.
Every clock charges the framed binary offset in addition to the supplied complete state bound. The inner bound must already include any suspended caller and callee.