How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Clocked universal simulation with time and space bounds
Statement
There are two distinct fixed finite-alphabet multitape interpreters and . On valid each reproduces acceptance or rejection reached in at most simulated transitions, and rejects at expiry; malformed inputs halt rejecting. Put , including self-delimiting syntax, and let be the sum of visited simulated cells. For each fixed , the time cost of is and the visited space of is , including the decoder and clock. These bounds include . No fast-time bound is asserted for , and no linear- space bound for .
Facts & Assumptions
Given: Valid finite machine/input/clock data as in the statement. The two interpreters constructed below are distinct. Work without any choice principle.
External binary clocks are inputs; constructor time and workspace are separately charged (Machine time and space constructibility).
The fixed numeric machine coding uses canonical binary numerals and the prefix-free variable-arity tuple encoder , where (A fixed effective binary encoding of deterministic one-tape Turing machines).
Parsing and checking the finite description tuple gives a total decoder (The chosen machine coding is injective and has a total decoder). No running-time bound for that decoder is imported.
A deterministic -tape step reads scanned symbols, selects one transition, writes symbols and prescribes left/right moves (Multitape and nondeterministic Turing machine variants).
In the published one-tape interface, input occupies cells starting at zero, the head starts at zero, a left move at zero clamps there, and the initial state is nonhalting (Initial tapes and machine-relative halting configurations). Step 1.1 explicitly extends this convention tape by tape to the multitape syntax used here.
A step updates only the scanned cells, changes the state, and moves the heads as prescribed; no step starts from a halting state (The one-step configuration relation, tape by tape using F4).
Proof
Fix the input syntax first. A model tag distinguishes the published one-tape code from its following multitape extension. For the latter, encode the tape count , states with start/accept/reject , alphabet with blank0, and input alphabet , where and . List the transition entries in lexicographic order of for nonhalting . Each entry records one next state, written symbols and directions. Apply the tuple blocks from F2 to these canonical numerals. A tagged old code is the case with its original interpretation. The tag changes its length by a constant. For either tagged form, define the initial multitape configuration to have state0 and every head at cell0, with in cells of the first tape and every other cell of every tape blank; each tape uses F5's clamped left boundary. Encode the word by its tuple of canonical symbol numerals, explicitly allowing arity zero with code for the empty word. The outer tuple contains the program, word and canonical ; its self-delimiting syntax is included in the input-length accounting. These explicit extensions do not reinterpret any published one-tape code.
A finite parser reads unary lengths and the indicated blocks, verifies canonical numerals, the model tag, symbol/state ranges and the table's actual entry count, and rejects extra or missing bits. To check the expected count against an actual count , use integer arithmetic saturated at : when stop exponentiation as soon as it exceeds , and when the power is one. Thus an enormous malformed tape-count numeral cannot force an enormous allocation. All malformed inputs halt rejecting by finite scans and finite arithmetic loops. On valid inputs for a fixed , the whole program, , alphabet widths and table length are constants. Scan the word blocks once, consuming their unary length headers on spare tapes and checking each symbol against the fixed alphabet; copy the decoded word to a sequential archive. Validate/copy the binary clock by one scan. These routines cost time and space: every input bit is traversed a bounded number of times, except scans of fixed -data. The theorem claims no uniform time bound on malformed descriptions.
For the time interpreter, give each virtual tape a centre record and two ordered stacks of records extending outwards. Each record stores a tape symbol and an immutable origin bit, initially1 exactly at cell0. Writing changes only the symbol. The positive stack initially contains input cells1,2,... and then blanks on the first tape, and blanks on the others; the negative stacks initially contain blanks. Put , . On each side zone has capacity , with occupancy in ; holes use a distinct code, and ordinary blank symbols count as genuine records. Genuine records are packed at the near end in stack order. The two occupancies at each level sum to . Initially both are , and the centre is the initial scanned cell. Ignoring holes and concatenating the zones gives the exact two stacks. The base zone has capacity2 and half-occupancy1.
Construct separately. Use the same validated finite program and input archive, but store the virtual tapes as delimited rows of fixed-width symbol records with one head flag per row. Include cells through the larger of the last initially occupied input cell and the furthest cell so far visited. Other tapes start blank. Sweeps locate the flags and read their symbols; a scan of the fixed program table selects the transition. Further sweeps write the symbols and move each flag to its adjacent record, clamping at zero and appending a blank record when needed. Inserting a record can shift a finite suffix from its right end with one temporary record, or copy the rows to a spare tape of their total length. Update the state only after all rows' actions. These operations produce exactly the next configuration and keep no history. No fast-time bound for the sweeps is asserted.
For a move towards the positive stack, first write the old centre as prescribed and choose the least with nonempty right zone. All lower right zones are empty and their left partners full. Remove the first records from right zone . The first becomes the new centre; distribute the remaining in order into the lower right zones, with records in zone . Right occupancy at decreases by , from or to0 or . Prepend to the concatenated lower left zones. This list has records. Keep its first in the lower left zones, half in each, and prepend the remaining to left zone . Its old occupancy was0 or , hence its new occupancy is or . Order and complementary occupancy are preserved; every lower zone ends half-full. At the lower lists are empty and these formulas simply transfer one record to the centre and prepend the old centre on the other side.
Realize the buffers on a fixed number of physical tapes over a fixed alphabet of binary digits and finitely many marker codes. The interpreter does not acquire physical tapes or an alphabet . Instead a physical slot is a delimited block of fixed-width symbol/origin-or-hole fields. For fixed its width and the saved program-table length are constants. Two tapes store the outward left/right zone sequences; other fixed tapes store centres, table, archive, countdown and scratch lists. A zone has endpoint and midpoint markers and one three-valued occupancy flag per virtual tape. Scanning through zone traverses physical cells. If binary level labels are used their total length is also .
Interchange left and right for the negative-stack move. When a requested left move has the origin bit in its centre, perform the write but no stack move. Records retain their origin bits, so this is exactly the clamped convention and no auxiliary negative cell is scanned. A suitable source zone always exists, since untouched higher zones are half-full. Select the simulated transition from the original tuple of centre symbols, store its instructions, then process the buffer operations successively and update the state. Thus each completed simulated transition has exactly the writes, movements and state of ; one tape's redistribution does not alter another tape's fields.
Fix one virtual tape and . Let be total right occupancy below level , and . Initially . Every operation at level at least resets these lower zones to half-full, again leaving , including operations strictly above level . Between these resets, a positive-stack move at a lower level decreases by exactly1, a negative-stack move increases it by exactly1, and a clamped move leaves it unchanged: redistribution conserves all lower right records except the single transfer through the centre. An operation at level at least requires all lower source zones empty, so immediately before it or . Reaching either endpoint from needs at least preceding lower-level moves, followed by the triggering move.
Find the least nonempty source zone by scanning its occupancy flags. Copy the affected genuine sublists of the chosen virtual field to scratch in stack order, then scan back to distribute the explicit lists from step 4.1. Preserve other virtual fields, write holes in unoccupied slots, and update occupancy flags. Midpoint and endpoint markers determine all half-capacities without per-record unbounded arithmetic. A fixed number of copying/writing/return scans of this prefix and its scratch lists implements the redistribution, costing . To extend the allocated prefix, copy a unary marker of the previous zone's capacity twice, putting a midpoint between the copies. Each copy and return is linear, and writing the fields and updating the unary marker costs the new zone's length. The first zone is a literal layout. Thus allocation also costs . These are fixed finite-state scan/copy routines with saved finite program data; no random access or unit-cost large-integer operation is assumed.
Maintain a binary countdown initially . At each simulated configuration, test the state first and report its acceptance/rejection if halting. Otherwise reject if the countdown is zero; otherwise simulate one transition, decrement, and repeat. A whole-clock scan costs per transition, sufficient here without an additional amortization. A halt on the th transition is reported, while a still-nonhalting configuration at expiry rejects. At the nonhalting initial state rejects before simulation; at exactly one transition is allowed. A zero clock occupies one digit.
Consequently each event at level at least , including the first, is separated from the previous reset or the start by at least simulated transitions. Among transitions there are at most such events, and in particular at most that many events exactly at level . Higher resets are themselves counted events and cannot bypass this argument. There are at most level-zero events, and no level with is reached. This count applies separately to each of the fixed virtual tapes.
The convenient physical scan routines may use stationary heads. Compile this fixed physical machine to the left/right-only model by storing logical cell at physical cell . Implement each logical step by two physical steps: a right request uses , a left request , and a stationary request . On the first step write the desired logical symbol and retain the finite tuple of pending moves in finite control; on the second preserve the currently scanned symbol and complete the movement. Intermediate odd cells have no logical role. A left request at zero clamps at zero on both steps. All heads again lie at the prescribed even cells, including mixed moving/stationary requests. The fixed number of physical heads makes the pending tuple finite-control data. This initial spacing also has a left/right-only linear implementation: process two input symbols per four steps, with source moves and destination moves . Read the first symbol in the first step and the second in the second step, and write them at the destination even positions in the first and third steps. Ignore intermediate reads and preserve odd cells. One temporary symbol fits in finite control; an odd final symbol is paired with blank. The input delimiter detects the end, and a return sweep to marked cell zero is linear. Other unused heads oscillate in a four-step cycle. A spare tape receives the spaced input; the original raw-input tape is thereafter ignored. Thus initial spacing does not assume the stationary-head capability that is being compiled away. This compilation changes time and visited space by constant factors, plus input preparation.
Initialize only the centres, retaining the archive head at input position1; do not distribute the whole word into buffers. Unallocated zones mean their untouched initial half-full lists. On first reaching a new global level , initialize its right half-list for the first virtual tape from the next archive symbols, then blanks if the archive is exhausted; all other tape fields and the left halves initially receive blanks. Fill unused halves with holes. Initially that right zone represents positions . Operations below it leave this suffix unchanged, and new levels are allocated in increasing order, so the archive is exactly at the next untouched interval. If another virtual tape forces allocation first, initialize all fields of that zone then. Each symbol is read from the archive at most once and no scan back through the long input is needed. Allocation is charged to the first event reaching that level as in step 6.2. For there is only the initial archive scan plus the lazily reached buffer prefix, not preprocessing.
If is the visited extent on tape , the first row has at most records and every other row at most . Including fixed-width symbols, delimiters, saved code/input and scratch copies gives visited cells. Since a head starts at zero and moves by adjacent steps, its visited cells form this initial interval; their sum is the statement's , up to the harmless fixed endpoint convention. Add the -cell countdown and use the test-before-expiry loop of step 6.3. The finite valid-input decoder and saved tables use space by step 2.1. Spacing and the two-step physical compilation of step 7.2 change only constants. Hence this distinct interpreter uses visited space.
For , steps 7.1 and 6.2 bound the total buffer work on all virtual tapes by Initialization costs , table/centre processing , and clock work . Including the fixed compilation gives . At no buffer or transition work occurs and the constant clock length is absorbed by the nonempty encoded-input syntax. This constructs . No linear visited-space claim for its buffers has been used or proved.
Both interpreters halt rejecting malformed encodings, and reproduce the same bounded acceptance/rejection behavior on valid inputs by the configuration invariants and expiry test. Neither interpreter's resource proof is imported into the other. If the clock is produced by a constructor rather than supplied, add that constructor's separately declared time/workspace. All choices above are explicit finite scans and prescribed lists; no choice axiom is used.
Depends on
- Machine time and space constructibility
- A fixed effective binary encoding of deterministic one-tape Turing machines
- The chosen machine coding is injective and has a total decoder
- Multitape and nondeterministic Turing machine variants
- Initial tapes and machine-relative halting configurations
- The one-step configuration relation
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
19 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.