TCSLib

212 Complexity — Loop

212.1 Overview

This module provides the bounded-loop control centerpiece of the machine-construction library for multi-tape Turing machines over the Boolean alphabet. Its public results are the loop summation lemma, the configuration-level, decision, and result-bearing loop combinators (a fuel machine lays down a binary round counter, and a body machine is called once per round between visits to an anchor state), the emitting loop combinator whose rounds append output chunks, and the install- and emit-mode clean-call bridges that package any time-bounded function witness as a callable module with clean entry and exit seams. The supporting material constructs and verifies the concrete loop controllers phase by phase: fuel capture and counter setup, the stop-wrapped body calls, the fixed-width counter countdown, payload replay, tracked-bank evaluation, native interval cleanup, and result finalization.

212.2 Declarations

Definition 212.1 Standard word assignment for seam configurations
✓
#

For a tape count \(k\) and a Boolean word \(s\), the assignment of one word per work tape that places \(s\) on tape \(0\) and the empty word on every other tape. It is the standard tape content of a loop body’s round-boundary (seam) configurations: round state on tape zero, all scratch blank.

Theorem 212.2 The loop summation lemma
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet, let \(c_0, \dots , c_N\) be configurations of \(M\) on a common input, all with empty output, and let \(a\) be a Boolean predicate on round indices. Assume that from \(c_N\) the machine halts within \(B\) steps with output the single bit \(\mathrm{false}\), and that for each \(j \lt N\), within \(B\) steps the machine either halts from \(c_j\) with output the single bit \(\mathrm{true}\) (when \(a(j)\) holds) or reaches \(c_{j+1}\) (when \(a(j)\) fails). Then from \(c_0\) the machine halts within \((N+1) \cdot B\) steps, and its output is the single bit recording whether \(a(j)\) holds for some \(j \lt N\).

Lemma 212.3 Liveness propagates to earlier times
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet and \(c\) a configuration of \(M\). If after \(t\) steps from \(c\) the machine has not halted, then for every \(u \le t\) the machine has not halted after \(u\) steps either.

Lemma 212.4 Empty final output forces empty earlier outputs
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet and \(c\) a configuration of \(M\). If the output after \(t\) steps from \(c\) is empty, then the output after \(u\) steps is empty for every \(u \le t\), since output is append-only.

Lemma 212.5 First-halt refinement of a halting witness
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet and \(c\) a configuration whose control state is live. If \(M\) has halted \(t\) steps after \(c\), then there is a time \(u\) with \(0 \lt u \le t\) such that \(M\) is not halted at any time strictly before \(u\), is halted at time \(u\), and the configuration at time \(u\) equals the configuration at time \(t\).

Lemma 212.6 Invariant holds along the whole orbit
✓
#

Let \(I\) be a binary predicate on Boolean words, let \(F\) be a step function on Boolean words indexed by an input word, and let \(s_0\) assign an initial word to each input. If \(I(x, s_0(x))\) holds for every input \(x\) and \(I(x, s)\) implies \(I(x, F(x, s))\), then \(I(x, F(x, \cdot )^{i}(s_0(x)))\) holds for every input \(x\) and every iteration count \(i\).

Lemma 212.7 Fuel output width is bounded by its running time
✓

Let \(F\) be a bundled finite machine over the Boolean alphabet that computes, in time \(T\), the function sending each input \(x\) to the binary digit word of \(R(|x|)\). Then for every input \(x\), the length of that digit word is at most \(T(|x|)\), since a run can append at most one output symbol per step.

Lemma 212.8 One input move advances position by at most one
✓

For every clamped input-head position \(p\) among the \(n+2\) positions of an input of length \(n\) and every direction \(m\) (left, stay, or right), the position reached by one native input-head move in direction \(m\) has value at most the value of \(p\) plus one.

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet and \(c\) a configuration of \(M\). After running \(t\) steps from \(c\), the input-head position is at most the input- head position of \(c\) plus \(t\).

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet and \(c\) a configuration of \(M\). After running \(t\) steps from \(c\), the output length is at most the output length of \(c\) plus \(t\).

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet with two distinguished control states: a start state whose every transition moves the input head left and enters a scan state, and a scan state that keeps moving left while it reads an input symbol and, on reading the left boundary blank, moves right and enters a given destination state. Then from any configuration \(c\) in the start state there is a time \(t\) at most the input-head position of \(c\) plus two after which the machine sits in the destination state with input head at position one and every other component of \(c\) unchanged.

Definition 212.12 Fixed-width little-endian decrement
✓
#

For a Boolean word read as a little-endian binary counter, the pair of the decremented word and a success flag: the lowest \(\mathrm{true}\) cell is cleared and all lower cells are set to \(\mathrm{true}\), returning success; if no cell is \(\mathrm{true}\) (underflow), every existing cell is set to \(\mathrm{true}\) and the flag is \(\mathrm{false}\). The word length never changes and the empty word reports underflow.

Definition 212.13 Length of the borrow scan
✓
#

For a Boolean word read as a little-endian counter, the number of low \(\mathrm{false}\) cells traversed by a borrow; it equals the length of the maximal \(\mathrm{false}\) prefix of the word.

Lemma 212.14 Borrow scan bounded by the width
✓
#

For every Boolean word \(u\), the length of the maximal \(\mathrm{false}\) prefix of \(u\) is at most the length of \(u\).

Lemma 212.15 Decrement preserves the counter width
✓
#

For every Boolean word \(u\), the word produced by the fixed-width little-endian decrement of \(u\) has exactly the length of \(u\), both on success and on underflow.

Definition 212.16 Value of a little-endian counter
✓
#

For a Boolean word \(b_0 b_1 \cdots b_{m-1}\), the natural number \(\sum _{i \lt m} b_i 2^{i}\), where each \(\mathrm{true}\) cell contributes its power of two and high \(\mathrm{false}\) cells contribute nothing.

Lemma 212.17 Binary digits evaluate to their number
✓
#

For every natural number \(n\), the little-endian counter value of the standard binary digit word of \(n\) equals \(n\).

Lemma 212.18 Decrement reduces the value by exactly one
✓

For every Boolean word \(u\) read as a little-endian counter: if the fixed-width decrement of \(u\) reports success then the value of the decremented word plus one equals the value of \(u\), and if it reports underflow then the value of \(u\) is zero.

Lemma 212.19 Success exactly at positive values
✓

For every Boolean word \(u\) read as a little-endian counter, the fixed-width decrement of \(u\) reports success if and only if the value of \(u\) is positive.

Lemma 212.20 Iterated decrements preserve the width
✓

For every Boolean word \(u\) and every iteration count \(i\), applying the fixed-width little-endian decrement \(i\) times to \(u\) yields a word of exactly the length of \(u\).

Lemma 212.21 Counter value after i decrements
✓

For all natural numbers \(R\) and \(i\) with \(i \le R\), applying the fixed-width little- endian decrement \(i\) times to the binary digit word of \(R\) yields a word of counter value exactly \(R - i\).

Lemma 212.22 Reading the frontier cell of a buffer tape
✓

For all Boolean words \(p\) and \(b\), the buffer tape holding the concatenation of \(p\) and \(b\) (cells \(0, \dots \) hold the word, every other cell is blank) reads, at cell \(|p|\), the first bit of \(b\), or blank when \(b\) is empty.

Lemma 212.23 Overwriting one cell of a buffered word
✓
#

For all Boolean words \(p\) and \(b\) and bits \(u\) and \(v\): updating cell \(|p|\) of the buffer tape that holds \(p\) followed by \(u\) followed by \(b\), writing the bit \(v\) there, produces exactly the buffer tape that holds \(p\) followed by \(v\) followed by \(b\).

Definition 212.24 One-tape counter decrement machine
✓

A bundled finite machine over the Boolean alphabet with one work tape that performs a fixed-width little-endian decrement followed by a rewind to cell zero. Its live control states are a borrow state, rewind states remembering the success flag, and silent waiting return states indexed by that flag; no transition emits physical output.

Definition 212.25 Configuration of the decrement machine
✓

For an input word \(x\), an input-head position \(p\), a control state \(q\), a work head position \(z\), and a counter word \(u\), the configuration of the one-tape counter decrement machine whose single work tape is the buffer tape of \(u\), with head at \(z\), control \(q\), input head at \(p\), and empty output.

Lemma 212.26 One borrow transition of the decrement machine
✓

Let \(p\) and \(b\) be Boolean words. One step of the one-tape counter decrement machine from its borrow state, at cell \(|p|\) of the buffer tape holding \(p\) followed by \(b\), behaves as follows: on an empty \(b\) it enters the rewind state with failure flag one cell to the left without writing; on a leading \(\mathrm{true}\) bit it writes \(\mathrm{false}\), moves left, and enters the rewind state with success flag; on a leading \(\mathrm{false}\) bit it writes \(\mathrm{true}\), moves right, and stays in the borrow state.

Lemma 212.27 The borrow phase in exact time
✓

Let \(p\) and \(u\) be Boolean words and let \(j\) be the length of the maximal \(\mathrm{false}\) prefix of \(u\). Starting the one-tape counter decrement machine in its borrow state at cell \(|p|\) of the buffer tape holding \(p\) followed by \(u\), after exactly \(j + 1\) steps it is in the rewind state carrying the decrement’s success flag, at cell \(|p| + j - 1\), with tape contents \(p\) followed by the decremented word.

