Alphabeta Math
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.

✓ 8 results · all verified · 2 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 6 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Resource Bounds and Machine Invariance

1 · Prerequisites

2 · Summary

This page fixes the standard quantitative conventions of complexity theory: worst-case time and space, asymptotic comparison, constructible bounds, and the basic deterministic and nondeterministic resource classes. With those definitions in place, it separates three different quantitative phenomena that are often blurred together in loose exposition: time controls space for a fixed machine, multitape simulation can cost a quadratic slowdown on one tape, and efficient universal simulation still needs only logarithmic overhead per step.

The closing propositions explain what invariance does and does not mean. It does mean that polynomial-time and polynomial-space classes survive passage between the standard deterministic tape models, and that reasonable encoding changes preserve those classes when the translations are themselves polynomial. It does not mean literal equality of step counts, and it does not let one drop constructibility from arguments that must actually realize a time budget.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicableverified 2026-09-24 (gpt-6-sol)Open item page →

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.

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-09-12Open item page →

Asymptotic comparison of resource bounds

Definition

Let f,g:N→[0,∞). We say that f is asymptotically bounded by g, and write f(n)=O(g(n)), when there exist constants c>0 and n0∈N such that f(n)≤c g(n)(n≥n0).

We say that two bounds are of the same asymptotic order when each is O-bounded by the other. Fix further bounds t,s:N→[0,∞).

If M is a machine in the sense of Worst-case time and space complexity of a machine and halts on every input, then its worst-case resource functions are defined at every input length, and:

  • M has time complexity O(t(n)) when Time⁡M(n)=O(t(n));
  • M has space complexity O(s(n)) when Space⁡M(n)=O(s(n)).

Remarks

  • These comparisons forget constant factors and finite prefixes.

  • Later invariance statements are about preservation of classes under this asymptotic relation, not equality of exact running times.

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-09-12Open item page →

Time-constructible and space-constructible functions

Definition

Let t,s:N→N.

The function t is time-constructible when there exists a deterministic machine Ct such that, on unary input 1n, the machine halts within O(t(n)) steps and outputs the binary numeral bin⁡(t(n)).

The function s is space-constructible when there exists a deterministic machine Cs such that, on unary input 1n, the machine halts while using O(s(n)) tape cells and outputs the binary numeral bin⁡(s(n)).

On this page, whenever a constructible bound is used to clock another machine, we also require the evident size condition n≤t(n) for large enough n, so that the budget is at least large enough to read an input of length n.

Remarks

  • The definition records that the bound can itself be written down within the same asymptotic resource scale.

  • Standard polynomial and exponential time bounds that are eventually at least linear are time-constructible in this sense. Under the all-tapes space convention used here, no logarithmic-space claim is made: for example, a unary-input constructor for ⌈log⁡2(n+1)⌉ must reach the endmarker whenever it distinguishes the relevant input lengths, and therefore visits Ω(n) input-tape cells. The same input-reading obstruction makes an unbounded logarithmic bound non-time-constructible here.

DefinitionDefinition: AI-adaptedProof: Not applicableverified 2026-09-08 (gpt-6-astra)Open item page →

The classes DTIME, NTIME, DSPACE, and NSPACE

Definition

Let t,s:N→N.

For nonnegative resource functions a,b, the notation a(n)=O(b(n)) means that some constants c>0 and n0 satisfy a(n)≤cb(n) for every n≥n0. Every resource bound below uses constants fixed for the machine, uniformly over all its inputs and branches. Time counts transitions; space counts all cells visited on all tapes, including the input tape, with each distinct tape/cell pair counted once. No constructibility assumption on t or s is needed to define these classes.

A language L⊆Σ∗ belongs to DTIME(t(n)) when there exists a deterministic multitape Turing machine deciding L in time O(t(n)).

A nondeterministic k-tape Turing machine is obtained from the deterministic k-tape model of Multitape and nondeterministic Turing machine variants by replacing its transition function with a finite-valued transition map Δk:(Q∖{qacc,qrej})×Γk⟶Pfin(Q×Γk×{L,R}k). One branch chooses one instruction from the finite set at each step.

A language L⊆Σ∗ belongs to NTIME(t(n)) when there exists such a nondeterministic k-tape machine N for which:

