Alphabeta Math
DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-09-24 (gpt-6-sol)
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 M be a deterministic k-tape Turing machine. For an input word w, let time⁡M(w) be the number of steps in the computation of M on w when that computation halts, and let space⁡M(w) be the total number of tape cells that are ever visited during that computation across all k tapes.

If M halts on every input of length n, its worst-case time complexity and worst-case space complexity at that length are Time⁡M(n):=max⁡({0}∪{time⁡M(w):∣w∣=n}),Space⁡M(n):=max⁡({0}∪{space⁡M(w):∣w∣=n}). Thus both values are 0 when the input alphabet has no words of length n.

For a nondeterministic machine N, 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 w 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 time⁡N(w) and space⁡N(w) as the maxima over these finitely many halting branches. The worst-case values Time⁡N(n) and Space⁡N(n) use the same input maxima with 0 adjoined as above, provided the branch condition holds for every input of length n.

We say that a machine runs in time at most t(n) when its worst-case time is bounded by t, and runs in space at most s(n) when its worst-case space is bounded by s.

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

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