Let \(u\) be a Boolean word, \(b\) a flag bit, and \(j \le |u|\). Starting the one-tape counter decrement machine in its rewind state with flag \(b\) at cell \(j - 1\) over the buffer tape of \(u\), after exactly \(j + 1\) steps it is in the return state indexed by \(b\), at cell zero, with the word \(u\) unchanged.

Let \(u\) be a Boolean word and \(j\) the length of its maximal \(\mathrm{false}\) prefix. Then \(2j + 2 \le 2|u| + 2\), and running the one-tape counter decrement machine for exactly \(2j + 2\) steps from its borrow state at cell zero over the buffer tape of \(u\) ends in the return state indexed by the decrement’s success flag, at cell zero, holding the decremented word, with nothing emitted.

Definition 212.30 Stop wrapper for a loop body
✓
#

Given a bundled finite machine (the loop body) and a distinguished anchor control state, the wrapper machine with one extra one-cell flag tape that executes the body but halts silently at the next entry into the anchor, recording on the flag tape whether the stop was an anchor return (\(\mathrm{false}\)) or a genuine body halt (\(\mathrm{true}\)). A set release bit forces one body action even at the anchor, and every successor action clears it; the body’s output is retained in full.

Definition 212.31 Embedding a body configuration into the stop wrapper
✓

For a configuration \(c\) of the loop body, a release bit, and an optional flag bit, the configuration of the stop wrapper whose body tapes carry the data of \(c\), whose extra flag tape stores the flag bit in its origin cell with head at the origin, and whose control state is the control state of \(c\) paired with the release bit.

Lemma 212.32 Silent stop at an unreleased anchor
✓

Let \(c\) be a configuration of the loop body whose control state is the anchor and whose release bit is clear. One step of the stop wrapper from the embedding of \(c\) halts the wrapper, writes \(\mathrm{false}\) on the flag cell, and changes no other component of the embedded configuration.

Let \(c\) be a configuration of the loop body in a live control state \(q\), and suppose it is not the case that \(q\) is the anchor with the release bit clear. Then one step of the stop wrapper from the embedding of \(c\) equals the embedding of the body’s one-step successor of \(c\), with the release bit cleared and the flag set to \(\mathrm{true}\) exactly when that body step is a halting transition.

Lemma 212.34 Exact simulation up to the first halt or anchor
✓

Let \(c\) be a live configuration of the loop body, let \(r\) be a release bit, and let \(t\) be a time such that the body stays live before \(t\) and, except possibly for a released step at time zero, does not visit the anchor before \(t\). Then the stop wrapper run for \(t\) steps from the embedding of \(c\) with release bit \(r\) equals the embedding of the body run at time \(t\), with the release bit consumed after the first action and the flag set to \(\mathrm{true}\) exactly when the body has halted at time \(t\).

Let a host machine agree, on a family of embedded control states, with the capture transformation of the stop wrapper of a loop body, and let \(c\) be a live body configuration together with a release bit and a time \(t\) satisfying the liveness and no- early-anchor guards. Then the host run for \(t\) steps from the capture embedding of \(c\) equals the capture embedding of the simulated stop-wrapper endpoint at time \(t\), including any output bit emitted by a halting transition.

Definition 212.36 Control states of the loop controller
✓
#

The finite control type of the loop host is a disjoint sum of the fuel machine’s states, the body-call states (a stopped-body state paired with a startup marker), and fourteen controller phases.

Definition 212.37 Fuel machine relocated past the body block
✓

Given a loop body and a fuel machine \(F\), the multi-tape machine with the combined tape count whose transitions are those of \(F\) acting on the last block of work tapes, while the body tapes, the flag tape, and the counter tape are left untouched.

Definition 212.38 Stopped body extended by counter and fuel tapes
✓

Given a loop body with anchor and a fuel machine, the multi-tape machine on the combined tape count whose transitions are those of the body’s stop wrapper acting on the leading tapes, while the counter tape and the fuel residue tapes are inactive.

Definition 212.39 Controller action on the three active tracks
✓

For an input-head direction, an optional flag write, counter and payload write-and-move pairs, an optional emitted bit, and a successor control state, the action of the loop host that performs exactly these operations; it touches only the flag, counter, and capture (payload) tapes, and every body and fuel tape is stationary under it.

Definition 212.40 The concrete loop controller
✓

Given a loop body with anchor, a fuel machine, and an output mode, the bundled finite machine that runs the fuel machine under capture, rewinds and copies the captured fuel word into a fixed-width binary counter, rewinds the native input, and then repeatedly calls the body between anchor visits: a startup call releases the first round free of charge, each rejecting round decrements the counter in place, and the run ends either at an accepting round – emitting the verdict bit \(\mathrm{true}\) in decision mode or replaying the captured payload in find mode – or at counter underflow, emitting \(\mathrm{false}\) in decision mode and nothing in find mode. Its fourteen controller phases cover fuel rewind, counter copy, head rewinds, startup and round returns, borrow, success and underflow rewinds, exhaustion, and payload replay.

Let \(c\) be a configuration of the extended stopped-body source on the loop host’s tape layout and \(t\) a time before which that source does not halt. Then the loop host run for \(t\) steps from the capture embedding of \(c\) (with the return phase determined by whether the call is a startup call) equals the capture embedding of the source run at time \(t\).

Let \(c\) be a configuration of the relocated fuel source on the loop host’s tape layout and \(t\) a time before which that source does not halt. Then the loop host run for \(t\) steps from the capture embedding of \(c\) equals the capture embedding of the fuel source run at time \(t\).

Lemma 212.43 Initial configuration of the loop host
✓

For every input word \(x\), the initial configuration of the loop host on \(x\) equals the capture embedding (with empty capture buffers and return phase zero) of the initial configuration of the relocated fuel source on \(x\).

Lemma 212.44 Idle controller actions are plain control actions
✓

For every input direction and successor state, the loop-controller action that performs no flag, counter, or payload operation and emits nothing equals the standard input-only control action with that direction and successor.

Lemma 212.45 Phases four and five rewind the native input
✓

Let \(c\) be a configuration of the loop host in controller phase four. Then there is a time \(t\) at most the input-head position of \(c\) plus two after which the host sits in the startup body-call state with input head at position one and every other component of \(c\) unchanged.

Definition 212.46 Controller frame with explicit active tracks
✓

For a base configuration of the loop host, a control state, an input position, three tape functions for the flag, counter, and payload tracks, two head positions, and an output word, the configuration whose three active controller tracks are given by these data and whose remaining tapes and heads are those of the base configuration.

Definition 212.47 Optional single-cell tape write
✓
#

For a tape, a head position, and an optional write instruction, the updated tape: with no instruction the tape is unchanged, and with a write instruction exactly the cell under the head is replaced by the written symbol.

Let a controller frame of the loop host be given, together with a controller action specified by an input direction, an optional flag write, counter and payload write-and- move pairs, an optional emitted bit, and a successor state. Applying the action to the frame yields the frame with the successor state, the moved input head, the three tracks updated by their optional writes at their current heads, the counter and payload heads moved as instructed, and the emitted bit appended to the output.

Definition 212.49 One-tape payload replay machine
✓
#

A bundled finite machine over the Boolean alphabet with one work tape and a single control state that, while its work cell holds a bit, emits that bit to the physical output and moves right, and halts silently upon reading the right blank.

Definition 212.50 Configuration of the replay machine
✓

For an input word, an input-head position \(p\), an optional control state, a head position \(z\), a stored word \(w\), and an output prefix, the configuration of the one-tape replay machine whose work tape is the buffer tape of \(w\) with head at \(z\), input head at \(p\), and the given output.

Lemma 212.51 One replay step emits the current bit
✓

Let \(p\) and \(r\) be Boolean words. One step of the one-tape replay machine from its live state at cell \(|p|\) of the buffer tape holding \(p\) followed by \(r\) either halts without writing when \(r\) is empty, or, when \(r\) starts with a bit \(b\), appends \(b\) to the output and advances the head by one, leaving the stored word unchanged.

Lemma 212.52 Replay emits the remaining suffix exactly
✓

Let \(p\) and \(r\) be Boolean words and let an output prefix be given. After running the one-tape replay machine for exactly \(|r| + 1\) steps from its live state at cell \(|p|\) of the buffer tape holding \(p\) followed by \(r\), the machine is halted with the head at cell \(|p| + |r|\), the stored word is unchanged, and the output is extended by exactly \(r\) in order.

Lemma 212.53 Payload-only actions are right-block extensions
✓

For every head direction \(d\), optional emitted bit, and successor state, the loop- controller action that only moves the payload head by \(d\) and emits that bit equals the right-block extension (leaving all earlier tapes stationary) of the corresponding one- tape action.

Let \(w\) be a captured word, let an output prefix and arbitrary completed body and fuel tapes with their head positions be given, and consider the loop host in its replay phase with the payload head at cell zero of the buffer tape of \(w\). After running the host for exactly \(|w| + 1\) steps, the host is halted, its output is extended by exactly \(w\), and the stored word, all inactive tapes, and all inactive heads are unchanged.

Definition 212.55 Fuel configuration on its relocated block
✓

For a configuration \(c\) of the fuel machine, the configuration of the relocated fuel source that carries the data of \(c\) on the fuel block while the body tapes, the flag tape, and the counter tape are blank with heads at the origin.

Let \(c\) be a configuration of the fuel machine and \(t\) a time. Running the relocated fuel source for \(t\) steps from the relocated embedding of \(c\) equals the relocated embedding of the fuel machine’s run from \(c\) at time \(t\).

Lemma 212.57 Relocated fuel starts blank
✓

