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.
Nondeterministic Recursive Padding and Time Separation
1 · Prerequisites
- Construction of the Natural Numbers
- Countability and Uncountability
- Effective Numberings, Reductions, Resources, and Randomness
- Finite Counting, Factorials and Binomial Coefficients
- Formal Languages, Encodings, and Decision Problems
- Linear Recurrences and Rational Generating Functions
- Relations, Functions, and Quotients
- Resource Bounds and Machine Invariance
- Robust Machine Models and Universal Computation
- The ZFC Axioms and the Basic Set Constructions
- Turing Machines, Configurations, and Computation
2 · Summary
The distinction between shortest accepting time and all-branch running time matters throughout this page. A finite display/action verifier gives linear two-tape acceptance simulation, a padded code gives a genuinely linear prefix validator, and a literal compiler supplies quantitative self-reference without a deterministic search through branches. Union and cutoff constructions record their actual timing guarantees.
Repeated unary diagonalization first rules out a common recursive bound for all recursive unary languages. The main theorem then proves the identity-padding separation by two downward inductions with explicit fixed machine constants. Its single universal cutoff language lies in the all-branch class NTIME(T) and lies outside every stated shifted little-o lower class, without assuming monotonicity. The page uses effective finite constructions and no Axiom of Choice.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Nondeterministic acceptance time and exact clocks
Definition
For a fixed finitely branching nondeterministic multitape machine , let be the minimum length of an accepting branch, or if there is none. The minimum of a nonempty set of natural lengths exists by searching lengths in increasing order. This extends the existential acceptance convention in Accepting computations of a nondeterministic machine to the finite-valued multitape transition map in The classes DTIME, NTIME, DSPACE, and NSPACE. Nonaccepting branches may diverge. For a finite integer , acceptance within means . For , put . The acceptance-time class for consists of languages with on their accepted inputs, uniformly in the input and with fixed machine-dependent constants.
This differs at the machine level from the maximum-branch convention in Worst-case time and space complexity of a machine. The library class NTIME uses all-branch halting as in The classes DTIME, NTIME, DSPACE, and NSPACE. Big-O and little-o have the zero-safe and finite-exception meanings in Uniform asymptotic time space comparison.
An exact clock for here is a deterministic fixed multitape machine that halts after exactly transitions on every binary input of length . Its initial state is nonhalting, so . We do not require monotonicity. The exact-clock clause of Machine time and space constructibility motivates the terminology but its separate nondecreasing guard is not imported into this local definition; a unary-only clock can be run after copying a binary input to unary, paying preprocessing time. No equivalence with an output constructor is asserted.
For an acceptor and such a clock, copy the input for to one tape set and simultaneously write one binary per input symbol to the clock's input tape, producing even when has a nonbinary input alphabet. Then perform one simulated transition of each machine per round. Check acceptance at the initial instant and after each N-transition, including the last allowed one; after the clock's th transition reject if no acceptance has occurred. Missing transition options count as rejecting branches. This recognizes exactly : an accepting branch of length at most T survives, and every surviving acceptance came from such a branch. Every branch terminates in real transitions. Temporary stay-put bookkeeping is implementable in the L/R-only model by a two-move excursion right and left, returning to the same cell even at zero, with intermediate states not halting.
To retain a bound rather than just , run C clock copies sequentially while continuing N for one step per simulated clock transition; for a fixed integer C this is still . Resets or prebuilt copies cost the same order. If an acceptor recognizes a language within and , choose C covering the tail bound and the finitely many accepting exceptions (T is positive there). This yields an all-branch machine for the same language in NTIME(T). There is no such conversion asserted for arbitrary unclocked recursive b.
Linear acceptance-time simulation on two tapes
Statement
For every fixed finitely branching nondeterministic -tape machine there is a nondeterministic two-tape machine recognizing the same language, with constants such that whenever accepts . Every accepting branch of verifies a genuine accepting branch of . The tapes are semi-infinite and left-clamped.
Facts & Assumptions
Given: A fixed finite transition table and positive tape count .
Shortest acceptance, finite branching and the clamped L/R model, including constant-overhead bookkeeping macros, are fixed in Nondeterministic acceptance time and exact clocks.
Each transition reads one symbol per tape, writes one symbol per tape and moves each head one position (Multitape and nondeterministic Turing machine variants).
Proof
A display consists only of the state and the scanned symbols, not whole tape configurations. Guess on tape two a sequence of displays and chosen instructions, ending with a delimiter. Each display and instruction is one letter from a finite alphabet depending on M. While guessing, check that has the initial state, each is allowed for the state and scanned symbols in , its target state is that of , and only the last display has an accepting state. Reject premature halting states. A branch may guess forever, which is permitted for an acceptor; finite guesses cost .
Rewind tape two. Use tape one, still containing the original input, as the first simulated tape. For each , compare its actual scanned symbol with the first-tape component of , rejecting a mismatch, then perform on tape one the write and move specified by . Advance tape two to the next display. At also check the final scanned symbol. During this pass both heads move only constantly many times per record; tape one's head physically follows the simulated head, so a left move at zero is automatically clamped. Input symbols never visited retain their input values.
Before the next virtual-tape pass, erase tape one and return its head to zero. This can be done in time: initially scan the input and mark an extra right delimiter beyond its extent; maintain a track marking the furthest initialized or visited cell, moving the frontier mark one cell when a replay first reaches it. The replayed tape symbols occupy a separate track, so the delimiter/zero marks do not alter comparisons. A sweep from zero through this frontier erases the tape, and a reverse sweep returns to zero. It lies within . Rewind the display tape, whose length is , and replay the second virtual tape starting blank. Repeat for each remaining tape, always comparing its own component of every display and executing that component of each action. There are exactly k passes.
On an accepting verification, each tape's replay proves by induction on j that its displayed scanned symbols agree with the tape contents obtained from the input and the preceding actions. The state checks and instruction checks were already made while guessing. Hence all components together satisfy M's full transition table at every step and the last state accepts. Conversely the displays/actions of any accepting t-step computation pass all these tests. This proves language equality and the stated soundness for every accepting branch, even if other guesses diverge or reject.
The initial input scan, guessing, k replay passes, k erasures and rewinds together take at most transitions for one fixed . Use a shortest accepting computation and absorb the additive constant into d. Empty input only requires its marked blank zero cell, and t=0 could be checked by the same display procedure, though the fixed distinct initial/accepting states forbid an actual zero-step accepting run. All choices are finite instruction guesses; no AC is used.
Prefix program codes admit linear nondeterministic universal simulation
Statement
There is an effective prefix-free coding of finite nondeterministic two-tape machines over binary inputs whose valid-code language is decidable in time. One fixed nondeterministic two-tape machine recognizes precisely . For each fixed valid there are constants such that on accepted inputs.
Facts & Assumptions
Given: Numeric finite-table descriptions of nondeterministic two-tape machines, with two distinguished binary input symbols and distinct initial/halting states.
Finite machine data admit explicit self-delimiting numeric tuple descriptions (A fixed effective binary encoding of deterministic one-tape Turing machines).
Parsing and checking a finite table is total and uniquely recovers its specified machine (The chosen machine coding is injective and has a total decoder).
A fixed nondeterministic multitape acceptor can be converted to two tapes with shortest-acceptance overhead (Linear acceptance-time simulation on two tapes).
Proof
Adapt the finite table in F1 as follows. A payload d lists the state/alphabet sizes, and for each nonhalting state and pair of scanned symbols a finite list of target states, two written symbols and two L/R bits, in fixed lexicographic order without duplicates. Use the same unary-length-prefixed canonical numeral blocks and tuple-arity header. A deterministic fixed multitape decoder D parses d and checks all bounds, lengths and ordering, accepting exactly canonical valid tables. It halts on every d: all loops inspect finite parsed lists or finite integers from them. The same unique-decoding argument as F2 applies to these longer rows. Let be D's exact number of transitions on d. It is a total recursive function, obtained by running D and counting.
Define for valid payloads. The first field uniquely ends at d's last bit, and the first zero thereafter uniquely ends the padding. Thus no valid code is a proper prefix of another, and distinct payloads give distinct codes. To validate a word, first recover d and prepare a copy on D's input tapes, costing . Then run one step of D while advancing a separate head by one padding symbol. Reject an early zero or blank before D halts, and after its r(d) steps require the next symbol to be the padding's terminal zero and no trailing input. Reject also if D rejects d. A too-short malformed word is rejected as soon as the available padding expires; the validator never completes an arbitrarily long D run after input exhaustion. This gives time on all words, not only on valid codes.
For universal recognition use the same parsing but regard everything after the terminal zero as data x. If parsing fails, reject. A fixed multitape interpreter stores the decoded table on one tape, the two simulated tapes in binary symbol blocks on two tapes, and the state and temporary fields on a fixed number of scratch tapes. For each fixed e, symbol blocks have a fixed width depending on e; translating the input into such blocks costs . At each step the interpreter reads the two current blocks, scans the stored finite table to find precisely the listed instruction options, guesses one, updates the two blocks and state, and moves the simulated heads to adjacent blocks. Boundary flags on block zero implement the clamped move. Scratch heads return to their bounded working zones after each step. Program and field scans cost a constant depending on e, never on x or the number of simulated steps.
Every interpreter branch therefore corresponds to an actual instruction sequence, and accepts exactly at a simulated accepting state. Every accepting t-step run of yields a branch taking at most interpreter steps, including code parsing; the fixed parsing cost is absorbed into . Infinite computations need not halt. Apply F3 once to this one fixed interpreter, not separately to each code, obtaining one two-tape U. Its constant simulation factor and the input length yield constants with the asserted bound. Empty data x is allowed; an invalid or incomplete prefix gives no accepting branch. No decoding-time bound for the unpadded legacy syntax was assumed.
Time-controlled self-reference for nondeterministic machines
Statement
Let be a total effective compiler mapping valid two-tape prefix codes to codes for nondeterministic two-tape acceptors . One can effectively construct a valid code with and constants , fixed for this construction, such that on accepted inputs. This is extensional language equality, not code equality. In particular for any fixed two-tape acceptor A, one obtains with and .
Facts & Assumptions
Given: A total compiler h on valid prefix codes, with the concrete finite syntax fixed below.
Prefix tables can be effectively encoded/decoded, and one fixed two-tape interpreter has linear shortest-time overhead for each fixed target code (Prefix program codes admit linear nondeterministic universal simulation).
Specialization by literal parameter compilation is effective; the published s-m-n theorem asserts extensional equality, without a time estimate (Smn for the fixed acceptable numbering).
The published fixed-point theorem likewise asserts equality of partial functions, not a time or code equality (Kleene fixed point theorem for program indices).
Proof
Define an explicit compiler f on valid two-tape codes d. Its output describes a machine which, on x on tape one and blank tape two, writes literal d on tape two, returns that head to zero, then executes the table described by d from its start state, with that nonblank second tape. The extra states are finite literal-writing and return chains. Tape one is preserved; a stay can be replaced by a right/left excursion, including at zero. Finally encode the whole finite table with F1's code scheme. This is effective specialization in the sense of F2, here implemented directly in the target syntax rather than through a semantic recognizer. Code-padding computation is allowed to be slow: f is only required to halt.
Construct a two-tape program Q which expects x on tape one and a valid d on tape two. It first computes and , both terminating. It then arranges on tape one with all other tracks blank and runs the fixed interpreter of F1. These operations are effective two-tape algorithms: finite computation on d can use scratch tracks on the two tapes while preserving an input track for x; after computing the finite prefix, shift x right by its length with a reverse scan, write the prefix, and erase scratch tracks. Any temporary stay is replaced by the same two-move macro. Let q be the code of this finite Q table and put . Both q and are obtained by finite code generation.
On ordinary input x, first writes q on tape two and then runs Q. Q consequently computes and then , and interprets precisely on x. The compiler calculations terminate independently of whether that acceptor has a branch which halts. F1 gives language equality in both directions, including when the language is empty. This proves the desired fixed point directly; F3's extensional theorem alone would not provide the quantitative assertion below.
All computation on q, and now concerns fixed finite strings, so takes a fixed number of steps and uses a fixed finite amount of scratch space, independent of x. Preserving and shifting x for the final fixed prefix costs at most for a fixed A. F1 bounds the interpreter run by , where B and E depend only on the fixed target code . Add these costs to obtain C,D as stated. No deterministic dovetailing of branches occurs, so no exponential search has been concealed in C.
For the final specialization let be the finite program which prepends literal e to its input and directly runs A. This compiler is total and its per-e preprocessing is on semi-infinite tapes; hence . Insert this estimate in step 4.1. Empty x still permits the literal-prefix writing; zero accepting time is neither needed nor manufactured. All parameters and constants are fixed by explicit compilation, with no AC.
Clocks, cutoffs, and finite unions preserve nondeterministic time bounds
Statement
For fixed acceptors A,B there are acceptors for and with shortest acceptance bounded respectively by and on the corresponding accepted inputs. Exact-clock cutoffs have all-branch-halting machines with time . These machines can be converted to two-tape acceptors with fixed linear shortest-acceptance overhead; all-branch bounds are asserted for the clocked constructions, not for an unclocked guessing simulator.
Facts & Assumptions
Given: Fixed finite descriptions A,B and, when used, an exact clock T.
Shortest acceptance and the inclusive last-round cutoff clock are defined in Nondeterministic acceptance time and exact clocks.
Two-tape normalization preserves the language and costs on a shortest accepting branch (Linear acceptance-time simulation on two tapes).
Proof
For union, make an initial nondeterministic choice between two tagged branches. Copy the input to the selected machine's disjoint tapes and run it, accepting only on its acceptance. Thus a resulting accepting branch supplies acceptance by A or B, and each such acceptance supplies a branch of the union machine. Copy and setup cost at most ; use the faster accepting alternative to obtain the displayed minimum bound, interpreting the other alternative as infinity when necessary. A divergent unselected computation has no effect.
For intersection, prepare two input copies on disjoint tape sets. Simulate A, and only after an accepting branch of A continue with B on its untouched copy; accept only when B also accepts. A successful branch therefore witnesses both memberships. Conversely concatenate any two finite accepting instruction sequences, using the two independent copies. Their combined length plus copying cost is bounded by for a fixed c. If either machine has no accepting branch, no combined branch accepts.
For a cutoff, simulate A and its exact clock in rounds on disjoint tapes, testing A's acceptance no later than the inclusive last round. Every branch rejects at expiry unless already accepted. This recognizes precisely and halts on every branch within . For a fixed integer factor in the desired cutoff, use that many sequential clock runs as in F1. Finite unions/intersections of such clocked machines also halt on every branch, since there are finitely many sequential calls each with a bound; the corresponding min/sum estimates for acceptance remain valid.
Apply F2 to any of the fixed acceptors above if two tapes are required, multiplying the bounds by a fixed constant and adding . This does not by itself claim that the normalized machine halts on every branch; its guessing phase may diverge. When an all-branch result is required, use the direct clocked multitape construction from step 1.3, or separately supply and run an adequate clock after normalization. Empty inputs cost a constant; if both union languages are empty or one intersection language is empty, the construction correctly has no accepting branch. No choice beyond two finite alternatives is used.
No recursive bound covers all recursive unary languages
Statement
For every total recursive there is a recursive unary language which no nondeterministic finite-tape machine recognizes with shortest acceptance time . The assertion permits zero values of b, arbitrary fixed machine constants and finite exceptional lengths.
Facts & Assumptions
Given: One total algorithm computing b on natural inputs.
Nondeterministic machines have finite descriptions and finite branching; shortest-time bounds are uniform on the accepted inputs after a finite threshold (Nondeterministic acceptance time and exact clocks).
Proof
Enumerate all finite-tape nondeterministic machines, without a time claim for the enumeration. To be explicit, prepend a positive tape count to a finite numeric table: state/alphabet sizes and a list of allowed instructions for each state and -symbol tuple, each instruction giving a state, written symbols and direction bits. This elementary enumeration needs no universal-simulation theorem. Encode each natural by the self-delimiting word , where is its ordinary binary notation (use for zero). Prepend the number of table entries, then encode each entry's number of fields and its fields by these words. Decoding is total on finite input strings: read the unary length up to the first zero and then exactly that many bits; if either segment ends early, or trailing bits remain after the advertised entries, declare the code invalid. Once and the finite state and alphabet sizes are recovered, check the source-tuple list, each instruction's fixed arity, and all finite state/symbol/direction bounds. Invalid strings denote a fixed rejecting machine. Enumerate all binary strings by length and lexicographic order. Every actual finite table has a valid encoding and hence occurs at some index . Enumerate triples with by increasing , lexicographically within each finite diagonal. Assign the th triple to length . Each pair consequently appears at infinitely many, hence unbounded, lengths.
On input , find its assigned , compute b(n), and exhaust the finite computation tree of on through depth . This is a terminating deterministic calculation: at each node the table has finitely many options, and the depth is a computed natural number. Decide membership in R by the opposite of whether any accepting node occurs by that depth. Reject nonunary words if a binary decider is desired. This makes R recursive with no claimed efficient bound. At b(n)=0 inspect just the initial node, so the construction still terminates.
Suppose some recognizes R with shortest-time bound at all accepted lengths . Choose an integer and an assigned length for the pair , possible by step 1.1. If the bounded tree contains acceptance, the construction declares although accepts it. If it contains no acceptance, it declares , so the supposed recognition and time bound give an accepting branch of length at most , again contrary to the tree result. Both alternatives contradict the assumption.
Therefore R has the claimed property. Repeating each pair at unbounded lengths, rather than merely enlarging c, handles finite exceptions even when b vanishes there. The enumeration, bounded tree search and selecting the first assigned length above N are effective finite or natural-number constructions and require no AC. No two-tape time normalization was used, so the result remains valid for sublinear or zero b.
Nondeterministic recursive-padding separation
Statement
Let have an exact clock and satisfy . There is one binary language such that for every total recursive with , one has . These are the library's all-branch-halting classes with constants fixed per machine. No monotonicity of T or a is assumed.
Facts & Assumptions
Given: A fixed exact clock T. All intermediate unclocked machines below are acceptors measured by shortest accepting time.
Exact clocks are positive, cutoffs are inclusive, and a T-clocked acceptor has all-branch time (Nondeterministic acceptance time and exact clocks).
Fixed multitape acceptors have two-tape simulations with linear shortest-time overhead (Linear acceptance-time simulation on two tapes).
There is a fixed prefix universal U with per-code linear acceptance bounds (Prefix program codes admit linear nondeterministic universal simulation).
A fixed two-tape A has a code e with and shortest-time bound (Time-controlled self-reference for nondeterministic machines).
Union and clock cutoffs have explicit fixed-constant machines (Clocks, cutoffs, and finite unions preserve nondeterministic time bounds).
No recursive bound covers all recursive unary languages even in shortest-acceptance time (No recursive bound covers all recursive unary languages).
Little-o means every fixed multiple is eventually bounded by the comparison function, with no monotonicity implicit (Uniform asymptotic time space comparison).
Proof
Define . The direct clocked construction in F1 halts on every branch and accepts exactly this cutoff. Since T is positive and , its time is , so . L depends only on U and T. Fix any candidate a as in the statement and suppose an all-branch machine B recognizes L in . Let V be the union acceptor for B and U from F5. Because , it recognizes exactly . For a sufficiently large fixed integer K, whenever its shortest V-time is at most , where . Enlarge K to cover all finitely many accepted short strings: A is positive there. Thus and , since .
Fix for now an arbitrary recursive unary language R and a deterministic decider D for it. Let r(m) be D's finite running time on . Construct a multitape acceptor H as follows. Parse its input uniquely as with valid prefix e; after e, take the maximal initial run of ones and then require only zeros. Reject malformed strings. Simulate D on for at most k steps, counting this budget by a unary copy of the zero suffix. If D halts by that instant, accept or reject according to D. Otherwise, nondeterministically extend the zero suffix to some and run V on , accepting just when V does. A branch may extend forever. Parsing, bounded simulation and copying cost ; in the recursive case preparation costs before the direct V run. No computation of the possibly enormous r(m) is needed before the bounded test.
Apply F2 to H and F4 to its resulting two-tape acceptor. Obtain a fixed code and acceptor P= with . Put , , , and . Combining the two fixed linear overheads with step 1.2 gives an integer , independent of m,k,k', such that on accepted instances: The second inequality uses the branch which chooses that particular k'. Additive compiler constants and the input-copy terms are absorbed using . By F3 choose with whenever P accepts. These constants are fixed after R,D,V and are fixed, before any length induction.
First prove the language identity iff for every m,k. For every , H's bounded D-test finishes and gives exactly R's answer. Now descend through , assuming the identity for all larger k'. The compiler identity and H's recursive branch give iff some with . Since and e0 is valid, this is equivalent to some . The induction hypothesis makes it equivalent to : if R answers yes, take ; if no, no larger k' works. This is a finite downward induction below a base range, not an inference from an ungrounded recursive call.
For take in the second estimate of step 2.1, which applies whenever : . If also , then , the step-down estimate used in the second induction below; since by step 1.1 it is in particular at most .
Set and choose such that for all , possible by F7. Fix a yes input with . We prove by a second downward induction on k, starting from the entire range , that and . In the base range the first expression is at most . Therefore U accepts within its exact T-cutoff, so and the bound for V follows from step 1.1.
For the step from to the induction hypothesis gives ; hence and step 3.2 applies, so The middle inequality uses . Thus again lies in the actual U-cutoff L, yielding . This closes the second induction without comparing T at different arguments. In particular for every sufficiently long yes input. The original zero suffix may be empty; k=0 is exactly the last induction case. [step 1.1, step 2.1, step 3.2]
Filter P's inputs to unary words by a complete scan costing , rejecting nonunary words. For a fixed threshold covering the preceding finite exceptions, a literal finite trie can decide all unary strings with by D's computed answers; on longer inputs run the filtered P. Step 3.1 proves exact recognition of R for all lengths. Now define the single positive recursive function . It is recursive because running the fixed exact clock on each finite length computes T. For , , without any monotonicity hypothesis. Therefore this acceptor of R has shortest acceptance ; the finite trie costs and finitely many exceptional values are absorbed since b is everywhere positive. Crucially b depends only on T, not on the arbitrary recursive unary language R. This contradicts F6.
Hence no such B exists for the fixed candidate a. Because step 1.1 chose the same cutoff L before a, this excludes the union over all the stated recursive lower bounds, not merely one separately chosen lower bound. If there are no such a, the exclusion is vacuous and the same clocked L still supplies membership. All searches, branch guesses and code constructions are finite or computable; thresholds are fixed natural witnesses to little-o and do not invoke AC. The all-branch claim is exactly the clocked membership proved in step 1.1.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Seiferas, Fischer, and Meyer, pp. 147-148
- Seiferas, Fischer, and Meyer, Lemma 3, pp. 149-150
- Seiferas, Fischer, and Meyer, coding conditions (1)-(3), p. 152
- Seiferas, Fischer, and Meyer, Lemma 6, p. 152
- Seiferas, Fischer, and Meyer, Lemma 1 and clock discussion, pp. 148-149
- Seiferas, Fischer, and Meyer, Corollary 2.1, p. 148
- Seiferas, Fischer, and Meyer, Theorem 4 and Corollary 4.1, pp. 152-155
- Kabanets, CMPT 710 Lecture 10, Theorem 2
- Vadhan, CS221 Lecture 6, Theorem 6