Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.BlockComputation.QueryReplayProviders

Native assembly of provider windows #

Each of the three blocks of a work-tape window is selected from its explicit provider buffer. An absent provider produces a blank prefix by mapping the previous buffer's paid prefix to zero. All slices are bounded by actual stored buffers; a binary width never creates a fresh list of that length. The previous control, head residues and output summary are retained exactly.

@[reducible, inline]

For each tape and destination block, the supplying block of its provider, or a blank source.

@[reducible, inline]

Explicit local data for the fixed family of tape/block provider nodes.

@[reducible, inline]

Runtime width, provider-port map, previous value and every supplied provider value.

def Turing.MultiTapePTM.BlockComputation.QueryReplay.Providers.block {k : ℕ} {Q : Type} (b : ℕ) (ports : PortMap k) (previous : RawResult k Q) (providers : ProviderValues k Q) (h : Fin k) (d : Fin 3) :

Select an actual stored block, or blank an actual prefix of the previous window.

Assemble the three destination blocks and retain the previous finite control record.

The fixed provider ports are encoded individually, independently of runtime windows.

Every provider value is stored explicitly in a fixed tape/block family.

Binary width and all actual buffers, including the previous value used to pay blank blocks.

Uniform native assembly, charging every supplied buffer and retaining the control record without a lookup over possible window values.