For every input word \(x\), the initial configuration of the relocated fuel source on \(x\) equals the relocated embedding of the fuel machine’s initial configuration on \(x\).

Lemma 212.58 The payload track reads its parameterized tape
✓

For every controller frame of the loop host with payload tape \(f\) and payload head \(h\), the symbol scanned on the capture (payload) track of the frame is exactly \(f(h)\).

Lemma 212.59 The counter track reads its parameterized tape
✓

For every controller frame of the loop host with counter tape \(f\) and counter head \(h\), the symbol scanned on the counter track of the frame is exactly \(f(h)\).

Let \(w\) be a stored word and \(j \le |w|\). Starting the loop host in its fuel-rewind phase on a controller frame whose payload track is the buffer tape of \(w\) with payload head at cell \(j - 1\), after exactly \(j + 1\) steps the host is in the counter-copy phase with the payload head at cell zero and every other frame component unchanged.

Definition 212.61 Capture tape during fuel copying
✓
#

For Boolean words \(p\) (the processed prefix) and \(r\) (the remaining suffix), the tape that is blank on the first \(|p|\) cells and agrees with the buffer tape of the concatenation of \(p\) and \(r\) everywhere else.

Lemma 212.62 The copying frontier reads the next fuel bit
✓

For all Boolean words \(p\) and \(r\), the partially cleared copying tape with processed prefix \(p\) and suffix \(r\) reads, at cell \(|p|\), the first bit of \(r\), or blank when \(r\) is empty.

Lemma 212.63 Clearing one copied cell extends the prefix
✓
#

For all Boolean words \(p\) and \(r\) and every bit \(b\), blanking cell \(|p|\) of the partially cleared copying tape with processed prefix \(p\) and suffix \(b\) followed by \(r\) yields the partially cleared copying tape with processed prefix \(p\) extended by \(b\) and suffix \(r\).

Lemma 212.64 Copying starts from the full fuel buffer
✓

For every Boolean word \(w\), the partially cleared copying tape with empty processed prefix and suffix \(w\) equals the buffer tape of \(w\).

Lemma 212.65 Copying ends with a blank capture tape
✓

For every Boolean word \(w\), the partially cleared copying tape with processed prefix \(w\) and empty suffix equals the blank buffer tape.

Let \(p\) be the already-copied prefix and \(r\) the remaining fuel suffix. Starting the loop host in its counter-copy phase on a controller frame whose counter track is the buffer tape of \(p\) and whose payload track is the partially cleared copying tape, with both heads at cell \(|p|\), after exactly \(|r| + 1\) steps the host is in the synchronized- rewind phase with the counter track holding the full fuel word, the payload track blank, and both heads one cell left of the word’s right end.

Let \(w\) be the copied counter word and \(j \le |w|\). Starting the loop host in its synchronized-rewind phase on a controller frame whose counter track is the buffer tape of \(w\) and whose payload track is blank, with both heads at cell \(j - 1\), after exactly \(j + 1\) steps the host is in the input-rewind phase with both heads at cell zero and every other frame component unchanged.

Let \(w\) be the captured fuel word. Starting the loop host in controller phase zero on a frame whose counter track is blank and whose payload track is the buffer tape of \(w\) with payload head at cell \(|w|\), after exactly \(3|w| + 4\) steps the host is in the input-rewind phase with the counter track holding \(w\), the payload track blank, both heads at cell zero, and all inactive data unchanged. The empty word is included.

Definition 212.69 Captured fuel endpoint of the host
✓

For a configuration \(c\) of the fuel machine, the loop-host configuration obtained by capture-embedding (with empty buffers and return phase zero) the relocated embedding of \(c\); it retains the complete fuel work residue.

Definition 212.70 Prepared startup configuration
✓

For a halted fuel configuration \(c\), the loop-host configuration whose control is the startup body-call state, whose input head is at one, whose flag and payload tracks are blank, whose counter track holds the output word of \(c\) with both active heads at zero, whose output is empty, and which retains the completed fuel residue.

Let \(c\) be a halted configuration of the fuel machine. The captured fuel endpoint of the loop host equals the controller frame over itself in phase zero whose flag and counter tracks are blank, whose payload track is the buffer tape of the output of \(c\) with payload head at its length, with the input head of \(c\) and empty output.

Let the fuel machine compute, in time \(T\), the function sending each input \(x\) to the binary digit word of \(R(|x|)\). Then for every input \(x\) there are a halted fuel configuration \(c\) with output exactly that digit word and a time \(t \le 5\, T(|x|) + 7\) such that the loop host, run for \(t\) steps from its initial configuration on \(x\), reaches the prepared startup configuration built from \(c\).

Definition 212.73 Stopped body padded by counter and fuel residue
✓

For a body configuration \(c\), a release bit, an optional flag bit, a counter word \(w\), and a fuel configuration, the configuration of the extended stopped-body source whose leading tapes embed \(c\) with its flag data, whose counter tape is the buffer tape of \(w\) with head at the origin, and whose fuel block carries the fuel configuration’s tapes and heads.

Definition 212.74 A body call inside the capturing host
✓

For a startup marker, a body configuration \(c\), a release bit, an optional flag bit, a counter word, and a fuel configuration, the loop-host configuration obtained by capture- embedding the padded stopped-body configuration, with the return phase chosen according to the startup marker.

Lemma 212.75 Padded source simulates the stop wrapper
✓

Let \(c\) be a configuration of the body’s stop wrapper, and let arbitrary counter and fuel tapes and heads be given. Running the extended stopped-body source for \(t\) steps from the left-block embedding of \(c\) over those inactive tapes equals the left-block embedding of the stop wrapper’s run at time \(t\) over the same inactive tapes.

Let \(c\) be a body configuration, \(t\) a time at which the body run from \(c\) sits in the anchor state, with no earlier anchor visit except possibly a released step at time zero, and with the release bit clear whenever \(t = 0\). Then the loop host, run for \(t + 1\) steps from the body call built on \(c\), reaches the stopped call whose body data is the body run at time \(t\) with control removed, release clear, and stop flag \(\mathrm{false}\), with the counter word and fuel residue unchanged.

For every halted fuel configuration \(f\), the prepared startup configuration of the loop host equals the startup body call built on the body’s initial configuration with release clear, no flag, counter word the output of \(f\), and fuel residue \(f\).

Let \(c\) be a body configuration, \(w\) a counter word, and \(f\) a fuel configuration. One step of the loop host from the startup call on \(c\) with control removed, release clear, and flag \(\mathrm{false}\) yields the active (non-startup) call on \(c\) with control the anchor, release set, and no flag, changing no body, counter, or fuel data.

Let \(s\) be a word, \(f\) a fuel configuration, and \(t\) a time such that the body, run from its initial configuration, first visits the anchor at time \(t\), arriving at the clean seam that carries \(s\) on work tape zero with all other work tapes blank. Then the loop host, run for \(t + 2\) steps from the prepared startup configuration, reaches the active released call on that seam with counter word the output of \(f\) and fuel residue \(f\).

Let \(c\) be a body configuration and \(t \gt 0\) a time such that the body stays live before \(t\), does not visit the anchor strictly between times zero and \(t\), and is halted at time \(t\). Then the loop host, run for \(t\) steps from the active released call on \(c\), reaches the stopped call on the body run at time \(t\) with release clear and stop flag \(\mathrm{true}\), the complete body output captured, including any bit emitted by the halting transition.

For every body call of the loop host, built on a body configuration \(c\) with flag bit, counter word \(w\), and fuel residue, the call equals the controller frame over itself whose flag track stores the flag bit at the origin, whose counter track is the buffer tape of \(w\) with head at zero, and whose payload track is the buffer tape of the output of \(c\) with head at that output’s length, with empty physical output.

Let \(c\) be a body configuration with counter word \(w\) and fuel residue, and let new startup, release, flag, counter-word, and control-state parameters be given. The controller frame built over the original call with the new call’s control state, the new flag at the origin, and the buffer tape of the new counter word equals the call built on \(c\) with the replaced control state and the new parameters.

Let \(p\) and \(r\) be Boolean words. One step of the loop host from its borrow phase on a frame whose counter track is the buffer tape of \(p\) followed by \(r\) with counter head at \(|p|\) behaves as the standalone decrement machine: an empty \(r\) enters the underflow- rewind phase moving left; a leading \(\mathrm{true}\) writes \(\mathrm{false}\) and enters the success-rewind phase moving left; a leading \(\mathrm{false}\) writes \(\mathrm{true}\) and continues the borrow moving right. Only the counter track changes.

Let \(p\) and \(w\) be Boolean words and \(j\) the length of the maximal \(\mathrm{false}\) prefix of \(w\). Running the loop host for exactly \(j + 1\) steps from its borrow phase on a frame whose counter track holds \(p\) followed by \(w\) with head at \(|p|\) reaches the success- or underflow-rewind phase according to the decrement’s flag, with the counter track holding \(p\) followed by the decremented word and head at \(|p| + j - 1\); all non- counter tracks are preserved.

Let \(w\) be a counter word, \(b\) a success bit, and \(j \le |w|\). Running the loop host for exactly \(j + 1\) steps from the rewind phase selected by \(b\) on a frame whose counter track is the buffer tape of \(w\) with head at cell \(j - 1\) returns the counter head to zero and dispatches: success releases the next anchor call, underflow enters the exhaustion phase without yet emitting. All inactive residue is retained.

Let \(w\) be a counter word and \(j\) the length of its maximal \(\mathrm{false}\) prefix. Then \(2j + 2 \le 2|w| + 2\), and running the loop host for exactly \(2j + 2\) steps from its borrow phase on a frame whose counter track is the buffer tape of \(w\) with head at zero ends with the counter track holding the decremented word, head at zero, in the released next-anchor call state on success and in the exhaustion phase on underflow.