A language L⊆Σ∗ belongs to DSPACE(s(n)) when a deterministic multitape decider uses worst-case space O(s(n)). It belongs to NSPACE(s(n)) when a nondeterministic multitape machine accepts exactly the words in L, every branch halts, and the maximum number of visited cells over all branches and inputs of length n is O(s(n)).

Remarks

  • These are language classes. Function classes are expressed separately by saying that a machine computing the function does so within a stated bound.

  • The chosen machine model is multitape because it is convenient for programming; later theorems show that polynomial-time and polynomial-space notions do not depend on that choice.

LemmaStatement: Literature-sourcedProof: AI-generatedverified 2026-09-24 (gpt-6-sol)Open item page →

Any machine that fully reads every input of length n needs at least linear time

Statement

Let M be a k-tape machine, and suppose that at least one input word of length n exists and that M halts on every input of that length. If, on every such input, the accepting or rejecting branch of M scans each of the first n input cells before halting, then Time⁡M(n)≥n.

Facts & Assumptions

Given: A halting machine M, an inhabited length-n input set, and the input-reading property stated above.

[L1]

Worst-case running time Time⁡M(n) is the maximum number of steps over inputs of length n, by Worst-case time and space complexity of a machine.

Proof

technique · direct
1.1given

For n=0 the claimed lower bound is immediate. For n≥1, the input head starts at cell 0 and moves at most one cell per transition. Reaching cell n−1 therefore takes at least n−1 transitions. The hypothesis says the machine scans that cell before halting, so it must make a further transition from a nonhalting configuration scanning the cell before it can enter an accepting or rejecting state. Thus every such halting branch takes at least n steps.

2.1L1step 1.1∎

The hypothesis says this lower bound applies on every input of length n, and the input set is nonempty. By [L1], its worst-case maximum is at least the time on any one such input, so Time⁡M(n)≥n. Without the nonemptiness premise the claim fails for an empty input alphabet and n>0, because the revised worst-case convention gives value zero.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passverified 2026-09-24 (gpt-6-sol)Open item page →

An eventually positive time bound yields the same-order space bound

Statement

Let M be a fixed k-tape machine that halts on every input, and let T:N→[0,∞) be eventually at least 1 at every length for which an input word exists. If Time⁡M(n)=O(T(n)), then Space⁡M(n)=O(T(n)).

Facts & Assumptions

Given: A fixed halting k-tape machine M and a bound T with Time⁡M(n)=O(T(n)), eventually T(n)≥1 on inhabited input lengths.

[L1]

Worst-case time and space count machine steps and visited tape cells, respectively, by Worst-case time and space complexity of a machine.

[L2]

Big-O means eventual domination up to a constant factor, by Asymptotic comparison of resource bounds.

Proof

technique · direct
1.1L1given

During one step, each of the k heads can enter at most one new cell on its own tape. Therefore after t steps, the total number of visited cells across all tapes is at most the initial k cells plus kt. By [L1], every halting computation using t steps uses at most k(t+1) space.

2.1L1L2step 1.1∎

If there are no length-n inputs, the revised convention in [L1] makes both worst-case values zero. At an inhabited length, applying step 1.1 to the worst halting run gives Space⁡M(n)≤k(Time⁡M(n)+1). For sufficiently large inhabited lengths the hypothesis T(n)≥1 absorbs the additive constant, and [L2] converts the time bound into Space⁡M(n)=O(T(n)).

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

Every multitape time-T computation has a single-tape simulation in O((n+T(n))^2) time

Statement

Let M be a fixed deterministic multitape Turing machine. If Time⁡M(n)=O(T(n)), then there exists a deterministic one-tape Turing machine SM deciding the same language and satisfying Time⁡SM(n)=O((n+T(n))2).

Facts & Assumptions

Given: A fixed deterministic multitape machine M with Time⁡M(n)=O(T(n)).

[L1]

Every fixed multitape machine has an equivalent deterministic one-tape simulator, by Every fixed multitape Turing machine has an equivalent one-tape simulation.

[L2]

On an input w, if the fixed multitape machine runs for t steps, the standard simulator runs for at most cM(∣w∣+t+1)2 steps, by The standard one-tape simulation of a fixed multitape machine has quadratic overhead.

[L3]

Big-O compares functions up to eventual constant factors, by Asymptotic comparison of resource bounds.

[L4]

