Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.BlockComputation.QueryReplaySpace

Binary storage for the local replay query machine #

Only the fixed control and output tags use finite encodings. Runtime window widths, counters, input positions and head positions use binary encodings, and every window cell is stored explicitly. No original input word occurs in the storage encoding.

length_encConfig_le bounds this representation by the local window width and the logarithm of the original input length. All five native query-machine component certificates use the same representation, including the step that updates each explicit local tape.

Binary numeric fields and explicit fixed families of local work cells.

The runtime input length can be read in linear encoded-state space.

The runtime block width can be read in linear encoded-state space.

The remaining replay duration can be read in linear encoded-state space.

The original input pointer can be read in linear encoded-state space.

Native silent final-output component. The caller reads the returned state separately.

theorem Turing.MultiTapePTM.BlockComputation.QueryReplay.length_encCells_le {k : ℕ} (cells : Fin k → List ℕ) {width : ℕ} (hcells : ∀ (h : Fin k), (cells h).length ≤ 3 * width) (hcodes : ∀ (h : Fin k), ∀ n ∈ cells h, n ≤ 2) :

Explicit replay cell families include every cell and both layers of list framing.

theorem Turing.MultiTapePTM.BlockComputation.QueryReplay.length_encConfig_le {k : ℕ} {Q : Type} [Finite Q] (s : Config k Q) (hremaining : s.remaining ≤ s.width) (hinput : s.inputPos ≤ s.inputLength + 1) (hheads : ∀ (h : Fin k), s.heads h ≤ 3 * s.width) (hcells : ∀ (h : Fin k), (s.cells h).length ≤ 3 * s.width) (hcodes : ∀ (h : Fin k), ∀ n ∈ s.cells h, n ≤ 2) :

Explicit storage bound for valid local replay data. The coefficient depends only on the fixed tape count and finite tags; the original input contributes only its logarithm.

Reading the symbols uses finite tuples only for the fixed number of tapes.

Native step component. Transition lookup ranges only over fixed finite control, input symbols and the fixed tuple of work symbols; the windows themselves remain explicit lists.