Lemma 212.87 The flag track reads its origin cell
✓

For every controller frame of the loop host with flag tape \(f\), the symbol scanned on the flag track of the frame is exactly \(f(0)\), independently of all inactive residue.

Lemma 212.88 Clearing the only flag cell blanks the flag tape
✓

For every optional flag bit, blanking the origin cell of the tape that stores that bit at the origin and is blank elsewhere yields the completely blank buffer tape.

Let \(c\) be a halted body configuration with empty output, \(w\) a counter word, and \(f\) a fuel configuration. Then there is a time \(t \le 2|w| + 4\) such that, from the stopped call on \(c\) with stop flag \(\mathrm{false}\): if the fixed-width decrement of \(w\) succeeds, the loop host at time \(t\) is at the released next-anchor call with the decremented counter word; otherwise the host at time \(t\) has halted with output empty in find mode and the single bit \(\mathrm{false}\) in decision mode.

Let \(w\) be a captured payload word and \(j \le |w|\). Running the loop host for exactly \(j + 1\) steps from its payload-rewind phase on a frame whose payload track is the buffer tape of \(w\) with payload head at cell \(j - 1\) reaches the replay phase with the payload head at cell zero and every other frame component unchanged.

Let \(w\) be a captured payload word and consider the loop host in its replay phase on a frame with empty output whose payload track is the buffer tape of \(w\) with head at zero. After exactly \(|w| + 1\) steps the host has halted and its output is exactly \(w\).

Let \(c\) be a halted body configuration, \(w\) a counter word, and \(f\) a fuel configuration. Then there is a time \(t \le 2\, |o| + 3\), where \(o\) is the output of \(c\), such that from the stopped call on \(c\) with stop flag \(\mathrm{true}\) the loop host at time \(t\) has halted with output \(o\) in find mode and output the single bit \(\mathrm{true}\) in decision mode.

Let \(s\) be a round word, \(w\) a counter word, \(f\) a fuel configuration, and \(t \gt 0\) a time such that the body, started at the clean anchor seam carrying \(s\), does not revisit the anchor strictly between times zero and \(t\) and at time \(t\) either halts with a declared payload (acceptance) or sits at the clean seam carrying the stepped word. Then there is a time \(v \le 3t + 2|w| + 5\) such that from the released call on the seam of \(s\): acceptance halts the host with the payload (find mode) or the bit \(\mathrm{true}\) (decision mode); a rejection with successful decrement reaches the released call on the next seam with the decremented counter; and a rejection with underflow halts with empty output (find mode) or the bit \(\mathrm{false}\) (decision mode).

Definition 212.94 Uniform per-segment coefficient
✓
#

The uniform constant \(10\); it is the maximum of the audited startup, body, counter, and dispatch coefficients and serves as the per-segment budget multiplier of the loop host.

Let a loop body with anchor, a fuel machine computing the binary digits of \(R(|x|)\) in time \(T\), an invariant preserved from the initial word by the step function, a bounded anchor-free startup, and a per-round contract (positive duration at most \(T(|x|)\), no early anchor revisit, and accept-with-output or advance-to-stepped-seam) be given, together with an output mode. Then there is a constant \(c\) such that for every input \(x\) the loop host has a round-configuration family: a startup segment of at most \(c (T(|x|) + 1)\) steps reaching round zero, empty output at every round configuration up to \(R(|x|)\), a halted terminal at index \(R(|x|) + 1\) with output empty in find mode and the bit \(\mathrm{false}\) in decision mode, and for each round \(i \le R(|x|)\) a segment of at most \(c (T(|x|) + 1)\) steps that halts with the declared output when round \(i\) accepts and reaches round \(i + 1\) otherwise.

Let a loop body with anchor, a fuel machine computing the binary digits of \(R(|x|)\) in time \(T\), an invariant preserved from the initial word by the step function, a bounded anchor-free startup, and a per-round accept-or-advance contract with verdict output the single bit \(\mathrm{true}\) be given. Then there are a finite machine \(E\) and a constant \(c\) such that on every input \(x\), \(E\) has a family of round configurations: a startup of at most \(c (T(|x|) + 1)\) steps reaching round zero, empty output at rounds \(0, \dots , R(|x|)\), a halted terminal at index \(R(|x|) + 1\) with output the single bit \(\mathrm{false}\), and per-round segments of at most \(c (T(|x|) + 1)\) steps that halt with \(\mathrm{true}\) on acceptance and advance to the next round configuration otherwise.

Lemma 212.97 Summation with an already-halted terminal
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet, let \(c_0, \dots , c_N\) be configurations of \(M\) on a common input with \(c_N\) halted with output the single bit \(\mathrm{false}\), and let \(a\) be a Boolean predicate on round indices. Assume for each \(j \lt N\) that within \(B\) steps the machine either halts from \(c_j\) with output the single bit \(\mathrm{true}\) (when \(a(j)\) holds) or reaches \(c_{j+1}\) (when \(a(j)\) fails). Then from \(c_0\) the machine halts within \(N \cdot B\) steps with output the single bit recording whether \(a(j)\) holds for some \(j \lt N\).

Let a loop body with anchor be given, a fuel machine computing the binary digits of \(R(|x|)\) in time \(T\), an invariant that holds at the initial word and is preserved by the step function, a startup reaching the initial seam within \(T(|x|)\) without visiting the anchor earlier, and a per-round contract: on every admissible word, in positive time at most \(T(|x|)\) with no early anchor revisit, the body either halts with output the single bit \(\mathrm{true}\) or advances to the seam of the stepped word. Then there are a finite machine \(E\) and a constant \(c\) such that \(E\) computes, within \(c (T(n) + 1)(R(n) + 2)\) steps on inputs of length \(n\), the one-bit answer to whether some orbit point among the first \(R(|x|) + 1\) iterates of the initial word is accepted.

Lemma 212.99 Summation selecting the first accepting payload
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet, let \(c_0, \dots , c_N\) be configurations of \(M\) on a common input with \(c_N\) halted with empty output, let \(a\) be a Boolean predicate on round indices, and let \(w\) assign a payload word to each index. Assume for each \(j \lt N\) that within \(B\) steps the machine either halts from \(c_j\) with output \(w(j)\) (when \(a(j)\) holds) or reaches \(c_{j+1}\) (when \(a(j)\) fails). Then from \(c_0\) the machine halts within \(N \cdot B\) steps, with output \(w(i)\) for the least accepting index \(i \lt N\) when one exists and empty output otherwise.

Let a loop body with anchor be given, a fuel machine computing the binary digits of \(R(|x|)\) in time \(T\), an invariant that holds at the initial word and is preserved by the step function, a bounded anchor-free startup, and a per-round contract in which an accepting round halts with a declared payload word and a rejecting round advances to the seam of the stepped word. Then there are a finite machine \(E\) and a constant \(c\) such that \(E\) computes, within \(c (T(n) + 1)(R(n) + 2)\) steps on inputs of length \(n\), the payload of the first accepted orbit point among the first \(R(|x|) + 1\) iterates of the initial word, and the empty word when no orbit point is accepted.

Definition 212.101 Zero-tape placeholder machine
✓

A bundled finite machine over the Boolean alphabet with no work tapes and a single control state whose only transition is the stationary silent self-loop. It supplies the empty inactive bank of the virtual-input wrapper; its own transition is never entered in that use.

Definition 212.102 Capture-wrapped candidate evaluator
✓

For a bundled finite machine \(M\), the evaluator obtained by wrapping the buffered virtual-input simulator of \(M\) (reading its argument from a designated work tape rather than the native input) with the capture transformation: every emission of the simulated run lands on a final capture tape, the completed state is a live self-looping return state, and no evaluated bit reaches the physical output.

Definition 212.103 Exact evaluator configuration
✓

For a configuration \(c\) of a machine \(M\) on a simulated argument, a virtual boundary tag, and a physical input-head position, the configuration of the capture-wrapped evaluator in which the preserved argument occupies tape zero, the simulated work bank of \(c\) follows it, the final tape captures every emission of \(c\), and the physical input head is fixed at the given position.

Let \(M\) be a bundled finite machine, \(c\) a configuration of \(M\) on a simulated argument carrying a valid virtual boundary tag, and \(t\) a time before which the run of \(M\) from \(c\) stays live. Then there is a valid tag for the endpoint such that running the capture-wrapped evaluator for \(t\) steps from the evaluator configuration of \(c\) equals the evaluator configuration of the run of \(M\) from \(c\) at time \(t\).

For every physical input \(w\) and argument word \(s\), the evaluator configuration built from the initial configuration of \(M\) on \(s\), with initial tag and physical input head at one, equals the canonical seam configuration of the capture-wrapped evaluator whose first work tape holds \(s\), all other work tapes blank, all heads at their origins, and output empty.

Let \(M\) compute output \(o\) on argument \(s\) within time \(T\). Then there is a time \(t \le T\) and a boundary tag such that the run of \(M\) from its initial configuration on \(s\) is halted at \(t\) with output \(o\), the capture-wrapped evaluator started on the prepared candidate does not visit its return state before \(t\), and at time \(t\) it is exactly the evaluator configuration of that halted run.

Definition 212.107 Half-open visited-interval marker
✓
#

For an integer \(\ell \) and a width \(m\), the marker tape that holds \(\mathrm{true}\) exactly on the cells \(z\) with \(\ell \le z \lt \ell + m\) and is blank elsewhere.

