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.
Worst-case time and space complexity of a machine
Definition
Let be a deterministic -tape Turing machine. For an input word , let be the number of steps in the computation of on when that computation halts, and let be the total number of tape cells that are ever visited during that computation across all tapes.
If halts on every input of length , its worst-case time complexity and worst-case space complexity at that length are Thus both values are when the input alphabet has no words of length .
For a nondeterministic machine , a maximal branch either is infinite, ends in an accepting or rejecting state, or ends at a nonhalting configuration with no allowed transition. Suppose that every maximal branch on ends in an accepting or rejecting state. Since the computation tree is finitely branching, it then has finitely many nodes: if it had arbitrarily large depth, repeatedly taking the first child with descendants at arbitrarily large depths would produce an infinite branch. Define and as the maxima over these finitely many halting branches. The worst-case values and use the same input maxima with adjoined as above, provided the branch condition holds for every input of length .
We say that a machine runs in time at most when its worst-case time is bounded by , and runs in space at most when its worst-case space is bounded by .
Remarks
-
The time and space functions are attached to machines that halt on all inputs under consideration, which is the regime needed for complexity classes.
-
Space counts visited cells, not merely cells that happen to be nonblank in the initial input configuration.
Depends on
Used by
- Alternating polynomial time and the class AP Definition
- Asymptotic comparison of resource bounds Definition
- Nondeterministic acceptance time and exact clocks Definition
- Polynomial space and nondeterministic polynomial space Definition
- Polynomial-time many-one reductions Definition
- Polynomial-time verifiers with polynomially bounded certificates Definition
- Probabilistic polynomial-time Turing machines Definition
- A pseudopolynomial algorithm is polynomial in the binary input length False statement
- A machine using space s(n) has at most exponentially many configurations Lemma
- An eventually positive time bound yields the same-order space bound Lemma
- Any machine that fully reads every input of length n needs at least linear time Lemma
- The Cook-Levin reduction map is computable in polynomial time Lemma
- NP ⊆ PSPACE ⊆ EXP Proposition
- A universal simulator can realize T steps with machine-dependent O(T log T) overhead Theorem
- Every multitape space-S computation has a single-tape simulation in O(n+S(n)) space Theorem
- TQBF is PSPACE-complete Theorem
Dependency tree · two levels
9 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
- John Watrous, Introduction to the Theory of Computing, Lecture 19: Time-bounded computations (standard reference, not scraped)
- Sanjeev Arora and Boaz Barak, Computational Complexity: A Modern Approach (standard reference, not scraped)