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.
One-Tape Simulation Normal Forms
1 · Prerequisites
- Construction of the Natural Numbers
- Countability and Uncountability
- Finite Counting, Factorials and Binomial Coefficients
- Formal Languages, Encodings, and Decision Problems
- Linear Recurrences and Rational Generating Functions
- Relations, Functions, and Quotients
- The ZFC Axioms and the Basic Set Constructions
- Turing Machines, Configurations, and Computation
- Turing-Machine Configuration Boundary Interface
2 · Summary
This page fixes a stay-put extension of the right-infinite, clamped-left-boundary machine model and proves its reduction to ordinary left/right machines. The finite tagged-state construction preserves the whole tape and head at every macro boundary, including a transition into a halting state. The run argument gives an exact transition count and preserves acceptance, rejection and divergence in both directions. All arguments work in ZF without Choice.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Stay-put one-tape machines and their runs
Definition
A stay-put one-tape machine is a tuple with all the finite-set, alphabet and pairwise-distinct designated-state conditions of Deterministic one-tape Turing machines with designated accept and reject states, except that the total transition function is The three direction tags are distinct. There are no transition entries at either halting state.
A tape is a function with finite support . Write for the set of tapes and . For put and for . From a nonhalting , if , its successor is Here means the predecessor of a positive natural. This extends The one-step configuration relation. Write for exactly these steps; no halting configuration has a successor.
For a word , set when and otherwise, and . Accepting means , rejecting means , and halting means either equality. These are the formulas of Initial tapes and machine-relative halting configurations, now for the extended tuple.
A maximal run from is either a sequence with , each for , and halting, or an infinite sequence starting at with each consecutive pair a genuine step. A finite run accepts or rejects according to its last state; an infinite run diverges. There is exactly one maximal run from every configuration, as verified below. To recognize a language means to accept exactly its inputs; to decide it additionally means to halt on every input.
Facts & Assumptions
Given: Such a tuple and a configuration ; work in ZF without Choice.
The base tuple has a finite state set, finite alphabets and a total nonhalting transition function (Deterministic one-tape Turing machines with designated accept and reject states).
Ordinary one-step dynamics write only at the current cell and clamp a left move at zero (The one-step configuration relation).
Finite-support tapes, their configuration product, and the displayed input/halting formulas are defined from and the designated states (Initial tapes and machine-relative halting configurations).
A subset of a finite set is finite (A subset of a finite set is finite, with , and equality holds if and only if ).
A total self-map of a set, with a specified starting element, has a unique recursively iterated sequence on the naturals (The recursion theorem).
A property true at zero and preserved by successor holds on all naturals (The principle of mathematical induction).
Verification
As in the configuration-set construction of F3, separate finite-support functions inside to obtain , and take . These formulas use only the displayed sets and blank, so changing the direction codomain has no effect on their sethood. The graph of is the subset of given by . Exactly one clause supplies exactly one value in at each , so this is a total function.
Put . If , then is finite. Otherwise take a bijection , available by finiteness; extending it by gives a bijection , since the new value is outside the old range. This also works for and . At every the new value equals . Hence is finite by F4.
At a nonhalting state, totality supplies a unique . Exactly one head clause applies, and it returns a natural, including the clamped value zero. Together with the unique updated tape from the preceding steps this gives exactly one successor in . For this is the ordinary step formula, and for the head is unchanged. At a halting state the explicit nonhalting condition fails, so there is no successor.
Define by this successor on nonhalting configurations and by on halting ones. Its graph consists of these two disjoint prescriptions and is a set; it is total by the preceding step. F5 with , , supplies a unique satisfying and .
Every nonempty set of natural indices has a least member: take one and inspect the finite list . More formally, induction on proves that is empty or has a least member. At zero it is empty or . On adjoining , retain the old least member if there was one; otherwise the new intersection is empty or . At it is nonempty, and its least member is also least in , because every index outside this initial list exceeds . Thus, if ever halts, its first halting index exists.
If such exists, all for are nonhalting, so is a genuine finite maximal run. Otherwise every transition of is genuine and is an infinite maximal run. For any other run with the same start, equality holds at index zero; whenever both prefixes continue, equal nonhalting configurations have equal successors by uniqueness. Induction gives agreement at every common index. A finite maximal run cannot end earlier, since the corresponding would be nonhalting, and cannot continue past , where there is no successor. An infinite run cannot pass a finite either. This proves uniqueness and the exhaustive, disjoint accept/reject/diverge alternatives. The constant tail of after is never part of a computation.
For any input , the initial tape prescription assigns a unique value in at each index. Its support is exactly : blank exclusion makes every input cell nonblank and every other cell blank. Thus is a configuration. When the support is empty; when it is . If only the empty input exists, and is allowed. The start is nonhalting because the designated states are pairwise distinct. For an arbitrary already-halting start, the unique maximal run has zero transitions. These cover the degenerate inputs without a choice function or a false infinite halting tail.
Source conventions
Checkoway, Lecture 16, printed slide 3 (PDF p. 3) introduces the extra direction. The present totality domain excludes halting states. Savage, §5.1, Definition 5.1.1 and discussion, pp. 210–211 supplies finite control and a single-ended tape, but separates writes from moves and uses abnormal left-edge termination. Here writes accompany moves, the boundary clamps, and two distinct halting states determine the outcomes. Neither source's different convention is silently imported.
The right-left macro simulates one stay-put step
Statement
For every stay-put machine of Stay-put one-tape machines and their runs, there is an ordinary machine with state set , the same , and designated states . Call tag zero unmarked and tag one marked. Put .
Its complete transition table is as follows. For every nonhalting and , if , set For every and , including original halting states , set There are no other entries.
Each genuine step corresponds to exactly the segment from to the next unmarked configuration of : one step for , two for . In the latter case, if and , the sole interior configuration is , and it is nonhalting. Conversely every segment from an unmarked configuration to the next unmarked configuration arises in this way. An unmarked halting configuration has no such segment.
Facts & Assumptions
Given: A stay-put machine ; all tape positions are naturals and left moves clamp at zero. Work in ZF without Choice.
The extended interface gives a unique successor at each nonhalting configuration, none at halting ones, and the three head/write clauses (Stay-put one-tape machines and their runs).
Ordinary steps write at the scanned cell, move right by successor, and left by predecessor at a positive cell or by the zero clamp (The one-step configuration relation).
Finiteness means admitting a bijection with a natural initial segment (The cardinality of a finite set).
The product is a set of exactly the pairs with coordinates in (The Cartesian product ).
Ordered pairs are equal exactly when both coordinates are equal ( if and only if and ).
Induction holds for properties of naturals (The principle of mathematical induction).
Natural successor is injective and never zero (The von Neumann naturals form a Peano system).
Proof
The state product exists by F4. By F5, would imply , which is false by F7. Also implies . Thus marked and unmarked copies are disjoint even when the original state objects themselves are pairs; the three unmarked designated states remain pairwise distinct.
Take a bijection by F3. The tagged states over its first values form a finite set, by induction on . For this set is empty with its empty bijection. To pass to , append and then ; neither equals an earlier state, and they differ from each other by step 1.1 and injectivity of . If is a bijection and , the map agreeing with on and taking to is a bijection : old images stay distinct, the new image is fresh, and every target is old or . Applying this twice proves the induction step. At the finite set is exactly .
Every nonhalting simulator state is either with originally nonhalting, or for some . The former has a unique original entry and exactly one of the two displayed replacement clauses applies. The latter has the displayed return entry for each scanned symbol. The cases are disjoint and exhaust all required entries; outputs have state in the product, symbol in and direction in . The only states with no entries are the two unmarked halting states. Along with finite control and the unchanged finite alphabets, these checks establish that is a legal ordinary machine.
Suppose is nonhalting and with or . The first clause writes at , changes the state to , and applies the same as . Thus its successor is . It is already unmarked, so no earlier positive time in this segment is unmarked. This includes , where both heads remain zero.
For , put . The first simulator step is exactly . Its state is marked and hence nonhalting, even if or . Write . The forced return entry rewrites as , so its updated tape has and for every other ; consequently . The head is at a positive successor by F7, whose unique predecessor is , so the return ends at . At the head trace is . The symbol may be blank or any nonblank symbol; the whole tape equality used no assumption about it.
Conversely, an unmarked starting configuration has the unique form by F5. If is halting it has no successor. Otherwise its unique original entry has direction , or . The first two give the one-step segment of step 4.1. The third gives the marked first state and forced unmarked second state of step 4.2, with no unmarked interior. There is no fourth case and no freedom to take a different return transition. Thus all and only the next-unmarked segments are precisely the claimed simulations, in both directions.
Sources
The construction adapts Checkoway, Lecture 16, printed slide 9, final overlay (PDF p. 18). The tagged product makes freshness literal; the proof supplies finiteness, totality, the zero-boundary calculation and the halting-target check for the local model. Savage, §5.1, pp. 210–211 supplies finite-control context, not this exact macro or its clamped boundary convention.
Stay-put elimination with an explicit simulation interface
Statement
Let be any deterministic right-infinite stay-put one-tape machine. Let and be the ordinary simulator and configuration embedding of The right-left macro simulates one stay-put step. From any starting configuration , write for the unique maximal run of . For every index reached by this run, let count the stay-put transitions among its first transitions, and set . Then the run of from reaches at exactly the designated macro-boundary time ; this does not assert that the configuration cannot recur at other times.
The two maximal runs accept together, reject together, and diverge together. If the original halts after transitions, the simulator first halts after exactly transitions, with and the same head and entire tape, with original state represented by its unmarked copy. Thus on every input, including the empty input, the simulation preserves recognition, decision, and any fixed output read from the halting tape (or tape and head). Ordinary machines themselves form the subcase with no stay-put entries, so allowing stay-put moves changes neither the class of recognized languages nor that of decided languages.
Facts & Assumptions
Given: as above. A step count counts transitions, so an already-halting arbitrary start has count zero. Work in ZF without Choice.
The machine/run interface gives a unique maximal run, ending at the first halt or continuing infinitely, and fixes initial tapes and the two halting predicates (Stay-put one-tape machines and their runs).
Each original step expands to its unique next-unmarked segment of length one or two, preserving head and tape at its end; every interior configuration is marked and nonhalting (The right-left macro simulates one stay-put step).
A total self-map of a set with a specified start has a unique sequence of iterates (The recursion theorem).
A property with a base case and successor step holds on the naturals (The principle of mathematical induction).
Addition satisfies and (Addition of natural numbers); also (Left successor law for addition) and (Left identity for addition).
The relation means for some natural , and additionally means (Order on the natural numbers); it is a linear order ( is a linear order on ).
Adding a fixed natural preserves and reflects both weak and strict order (Order is compatible with addition).
iff , and no natural lies strictly between and (Discreteness: is the immediate successor).
Proof
Regard also as an extended machine with no entries; its ordinary and extended steps coincide. F1 gives its maximal run as well as that of . For formal counters use the set , starting at . At a nonhalting , take the unique successor and send the triple to for an entry and to for an entry. At a halting , leave the whole triple fixed. This is a total self-map, so F3 constructs its iterates. Restrict to the genuine indices of the original maximal run. Their coordinates are and is exactly the running count of entries: it starts at zero and increases by one precisely at such entries. No fixed tail is counted as genuine steps.
At index zero and the simulator starts at . Suppose it has reached and has a next step. F2 expands that step into precisely one simulator step for or two for , reaching at the recursively prescribed . There is no halt inside that segment. Applying induction to these finite expansions gives equality at every reached boundary, and supplies every transition in each expansion. If the original ends, apply induction up to its last index; otherwise apply it on all naturals.
We prove by induction. At zero, . In an step, , and . In an step, , and . Both identities follow by the two successor laws of F5. These are the only transition types, so the equation holds at every reached index.
Also . Nonnegativity follows since , a witness in F6. For the upper bound the base is . If , an step retains , where the second inequality has witness one. An step gives by F7. Thus induction proves the upper bound. To bound , induction using F5 shows that for every fixed and every , : the base is , and adding one to both sides preserves order by F7 and converts them into and . Take . The lower bound has witness . Hence .
For each reached , the times are partitioned by the first half-open segments , . This follows by induction: at the interval is empty; appending extends exactly to with disjoint interiors, because is or . By F8 the appended interval contains only its boundary , and in the second case also . Thus every covered time is either a macro boundary or the sole interior time of an macro. The latter has the marked nonhalting configuration calculated in F2.
If the original first halts at , then at each boundary for its unmarked simulator copy is nonhalting. Every other time before is a nonhalting interior by the partition. At the simulator is and is halting with exactly the same accept/reject designation, head and tape. Thus this is its first halt. Its time is and satisfies the stated bounds. This includes , when the partition is empty and both configurations already halt.
If the original is infinite, fix any simulator time . The boundary exists and satisfies by the bounds. Hence the finite expansion through that boundary includes time . The partition makes its configuration either the unmarked copy of a nonhalting original state or a marked interior state; in both cases it is nonhalting. Uniqueness of successors makes all these finite expansions agree where they overlap. Equivalently they agree with the unique identity-extended simulator sequence supplied by F1; every one of its times is nonhalting, so every transition is genuine. The simulator therefore diverges.
These implications are equivalences. If the simulator accepts, the original cannot be infinite by step 4.2 and cannot halt rejecting by step 4.1, so the exhaustive alternatives in F1 force original acceptance. The same argument exchanges acceptance and rejection. If the simulator diverges, step 4.1 rules out either finite original outcome, so the original diverges. The forward implications are already proved in steps 4.1 and 4.2.
For every input , unchanged alphabets and blank give the same initial tape , and the designated start of gives . For the empty word both initial tapes are wholly blank. Applying step 5.1 to these starts proves equality of accepted-input sets and preservation of halting on every input, hence of recognition and decision. At a finite halt the tapes and heads are equal by step 4.1, so applying any fixed output-reading function to them gives equal outputs. Conversely an ordinary machine is already a stay-put machine using only , with identical steps and runs, proving both inclusions for the two language classes.
Sources
Checkoway, Lecture 16, printed slides 8–10 (PDF pp. 14–19) supplies the inclusion and outcome-preserving simulation route. The counters, partition and exact time bounds are derived here for the specified model. Savage, §5.1, pp. 210–211 discusses language acceptance, decision and tape output with different machine conventions; the consequences here use the explicit local predicates.
5 · Examples, counterexamples and false statements
None yet.