Definition 212.108 Partially erased interval data
✓
#

For a data tape \(d\), an integer \(\ell \), and a count \(j\), the tape that is blank on the cells \(z\) with \(\ell \le z \lt \ell + j\) and agrees with \(d\) everywhere else: the contents after erasing the first \(j\) cells of the interval.

Lemma 212.109 One erasure extends the cleared interval
✓
#

For every data tape \(d\), integer \(\ell \), and count \(j\), blanking the cell \(\ell + j\) of the tape obtained from \(d\) by erasing the first \(j\) interval cells yields the tape obtained from \(d\) by erasing the first \(j + 1\) interval cells.

Definition 212.110 Three-tape interval cleaner
✓

A bundled finite machine over the Boolean alphabet with three work tapes – data, an interval marker, and an origin marker – and four control states, that scans left to the marked interval’s left end, erases the data and the marker in one rightward pass, rewinds on the surviving origin marker, and finishes in a silent absorbing return state with all three heads at the origin. All three heads move together, and only observed tape symbols dispatch control.

Definition 212.111 Configuration of the interval cleaner
✓

For an input word, a physical input-head position, a control state, three tape functions for data, interval marks, and the origin marker, and a common head position \(h\), the configuration of the three-tape interval cleaner whose tapes are as given, whose three work heads are all at \(h\), and whose output is empty.

Let \(d\) be a data tape and let an interval of width \(m\) start at \(\ell \). For every \(j \lt m\), running the interval cleaner for exactly \(j + 2\) steps from its initial state with all heads at \(\ell + j\) reaches its rightward-erasure state with all heads at \(\ell \), independently of blank holes in \(d\).

Lemma 212.113 Zero erasures change nothing
✓
#

For every data tape \(d\) and integer \(\ell \), erasing the first zero cells of the interval starting at \(\ell \) yields \(d\) unchanged.

Lemma 212.114 Erasing the whole interval blanks the tape
✓
#

Let \(d\) be a data tape that is blank outside the interval of width \(m\) starting at \(\ell \). Then erasing all \(m\) interval cells of \(d\) yields the completely blank tape, with no assumption on the values inside the interval.

Let \(d\) be a data tape and let an interval of width \(m\) start at \(\ell \). For every \(j \le m\), running the interval cleaner for exactly \(j\) steps from its rightward-erasure state with all heads at \(\ell \) erases the first \(j\) cells of both the data and the marker, moves all heads to \(\ell + j\), and leaves the origin marker intact.

Lemma 212.116 Removing the origin marker blanks its tape
✓
#

Blanking the origin cell of the tape that holds \(\mathrm{true}\) exactly at the origin yields the completely blank tape.

For every natural number \(n\), running the interval cleaner for exactly \(n + 1\) steps from its rewind state with blank data and marker tapes and all heads at \(n\) reaches the silent return state with all three tapes blank and all heads at the origin, the origin marker being erased by the final transition.

Let \(d\) be a data tape blank outside an interval of width \(m\) starting at \(\ell \), with \(\ell \le 0 \lt \ell + m\), and let the heads start at \(\ell + j\) for some \(j \lt m\). Then there is a positive time \(t \le 3m + 4\) after which the interval cleaner, started in its initial state on \(d\), the interval marker, and the origin marker, is in its silent return state with all three tapes blank and all heads at the origin.

Definition 212.119 Closed visited-span marker
✓
#

For integers \(\ell \le h\), the marker tape that holds \(\mathrm{true}\) exactly on the cells \(z\) with \(\ell \le z \le h\) and is blank elsewhere.

Lemma 212.120 Marking a neighbouring cell extends the span
✓
#

Let \(\ell \le h\) be integers and let \(p\) be a cell with \(\ell - 1 \le p \le h + 1\). Writing the mark at \(p\) on the closed-span marker for \([\ell , h]\) yields the closed-span marker for \([\min (\ell ,p), \max (h,p)]\).

Definition 212.121 Three parallel tape banks
✓
#

Given three families of values indexed by \(k\) tapes – data, visited marks, and origin marks – this is the single family indexed by \(k + (k + k)\) tapes that lays the three banks out consecutively.

Definition 212.122 Tracked evaluator with visited-cell markers
✓

For a bundled finite machine \(M\), the machine with three parallel tape banks that simulates \(M\) at two native steps per source step: the first microstep performs the source action on the data bank while moving the marker heads identically, and the second stamps the newly reached cells in the visited bank before dispatching, possibly halting. A single initialization step marks each origin in both marker banks. The physical output is the source output.

Definition 212.123 Completed tracked configuration
✓

For a configuration \(c\) of the source machine and per-tape visited bounds \(\ell \) and \(h\), the tracked-evaluator configuration whose data bank carries \(c\), whose visited bank holds the closed-span markers \([\ell _i, h_i]\), whose origin bank marks each origin, and whose three per-tape heads agree with the heads of \(c\).

Definition 212.124 Intermediate stamp configuration
✓

For a source configuration \(c\) and visited bounds, the tracked-evaluator configuration that differs from the completed tracked configuration only in its control state, which is the stamping state storing the successor control of \(c\): the data, input, heads, and emitted output already reflect the performed action while the visited markers are still the old ones.

Let \(c\) be a live configuration of the source machine with visited bounds \(\ell \) and \(h\). One step of the tracked evaluator from the completed tracked configuration of \(c\) equals the intermediate stamp configuration of the one-step successor of \(c\) with the same bounds: the data bank performs the source write and emission, and all three per- tape heads move by the same source action.

Let \(c\) be a source configuration with visited bounds \(\ell _i \le h_i\) such that each head of \(c\) lies within one cell of its span. One step of the tracked evaluator from the intermediate stamp configuration of \(c\) equals the completed tracked configuration of \(c\) with each span extended to include the current head, after which the stored successor control (possibly a halt) is dispatched.

Definition 212.127 Leftmost visited head position
✓

For a machine \(M\), an input \(x\), a time \(t\), and a work tape \(i\), the minimum of the origin and all head positions of tape \(i\) along the run of \(M\) from its initial configuration on \(x\) through time \(t\); it is the left end of the visited interval of tape \(i\).

Definition 212.128 Rightmost visited head position
✓

For a machine \(M\), an input \(x\), a time \(t\), and a work tape \(i\), the maximum of the origin and all head positions of tape \(i\) along the run of \(M\) from its initial configuration on \(x\) through time \(t\); it is the right end of the visited interval of tape \(i\).

For every machine \(M\), input \(x\), time \(t\), and work tape \(i\): the leftmost visited position is at most zero, the rightmost is at least zero, the current head at time \(t\) lies between them, and they lie within \([-t, t]\), so the visited interval has width at most \(2t + 1\).

For every machine \(M\), input \(x\), time \(t\), work tape \(i\), and cell \(z\) outside the visited interval of tape \(i\) at time \(t\), the cell \(z\) of tape \(i\) after running \(M\) for \(t\) steps from its initial configuration on \(x\) is blank.

Lemma 212.131 The one-point span is the origin marker
✓

The closed-span marker of the one-point interval \([0,0]\) equals the buffer tape holding the single bit \(\mathrm{true}\).

For every machine \(M\) and input \(x\), one step of the tracked evaluator from its initial configuration on \(x\) equals the completed tracked configuration of the initial configuration of \(M\) on \(x\) with all visited bounds zero: both marker banks hold origin marks, the data bank is blank, and the output is empty.

For every machine \(M\), input \(x\), and time \(t\), running the tracked evaluator for \(1 + 2t\) steps from its initial configuration on \(x\) equals the completed tracked configuration of the run of \(M\) at time \(t\) with the true leftmost and rightmost visited bounds, including after the source has halted.

Lemma 212.134 Tracking costs a factor of two plus one
✓

Let \(M\) compute output \(o\) on input \(x\) within time \(T\). Then the tracked evaluator of \(M\) computes the same output \(o\) on \(x\) within time \(1 + 2T\).

Lemma 212.135 Closed spans as half-open intervals
✓

For all integers \(\ell \le h\), the closed-span marker of \([\ell , h]\) equals the half- open interval marker starting at \(\ell \) of width \(h - \ell + 1\).

Let \(M\) be a machine, \(x\) an input, \(T\) a time, and \(i\) a work tape. Then there is a positive time \(t \le 6T + 7\) after which the interval cleaner, started on the actual tape \(i\) of the run of \(M\) at time \(T\), the closed-span marker of the visited interval, and the origin marker, with heads at the actual head position, reaches its return state with all three tapes blank and all heads at the origin.

Lemma 212.137 Cutting a phase at its first return
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet, let a set of stop control states be absorbing (a step from any configuration in a stop state changes nothing), and suppose the run from a configuration \(c\) reaches a configuration \(d\) in a stop state at time \(T\). Then there is a time \(t \le T\) such that no stop state is visited strictly before \(t\) and the run from \(c\) at time \(t\) equals \(d\).

Let \(M\) be a machine, \(x\) an input, \(T\) a time, and \(i\) a work tape. Then there is a positive time \(t \le 6T + 7\) such that the interval cleaner, started on the actual tape \(i\) of the run of \(M\) at time \(T\) with its visited-span and origin markers, does not visit its return state before \(t\) and at time \(t\) is exactly the blank-endpoint return configuration with all heads at the origin.

Definition 212.139 Right-boundary normalization wrapper
✓

For a bundled finite machine \(M\), the machine that follows \(M\) exactly while it is live and, after the halting transition of \(M\), moves the input head rightwards to the right boundary blank and then halts silently; the completed source output and work tapes are untouched by the scan.

