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.
Resource Bounds and Machine Invariance: Examples and Counterexamples
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
- 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
These examples keep the page's asymptotic claims concrete. One turns a specific quadratic time bound directly into a quadratic space bound, another changes between two explicitly translated tuple encodings, and the counterexample returns to the standard single-tape versus multitape slowdown to show why model invariance is only asymptotic.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
A machine that runs in O(n^2) time necessarily uses at most O(n^2) space
Example
Let be a decider that, on an input of length , makes at most steps. For instance, might repeatedly sweep across the input while keeping only a bounded amount of auxiliary control information. Then the time-bound lemma implies that the total number of visited tape cells is also at most a constant multiple of .
Facts & Assumptions
Given: A machine with running time at most on inputs of length .
Any time bound yields an space bound for a fixed machine, by An eventually positive time bound yields the same-order space bound.
Verification
The polynomial is . So the hypothesis places in the setting of [L1] with .
Applying [L1] yields . This matches the concrete intuition that a machine cannot visit more than a constant multiple of its own number of time steps.
An equivalent one-tape simulation need not preserve the original step count
Statement refuted
The false statement claims that translating a computation between standard machine models preserves exact step counts. Let be a one-tape machine that scans its input once and then halts, regarded also as a two-tape machine that ignores its second tape. We construct an equivalent one-tape translation whose step count is exactly three times the nonhalting-step count of .
Facts & Assumptions
Given: The scanning machine described above.
Every multitape time- computation on inputs of length has a single-tape simulation in time, by Every multitape time-T computation has a single-tape simulation in O((n+T(n))^2) time. This is an upper bound for a simulation construction, not a quadratic lower bound.
A deterministic one-tape machine is the case of the deterministic multitape model (Multitape and nondeterministic Turing machine variants).
Counterexample
On an input of length , the two-tape presentation of ignores its second tape, makes one pass across the input on the first tape, and halts after a positive linear number of steps.
Construct a one-tape machine by replacing each nonhalting transition of with three transitions. Before executing the original transition, moves one cell right without changing the scanned symbol, records in its finite control the original state and symbol together with the symbol seen on the right, then moves left while restoring that right-hand symbol, and finally performs the original transition. The two preliminary moves return the tape and head to their original state, so has exactly the same accept/reject behavior as but uses exactly steps on every length- input.
Since , the translated computation of and the original two-tape computation of have different exact step counts. Thus this translation is a counterexample to the false claim; [L1] is consistent with the witness because both running times remain linear.