The class notation DTIME records deterministic decision procedures within an asymptotic time bound, by The classes DTIME, NTIME, DSPACE, and NSPACE.

Proof

technique · direct
1.1L1givenconstruct

By [L1], choose the one-tape simulator SM that reproduces the accept, reject, and divergence behavior of M on every input.

2.1L2L3step 1.1

For an input w of length n, let t=time⁡M(w). The quadratic-overhead lemma [L2] gives time⁡SM(w)≤cM(∣w∣+t+1)2 for a constant cM depending only on M. Because t≤Time⁡M(n) and ∣w∣=n, the hypothesis and [L3] imply time⁡SM(w)=O((n+T(n))2). Taking the maximum over all w of length n yields Time⁡SM(n)=O((n+T(n))2).

3.1L4step 1.1step 2.1∎

The simulator from step 1.1 decides the same language as M, and step 2.1 gives the quantitative bound. Therefore the language decided by M also lies in the one-tape deterministic time class described by [L4].

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

Every multitape space-S computation has a single-tape simulation in O(n+S(n)) space

Statement

Let M be a fixed deterministic multitape Turing machine. If Space⁡M(n)=O(S(n)), then there exists a deterministic one-tape Turing machine SM deciding the same language and satisfying Space⁡SM(n)=O(n+S(n)).

Facts & Assumptions

Given: A fixed deterministic multitape machine M with Space⁡M(n)=O(S(n)).

[L1]

Every fixed multitape machine has an equivalent deterministic one-tape simulator, by Every fixed multitape Turing machine has an equivalent one-tape simulation.

[L2]

Worst-case space counts the total number of tape cells ever visited during a halting computation, by Worst-case time and space complexity of a machine.

[L3]

Big-O compares functions up to eventual constant factors, by Asymptotic comparison of resource bounds.

[L4]

The class notation DSPACE records deterministic decision procedures within an asymptotic space bound, by The classes DTIME, NTIME, DSPACE, and NSPACE.

Proof

technique · direct
1.1L1L2givenconstruct

Use the standard simulator from [L1] that stores the k simulated tapes as marked blocks on one tape. On an input of length n, the first simulated tape block initially records the whole input word, contributing n cells up to a constant factor. Beyond that initial block, the simulator records only cells that the multitape computation has visited, together with only constant-size bookkeeping per recorded cell and a fixed number of delimiters depending on M. If the simulated computation has visited at most S(n) cells altogether, [L2] therefore bounds the one-tape encoding length by O(n+S(n)).

2.1L3step 1.1

Therefore there exists a constant cM such that every halting run of the simulator on an input of length n visits at most cM(n+S(n)+1) cells. By [L3], this is O(n+S(n)). Taking maxima over all length-n inputs gives Space⁡SM(n)=O(n+S(n)).

3.1L4step 1.1step 2.1∎

The simulator still decides the same language as M, and step 2.1 places it in the deterministic single-tape space class described by [L4].

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

A universal simulator can realize T steps with machine-dependent O(T log T) overhead

Statement

There exists a deterministic multitape universal simulator U for the chosen machine coding with the following property: for every valid machine code e=⌜M⌝ there is a constant ce>0 such that, for every input word w and every integer T≥2, if M halts on w within at most T steps with output word u, then U halts on input ⟨e,w^⟩ with output u^ within ce(∣e∣+∣w∣+Tlog⁡T+1) steps; if M diverges on w, then U diverges as well. The constant may depend on the finite alphabet, states, and transition table encoded by e, but not on w or T.

Facts & Assumptions

Given: A valid machine code e=⌜M⌝, an input word w, and a time bound T≥2.

[L2]

The definition of a universal Turing machine is to reproduce halting outputs and divergence for the coded machine/input pair, by A universal Turing machine relative to a fixed machine encoding.

[L3]

Worst-case time counts simulation steps of the simulator itself, by Worst-case time and space complexity of a machine.

Proof

technique · direct
1.1L1givenconstruct

By [L1], the simulator can first decode e into the finite control data of M and copy those data to a read-only program track. It then stores the current simulated configuration in a geometrically blocked tape layout whose block sizes double outward from the simulated heads. This representation keeps recently accessed cells near the center while allowing farther regions to be reached after only logarithmically many block crossings.

2.1L1L3step 1.1algebra