Definition 212.140 Pre-scan embedding of a source configuration
✓

For a configuration \(c\) of the source machine, the configuration of the right-boundary wrapper with the same tapes, heads, and output, whose control is the embedded live state of \(c\) when \(c\) is live and the administrative scan-entry state when \(c\) has halted.

Lemma 212.141 The wrapper follows one live source step
✓

Let \(c\) be a live configuration of the source machine. One step of the right-boundary wrapper from the embedding of \(c\) equals the embedding of the one-step successor of \(c\), including any halting emission; only the successor control encoding differs.

Lemma 212.142 Exact simulation up to the source halt
✓

Let \(c\) be a configuration of the source machine and \(t\) a time before which the source run from \(c\) stays live. Then the right-boundary wrapper run for \(t\) steps from the embedding of \(c\) equals the embedding of the source run at time \(t\).

Definition 212.143 Rightward scan configuration
✓

For a completed source configuration \(c\), an optional administrative control bit, and a position \(j\) at most the input length, the wrapper configuration whose work tapes, heads, and output are those of \(c\) verbatim and whose input head is at position \(j + 1\); only the input position moves during the scan.

Let \(c\) be a completed source configuration on an input \(x\) and let \(j\) and \(r\) satisfy \(j + r = |x|\). Running the right-boundary wrapper for exactly \(r + 1\) steps from the live scan configuration at position \(j\) halts it silently at the right-boundary scan configuration at position \(|x|\), never confusing a blank work cell with the input end.

Let \(c\) be a halted configuration of the source machine on an input \(x\). Then there is a time \(t \le |x| + 2\) such that the right-boundary wrapper, run for \(t\) steps from the embedding of \(c\), is the halted scan configuration at position \(|x|\), with the work tapes and output of \(c\) unchanged.

Let \(M\) be a machine and \(x\) an input such that the run of \(M\) from its initial configuration is halted at time \(T\). Then the right-boundary wrapper of \(M\), run for \(T + |x| + 2\) steps from its initial configuration on \(x\), equals the halted scan configuration built on the run of \(M\) at time \(T\), with input head at position \(|x| + 1\).

Lemma 212.147 Normalization preserves timed computation
✓

Let \(M\) compute output \(o\) on input \(x\) within time \(T\). Then the right-boundary wrapper of \(M\) computes \(o\) on \(x\) within time \(T + |x| + 2\), and after exactly that many steps its input head is at position \(|x| + 1\).

Let \(M\) compute output \(o\) on argument \(s\) within time \(T\), and consider the capture- wrapped evaluator of the right-boundary wrapper of the tracked evaluator of \(M\), started on the prepared candidate seam for \(s\). Then there is a positive time \(t \le 1 + 2T + |s| + 2\) such that the evaluator does not visit its return state before \(t\) and at time \(t\) is exactly the evaluator configuration of the halted, right-normalized tracked endpoint: full trace banks, complete capture buffer, and candidate head at the right boundary.

Definition 212.149 Action relocation onto selected host tapes
✓
#

For a partial selection assigning to each host tape an optional source tape, an embedding of source control states into host states, and a source action, the host action whose selected tapes receive the source operations, whose unselected tapes are stationary, and whose input move, emission, and successor state are those of the source action under the state embedding.

Definition 212.150 Configuration relocation onto selected host tapes
✓
#

For a partial tape selection, a control-state embedding, default host tapes and heads for the unselected slots, and a source configuration \(c\), the host configuration whose selected tapes and heads come from \(c\), whose unselected tapes and heads are the defaults, and whose control, input position, and output are those of \(c\) under the state embedding.

Lemma 212.151 Relocation commutes with one action
✓

For every partial tape selection, control embedding, default tapes and heads, source action \(a\), and source configuration \(c\): applying the relocated action to the relocated configuration of \(c\) equals the relocated configuration of \(a\) applied to \(c\), including the write, head motion, and emission; unselected tapes and heads are fixed.

Let a source machine, a host machine, a tape index map with a partial inverse selection, and a control embedding be given such that on all good source states the host transition equals the relocated source transition. If every live state visited by the source run from a configuration \(c\) before time \(t\) is good, then the host run for \(t\) steps from the relocated configuration of \(c\) equals the relocated configuration of the source run at time \(t\).

Definition 212.153 Two-tape result finalizer
✓

A bundled finite machine over the Boolean alphabet with two work tapes (the argument and the captured result) and six control states that, entering at the known right blanks of both words, rewinds the argument – erasing it in install mode, preserving it in emit mode – rewinds the capture, transfers the captured word in order (writing it onto the argument tape in install mode, emitting it to the physical output in emit mode), then erases the capture and returns both heads to the origin, finishing in an absorbing silent state.

Definition 212.154 Configuration of the result finalizer
✓

For a mode bit, an input word, a physical input-head position, one of six control states, two tape functions, two head positions, and an output word, the two-tape finalizer configuration whose argument and capture tracks are the two given tapes with the given heads and whose control, input position, and output are as given.

Lemma 212.155 Erasing the last cell of a buffered word
✓

For every Boolean word \(w\) and bit \(b\), blanking cell \(|w|\) of the buffer tape holding \(w\) followed by \(b\) yields the buffer tape of \(w\).

Let the finalizer run in a fixed mode on an argument word \(a\) and a capture word \(c\), and let \(p\) be a prefix of \(a\). Starting from its argument-scan state with the argument head at cell \(|p| - 1\) – the argument tape holding \(a\) in emit mode and only \(p\) in install mode – after exactly \(|p| + 1\) steps it is in the capture-rewind state with the argument tape holding \(a\) in emit mode and empty in install mode, the argument head at the origin, and the capture head one cell left of \(|c|\).

Let the finalizer run in a fixed mode with capture word \(c\), and let \(p\) be a prefix of \(c\). Starting from its capture-rewind state with the capture head at cell \(|p| - 1\), after exactly \(|p| + 1\) steps it is in the transfer state with the capture head at the origin, the capture word intact, and the argument head still at the origin.

Let the finalizer run on an argument word \(a\) and capture word \(c\), and write \(c\) as a processed prefix \(p\) followed by a remainder \(r\). Starting from its transfer state with the capture head at \(|p|\) – having already transferred \(p\) to the argument tape (install mode) or the output (emit mode) – after exactly \(|r| + 1\) steps it is in the erasure state with the full capture transferred: the argument tape holds \(c\) in install mode and \(a\) in emit mode, the output holds \(c\) exactly in emit mode, and the capture word itself is still intact.

Let the finalizer run in a fixed mode with a remaining captured word \(p\). Starting from its erasure state with the capture head at cell \(|p| - 1\) (and, in install mode, the argument head moving along with it), after exactly \(|p| + 1\) steps it is in its final silent state with the capture tape completely blank and both heads at the origin, the output untouched.

Let the finalizer run in a fixed mode on an argument word \(a\) and a capture word \(c\), entering at its start state with the argument head at \(|a|\) and the capture head at \(|c|\) and empty output. After exactly \(|a| + 3|c| + 5\) steps it is in its final silent state with both heads at the origin and the capture tape blank; the argument tape holds \(c\) in install mode and \(a\) in emit mode, and the output is \(c\) in emit mode and empty in install mode. Empty words are included.

Definition 212.161 The prepared source phase of the clean call
✓

For a bundled finite machine \(M\), the capture-wrapped evaluator of the right-boundary wrapper of the tracked evaluator of \(M\): one genuine argument tape, three tracked banks, and one capture tape, even when \(M\) has no work tapes.

Definition 212.162 Control states of the clean-call controller
✓

The finite control type of the clean-call controller is a disjoint sum of the prepared source phase’s states, one cleaner copy per source tape together with a dispatch index, and the six finalizer states.

Definition 212.163 Physical index of a tracked triple slot
✓

For a source tape \(i\) of the machine \(M\) and a component \(r\) among data, visited marks, and origin marks, this is the physical tape index of component \(r\) of bank \(i\) in the clean-call layout.

Definition 212.164 Partial inverse of the triple layout
✓

For a source tape \(i\) of the machine \(M\), the partial selection on physical call-layout tapes that returns the matching component at the data, visited, and origin slots of bank \(i\) and is undefined elsewhere.

Lemma 212.165 Triple selection inverts the triple index
✓

For every source tape \(i\) and component \(r\) among data, visited marks, and origin marks, selecting at the physical index of component \(r\) of bank \(i\) returns exactly \(r\).

Definition 212.166 Physical indices of argument and capture
✓

The map sending the finalizer’s two tape roles to physical call-layout indices: the argument to the first physical tape and the capture to the last.

Definition 212.167 Partial inverse of the pair layout
✓

The partial selection on physical call-layout tapes that returns the argument role at the argument slot and the capture role at the capture slot and is undefined elsewhere.

For each of the finalizer’s two tape roles, selecting at its physical call-layout index returns exactly that role.

For a bundled finite machine \(M\) and a mode bit, the controller machine that evaluates \(M\) on a tape-resident argument through the prepared tracked source and captures the result at its observed return, then sequentially runs the interval cleaner on each tracked bank, each dispatched at its observed return, and finally installs the captured result on the argument tape (install mode) or forwards it to the physical output while preserving the argument (emit mode), erasing the capture. No deadline or source running time occurs in its transition table.

Definition 212.170 Canonical tape layout of the clean call
✓

For per-slot values – an argument value, a capture value, and data, visited, and origin values for each source tape – the family over all physical call-layout tapes whose order is: argument, data bank, visited bank, origin bank, capture.

