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.
Kleene computation predicate and output map
Definition
Use the list coding of Fixed coding primitive recursive arithmetic and sequences. Write for repeated cons ending in zero, not for an interval. The index denotes the binary word obtained by deleting the leading from : these are exactly the binary words in length-lexicographic order, starting with the empty word. Parse it by A fixed effective binary encoding of deterministic one-tape Turing machines. Invalid codes and codes with fewer than two input letters denote the nowhere-defined numeric function. These conventions leave the published literal program syntax unchanged.
Fix an arity . Encode as the published word from Finite tuples admit effective prefix-free binary encodings, including its unary arity header. Replace each bit by the machine letters . This is the initial tape, followed by blanks, with state and head both zero. Unary inputs also carry the one-entry tuple wrapper. The empty parameter tuple for primitive recursion is not an arity-zero machine input in this interface.
For a decoded program with states and tape symbols, a configuration code is exactly , where and is a list of symbols less than . Require , and require either or the last symbol of is nonblank. Coordinates beyond are zero. Thus the represented tape has finite support and is trimmed exactly through the larger of the head position and last nonblank position. This is a unique list representation of a configuration in Configurations of a deterministic one-tape Turing machine. It avoids any ambiguity from overlap of numerical state and tape alphabets.
A history is a list of such configuration codes. The predicate holds precisely when: the program is valid with at least two input letters; is a nonempty history; its first entry is the initial configuration on the specified tuple; every entry except the last is nonhalting; each adjacent pair satisfies The one-step configuration relation; and the last entry is in state or with canonical numeric output. The output word is the maximal initial tape segment whose letters lie in , converted back to bits. It is canonical iff it is the single bit or starts with . The empty output is invalid, not the numeral zero. The last state being accept or reject does not change the numeric output convention.
The total function reads the last entry of the history as a triple, reads the initial bit segment of its tape list, and returns that numeral's value if it is canonical. If is empty, its last entry is not a triple with a nonempty tape list, or the output is not canonical, return zero. This syntactic function does not need a program parameter or claim the history is valid. The following lemma proves that and are PR; that fact is not assumed in this definition.
Write for the numerical output if the actual run halts with canonical output, and leave it undefined otherwise. For omit the superscript. A malformed program or invalid terminal output can be implemented as genuine divergence: a wrapper rejects its syntax into an endless rightward blank walk, and after simulating a halt enters the same loop if the terminal numeral is invalid. Thus this convention represents partial functions in the sense of Partial functions computed by a machine under fixed encodings, not a third numeric value for failure. The wrapper is an interpretation of an index; it does not change its raw word or assert that its original run diverges.
Depends on
- Fixed coding primitive recursive arithmetic and sequences
- A fixed effective binary encoding of deterministic one-tape Turing machines
- Configurations of a deterministic one-tape Turing machine
- The one-step configuration relation
- Partial functions computed by a machine under fixed encodings
- Finite tuples admit effective prefix-free binary encodings
Used by
Dependency tree · two levels
14 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
- Gallier §2.3, adapted from register configurations to the published machine syntax (standard reference, not scraped)