One simulated step of M changes only the current state, one scanned tape symbol, and one head position. In the blocked layout from step 1.1, finding the current symbol, updating it, and recentering after a head move costs amortized Oe(log⁡T) over the first T simulated steps: most steps touch only the central blocks, and a level-j reblocking costs Oe(2j) but occurs only once per Ω(2j) simulated head moves. Summing over the O(log⁡T) occupied levels gives the asserted amortized bound. The subscript records the fixed cost of interpreting the finite alphabet, state set, and transition table encoded by e; the cited efficient-universality theorem permits exactly this machine dependence. No constructibility hypothesis on the integer T is used.

3.1L2step 2.1algebra

Summing the amortized Oe(log⁡T) cost over at most T simulated steps gives total simulation time Oe(Tlog⁡T). The initial decode-and-load work contributes Oe(∣e∣+∣w∣+1). If the simulation halts with output word u, at most ∣w∣+T+1 simulated tape cells can belong to its visited output segment. A final scan therefore converts u to the self-delimiting word u^ in Oe(∣w∣+T+1) time, which is absorbed by the displayed bound. By [L2], the simulator is universal because it emits exactly u^ and, when M diverges, continues simulating forever rather than entering a halting state.

4.1step 3.1∎

Therefore, for each fixed valid code e, the machine U has the claimed universal behavior with total running time bounded by ce(∣e∣+∣w∣+Tlog⁡T+1) for a suitable constant ce independent of w and T.

PropositionStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

Polynomial-time and polynomial-space computation are invariant across standard machine models

Statement

For deterministic single-tape and fixed-multitape Turing-machine models, the notions of polynomial-time computation and polynomial-space computation define the same language classes.

Facts & Assumptions

Given: A language decided on one of the two standard deterministic Turing-machine models named in the statement.

[L1]

Multitape time-T computations have single-tape simulations in O((n+T(n))2) time, by Every multitape time-T computation has a single-tape simulation in O((n+T(n))^2) time.

[L2]

Multitape space-S computations have single-tape simulations in O(n+S(n)) space, by Every multitape space-S computation has a single-tape simulation in O(n+S(n)) space.

Proof

technique · direct
1.1L1given

Suppose a language is decided by a deterministic multitape machine in time bounded by a polynomial p(n). By [L1], there is a single-tape decider running in time O((n+p(n))2), and (n+p(n))2 is still a polynomial. Thus polynomial time on multitape machines implies polynomial time on one tape.

1.2given

Conversely, every one-tape machine is already a special case of a multitape machine, so any one-tape polynomial-time algorithm is automatically a multitape polynomial-time algorithm.

1.3L2given

For space, [L2] shows that a multitape polynomial-space decider has a single-tape decider using O(n+s(n)) space, which is still polynomial whenever s is polynomial. The reverse implication is immediate because one tape is a special multitape case.

2.1step 1.1step 1.2step 1.3∎

Steps 1.1 and 1.2 prove model invariance for polynomial time, and step 1.3 proves it for polynomial space. Therefore the two standard models define the same polynomial-time and polynomial-space language classes.

LemmaStatement: Literature-sourcedProof: AI-generatedverified 2026-09-26 (gpt-6-sol)Open item page →

A constructible time bound yields a uniformly clocked simulator

Statement

Let t:N→N be time-constructible, and assume n≤t(n) for all sufficiently large n. Then for every coded deterministic machine e=⌜M⌝ there exists a deterministic machine Clock⁡e,t such that, on each input x:

  • if M halts within at most t(∣x∣) steps, then Clock⁡e,t halts with the same output;
  • if M has not halted by time t(∣x∣), then Clock⁡e,t halts and rejects.

Facts & Assumptions

Given: A time-constructible function t and a coded deterministic machine e=⌜M⌝.

[L1]

Time-constructibility means that a machine can compute the binary numeral of t(n) within O(t(n)) time on input 1n, by Time-constructible and space-constructible functions.

[L2]

A universal simulator reproduces the halting outputs and divergence of the coded machine on the coded input, by A universal Turing machine relative to a fixed machine encoding.

[L3]

The machine code e is an effective binary description of M, by A fixed effective binary encoding of deterministic one-tape Turing machines.

[L4]

Any machine that must fully read an input of length n needs at least linear time, by Any machine that fully reads every input of length n needs at least linear time.

Proof

technique · direct
1.1L1L4givenconstruct