Every physical tape index of the clean-call layout is the argument slot, the capture slot, or the slot of one component (data, visited, or origin) of one source bank.

Lemma 212.172 Projecting a triple slot from the layout
✓

For every assignment of per-slot values and every source tape \(i\), the clean-call layout evaluated at the physical index of component \(r\) of bank \(i\) gives the data value, the visited value, or the origin value of tape \(i\) according to \(r\).

For every assignment of per-slot values, the clean-call layout evaluated at the argument slot gives the argument value and evaluated at the capture slot gives the capture value.

Lemma 212.174 Cleaners do not select administrative tapes
✓

For every source tape \(i\), the triple selection of bank \(i\) is undefined at the argument slot and at the capture slot.

Lemma 212.175 A cleaner acts only on its own bank
✓

For all source tapes \(i\) and \(j\) and every component \(r\), the triple selection of bank \(i\) evaluated at the physical index of component \(r\) of bank \(j\) returns \(r\) when \(j = i\) and selects nothing otherwise.

Lemma 212.176 The finalizer does not select tracked storage
✓

For every source tape \(i\) and component \(r\), the pair selection of the finalizer is undefined at the physical index of component \(r\) of bank \(i\).

Definition 212.177 Full host frame during cleanup
✓

For a mode bit, an input word, an argument word \(a\), a capture word \(c\), a control state, per-tape data, visited, and origin banks, and per-tape head positions, the clean- call configuration whose argument track is the buffer tape of \(a\) with head at \(|a|\), whose capture track is the buffer tape of \(c\) with head at \(|c|\), whose three banks are as given with their common per-tape heads, with input head at one and empty output.

For a mode bit, input and argument and capture words, a time \(T\), a count \(j\), and a control state, the cleanup frame in which the first \(j\) source banks are completely blank with heads at the origin, while every remaining bank holds the exact halted trace of the source at time \(T\): its data tape, the closed-span marker of its visited interval, the origin marker, and its true head position.

For every mode, input, argument and capture words, time \(T\), and source tape \(i\): relocating the interval cleaner’s entry configuration for bank \(i\) (actual data, visited span, origin marker, actual head) into the cleanup frame whose first \(i\) banks are blank yields exactly that frame, with every other bank and both administrative tapes retained.

For every mode, input, argument and capture words, time \(T\), and source tape \(i\): relocating the interval cleaner’s blank return endpoint into the cleanup frame whose first \(i\) banks are blank yields the cleanup frame whose first \(i + 1\) banks are blank, in the cleaner-return control state for bank \(i\).

For every mode, input, argument and capture words, time \(T\), and source tape \(i\), there is a time \(t \le 6T + 8\) such that the clean-call controller, run for \(t\) steps from the cleanup frame with \(i\) cleaned banks in the cleaner-entry state for bank \(i\), reaches the cleanup frame with \(i + 1\) cleaned banks in the cleaner-entry state for bank \(i + 1\); the dispatch happens at the cleaner’s observed return.

Lemma 212.182 Sequential cleanup of all banks
✓

For every mode, input, argument and capture words, time \(T\), and count \(j \le k\) (the number of source tapes), there is a time \(t \le j (6T + 8)\) such that the clean-call controller, run for \(t\) steps from the cleanup frame with no cleaned banks, reaches the cleanup frame with \(j\) cleaned banks, both administrative words preserved. The claim is a full configuration equality.

For every mode, input word, and argument word \(a\): the identity relocation of the prepared evaluator’s entry configuration on \(a\) equals the clean-call controller’s canonical entry seam, whose first work tape holds \(a\) with all other tapes blank, heads at their origins, and empty output.

Let the source run on argument \(a\) have output \(c\) at time \(T\). The identity relocation of the evaluator configuration of the halted right-normalized tracked endpoint equals the cleanup frame with zero cleaned banks: complete source data, visited spans, origin markers, captured result \(c\), and the argument head at its right boundary.

Let \(M\) compute output \(c\) on argument \(a\) within time \(T\). For every mode and input word, there is a time \(t \le 2T + |a| + 4\) such that the clean-call controller, run for \(t\) steps from its canonical entry seam on \(a\), reaches the cleanup frame with zero cleaned banks in the first cleaner-entry state, with no scan of the native input.

For every mode, input, argument word \(a\), capture word \(c\), and time \(T\): relocating the finalizer’s start configuration (argument head at \(|a|\), capture head at \(|c|\), empty output) through the pair layout equals the cleanup frame in which all source banks are blank, in the finalizer-entry control state.

For every mode, input, argument word \(a\), and capture word \(c\): relocating the finalizer’s final configuration through the pair layout equals the canonical seam in the exit control state whose first work tape holds \(c\) in install mode and \(a\) in emit mode, all other tapes blank, all heads at their origins, with output \(c\) in emit mode and empty otherwise.

For every mode, input, argument word \(a\), capture word \(c\), and time \(T\): running the clean-call controller for exactly \(|a| + 3|c| + 6\) steps from the cleanup frame in which all banks are clean (in the last cleaner-dispatch state) reaches the canonical exit seam carrying \(c\) in install mode and \(a\) in emit mode, with output \(c\) exactly in emit mode, every scratch tape blank, and every head at its origin.

Let \(M\) be a machine with \(k\) work tapes computing output \(c\) on argument \(a\) within time \(T\). For every mode and input word, there is a time \(t \le (24 + 13k)(T + |a| + |c| + 1)\) such that the clean-call controller, run for \(t\) steps from its canonical entry seam on \(a\), reaches the canonical exit seam carrying \(c\) in install mode and \(a\) in emit mode, with output \(c\) exactly in emit mode.

For every mode and every configuration \(z\) of the clean-call controller whose control is the designated exit state, one step of the controller from \(z\) equals \(z\): the exit state is silent and absorbing on every tape configuration.

Let \(M\) be a machine with \(k\) work tapes computing output \(c\) on argument \(a\) within time \(T\). For every mode and input word, there is a positive time \(t \le (24 + 13k)(T + |a| + |c| + 1)\) such that the clean-call controller, started at its canonical entry seam on \(a\), does not visit the exit state before \(t\) and at time \(t\) is exactly the canonical exit seam carrying \(c\) in install mode and \(a\) in emit mode, with output \(c\) exactly in emit mode.

Lemma 212.192 One step commutes with an output prefix
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet, \(c\) a configuration, and \(p\) a word. One step of \(M\) from \(c\) with \(p\) prepended to its output equals the one-step successor of \(c\) with \(p\) prepended to its output: transitions never inspect the append-only output.

Lemma 212.193 Runs commute with an output prefix
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet, \(c\) a configuration, \(p\) a word, and \(t\) a time. Running \(M\) for \(t\) steps from \(c\) with \(p\) prepended to its output equals the run of \(M\) from \(c\) at time \(t\) with \(p\) prepended to its output, including halted tails.

Definition 212.194 The forwarding loop controller
✓

Given a loop body with anchor, a fuel machine, and a mode bit, the variant of the loop controller whose body calls route every body emission directly to the physical output (instead of capturing it), while the fuel capture, counter countdown, and all administrative transitions are those of the original controller.

Let \(c\) be a configuration of the relocated fuel source on the forwarding host’s tape layout and \(t\) a time before which that source does not halt. Then the forwarding host run for \(t\) steps from the capture embedding of \(c\) equals the capture embedding of the fuel source run at time \(t\).

Lemma 212.196 Initial configuration of the forwarding host
✓

For every input word \(x\), the initial configuration of the forwarding host on \(x\) equals the capture embedding (with empty buffers and return phase zero) of the initial configuration of the relocated fuel source on \(x\).

Lemma 212.197 Input rewind in the forwarding host
✓

Let \(c\) be a configuration of the forwarding host in controller phase four. Then there is a time \(t\) at most the input-head position of \(c\) plus two after which the host sits in the startup body-call state with input head at position one and every other component of \(c\) unchanged.

Let \(w\) be a stored word and \(j \le |w|\). Starting the forwarding host in its fuel- rewind phase on a controller frame whose payload track is the buffer tape of \(w\) with payload head at cell \(j - 1\), after exactly \(j + 1\) steps the host is in the counter- copy phase with the payload head at cell zero and every other frame component unchanged.

Let \(p\) be the already-copied prefix and \(r\) the remaining fuel suffix. Starting the forwarding host in its counter-copy phase on a controller frame whose counter track is the buffer tape of \(p\) and whose payload track is the partially cleared copying tape, with both heads at cell \(|p|\), after exactly \(|r| + 1\) steps the host is in the synchronized-rewind phase with the counter track holding the full fuel word, the payload track blank, and both heads one cell left of the word’s right end.

Let \(w\) be the copied counter word and \(j \le |w|\). Starting the forwarding host in its synchronized-rewind phase on a controller frame whose counter track is the buffer tape of \(w\) and whose payload track is blank, with both heads at cell \(j - 1\), after exactly \(j + 1\) steps the host is in the input-rewind phase with both heads at cell zero and every other frame component unchanged.

Let \(w\) be the captured fuel word. Starting the forwarding host in controller phase zero on a frame whose counter track is blank and whose payload track is the buffer tape of \(w\) with payload head at cell \(|w|\), after exactly \(3|w| + 4\) steps the host is in the input-rewind phase with the counter track holding \(w\), the payload track blank, both heads at cell zero, and all inactive data unchanged.

