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.
The one-step update on coded Turing configurations is primitive recursive
Statement
For a configuration , let be the larger of and the rightmost nonblank tape position, taking the latter to be when the tape is blank. Define its configuration code by
There is a primitive recursive total function such that, whenever is a valid machine code and is the chosen code of a configuration of :
- if is nonhalting and , then
- if is halting, then .
On malformed inputs, returns a fixed default code.
Facts & Assumptions
Given: The machine code and configuration code .
A coded machine is given by a finite tuple recording its state count, input-alphabet size, tape-alphabet size, and lexicographically ordered transition triples, and the code is effectively decodable, by A fixed effective binary encoding of deterministic one-tape Turing machines and The chosen machine coding is injective and has a total decoder.
A configuration of a one-tape machine is determined by its current state, head position, and finite tape data, and one step changes only the scanned symbol, the state, and the head position according to Configurations of a deterministic one-tape Turing machine and The one-step configuration relation.
For the chosen natural-number coding of finite sequences, the decoded length and any decoded coordinate are primitive recursive, by The sequence-length and coordinate-reading functions are primitive recursive.
Basic arithmetic, characteristic functions, and bounded searches are primitive recursive, by Basic arithmetic operations and bounded quantification are primitive recursive.
Proof
By the configuration-code definition in the statement and [L3], primitive recursive functions recover from the decoded length of the tuple, its first two entries , the currently scanned symbol , and any later tape symbol that may need to be copied into the output code.
Using the explicit tuple format from [L1], together with the primitive-recursive arithmetic and bounded searches from [L4], one can scan the canonical binary numeral of : count the initial unary arity header, locate each self-delimiting block, verify the tuple-length and alphabet constraints, and recover the first three numerals and every transition-table coordinate, returning the default branch on malformed inputs. A bounded search through the recovered transition list therefore finds the unique transition triple attached to the pair when is nonhalting. Using [L2] and the decoded tape coordinates from step 1.1, form the updated tape, state, and head position . Then use a bounded backward search through positions at most to find the rightmost nonblank updated cell, taking if none exists, and set to the maximum of that position and . The output tuple is exactly , so erasing the former rightmost nonblank cell trims the trailing blank while a head move onto a blank cell still records the head position.
If the decoded state is already accepting or rejecting, step 2.1 is skipped and the output is the original code . If the input code is malformed, return one fixed default code. These are again primitive-recursive case distinctions because the relevant checks are bounded and finite.
Re-encoding the canonically trimmed updated sequence from step 2.1 uses only primitive-recursive arithmetic on its boundedly many coordinates, so the total function is primitive recursive and has the stated behavior.
Depends on
- A fixed effective binary encoding of deterministic one-tape Turing machines
- The chosen machine coding is injective and has a total decoder
- Configurations of a deterministic one-tape Turing machine
- The one-step configuration relation
- The sequence-length and coordinate-reading functions are primitive recursive
- Basic arithmetic operations and bounded quantification are primitive recursive
Used by
- Kleene's T-predicate and output function Definition
Dependency tree · two levels
13 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.
Sources
- Richard Zach, Computability Theory (standard reference, not scraped)
- Jeremy Avigad and Richard Zach, Recursive Functions (standard reference, not scraped)