On input x, the machine Clock⁡e,t first scans the whole input once to learn ∣x∣. The lower bound hypothesis n≤t(n) together with [L4] ensures that this preliminary scan fits inside the intended asymptotic budget. It then runs the constructor from [L1] on unary input 1∣x∣ to obtain the binary numeral of t(∣x∣) and writes a counter of that size on a work tape.

2.1L2L3step 1.1construct

Next, using the fixed code e from [L3], the machine initializes the simulated configuration of M on x. It first checks whether that configuration is already halting. Otherwise, while the counter is positive it simulates one transition, decrements the counter, and checks whether the new configuration is halting. If so, it outputs exactly what M outputs, including when this was the t(∣x∣)-th transition. If the counter is zero and the simulated configuration is still nonhalting, it rejects. This is the standard clocked simulation built from the effective transition table [L3] and universal behavior in [L2].

3.1step 2.1∎

Step 2.1 proves the two clauses of the statement: runs of M halting in at most t(∣x∣) transitions are preserved, and overlong runs are cut off by a halting reject state.

False statementConstruction: Literature-sourcedVerification: AI-generatedprecheck passaudited 2026-09-12Open item page →

FALSE: machine invariance means equivalent models perform exactly the same number of steps

Statement

False claim: whenever one translates a computation between standard machine models with the same computability power, the translated computation takes exactly the same number of steps.

Facts & Assumptions

Given: The false claim above.

[A1]

Whenever one translates a computation between standard machine models with the same computability power, the translated computation takes exactly the same number of steps.

[L1]

Polynomial-time and polynomial-space computation are model-invariant only up to asymptotic overhead, by Polynomial-time and polynomial-space computation are invariant across standard machine models.

[L2]

A one-tape machine is the k=1 case of the deterministic multitape model, whose transitions read, write, and move each tape head once per step (Multitape and nondeterministic Turing machine variants).

Refutation

technique · direct
1.1L2givenconstruct

Let M be a one-tape scanning machine, regarded by [L2] as a multitape machine with one tape. Translate it to an equivalent one-tape machine S by inserting, before every original transition, a two-step right-then-left excursion that changes no tape symbol and records the finitely many encountered symbols in the control state. The third step performs the original transition. Thus S has exactly the same behavior as M but uses three steps for every nonhalting step of M.

2.1A1L1step 1.1∎

On every input for which M takes a positive number of steps, the translated computation takes three times as many, contradicting [A1]. This is consistent with [L1]: robustness preserves asymptotic complexity classes, not literal equality of running times.

False statementConstruction: Literature-sourcedVerification: AI-generatedprecheck passaudited 2026-09-12Open item page →

FALSE: clocked-simulation and time-hierarchy arguments never need constructibility hypotheses

Statement

False claim: every total time bound t with t(n)≥n can be uniformly materialized and enforced as a same-scale machine clock without a constructibility assumption.

Facts & Assumptions

Given: The false claim above.

[A1]

Every total time bound t with t(n)≥n can be uniformly materialized and enforced as a same-scale machine clock without a constructibility assumption.

[L1]

A constructible time bound is one whose value can itself be written down within the same asymptotic scale, by Time-constructible and space-constructible functions.

[L2]

A constructible time bound that also satisfies n≤t(n) for all sufficiently large n yields a uniformly clocked simulator, by A constructible time bound yields a uniformly clocked simulator.

[F1]

There exists a total noncomputable function b:N→{0,1}. Indeed, the total computable binary-valued functions form a countable family (bj)j∈N because machines have finite descriptions, and the diagonal function b(n):=1−bn(n) differs from every bj at input j.

Refutation

technique · direct
1.1L1F1construct

Define the total bound t(n):=2n+b(n) using [F1]. Then t(n)≥n. If a uniform constructor could materialize t(n) on input 1n, subtracting 2n from its output would compute b(n), contradicting [F1]. Hence this total bound is not time-constructible in the sense of [L1].

2.1A1L2step 1.1∎

The construction in [L2] works precisely by first computing the bound and then enforcing it as a timeout. Step 1.1 exhibits a total bound satisfying the size condition for which that first operation is impossible. Therefore [A1] is false: a uniform same-scale clock cannot be obtained for every total bound without a constructibility hypothesis.

5 · Examples, counterexamples and false statements

None yet.

Sources