Let the fuel machine compute, in time \(T\), the function sending each input \(x\) to the binary digit word of \(R(|x|)\). Then for every input \(x\) there are a halted fuel configuration \(c\) with output exactly that digit word and a time \(t \le 5\, T(|x|) + 7\) such that the forwarding host, run for \(t\) steps from its initial configuration on \(x\), reaches the prepared startup configuration built from \(c\).

Let \(c\) be a body configuration, \(w\) a counter word, and \(f\) a fuel configuration. One step of the forwarding host from the startup call on \(c\) with control removed, release clear, and flag \(\mathrm{false}\) yields the active call on \(c\) with control the anchor, release set, and no flag, changing no body, counter, or fuel data.

Let \(p\) and \(r\) be Boolean words. One step of the forwarding host from its borrow phase on a frame whose counter track is the buffer tape of \(p\) followed by \(r\) with counter head at \(|p|\) behaves as the standalone decrement machine: an empty \(r\) enters the underflow rewind, a leading \(\mathrm{true}\) writes \(\mathrm{false}\) and enters the success rewind, and a leading \(\mathrm{false}\) writes \(\mathrm{true}\) and continues the borrow. Only the counter track changes.

Let \(p\) and \(w\) be Boolean words and \(j\) the length of the maximal \(\mathrm{false}\) prefix of \(w\). Running the forwarding host for exactly \(j + 1\) steps from its borrow phase on a frame whose counter track holds \(p\) followed by \(w\) with head at \(|p|\) reaches the success- or underflow-rewind phase according to the decrement’s flag, with the counter track holding \(p\) followed by the decremented word and head at \(|p| + j - 1\).

Let \(w\) be a counter word, \(b\) a success bit, and \(j \le |w|\). Running the forwarding host for exactly \(j + 1\) steps from the rewind phase selected by \(b\) on a frame whose counter track is the buffer tape of \(w\) with head at cell \(j - 1\) returns the counter head to zero and dispatches: success releases the next anchor call, underflow enters the exhaustion phase without yet emitting.

Let \(w\) be a counter word and \(j\) the length of its maximal \(\mathrm{false}\) prefix. Then \(2j + 2 \le 2|w| + 2\), and running the forwarding host for exactly \(2j + 2\) steps from its borrow phase on a frame whose counter track is the buffer tape of \(w\) with head at zero ends with the counter track holding the decremented word, head at zero, in the released next-anchor call state on success and in the exhaustion phase on underflow.

Let \(c\) be a halted body configuration with empty output, \(w\) a counter word, and \(f\) a fuel configuration. Then there is a time \(t \le 2|w| + 4\) such that, from the stopped call on \(c\) with stop flag \(\mathrm{false}\): if the fixed-width decrement of \(w\) succeeds, the forwarding host at time \(t\) is at the released next-anchor call with the decremented counter word; otherwise the host at time \(t\) has halted with output empty in find mode and the single bit \(\mathrm{false}\) in decision mode.

Definition 212.209 Forwarded body configuration
✓

For a control embedding, a return state, an accumulated output prefix \(p\), and a source configuration \(c\), the host configuration that embeds \(c\) with one extra blank inactive tape, carries \(p\) followed by the output of \(c\) as physical output, and embeds the control of \(c\), using the return state when \(c\) has halted.

For every control embedding, return state, output prefix \(p\), source action \(a\), and source configuration \(c\): applying the padded forwarding action of \(a\) to the forwarded configuration of \(c\) equals the forwarded configuration of \(a\) applied to \(c\), appending the optional emitted bit after the accumulated prefix, including on a halting action.

Let a source machine and a host machine be given, together with a control embedding and a return state, such that on every embedded state the host transition is the padded forwarding of the source transition. If the source run from a configuration \(c\) stays live before time \(t\), then the host run for \(t\) steps from the forwarded configuration of \(c\) with prefix \(p\) equals the forwarded configuration of the source run at time \(t\) with the same prefix; the source may halt on the final action, whose emission is forwarded.

Definition 212.212 A forwarding body call
✓

For an output prefix \(p\), a startup marker, a body configuration \(c\), a release bit, an optional flag bit, a counter word, and a fuel configuration, the forwarding-host configuration whose body, counter, and fuel data are those of the padded stopped-body configuration under the forwarding discipline, whose physical output is \(p\) followed by the output of \(c\), and whose now-unused payload tape is blank with head at the origin.

For every output prefix \(p\), startup marker, body configuration \(c\), release bit, flag bit, counter word, and fuel configuration: the forwarding call equals the corresponding capturing call built on \(c\) with its output removed, with physical output replaced by \(p\) followed by the output of \(c\). The identity is between configurations only.

Let \(c\) be a configuration of the extended stopped-body source on the forwarding host’s layout, \(p\) an output prefix, and \(t\) a time before which that source does not halt. Then the forwarding host run for \(t\) steps from the forwarded embedding of \(c\) with prefix \(p\) equals the forwarded embedding of the source run at time \(t\) with the same prefix.

Let \(c\) be a body configuration, \(p\) an output prefix, and \(t\) a time at which the body run from \(c\) sits in the anchor state, with no earlier anchor visit except possibly a released step at time zero and with the release bit clear whenever \(t = 0\). Then the forwarding host, run for \(t + 1\) steps from the forwarding call on \(c\) with prefix \(p\), reaches the forwarding stopped call on the body run at time \(t\) with control removed, release clear, and stop flag \(\mathrm{false}\), the counter word and fuel residue unchanged.

Lemma 212.216 Empty-prefix forwarding calls are capturing calls
✓

For every startup marker, body configuration \(c\) with empty output, release bit, flag bit, counter word, and fuel configuration, the forwarding call on \(c\) with empty prefix equals the corresponding capturing call on \(c\).

Let \(s\) be a word, \(f\) a fuel configuration, and \(t\) a time such that the body, run from its initial configuration, first visits the anchor at time \(t\), arriving at the clean seam that carries \(s\) on work tape zero with all other work tapes blank. Then the forwarding host, run for \(t + 2\) steps from the prepared startup configuration, reaches the released call on that seam with counter word the output of \(f\) and fuel residue \(f\), with nothing emitted and no fuel debited.

Let \(s\) be a round word, \(w\) a counter word, \(f\) a fuel configuration, and \(t \gt 0\) a time such that the body, started at the clean anchor seam carrying \(s\), does not revisit the anchor strictly between times zero and \(t\) and at time \(t\) sits at the clean seam carrying the stepped word with output a chunk word \(u\). Then there is a time \(v \le t + 2|w| + 5\) such that from the released call on the seam of \(s\): when the fixed-width decrement of \(w\) succeeds, the forwarding host at time \(v\) is at the released call on the next seam with the decremented counter and physical output exactly \(u\); on underflow the host at time \(v\) has halted with output exactly \(u\) and no verdict bit.

Lemma 212.219 Prefix summation of emitting segments
✓

Let \(M\) be a multi-tape Turing machine over the Boolean alphabet, let \(c_0, \dots , c_{N-1}\) be configurations on a common input with empty outputs, let \(u_0, \dots , u_{N-1}\) be chunk words, and suppose \(N \gt 0\) and that for each \(i \lt N\), within \(B\) steps, the machine run from \(c_i\) reaches \(c_{i+1}\) with output exactly \(u_i\) when \(i + 1 \lt N\), and halts with output exactly \(u_i\) when \(i + 1 = N\). Then for every accumulated prefix \(p\), the machine run from \(c_0\) with output \(p\) halts within \(N \cdot B\) steps with output \(p\) followed by the concatenation \(u_0 u_1 \cdots u_{N-1}\) in order.

Let a loop body with anchor be given, a fuel machine computing the binary digits of \(R(|x|)\) in time \(T\), an invariant that holds at the initial word and is preserved by the step function, a startup reaching the initial seam within \(T(|x|)\) without visiting the anchor earlier, and a per-round contract: on every admissible word \(s\), in positive time at most \(T(|x|)\) with no early anchor revisit, the body moves from the clean seam of \(s\) to the clean seam of the stepped word while appending exactly the chunk word assigned to \((x, s)\) to its output. Then there are a finite machine \(E\) and a constant \(c\) such that \(E\) computes, within \(c (T(n) + 1)(R(n) + 2)\) steps on inputs of length \(n\), the concatenation of the chunks of the first \(R(|x|) + 1\) orbit points of the initial word, in order.

Let \(M\) be a bundled finite machine computing a function \(f\) on Boolean words in time \(T\). Then there are a machine \(C\) with a positive number of work tapes, control states called entry and exit, and a constant \(c\) such that for every native input \(x\) and argument \(a\): starting \(C\) at the canonical seam in the entry state with \(a\) as the sole tape-resident word (all other tapes blank, input head at one, empty output), there is a positive time \(t \le c\, (T(|a|) + |a| + |f(a)| + 1)\), before which the exit state is never visited, at which \(C\) is exactly at the canonical seam in the exit state carrying \(f(a)\) as the sole tape-resident word: the result installed, all scratch restored, nothing emitted, and the native input untouched.

Let \(M\) be a bundled finite machine computing a function \(f\) on Boolean words in time \(T\). Then there are a machine \(C\) with a positive number of work tapes, control states called entry and exit, and a constant \(c\) such that for every native input \(x\) and argument \(a\): starting \(C\) at the canonical seam in the entry state with \(a\) as the sole tape-resident word, there is a positive time \(t \le c\, (T(|a|) + |a| + |f(a)| + 1)\), before which the exit state is never visited, at which \(C\) is exactly at the entry seam with exit control and physical output \(f(a)\): the argument preserved on its tape, all scratch restored, and the computed word emitted.