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

Circuit Optimization, Resource Tradeoffs, and Lower Bounds

1 · Prerequisites

2 · Summary

This page separates exact optimization tasks from locally terminating rewrites and construction upper bounds. The CNOT counts are not total synthesis costs; the nearest-neighbor factor is specific to the cited line architecture; clean-workspace use requires exact return. Circuit counting fixes a finite gate alphabet, input encoding, ancilla convention and one charged measured output bit. The lower-bound claim is “almost all Boolean functions,” not a statement about each function. The quantum time-space simulation uses the published VMW model with charged operand extent and the explicitly derived classical basis profile. Its finite-precision compiler, fixed-arity effective gate factors, and the separately charged basis-query and majority-reduction bridges are local suppliers; the distinct historical head-access profiles are kept separate.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Unbounded error time space counting model

Definition

Use fixed finite-control fair-bit probabilistic machines with read-only binary input followed by blanks and a fixed finite number of work tapes and heads, with a finite explicit transition-table code. Each nonhalting transition consumes one independent fair bit as in Probabilistic polynomial time machine interface. Fix one access profile for each complexity class.

In the sequential profile, heads move locally by at most one cell per transition. In the erased-index head-access profile, use the head-access mechanism of the final 2012 Van Melkebeek–Watson model: a zero-initialized binary classical work tape, a fixed finite number of input/work heads, and classical finite control. Each head may move left, right, stay, or jump in one transition to an address computed on a designated one-way sequential-access write-only index tape. Index tapes are initially empty, writing each bit is charged to the ordinary transition count, and an index tape is erased after each use. The original input tape is read-only and contains the input followed by blanks. If coincident work heads make an operation undefined, omit that work-tape operation in the transition. All heads start at the left boundary; left motion there clamps at zero.

The published VMW derived basis restriction, denoted the basis profile, also permits the classical basis action of the source's native coherent input query. On a contiguous block [l,r] of a specified binary work tape, the first r−l bits give the binary input index i in most-significant-first order and the last cell holds b; the query replaces only b by b⊕xi, using zero on invalid input indices. Both endpoints are freshly emitted on erased index tapes. The native query costs one transition, as in the published quantum model. The input indices are 1,…,n, with x0=0; the empty address word denotes zero, and reversed endpoints cause omission of the query. Allow a fixed finite number of binary work tapes, local operations of fixed finite arity, and native queries on any specified tape: this is the fixed finite product of these classical basis operations, permitting separate path-simulation rows. This is an explicit locally defined comparison model derived from the quantum operations. The source does not separately state a formal classical block-query machine definition, and no equivalence with the index-only profile is assumed. The clocked-normalization lemma proves the required time-only simulation into that profile for clocks at least the input length; no general sublinear-time equivalence is asserted.

For historical comparison, the preprint-delimited VMW profile retains the 2007 preprint convention: a jump reads the address written between two classical work-tape heads, without the final paper's write-only erased index tapes. This is a separately named profile. No equivalence or preservation of time/space bounds between the preprint-delimited and published profiles is asserted. Results proved below for the published profile do not establish their extension to the preprint-delimited profile.

Time is the maximum number of transitions on every branch. Sequential space counts distinct visited work cells. Erased-index and basis space use the maximum address of every work cell accessed on any branch, including the highest endpoint of every native basis-query block; read-only input and index tapes are not counted in this maximum-address measure. The preprint-delimited space convention is likewise its maximum visited work-head address. For a fixed profile, PrTIME(t) uses strict acceptance probability greater than 1/2 on members and at most 1/2 on nonmembers; PrTISP(t,s) adds the stated space bound. Subscripts seq, index, basis, and preprint distinguish the four profiles. An exact classical oracle is deterministic; writing its queries and returning from them are charged, and total query-string length is at most the outer running time.

For either P∈{seq,basis}, define LCHP,1=PrTIMEP(n) and LCHP,j+1=PrTIMEP(n)LCHP,j. Oracle queries are exact and all fair-bit branches belong to the outer machine. An omitted profile in an item must be fixed explicitly by that item's hypotheses; profiles are never silently identified.

A MajSAT formula has a fixed finite set of Boolean variables and is accepted when at least half of assignments satisfy it. A MajMajSAT formula has two disjoint ordered variable blocks and is accepted when at least half of outer assignments leave a residual formula true on at least half of inner assignments. Use a common explicit plain-formula encoding for MajSAT. MajMajSAT accepts this same plain encoding with one implicit fresh unused outer variable and all formula variables in the inner block; it also accepts a separately tagged encoding with the two variable blocks explicitly listed. Thus every plain MajSAT instance embeds identically, bit for bit, into MajMajSAT with unchanged truth value. The unused outer variable is part of the decoded fixed finite variable set. Concretely, use distinct fixed tags for plain and partitioned inputs, a unary declaration of the number of variables, fixed-width variable indices, and prefix-encoded binary AND/OR and unary NOT gates (with constant tokens). The partitioned form also gives the outer-block split; variables are renamed into block order. Plain-format validity is checked by one pending-subexpression counter, variable-range checks and a scan of the declared fields, using O(n polylog n) time and O(log⁡n) workspace. These conventions do not alter either at-least-half threshold. Malformed encodings are rejected by both problems.

Source-model boundary

The published-profile convention follows Van Melkebeek and Watson, Time-Space Efficient Simulations of Quantum Computations, Theory of Computing 8 (2012), §2.3.1–2.3.2, printed pages 10–11, https://doi.org/10.4086/toc.2012.v008a001. The delimited-head mechanism belongs to the 2007 arXiv preprint. The final-source correction retains that historical mechanism explicitly but grants no theorem about it.

Operand-space clarification

The source informally describes space as maximum work-head address and its simulation proof fixes an s-qubit work register. Here operand access is explicit: every local operand and every endpoint of a native query counts as a work-access head for the space measure. This local clarification prevents uncharged query workspace. The source does not explicitly spell out this endpoint rule; it is not quoted as a verbatim source condition. No lower-bound or resource-inclusion claim is made for a literal head-only variant that permits free uncharged query blocks.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

DLOGTIME uniform iterated addition threshold circuits

Statement

For m,w≥1, the exact sum of m nonnegative w-bit integers has constant-depth polynomial-size circuits over AND, OR, NOT and MAJ, with w+⌈log⁡2m⌉ output bits. The circuits are DLOGTIME-uniform under the following explicit array convention: the input bit xi,j has tuple address (i,j); array dimensions and gate-coordinate domains may be padded to powers of two, with padded inputs zero. Gate addresses use a fixed number of binary coordinate fields, and the uniformity machine receives the binary dimensions and gate addresses. Equivalently, the input is a bit matrix with both dimensions padded to powers of two. Constants and output truncation are included in the family. The claim does not apply to arbitrary effectively decodable encodings.

Facts & Assumptions

Given: m,w≥1, the bit array in the Statement, and random-access Turing-machine DLOGTIME uniformity. All logarithms in the proof are base two.

Proof

1.1givenconstruct

Two-word addition has the following constant-depth Boolean construction. For d-bit words a,b, put gj=aj∧bj and pj=aj∨bj. The carry entering bit k>0 is ck=⋁0≤j<k(gj∧⋀j<t<kpt),c0=0. A carry is generated by two ones, propagated through positions with at least one one, and killed by two zeros; this proves the formula. The output bit is the XOR of ak,bk,ck, computed by its constant-size Boolean truth table, with the final carry appended. These formulas have constant depth and polynomial size, and predecessor tests use equality and order on their bit-position addresses.

1.2givenconstructalgebra

For m≥2, let ℓ=⌈log⁡2m⌉, let b be the least power of two at least ℓ, and put B=2b. Then m≤B≤m2. Split each input into consecutive b-bit blocks and pad the last block with zeros. For block q, define Sq=∑i=0m−1∑r=0b−12rxi,qb+r. Its upper bound is C=m(B−1), polynomial in mw.

2.1step 1.2constructalgebra

To compute all bits of Sq, pad the row domain to a power of two M0≥m with M0<2m. Create a rectangular set of distinct copy gates (i,r,t) with 0≤i<M0, 0≤r<b, and 0≤t<B. Gates with i≥m or t≥2r are zero; otherwise they copy xi,qb+r. There are D=M0bB slots, a power of two polynomial in mw, and exactly Sq slots are true. For each 1≤h≤D, feed these slots and D+1 distinct constant slots to a MAJ gate, with exactly D−h+1 constant slots equal to one. Its odd fan-in is 2D+1, so under either convention for majority it tests Sq+(D−h+1)≥D+1, equivalently Sq≥h. Write this output as Tq,h and set Tq,0=1, Tq,D+1=0. Then Eq,h=Tq,h∧¬Tq,h+1 tests Sq=h, and bit u of Sq is the OR of Eq,h over the indices h having bit u equal to one. The depth is constant and the size polynomial.

3.1step 1.1step 2.1algebraconstruct

Write Sq=rq+Bvq. Since rq<B and vq<m≤B, form two words: R has block q equal to rq, and V has block q+1 equal to vq and block zero zero. These bits are direct selections from the bits computed in step 2.1. The blocks do not overlap within either word, and ∑i=0m−1xi=∑qSqBq=R+V. Apply step 1.1 once to R,V. This is a constant number of constant-depth stages of polynomial total size.

4.1step 1.1step 1.2step 2.1step 3.1algebraconstruct∎

We verify uniformity explicitly. Use fixed-length tuples with a constant number of O(log⁡(mw+2))-bit fields for gate type, block, row, within-block bit, copy, threshold, output-bit and constant-slot indices. All predecessor predicates in step 1.1 and step 1.2 and step 2.1 and step 3.1 use equality, order, the bit predicate on h, t<2r, the constant-slot test u<D−h+1, and j=qb+r. Since b is a power of two, the last relation is a shift and concatenation. The exponent of the power of two D=M0bB is the sum of the corresponding bit-length exponents. Testing t<2r compares r with the highest nonzero bit position of t. Determine the field widths and b from the binary dimensions and perform these tests by a constant number of linear scans, additions, subtractions, shifts and comparisons of O(log⁡(mw+2))-bit words. Each gate-type or predecessor query takes O(log⁡(mw+2)) time on the random-access uniformity machine; no general multiplication of two varying address fields is used. Dimensions and coordinate domains are padded to powers of two, and positions outside the actual input bounds are constant zero. For m=1, copy the input word. Finally ∑ixi<m2w≤2w+⌈log⁡2m⌉, so the retained output width is exactly the one in the Statement.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Logspace uniform iterated multiplication threshold circuits

Statement

For m,w≥1, let the input be an explicit array of m nonnegative w-bit integers, with tuple-addressed bits xi,j and fixed dimensions supplied to the uniformity machine. Power-of-two padding of the array dimensions is permitted, with padded entries zero. Their exact product, zero-padded to mw bits, is computed by constant-depth polynomial-size circuits over AND, OR, NOT and MAJ. Circuit descriptions and gate-predecessor predicates are computable in logarithmic space in the total input length. This item does not assert DLOGTIME-uniform multiplication, and its encoding convention does not include arbitrary effectively decodable encodings.

Facts & Assumptions

Given: m,w≥1 and the input representation in the Statement. Put N=mw. A short integer has O(log⁡(N+2)) bits, and a long word has NO(1) bits. All prime lists and their subsets below depend only on circuit dimensions, not input values.

[F1]

Prime number theorem gives π(x)∼x/log⁡x, and hence π(x)≥x/(2log⁡x) for all sufficiently large x.

[F2]

Every prime modulus admits a primitive root (Every prime modulus admits a primitive root), that is, a generator of its nonzero residue group.

[F3]

Exact sums of explicitly listed nonnegative binary integers have constant-depth polynomial-size DLOGTIME-uniform threshold circuits under the tuple-addressed array convention (DLOGTIME uniform iterated addition threshold circuits).

Proof

1.1F3givenconstruct

A function of a fixed number of short arguments has polynomially many argument tuples. If its table is logspace-computable, realize each output bit by an OR of equality conjunctions over the tuples yielding one. This is a constant-depth polynomial-size logspace-uniform Boolean lookup circuit. Short addition, multiplication, reduction, inverses modulo a prime, and the table (a,e,p)↦ae mod p have this property. For the power table, use repeated squaring with a constant number of short residues and a short exponent counter; short multiplication uses grade-school arithmetic in logarithmic space. Find an inverse by trying every short candidate, and test primality by trial division. Enumerate the j-th prime by a counter and these primality tests whenever j and that prime are polynomially bounded. We may also add polynomially many polynomial-width words by [F3], whose uniformity is stronger than required here.

2.1F2F3step 1.1constructalgebra

For a fixed short prime p>2, [F2] gives a generator g of the nonzero residues. Find the least such g by testing all candidates and all exponents below p−1 with step 1.1. The tables a↦ℓ(a), where gℓ(a)≡a(modp) and 0≤ℓ(a)<p−1, and (g,e,p)↦ge mod p are logspace-computable by enumeration and modular powering with a constant number of short counters. For nonzero inputs a1,…,ad with polynomially bounded d, their product modulo p is g∑iℓ(ai) mod p. The exponent sum is polynomially bounded, so compute it with [F3] and use a short power lookup. If any input is zero, select zero instead. For p=2, the product is one exactly when all inputs are one. This gives iterated multiplication in any fixed polynomial-size residue basis in logspace-uniform constant depth. It uses only short tables and addition, without assuming binary iterated multiplication.

2.2F3step 1.1constructalgebra

Convert a long word X=∑jxj2j to residues by computing xj(2j mod p) for each bit position and modulus, summing these short contributions with [F3], and reducing the result modulo p by step 1.1. The sum is polynomially bounded in N, because its number of contributions and p are. Each constant 2j mod p is logspace-computable. Thus binary-to-residue conversion has the required circuit bounds; for X outside the basis range, its vector represents its remainder in that range.

2.3step 1.1constructalgebra

Fix a basis T=∏i=1kpi of distinct short primes. Set Ci=T/pi and hi=(Ci mod pi)−1 mod pi. The binary words T,Ci need not be computed: their required short residues, and then hi, are generated in logspace by scanning factors and multiplying modulo pi. Since Cihi is one modulo pi and zero modulo all other basis primes, for the residue vector (xi) of 0≤X<T we have ∑ixihiCi=X+rT,S:=∑ixihipi=r+XT for a nonnegative integer r. Indeed a difference divisible by each of the distinct primes is divisible by their product, while two representatives in [0,T) cannot differ by a nonzero multiple of T. Existence of a representative for every residue vector follows by taking the remainder modulo T of the displayed nonnegative sum.

3.1F3step 1.1step 2.3constructalgebra

We give a comparison circuit with controlled rounding. Let U bound the primes of the fixed basis, put L=k⌈log⁡2U⌉, so T≤2L, and choose t=L+⌈log⁡2k⌉+4. Compute Fi=⌊xihi2t/pi⌋ and Z=∑iFi+k2t,S≤Z≤S+ε,ε=k2−t<14T. Because X/T is a multiple of 1/T in [0,1), ⌊Z⌋=r, including X=0 and X=T−1. The low t bits of ∑iFi+k therefore represent a dyadic fraction fX satisfying X/T≤fX≤X/T+ε. Hence X<Y if and only if fX<fY: distinct representatives differ by at least 1/T, and equal representatives give identical residue vectors and identical fractions. All bits of Fi have the required circuits. Its integer part ⌊xihi/pi⌋ is a short lookup. For odd pi, bit j≥1 after the binary point of xihi/pi equals (xihi2j mod pi) mod 2: write xihi2j=api+b; its even left side and odd pi imply that a,b have the same parity. These residues are short lookups using modular-power constants. For pi=2, only the first fractional bit can be nonzero. This computes precisely the truncation defining Fi. Sum with [F3] and compare the t-bit fractions by an OR over their highest differing position, with equality required at all higher positions. That comparator is constant-depth Boolean. Thus residue comparison is logspace-uniform constant depth. The upward offset is essential to handle an exact integer S correctly.

3.2F1step 1.1step 2.3constructalgebra

Put k=N+5 and let M be the product of the first k primes, including 2. Then M≥2k>2N+4. For each output index 1≤s<N, take s disjoint blocks of k consecutive primes beyond those first k primes, and let Ai be the product of block i. Every Ai is odd and exceeds M, since each of its factors exceeds the corresponding factor of M. The Ai are pairwise relatively prime and relatively prime to M. Only O(N2) primes are needed. By [F1], their numerical values are polynomially bounded in N for all sufficiently large N; the finitely many smaller dimensions have fixed circuits. Enumeration of each block and its residues modulo any short prime is logspace-computable by scanning its factors as in step 1.1 and step 2.3. No bit of a long prime product is requested from the uniformity machine.

4.1step 1.1step 2.3step 3.1constructalgebra

Extend the representation of X∈[0,T) to a fixed short prime q not in its basis by trying every possible residue a∈[0,q). In basis Tq, each candidate has a unique representative Xa. The representatives with the old residues are exactly X+jT, 0≤j<q, so exactly one is below T. The representation of T in basis Tq has zero on the old primes and the fixed short product T mod q on the new prime. Compare each candidate with it using step 3.1 and select the unique successful a. This computes X mod q. Extend to any polynomial-size new basis in parallel, treating its new primes independently. Removing primes just discards coordinates. No binary value of T is needed.

5.1step 1.1step 2.3step 4.1constructalgebra

Fix a squarefree divisor B of the basis product T and put P=T/B. Restrict the representation of X∈[0,T) to basis B to obtain R=X mod B in [0,B), and extend R back to basis T by step 4.1. For each p∣P, compute (X−R)B−1 mod p, where B mod p and its inverse are fixed short constants from step 1.1. This is the representation of Q=⌊X/B⌋ modulo P; since 0≤Q<P, it is the canonical one. Extend it from basis P to basis T by step 4.1. If P=1, output zero; if B=1, return X. All componentwise operations are short lookups. This proves constant-depth logspace-uniform division by these fixed squarefree products without assuming general binary division.

6.1step 1.1step 2.1step 4.1step 5.1step 3.2constructalgebra

Let X∈[0,M) be given in basis M and fix 1≤s<N. Put A=∏i=1sAi and P=MA. Extend X to basis P by step 4.1. Compute each fixed Ai modulo each basis prime and add one componentwise. This represents Ai+1<P. Since 2∣P and Ai is odd, step 5.1 computes Hi=(Ai+1)/2 in basis P. Using step 2.1, compute Y=X∏iHi in that basis. There is no wraparound, since Hi<Ai and X<M imply Y<P. Divide by A with step 5.1 to obtain Q=⌊Y/A⌋ in basis P.

7.1step 1.1step 3.1step 3.2step 6.1constructalgebra

We have Y/A=(X/2s)∏i(1+1/Ai). Since Ai>M and M>2N+4>s(s+1), the binomial coefficients bounded by powers of s give ∏i(1+1/Ai)<(1+1/M)s≤∑j≥0(s/M)j=1+sM−s<1+s+1M. Consequently 0≤Y/A−X/2s<(s+1)/2s≤1. Thus Q is either ⌊X/2s⌋ or that integer plus one. Retain Q unless Q2s>X, in which case subtract one. The comparison in basis P is valid without wraparound: Q2s<X+2s<M+2N<2M<P. Compute the residues of 2s by step 1.1, multiply componentwise, and compare by step 3.1. Subtraction by one is componentwise and occurs only when Q≥1. The selected vector represents ⌊X/2s⌋, whose residue modulo 2 is bit s of X. Bit zero is already the residue of X modulo 2. Thus all N bits are recovered by parallel copies of a constant-depth circuit.

8.1step 2.1step 2.2step 3.2step 6.1step 7.1constructalgebra

Convert the m input words to basis M by step 2.2 and multiply their residue vectors by step 2.1. Their exact product Z satisfies 0≤Z<2mw=2N<M, including zero factors, so this is its canonical residue vector. Apply step 3.2 and step 6.1 and step 7.1 in parallel at every index s<N. The result is its exact binary product, with precisely mw output bits and leading zeros where required.

9.1F3step 1.1step 2.1step 2.2step 2.3step 3.1step 4.1step 5.1step 3.2step 6.1step 7.1step 8.1construct∎

Every basis length, prime value, table argument, loop index and word width above is polynomially bounded in N. In step 3.1, the approximant width is O(k′log⁡U) for its polynomial-size basis length k′, hence polynomial as well. Each table has a fixed number of short arguments and polynomially many rows. Each conversion, comparison, extension and division uses a fixed finite number of layers of tables, Boolean gates and [F3]; their nesting in step 1.1 and step 2.1 and step 2.2 and step 2.3 and step 3.1 and step 4.1 and step 5.1 and step 3.2 and step 6.1 and step 7.1 and step 8.1 has depth independent of all dimensions and prime counts. Trials over primes, residues, table rows and output bits are parallel copies. Thus the total size is polynomial and depth constant. Label gates by their stage and a fixed number of polynomially bounded coordinates. A logspace machine enumerates the fixed prime lists, computes needed residues by repeated modular multiplication, computes power and discrete-log table bits as in step 1.1 and step 2.1, and decides local wiring using short counters. The composition depth of subcircuit descriptions is fixed, so intermediate descriptions can be recomputed using O(log⁡(N+2)) workspace. The machine never stores M,P,Ai or another long product. The addition circuits from [F3] are also logspace-uniform. This proves both logarithmic-space description generation and the gate-predecessor predicate, completing the Statement.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

BQTISP Model

Definition

Use the published VMW model from Van Melkebeek and Watson, Theory of Computing 8 (2012), §2.3.1–2.3.2. It has three semi-infinite tapes: read-only binary input followed by blanks; a zero-initialized classical binary work tape; and a zero-initialized quantum work tape. There are a fixed finite number of heads, possibly several per tape. Each classical control state has an associated local classical function and local quantum operation, applied jointly to the cells under the respective work heads. The next control state and head movements depend on the current state, the input/classical symbols scanned at the beginning of the transition, and that transition's measurement outcome, if any. Earlier outcomes can influence later operations through the control state. These choices do not depend on the quantum basis path. A quantum operation is a unitary on the cells under the quantum heads or a single-qubit computational-basis measurement.

Each head may move left, right, stay, or jump in one transition to a precomputed classical address. Addresses are written on special one-way sequential-access write-only index tapes and those tapes are erased after every use; all index-bit writing is charged to ordinary transitions. Coherent input access may apply ∣i,b⟩↦∣i,b⊕xi⟩ to a contiguous quantum-work block, with out-of-range input bit zero. The endpoint convention is [l,r]: the MSB-first address occupies [l,r) and the answer is cell r; use input indices 1,…,n, x0=0, empty address zero, and omit a reversed-endpoint query. Its two endpoint addresses are likewise supplied on these erased index tapes. The coherent query itself costs one transition. The classical input tape's out-of-range cells are blank. These two output conventions are distinct and fixed by the source. If colliding work heads make an operation undefined, omit the operation on that work tape.

Input cells and the separate index tapes are not counted in the maximum-workhead-address space measure. Space is the maximum address of any work operand: ordinary classical/quantum head visits and the highest endpoint of every native query block are all charged; time and space maximize over every branch, including branches of probability zero. For each fixed unitary matrix entry, real and imaginary parts have deterministic approximators computing precision p in time polynomial in p. This permits polylogarithmic time and workspace at precision p=O(log⁡t); it does not assert linear-space approximators for arbitrary entries.

For a promise problem (Y,N), BQTISP(t,s) means such a machine takes O(t) transitions and maximum work address O(s) on every branch, accepts Y with probability at least 2/3, and accepts N with probability at most 1/3. No acceptance guarantee is required off the promise; the resource bounds remain worst-case. BQTIME(t) omits the space bound. Its classical comparison classes are the explicitly derived full-basis comparison classes PrTIMEbasis and PrTISPbasis in Unbounded error time space counting model. They permit a fixed finite product of classical basis tapes with the same native input-query operation. No generic inclusion into the narrower erased-index head-access-only class is assumed.

Historical profile

The 2007 arXiv preprint instead places a classical jump's address between two classical work heads and describes coherent-query blocks by head-delimited work regions. Retain that mechanism as the separately named preprint-delimited quantum profile. No equivalence with the final model, and no transfer of a proved final-model lower bound to that preprint profile, is asserted here. Extending the final-model lower bound to that distinct mechanism remains an unproved local obligation.

Operand-space clarification

This item explicitly treats a query endpoint as a work-access head, consistent with the source proof's finite s-qubit register. The final paper's informal maximum-head wording does not separately state this rule. We adopt it as a local clarification of intended operand-space accounting, not as a verbatim quotation or a proof about a literal head-only variant with uncharged query workspace.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Bounded-overhead tie normalization for fair-bit machines

Statement

For a fair-bit probabilistic machine with an explicit time-constructible integer clock R(n)≥1, a machine with no exact 1/2 acceptance probability can be formed with O(R(n)) additional time. It preserves strict-majority membership, and swapping its accept/reject labels decides the complement.

Facts & Assumptions

Given: a fixed fair-bit probabilistic machine, an explicit time-constructible integer clock R(n)≥1 that bounds every branch, and acceptance probability p on an input of length n.

[F1]

A length-R fair-bit string has probability 2^{-R}; unused suffix bits after halting are counted with their common halting outcome (Probabilistic polynomial time machine interface).

[F2]

PrTIME uses strict acceptance probability greater than one half, while a no-instance has probability at most one half (Unbounded error time space counting model).

[F3]

The clock is a time-constructible function, so a machine can perform the specified R(n) padding transitions (Time-constructible and space-constructible functions).

Proof

1.1F1F3givenconstructalgebra

At the fixed input let R=R(n) and let A count accepting strings among the 2R fair-bit strings, including unused suffixes after early halting; then p=A/2R by [F1]. The new machine first reads R+2 selector bits, rejecting only the all-zero selector. On every nonzero selector it simulates the original machine for at most R steps using R fresh bits, records its outcome, and consumes any unused suffix bits in a no-op state. On the zero selector it consumes all R fresh bits and rejects. By [F3] this is a well-defined clocked procedure. There are exactly 22R+2 equiprobable strings and exactly (2R+2−1)A accepting ones, so p′=(1−2−(R+2))p.

2.1step 1.1algebra

If p≤1/2 then p′<1/2. If p>1/2, then A≥2R−1+1, so p−1/2≥2−R; because p≤1, p′−1/2=(p−1/2)−p 2−(R+2)≥2−R−2−(R+2)>0. Thus strict majority is preserved and an original tie becomes a strict no-instance.

3.1step 1.1F2algebra∎

The new acceptance probability cannot equal one half: such equality would require the integer A to equal 22R+1/(2R+2−1), which is not an integer because its denominator is odd and greater than one. Since no tie remains, swapping accepting and rejecting labels makes the complement machine accept strictly above one half exactly on the original no-instances. The selector and padding add 2R+2 transitions, so the overhead is O(R(n)).

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Uniform clocked simulation of encoded probabilistic machines

Statement

Fix the explicit complete transition-table coding specified below. There are two distinct fixed finite-alphabet probabilistic interpreters, one for the sequential access profile and one for the erased-index head-access-only random-access profile. Each interpreter simulates valid descriptions e with input x and an external binary clock b, reproducing exactly the source acceptance or rejection reached in at most b source transitions and rejecting nonhalting expiry. The simulated fair-bit distribution is exact. Writing n=∣x∣ and L=∣e∣+1, there are absolute constants C,d such that each simulation takes time CLd(n+(b+1)log⁡d(n+b+L+2)). For the index-only profile, jump addresses are written on one-way sequential write-only index tapes erased after use; the older nonerasing delimited-head profile is a distinct profile and is not covered by this index-only assertion. The fixed interpreter has a fixed finite physical head count even when the described source head count varies. Malformed descriptions halt rejecting. This is a time simulation; no preservation of the source's simultaneous space bound is asserted.

In particular, for each fixed polynomially bounded time-constructible T(n)≥n and fixed c, descriptions of length at most clog⁡(n+2) are simulated in either one fixed declared profile in O(T(n) polylog(n+2)) time, including the clock constructor. Arbitrary superpolynomial clocks retain the general displayed bound rather than this specialization.

Facts & Assumptions

Given: A code e, binary input x of length n, external binary clock b, and one of the two declared profiles. Put L=∣e∣+1. Work without any choice principle.

[F2]

Unbounded error time space counting model supplies the sequential fair-bit profile and the erased-index head-access-only profile. The latter has ordinary charged one-way write-only index emission and erases an index after each use. Each source transition emits at most one bit on each source index tape. It is distinct from the older preprint's nonerasing delimited-head profile. Both interpreters consume one independent fair bit per simulated source transition.

[F3]

Effective binary encodings and total decoders defines effectiveness without a complexity guarantee. The explicit table coding constructed below, rather than an arbitrary effective encoding, supplies the required parsing bound.

[F4]

Time-constructible and space-constructible functions supplies the fixed clock constructor. For the polynomial specialization, both T(n)≥n and a fixed polynomial upper bound for T(n) are assumed.

Proof

1.1F2F3givenconstruct

Specify the syntax rather than appealing to an arbitrary effective code. Use canonical binary numeric fields, each encoded as 1∣w∣0w, and encode a tuple of a such fields by 1a0 followed by their encodings. Supply two complete transition tables, one for each fair-bit value. The virtual input tape is read-only, each work tape is initially blank, and each head starts at cell zero with clamped left motion. The finite input alphabet is the two binary input symbols, distinguished from blank. A header lists the tape count k, alphabet size r, state count m, start and two distinct halting states; the two tables list every nonhalting state/scanned-symbol tuple in lexicographic order, each with its next state, written symbols, and local moves or stationary requests. For the read-only tape require its written symbol to equal the scanned symbol. All integers use canonical binary numerals, all blocks carry unary length headers, and the number of blocks is unary-prefixed. Include explicit table delimiters and a profile tag. This is prefix-free, includes each finite machine of the chosen numeric form, and has a total decoder. If the start state is nonhalting, a complete table contains at least one row with k symbol/move fields and contains all nonhalting states and scanned symbols, giving k≤L, r≤L+3 and m≤L+3. An initially halting machine will instead be handled without per-tape initialization by an early return after validation. Each stored integer has at most L bits even without these sharper bounds.

1.2givenconstruct

For this erased-index interpreter put H=n+b+L+2, s=⌈log⁡2H⌉ and B=2s, so B>n and B>b. Use the explicit unary-length tuple syntax from the sequential candidate, now adding finite head labels, the source index-tape labels, a profile tag, index-output actions and native jump actions to each transition row. A row specifies all source actions, and the complete table explicitly includes every state/scanned-symbol/bit case. For nonhalting start states, at least one such row exists, so the number h of source heads and index tapes, every alphabet width, and each instruction-record width are bounded by a fixed polynomial in L. Initially halting machines use that early return. The source's one binary work tape is included as a special case; any allowed finite additional tapes receive tape labels. Parse and validate by capped expected-count arithmetic without expanding an asserted table; this takes LO(1) time. State and scanned-symbol lookup by repeated scans of the saved table costs LO(1) per source transition. The fixed physical interpreter never acquires a new head or an alphabet depending on e.

2.1step 1.1step 1.2construct

Parse and check the actual blocks without expanding a claimed table. Count the actual rows first; compute expected products and powers by binary arithmetic capped one above that actual count, rejecting excess, invalid ranges, missing rows or extra data. If there are no nonhalting states, the expected row count is zero without computing a power or iterating over tape/head labels. Check each actual row's arity against the binary header by counting its actual fields, never by a loop of header-specified length. This bounds all valid and invalid code processing by a polynomial in L: the operands, counters and scans have length O(L), there are O(L) actual blocks, and every product/exponent loop is capped or uses at most L exponent bits. Ordinary repeated scans and school arithmetic suffice, for example in O(L6) time and O(L2) space. After validation, if the start state is halting, report that outcome immediately, even for b=0, without allocating or initializing per-tape or per-head structures. Otherwise the parameter bounds of steps 1.1 and 1.2 apply to all following phases. Preserve a decoded table of length O(L2), runtime parameters and fixed-width symbol/state codes of width at most L+O(1). Copy x to a sequential archive and read/copy the clock in O(n+log⁡(b+2)) time. All subsequent routines use fixed physical tape counts and fixed alphabets; variable-size data remain on tapes.

2.2step 1.2construct

For each source index tape reserve a separate contiguous region of b+1 binary cells, with its current length stored in metadata. Reserve these regions by arithmetic base offsets before the dictionary heap; reservation moves no head through the regions and requires no initialization sweep. A source index emits at most one bit per source transition, so its live word always fits. Appending a source bit writes at its region's base plus current length and increments that length. Use/reset sets the length to zero; future emission overwrites old bits, and reading only the current prefix ignores the discarded suffix. Interleaved emission onto different source indexes therefore never interleaves their physical words. Since at most h bits are emitted per source transition, the sum W of lengths of all words consumed at jumps, plus lengths still live at expiry, satisfies W≤hb, up to a harmless fixed-format constant. A jump using one word for several source heads in the same transition multiplies this accounting by at most h, still a polynomial in L. Reading, copying or canonicalizing each consumed word once, or a fixed number of times per affected head, therefore has total length LO(1)b. The reserved regions' total extent is O(h(b+1)), consistent with later maximum-address bounds. This charged fresh-writing invariant is exactly what fails for the old nonerasing delimited-head model.

2.3step 1.2construct

Split each numerical source head address a uniquely as a=PB+r, where 0≤r<B. Call P its block prefix and r its short offset. Store the short offset in s bits. Maintain a global prefix dictionary assigning one compact integer block ID to each registered numerical prefix. A dictionary key for P is the prefix-free word 1∣w∣0w, where w is the canonical binary numeral of P, including w=0 at zero. Use a literal binary trie: each node has two child pointers, an optional terminal block ID and its fixed metadata. Reading/inserting a key follows or creates one node per bit. Numerical equality of prefixes is equality of their canonical words, hence exactly equality of terminal nodes. No balancing, probabilistic hashing, numerical unit-cost large integers or unspecified dictionary theorem is required. Include a tape label in this key when more than one virtual work tape is allowed.

3.1step 1.1step 2.1construct

For each virtual tape, store its scanned cell as a centre and the cells on either side as two ordered stacks, nearest cell first. At level i, put hi=2i; each side has capacity 2hi, occupancy 0,hi or 2hi, and complementary occupancies summing to 2hi. Initially each side has occupancy hi at every level; the right stack holds the input suffix on the input tape and blanks elsewhere, and all left stacks are blank. Each record has an immutable origin bit, one exactly for source cell zero; it moves with the symbol record. Genuine records are packed at the near end of each zone, and concatenating zones while ignoring holes gives the stack. Each physical slot has k delimited virtual fields, each of width at most L+O(1), containing a symbol and an immutable origin bit, or a hole. Store the k centre fields and the k three-valued occupancy flags explicitly. A slot therefore has width O(L2); this uses no alphabet depending on e and no additional physical tape for each virtual tape. A stationary move changes only the centre symbol. At the left origin a requested left move also changes only that symbol. For the input tape suppress writes. These modifications preserve the same stack and origin invariants.

3.2step 2.2step 2.3construct

On a source head's jump, read the consumed address word, discard leading zeros and split off its final s bits as r, padding on the left with zeros if the word has fewer than s bits. The remaining canonical prefix is P, or zero. Form canonical P−1 when P>0, P and P+1 by ordinary binary scans; forming all three costs O(A+s) for address-word length A. Register them in the prefix trie. Record their three compact IDs as a private cache for this head, and record that the current block is the middle one. Use a special clamped boundary marker instead of a negative block when P=0. Initialize each source head at address zero with this same cache for zero and one. If several source heads jump to the same address, their numerical prefixes receive the same global IDs. The total number of prefix-trie nodes is at most the total length of all registered keys, hence at most LO(1)(b+1): for each jump, all three prefix keys have length O(A+1), and step 2.2 charges their summed lengths. Duplicated registrations only decrease the node count. Tape-label overhead adds at most LO(1) bits per jump.

4.1step 3.1constructalgebra

Implement a move to the right by first writing the old centre c and choosing the least i with a nonempty right zone. All lower right zones are empty and their left partners full. Remove the first hi records of right zone i: the first becomes the new centre, and the remaining hi−1=∑j<ihj fill the lower right zones in order, hj per zone. Right occupancy at level i decreases by hi. Prepend c to the concatenation of the lower left zones. The resulting 1+2∑j<ihj=2hi−1 records split into a first list of length hi−1, distributed in order half-full among the lower left zones, and a remaining list of length hi, prepended to left zone i. Its previous occupancy was zero or hi, so no capacity is exceeded. Both stacks keep their order, complementary occupancies at level i are preserved, and every lower zone becomes half-full. For i=0 these instructions simply exchange a stack record with the centre and push the old centre on the other stack. A left move interchanges left and right; at the origin it only writes the centre. Untouched higher zones are half-full, so a source zone always exists. Thus every operation preserves the representation and performs exactly the prescribed source move.

4.2step 3.2

Between two jumps of this head, its address changes by at most b in total absolute distance from its most recent jump address, since every local move changes it by at most one and there are at most b source transitions altogether. As B>b, every intervening address belongs to one of the three blocks P−1,P,P+1 cached at that jump. A local move updates the s-bit offset; overflow/underflow switches to the appropriate adjacent cached ID and wraps the offset. Store the current cache position as one of three finite values. Even if the head crosses the same block boundary many times, the existing IDs are reused, with no re-reading or arithmetic on long prefixes. From the lower cached block it cannot cross to an uncached lower block, and from the upper cached block it cannot cross to an uncached upper block: either would require more than B local moves since the jump. Clamp a left move at numerical zero. Thus the pair (current block ID, short offset) is always an exact address representation, with O(log⁡H+log⁡L) bits after accounting for the polynomial number of trie nodes.

5.1step 3.1step 4.1step 2.1construct

Make the scan algorithms uniform as follows. To process virtual field j, keep a unary field index of length at most L; at each slot count through the delimited fields, copy or replace just field j, and copy the other fields unchanged. A full slot, its index operations, and returning a scratch head across the bounded parameter records cost at most O(L4). The same bound covers building one fresh slot by copying the saved width and tape-count templates. Midpoint/end markers specify half-zones, so the scans need no growing arithmetic per record. Copying the selected genuine field records to scratch, distributing the prescribed lists, restoring holes and flags, and returning the physical heads use a fixed number of prefix scans for step 4.1; at level i they traverse O(2i) slots. Endpoint and optional level-label overhead is also O(2i), since the sum of the binary level-label lengths through i is O(2i). Thus the work for a level-i event on one virtual tape is at most C1L62i, uniformly in e,i. This deliberately generous bound includes scans to find the least nonempty source zone, scratch copying, occupancy changes and allocating new levels by doubling the preceding unary capacity marker. Each operation is a scan, a finite-width copy, or an index operation of length at most O(L); no unit-cost random memory operation is being assumed.

5.2step 3.1step 4.1

The event count is independent of field width. Fix a virtual tape and i≥1. Its right occupancy below level i starts at Hi=2i−1. Each event at level at least i resets it to Hi; a lower-level positive or negative move changes it by minus or plus one, and a stationary or clamped move leaves it fixed. An event at level at least i requires the appropriate lower stack empty, hence occupancy zero or 2Hi immediately beforehand. It therefore requires at least Hi preceding lower-level moves and then its triggering transition. Among b simulated transitions there are at most ⌊b/2i⌋ such events, including the first. Level zero has at most b events, and no level with 2i>b is reached. The redistribution in step 4.1 resets all lower zones even when its level is strictly larger than i; successive operations on different virtual tapes do not change each other's fields.

5.3step 2.3step 4.2construct

Maintain a second literal binary trie for virtual work cells, keyed by the compact block ID and the s-bit offset, with explicit length delimiters (and virtual tape label if needed). The key length is O(log⁡H+log⁡L). Every terminal stores the virtual symbol, initially zero/blank on first lookup. Each source transition touches at most h virtual cells, so there are at most h(b+1) terminal keys and LO(1)(b+1)log⁡H nodes in this trie. All keys with the same virtual cell get the same terminal, regardless of which source head or which jump registered that prefix. Source work-tape collisions can therefore be detected by comparing these compact address pairs for all relevant heads, in LO(1)log⁡H work per transition. Omit precisely the operations declared undefined by the source's collision convention. Read all source scanned symbols and save all source instructions before any virtual write or move.

6.1step 3.1step 4.1step 5.1step 5.2

Initially retain the input archive at position one and initialize only the centres. On first allocating level i, fill the first virtual tape's untouched right half from the next hi archive symbols, then blanks after exhaustion; initialize the other virtual fields with blank and unoccupied halves with holes. Levels are allocated in increasing order, and lower operations do not alter that untouched suffix, so every archive symbol is consumed at most once. A new level uses only the work charged to the event reaching it. Initially right zone i represents source positions 2i,…,2i+1−1; hence the archive is exactly at the next untouched interval. Slot creation and symbol coding are charged by step 5.1. Thus no full nlog⁡n distribution pass is hidden in initialization.

6.2F2step 2.1step 3.1step 4.1step 5.1construct

Before each virtual transition, test the saved state, then test expiry. If still nonhalting with positive countdown, consume one fresh fair bit to choose the corresponding decoded table. Deterministically scan its rows and compare the source state/scanned-symbol tuple with the saved state and centres, copying the unique instructions into scratch. At most O(L) rows and O(L2) saved fields are involved; repeated full scans and resets take O(L6) per transition. Save all instructions before applying any virtual write/move, process the k buffer operations in order, then update the state and decrement the binary countdown. Test the new halting state before the next expiry test, so a halt on transition b is reported. A whole countdown scan costs O(log⁡(b+2)) per virtual transition. At b=0 the nonhalting initial configuration expires immediately.

6.3step 4.2step 5.3construct

Treat read-only input separately. Since n<B, an input-head address is in range only if its block prefix is zero and its short offset is an input position. The global trie has the distinguished ID for zero, so this is a comparison of compact IDs followed by comparison of s-bit integers. On an in-range address issue a native input query with the original short address, or its fixed encoding-offset translation if the physical interpreter input is a paired encoding of (e,x,b). This translation has O(log⁡H) bits. On an out-of-range address return the source's prescribed blank. The same compact head representation implements local input moves and jumps. The original input is never expanded into the work-cell trie.

6.4step 1.2step 2.2step 3.2step 5.3construct

Store the two tries, the reserved source index-word regions, finite-program records, per-head caches, short counters and scratch on allocated regions of the interpreter's single binary classical work tape. Encode record delimiters and symbols by constant-length binary blocks. Long key/input-word arrays have total length LO(1)(b+1); trie nodes and other records have length LO(1)log⁡H. The cell trie has LO(1)(b+1)log⁡H nodes by step 5.3. Consequently every physical location used is below LO(1)(b+1)log⁡O(1)H, and every pointer has O(log⁡H+log⁡L) bits. No source's enormous numerical address is used as a physical memory location. Reserve the polynomially sized source-program/scratch region and the O(h(b+1)) source-index regions by arithmetic offsets, then use a global high-water counter to append-allocate the dictionary heap and saved long keys. This reserves address intervals without writing their unused cells.

7.1F2step 6.2step 3.1step 4.1

Buffer correctness from step 4.1 and the saved-instructions ordering imply by induction that after each virtual transition the interpreter stores the exact virtual configuration prescribed by the consumed bits. Although the physical probabilistic machine receives a bit at every physical transition, ignore all of them except at the designated virtual-choice operation. Conditional on every past consumed bit and the corresponding completed deterministic simulation, the next designated bit is still unbiased and independent: its location depends only on previous bits, and disjoint future coordinates of a finite independent-bit string have the prescribed fair conditional law. Equivalently, for each fixed virtual choice prefix of length j, induction on its successive designated choice operations gives probability 2−j; ignored physical bits have total conditional probability one. Terminal virtual prefixes are disjoint. Summing their masses proves exact agreement of acceptance/rejection/timeout probabilities, including branch-dependent halt times.

7.2F2step 2.1step 5.1step 5.2step 6.1step 6.2algebra

Summing step 5.1 using step 5.2, first for each tape and then over k≤L, bounds total buffer and lazy-allocation work by C2L7(b+∑i=1⌊log⁡2b⌋2i⌊b/2i⌋)≤C2L7b(1+⌊log⁡2b⌋) when b≥1. Add polynomial code processing, the O(n) input archive scan, transition lookup, and the binary-clock work. The physical heads move locally by at most one cell per transition, as required by the sequential profile. Enlarging the absolute exponent to d=8 and the constant covers all contributions, the binary-clock input length, and b=0. This proves the general displayed bound.

7.3step 6.4construct

Choose one pointer width q=K(s+⌈log⁡2L⌉+1) at initialization, for an absolute constant K exceeding all fixed exponents in step 6.4. Node-count and record-length bounds there imply that the allocated region is smaller than 2q; indeed its logarithm is O(log⁡L+log⁡(b+1)+log⁡(s+1))=O(log⁡L+s). Thus all pointers, lengths and allocation counters can be padded to q bits, and every trie node has fixed-width updatable pointer fields; no shifting of a long suffix or variable-record reallocation is needed. A fixed set of physical work heads accesses a record by emitting its short physical pointer on its own one-way erased index tape, taking O(q) transitions, making the native jump, and reading or updating that record by local scans. Pointers, offsets and record metadata have polynomial-in-L times logarithmic length, so each trie-node operation and each elementary bit-array read/copy takes LO(1)log⁡O(1)H physical transitions. Each concrete record operation is a bounded number of short-address accesses, scans, and ordinary binary arithmetic. This constructs a fixed-head interpreter in the same erased-index profile; its address emission is charged, and no head count depending on e has been assumed.

8.1F4step 7.2step 7.1algebra

If ∣e∣≤clog⁡2(n+2) and T(n)≤(n+2)q for fixed c,q, then L8=O(log⁡8(n+2)) and log⁡(T(n)+2)=O(log⁡(n+2)). Construct unary 1n by a sequential input scan, run the fixed constructor in [F4], and use its binary output as b. Since T(n)≥n, initialization, construction and simulation together use O(T(n)log⁡9(n+2)) time. The interpreter's simulated transitions remain sequential throughout. This proves the stated specialization without asserting a corresponding bound for arbitrary superpolynomial clocks or for VMW jumps.

8.2step 1.2step 2.2step 3.2step 5.3step 6.3step 6.4step 7.3algebra

Sum the work. Prefix registration uses LO(1)(b+1) key-bit operations by step 2.2 and step 3.2, plus at most O(s) splitting/offset work per jump. Every source transition performs LO(1) program/head/short-counter operations and at most LO(1) work-cell-trie lookups, each traversing O(log⁡H+log⁡L) nodes. Native input queries and the binary countdown take polynomially many short-record operations per source transition. Multiply by step 7.3's cost per operation, add the O(n) initial input scan and polynomial code parser, and enlarge one absolute exponent d to obtain the proposed time bound. Step 6.4 independently bounds maximum physical work-head address by that time bound. This normalization is for time-only use: it does not preserve the original source's smaller space bound.

8.3step 2.2step 4.2step 5.3step 6.3step 7.3

At each simulated configuration, test the source halting state before expiry. If nonhalting and the countdown is positive, take one designated fresh fair bit, select the source table, perform the deterministic operations above, and decrement. The dictionaries preserve exact source-cell equality and values, the prefix/offset invariant preserves exact head addresses, and the index arrays preserve exactly the source's newly written addresses and erasure. Induction on source transitions therefore reproduces the full source configuration up to expiry, including simultaneous actions and source collision semantics. A halt on transition b is reported; a still-nonhalting configuration at expiry rejects. Ignore physical fair bits at all operations except the designated one-per-source-transition choice. Conditional on each consumed prefix, the next designated bit is an independent fair bit, so each source choice prefix of length j has mass 2−j. Summing over disjoint terminal choice prefixes proves exact probability preservation.

9.1step 8.2step 8.3step 7.2F4algebra∎

For L=O(log⁡(n+2)) and fixed polynomially bounded b=T(n)≥n, both L and log⁡H are polylogarithmic in n+2. The displayed general bound is consequently O(T(n) polylog(n+2)). Scanning x to construct unary 1n costs O(n). Its fixed deterministic time-constructible constructor runs in O(T(n)) sequential time. Execute that fixed local-move machine using the already proved external-clock erased-index interpreter with successive budgets 1,2,4,…, restarting from its initial configuration until it halts and yields the binary clock. This uses no advance knowledge of T(n): the last budget is O(T(n)), the sum of the budgets is O(T(n)), and the repeated input scans cost O(nlog⁡(T(n)+2)). Since T(n) is polynomially bounded and at least n, the whole constructor simulation is O(T(n) polylog(n+2)), absorbed in the specialization. A deterministic constructor ignores the interpreter's designated fair bits. The sequential interpreter of phases 1–4 gives the specialization for the sequential profile. Neither argument identifies the erased-index profile with the old delimited-head profile.

Remarks

The proof uses distinct interpreters for the two profiles. The erased-index representation stores dense dictionaries proportional to the time used; it supplies no VMW-to-sequential simultaneous time/space bridge. The source-space coordinate therefore cannot be transported through this lemma in a counting time/space argument.

The index-only interpretation uses the final 2012 erased-index convention. It is distinct from both the derived full-basis comparison profile and the older 2007 delimited-head profile; no equivalence is asserted here.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Bounded-space simulation of a generated input

Statement

Let x have length n, and let y(x) have known length N≤(n+2)K. Suppose its zero-based bit yi(x) can be generated deterministically in log⁡O(1)(n+2) time and O(log⁡(n+2)) work cells, with ordinary direct indexed access to x. Fix a classical derived-basis machine whose run on y(x) takes at most a known polynomial clock T≤(n+2)K and whose work operands, including native query endpoints, all lie below a known power of two M≤(n+2)K. The dimensions and clocks have polylogarithmic-time/logspace binary generators. There is an index-only erased-index simulation on x with identical branch outcomes and probabilities, time O((n+T+1)log⁡O(1)(n+2)), and work-access extent O(M+log⁡(n+2)). The simulated machine has fixed finite head and tape counts; its constants may depend on that machine, the generators and K. This does not assert a sublinear-time simulation or normalization of unrestricted work addresses.

Facts & Assumptions

Given: the generators and bounds in the Statement. A separate physical tape is available for each of a fixed finite number of simulated work tapes and auxiliary trees; the total tape/head count remains fixed.

[F1]

Unbounded error time space counting model defines the derived basis profile, its native input-query operation, the index-only erased-index profile and charged operand-space convention. An input basis query on work block [u,v] reads its MSB-first address in [u,v) and flips its answer at v using the one-based input bit, with invalid indices giving zero.

Proof

1.1F1givenconstruct

Store each simulated binary work tape unchanged on a physical binary tape, initially zero, and maintain its fixed finite head addresses with O(log⁡(n+2))-bit counters. Since all work accesses are below M, every valid work-head/index endpoint value is bounded by M. Accumulate a freshly emitted source index bit by shift-and-append, saturating work indices at M and ordinary input-head indices at N+T+1. A work overflow cannot be used on the promised run; appending bits cannot undo it. An overflowing input jump remains outside the input for every remaining local step, so a FAR marker returns blank until the next jump. Index lengths and emitted contents are unread except on use; these numeric summaries and resets therefore implement exactly their observable effects. Each counter operation, short physical index emission, head read/write and input-position comparison costs polylogarithmic time and logarithmic workspace. Physical input-head read at position i<N calls the generator of yi(x), using charged short erased indices for its source-input reads. Outside that range it returns blank.

2.1step 1.1constructinduction

For each simulated work tape keep a second zero-initialized binary tape containing the heap representation of a complete binary OR tree with M leaves. Leaf M+a stores work bit a for 0≤a<M, and internal node j stores the OR of nodes 2j,2j+1. Initially every value is zero, matching the source; no initialization sweep is needed. When work bit a changes, update its leaf and ascend through ⌊j/2⌋ to the root, recomputing each OR from its two children. At most 1+log⁡2M nodes are visited; every address is below 2M and takes O(log⁡(n+2)) bits to emit. Thus an update costs polylogarithmic time with only a fixed number of logarithmic counters. The invariant follows inductively because only ancestors of the changed leaf can change. Arbitrarily many zero cells require no explicit allocation or stored pointers.

3.1step 2.1constructinduction

The OR of work interval [l,r) is found in at most 2log⁡2M+2 tree-node reads. Initialize the accumulated OR to zero and put L=M+l, R=M+r. While L<R, if L is odd include node L and increment L; then if R is odd decrement R and include that node; finally replace both by their integer halves. Return the accumulated OR when L=R, in particular zero without a node read when l=r. At each iteration the included fringe nodes are disjoint, and the remaining uncovered interval is the union of the complete sibling pairs between the updated endpoints; halving replaces precisely those pairs by their parents. Induction proves that the included nodes partition exactly the original leaf interval. Each level includes at most two nodes, and there are at most 1+log⁡2M levels. Their stored OR is therefore exactly the requested range OR. The procedure uses logarithmic counters and polylogarithmic time.

4.1F1step 1.1step 2.1step 3.1construct

Implement a native source query with u≤v as follows. Put k=⌈log⁡2(N+1)⌉, and inspect the last min⁡(k,v−u) address bits immediately before v, using short physical addresses. Let p=max⁡(u,v−k). Query the tree OR of [u,p). If it is one, the binary input address is at least 2k>N, so the native query leaves its answer unchanged. Otherwise the entire numerical address is the inspected low word, padded with leading zeros to k bits. For 1≤i≤N, generate yi−1(x) and XOR it into work bit v, then update that tape's OR tree as in step 2.1. For an invalid index leave the answer unchanged. The empty address gives zero and hence no change, and reversed endpoints are omitted as specified by [F1]. Only O(log⁡(n+2)) work-bit reads, a range-OR query, one generator call and one update are needed. Every accessed physical work/tree address is O(M), and only logarithmic scratch is used. The source address word can be reused indefinitely; the maintained tree avoids rescanning its long high part.

5.1F1step 1.1step 2.1step 3.1step 4.1constructinduction∎

Ordinary source local operations change only a fixed finite number of bits, so apply step 2.1 to each changed bit after taking the source's simultaneous reads and respecting its collision rule. Source input queries are exact by step 1.1 and step 4.1, and all head/index transitions are exact by step 1.1. Induction on the source clock therefore gives the identical source configurations and branch outcomes, with the harmless FAR summary of permanently blank input positions. The simulator takes exactly one designated independent fair bit per source transition and ignores all its other physical fair bits; each source choice prefix has its original mass 2−j. All auxiliary work is deterministic, so outcomes and acceptance probabilities are identical. At most a polylogarithmic amount of work is done per transition, plus the initial O(n) input-length setup. Source work and OR trees have extent O(M) on fixed finitely many tapes, and every generator/counter needs O(log⁡(n+2)) workspace. These are exactly the claimed time and space bounds.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Logspace predicates in a fixed linear counting hierarchy level

Statement

Every language in conventional deterministic logarithmic space lies in LCHseq,k and LCHbasis,k for some fixed integer k. Here logarithmic space has its standard uniformity meaning: the read-only input positions are bounded by endmarkers, and any input-address register counts toward workspace. The level may depend on the fixed predicate machine. This statement is used for the standard logspace wiring predicate of polynomial-size circuits.

Facts & Assumptions

Given: a fixed conventional deterministic logarithmic-space predicate machine, with bounded read-only input positions and any explicit input-address registers charged to workspace.

[F1]

Unbounded error time space counting model fixes the oracle and input-access conventions for each LCH level.

Proof

1.1F1givenconstruct

Fix the machine. Its input-head positions, finite state and logarithmic workspace have at most nc configurations, for a fixed integer c. A halting deterministic computation cannot repeat a configuration, so increase c to bound its running time by nc. Make both halting states absorbing. A configuration has O(log⁡n) bits, including the conventional bounded input positions, charged input-address registers if used, finite state and work symbols. Small input lengths can be decided separately.

2.1step 1.1constructinduction

Put b=⌊n⌋ for sufficiently large n. To assert that configuration u reaches v in exactly ℓ steps, existentially specify b−1 intermediate configurations. Divide ℓ into b consecutive intervals whose lengths differ by at most one. Universally select one interval and assert the corresponding endpoint reachability for that shorter length. This equivalence follows by taking the actual intermediate configurations in the forward direction and concatenating all verified segments in the reverse direction. Iterate for a fixed r>2c levels; continue until the selected interval has bounded constant length. Indeed the recurrence ℓj+1≤ℓj/b+1 gives ℓr≤nc/br+2, bounded by three for a sufficiently large fixed r>2c. At each level the existential list uses O(nlog⁡n) bits, and the universal index uses O(log⁡n) bits. Zero-length intervals demand equal endpoints.

3.1step 2.1F1construct

A fixed-level verification takes O(n) sequential time. The machine reads/copies x and checks the short configuration list by sequential scans. To pass a selected subproblem to its next level it writes x, the two selected endpoints and the interval length, using O(n) symbols. At a leaf it initializes the fixed simulated tapes from the endpoint and moves the input head to its specified position by a scan of length at most n; it then simulates at most three transitions and checks the endpoint in O(n) total time. If the conventional logspace predicate uses bounded random-access input queries, each of these constantly many queries can be performed by a sequential scan of x of length O(n). This makes no near-linear sequential simulation claim for an entire random-access computation. Arithmetic on the O(log⁡n)-bit interval lengths costs a fixed polylogarithmic amount, absorbed by O(n).

4.1step 1.1step 2.1step 3.1constructinduction∎

Convert the constant alternating sequence to a fixed finite number of linear probabilistic oracle levels. For an existential block of s=O(n) guessed bits with oracle-verifiable predicate B, use one extra fair bit: on branch 0 accept unconditionally; on branch 1 guess those s bits and accept exactly when B holds. Padding both branches to s bits gives acceptance probability 1/2+#B/2s+1, strictly above half precisely when a witness exists. Universal blocks are complements of existential blocks with complemented predicates. Complement is available with linear overhead by Bounded-overhead tie normalization for fair-bit machines: for a machine with exactly R fair bits and acceptance probability p, first reject on the all-zero (R+2)-bit selector and otherwise run that machine. Its new acceptance probability (1−2−(R+2))p has the original strict-majority decision and never ties, since an original positive gap is at least 2−R. Exchanging accepting and rejecting labels therefore decides the complement. The same proof uses exact oracle answers and relativizes. Query lengths and per-level work are O(n) by step 3.1; a fixed tagged union of the needed oracle predicates lies at their maximum level, after padding lower levels by dummy queries. Thus finitely many levels suffice. Finally existentially select the accepting endpoint at time nc and apply the reachability predicate. This decides the original machine's language in sequential LCHk for some fixed k. Sequential fixed-tape machines embed into the published binary multihead profile with a fixed number of interleaved tracks: neighboring cells are a fixed stride apart, so local moves take constant time. This embeds each sequential hierarchy level into the corresponding published-profile level as well.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Uniform threshold iterated integer arithmetic

Statement

For m,w≥1 explicitly listed nonnegative w-bit integers, iterated sum and product have constant-depth polynomial-size uniform threshold-circuit families over AND, OR, NOT and MAJ. Their exact binary outputs need at most w+⌈log⁡2m⌉ and mw bits, respectively. Addition is DLOGTIME-uniform and multiplication is logspace-uniform, each in the total input length, under the explicit bit-array convention: input bit xi,j has tuple address (i,j), dimensions are supplied to the uniformity machine, and power-of-two padding uses zero entries. Circuit gate addresses have a fixed number of binary coordinate fields. The claim concerns this explicit representation, rather than arbitrary effectively decodable encodings.

Facts & Assumptions

Given: m,w≥1 and the explicit input array and uniformity conventions in the Statement.

[F1]

DLOGTIME uniform iterated addition threshold circuits constructs exact iterated addition with DLOGTIME-uniform constant-depth polynomial-size threshold circuits in this array convention.

[F2]

Logspace uniform iterated multiplication threshold circuits constructs exact iterated multiplication with logspace-uniform constant-depth polynomial-size threshold circuits in this array convention.

Proof

1.1givenalgebra

Each summand is at most 2w−1, so their sum is at most m(2w−1)<m2w≤2w+⌈log⁡2m⌉. Each factor is less than 2w, so their product is less than 2mw. Thus the stated widths suffice, including zero inputs and leading-zero padding.

2.1F1F2step 1.1construct∎

Apply [F1] to the input bit array to obtain the sum circuit, with precisely the permitted sum output width and the declared DLOGTIME uniformity. Its construction permits arbitrary m,w; in particular the uniformity bound is logarithmic in the explicit array length even when the number of summands is large. Apply [F2] to the same array to obtain the product circuit, padded to mw bits, with the declared logspace uniformity. These suppliers use exactly the gate basis and representation required here. Together with step 1.1, they establish all the circuit and output claims.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Time normalization of classical basis queries

Statement

For an explicitly coded machine in the derived full classical basis profile, input x of length n, and external transition clock b≥n, there is a fixed finite-head index-only erased-index interpreter reproducing exact acceptance, rejection and timeout probabilities. Writing L=∣e∣+1 for source description length, its time and maximum physical work-access address are bounded by CLd(n+(b+1)log⁡d(n+b+L+2)) for absolute constants C,d. In particular, logarithmic descriptions and each fixed polynomial clock T(n)≥n have O(T(n) polylog(n+2)) overhead, including clock construction. This is a time-only normalization; it does not preserve a smaller original source space bound and makes no general equivalence claim for clocks below input length.

Facts & Assumptions

Given: a valid explicit finite-table code e, input x of length n and external clock b≥n. Put L=∣e∣+1, H=n+b+L+2, s=⌈log⁡2H⌉, B=2s, and k=⌈log⁡2(n+1)⌉.

[F1]

Uniform clocked simulation of encoded probabilistic machines supplies the index-only finite-table parser, fixed physical head protocol, disjoint source-index regions, total fresh emitted-word bound, and the a=PB+r address representation with three neighboring cached block IDs per head. Its explicit construction also supplies the external-clock driver. We replace its unordered prefix/cell tries with the ordered structures proved below. Fresh erased endpoint words have the same total-length bound as ordinary jump indices.

[F2]

Unbounded error time space counting model defines the derived basis profile with finitely many binary work tapes, native queries on a designated tape, charged query endpoints, and the distinct index-only target. Query [u,v] reads the MSB-first address word in [u,v) and flips the answer at v using xi; x0=0, indices above n give zero, and reversed endpoints omit the query. The empty word represents zero. Every source local operation has fixed finite arity, and all finite head/tape counts and instruction widths are polynomially bounded in L under the explicit complete-table code.

Proof

1.1givenconstructalgebra

First construct and justify the only balancing procedure used below. An insertion-only AVL tree is a binary search tree with each node storing its key, two child pointers, a parent pointer, height, subtree size and optional OR aggregate. Set the height of an empty subtree to zero. Maintain that the two child heights differ by at most one. A tree of height h has at least Nh nodes, where N0=0, N1=1 and Nh≥1+Nh−1+Nh−2. For h≥2 this implies Nh+1≥2(Nh−2+1), since the minimum sizes are nondecreasing. Induction therefore gives Nh+1≥2⌊h/2⌋, so h≤2log⁡2(Nh+1)+1. Consequently the invariant implies logarithmic root-to-node paths, without any distributional assumption on keys.

2.1step 1.1construct

Search by the ordinary ordered comparisons. An absent key is inserted as a leaf at the null child where search ends. Retrace its ancestor path, recomputing height, subtree size, and OR aggregate from each node's two children and its own value. Until the first unbalanced ancestor, each subtree height increases by at most one; these metadata updates are required whether or not a rotation occurs. If no ancestor is unbalanced, the height invariant already holds. Otherwise let z be the lowest unbalanced ancestor. Suppose its left height has become two greater than its right height; the opposite case is the left/right reflection. Let y be its left child. The child y cannot have equal child heights: if its new child heights were t,t, one child would be unchanged at t, so its old maximum child height would already have been t and its own height would not have increased. Thus the new child heights of y differ by one. If y is left-heavy, write the heights of its left subtree, its right subtree and z's right subtree as t+1,t,t. Rotate right at z, making y the root of this local subtree. Its right child is now z, whose two child heights are t,t, hence whose height is t+1; y's two child heights are both t+1, hence its height is t+2. Recompute the fields of the rotated nodes bottom-up, then continue the metadata updates above the repaired subtree. All local balances are valid. The old pre-insertion subtree at z also had height t+2, so this restores that old height.

3.1step 1.1step 2.1construct

In the remaining left-heavy case, y is right-heavy. Let w be y's right child. Write the heights of y's left subtree and z's right subtree as t,t. The two child subtrees of w have heights each at most t, at least t−1 when nonempty as required by AVL balance, and maximum t. Rotate left at y, then right at z, making w the local root. Its left child y now has child heights t and at most t differing by at most one, hence height t+1; its right child z has the analogous heights and also height t+1. The root w has height t+2, again the old pre-insertion height at z. This also covers t=0, where the relevant empty children have height zero. The right-heavy cases are exact reflections. Rotations preserve the in-order key sequence: the single rotation changes ((A,y,B),z,C) to (A,y,(B,z,C)), and the double rotation changes ((A,y,(B,w,C)),z,D) to ((A,y,B),w,(C,z,D)). All nodes retain their stable identities, while a constant number of child/parent pointers change. After this first repair the subtree's old height is restored, so higher ancestors cannot acquire a new imbalance. Recompute height, size and OR first on the lower rotated nodes, then their new root, and then along the remaining ancestor path. Thus search and insertion use O(log⁡(N+2)) node operations, and maintain all stated fields. This proves the needed AVL result locally; no deletions will be used.

4.1F1step 1.1step 3.1construct

For each virtual binary work tape keep an outer insertion-only AVL tree whose keys are canonical numerical block prefixes P in the representation a=PB+r, 0≤r<B. Each outer node has a permanent compact block ID equal to its stable allocation ID. Store a canonical binary prefix word and its length at that node. To compare a freshly supplied prefix of length A′ with a stored prefix, first compare their lengths, which are short integers. If unequal this decides numerical order; if equal compare their A′ bits lexicographically. Each comparison costs O(A′+log⁡H+log⁡L) elementary short-address/bit operations, including access to the stored key. Search/insertion makes O(log⁡(N+2)) such comparisons by step 1.1 and step 2.1 and step 3.1. Only head-jump or query-endpoint registration requires such a fresh-key search. As in [F1], on every registration also register P−1 if nonnegative and P+1, whose canonical words can be formed by ordinary scans in O(A′+1) work. The sum of all these key lengths is LO(1)(b+1) by fresh-index charging in [F1]; duplicate keys are not stored twice. This bounds all long-prefix reading and key comparison costs by LO(1)(b+1)polylog H. Initial prefix zero and its neighbor one add only fixed keys per virtual tape.

5.1F1F2step 3.1step 4.1construct

Every outer node owns an inner insertion-only AVL tree of all offsets so far accessed in that block. Its keys are s-bit offsets; its node stores the current binary cell value. Keep nodes even when their value becomes zero, so deletion is unnecessary. The inner subtree OR is the OR of its nodes' cell values. The outer node's own OR is its inner root's OR, or zero for an empty inner tree; its subtree OR combines its own OR and the two outer child subtree ORs. A new cell is initially zero, and then receives any prescribed write. Each source local operation accesses only LO(1) cells. A query will access at most k+1 individual cells in addition to its range-OR operation below. Hence the number of inner nodes is at most LO(1)(b+1)(k+1). Searching/inserting an offset costs O(log⁡(N+2)) comparisons of s-bit keys. A bit-value change recomputes OR along its inner ancestor path and then along its owning outer node's ancestor path; rotations maintain the same aggregates by step 3.1. Thus one short-offset access/write costs LO(1)polylog H physical work. Unregistered prefixes and absent offsets represent zero cells.

5.2F1step 1.1step 3.1step 4.1construct

The parent pointers and subtree sizes allow numerical comparisons of already registered block IDs without rereading their possibly long keys. Compute the in-order rank of a known node v as its left-subtree size plus one, then ascend to the root, adding one plus the ancestor's left-subtree size whenever the current node is that ancestor's right child. Every node visited contributes exactly the keys preceding v that lie in the corresponding ancestor piece, so the result is the exact one-based numerical rank. This uses O(log⁡(N+2)) short-record operations by step 1.1. Stable node IDs and current parent/size fields remain valid after rotations. No insertion occurs while the ranks of one operation are being used. Two compact cell addresses are compared by these outer ranks and then their short offsets. Local head moves use the same three cached adjacent-prefix IDs as [F1]: between source jumps a head travels at most b<B cells, so cannot leave those three blocks. In particular repeated crossings of a block boundary cost only short-offset arithmetic and cached-ID selection. They never incur another long-prefix comparison.

6.1step 1.1step 5.1step 5.2construct

Prove the range-OR procedure explicitly. In an AVL tree whose nodes have in-order ranks, sizes and OR aggregates, the OR of a contiguous rank interval is obtainable in O(log⁡(N+2)) node visits. At a subtree, its root rank and child rank intervals are computed from a carried starting rank and the left size. If a subtree's whole rank interval is inside the query interval, use its stored aggregate; if disjoint, skip it; otherwise recurse on the intersecting children and include the root's own value if its rank is in the interval. At each depth only subtrees containing one of the two query boundaries can require recursion: at most two partially intersected subtrees, together with at most a constant number of their fully included/disjoint children. Thus total visits are O(height+1). Inner offset trees use ordinary s-bit key comparisons to locate offset bounds, with the same procedure or the corresponding two boundary paths. For a source address interval [a,c), if both endpoints have the same block ID, query that inner offset interval. If their block IDs differ, OR the suffix of the left inner tree, the prefix of the right inner tree, and the outer subtree range strictly between their numerical ranks. Registered endpoint prefixes exist by registration, even if their inner trees are empty. All untouched cells contribute zero. This computes exactly the OR of every source work bit in [a,c), including arbitrarily large gaps of unvisited zero cells, in LO(1)polylog H work.

6.2F1step 3.1step 4.1step 5.1construct

Realize the data structures in the index-only target by the fixed physical protocol in [F1]. Source index words occupy separate b+1-cell reserved regions; arithmetic reservation does not scan them. Store the long prefix words in append-allocated arrays. Allocate each outer/inner node as a fixed-width binary record with short child/parent pointers, height/size, current bit or inner-root pointer, and OR fields. The outer-node count and total long-key length are LO(1)(b+1); the inner-node count is LO(1)(b+1)log⁡H. All record lengths are LO(1)log⁡H, so the largest physical address is LO(1)(b+1)log⁡O(1)H. Select a padded pointer width q=K(s+⌈log⁡2L⌉+1) for a sufficiently large absolute K; the preceding bound is smaller than 2q. Every pointer, height, size and low-offset arithmetic operand fits in polynomially many q-bit fields. A constant number of fixed physical heads, reserved scratch regions, emitted short erased input/work indices and ordinary local scans implements each elementary node or array-bit operation in LO(1)polylog H transitions, as in [F1]. No extra physical head per source head, arbitrary alphabet extension, unit-cost large-integer operation, or long uncharged address is used.

7.1F2step 4.1step 5.1step 5.2step 6.1construct

On a source basis query, consume and register the two fresh endpoint index words, with their neighboring prefixes, as in step 4.1. Save the answer bit at address v. Starting from endpoint v, take at most k virtual predecessor steps, stopping at u. Each predecessor uses only short-offset arithmetic and the cached three-prefix neighborhood of v, because k≤b<B for n≥1; when n=0, k=0 and no predecessor step is needed. Record the encountered bits, in reverse order, to obtain the last min⁡(k,v−u) address bits. Comparisons with u use compact ranks/offsets from step 5.2, not long key strings. Let p be the position reached, namely max⁡(u,v−k). Query range-OR on [u,p) using step 6.1. If that OR is one, some address bit more significant than the last k bits is nonzero, so the query address is at least 2k>n and the answer must stay unchanged. If it is zero, the entire numerical input address is the recorded low word, padded with leading zeros to k bits. Compare that short integer i with 1 and n. Outside 1≤i≤n, leave the answer unchanged; inside this range, emit the physical input address for bit i (subtract one, then add any fixed paired-input encoding offset) on the index-only target's ordinary input index tape, make the native classical input read, and XOR the retrieved input bit into the saved answer cell. In the empty-address case u=v, the low word is zero and x0=0 as specified. This exactly implements Qx on all basis work configurations, while never invoking a block query in the target. The source address register can be reused indefinitely; each operation uses aggregates and short accesses rather than rescanning that register.

8.1F1step 4.1step 5.1step 5.2step 6.1step 7.1step 6.2algebra

The charged long-prefix operations total LO(1)(b+1)polylog H by step 4.1. Each source transition additionally uses LO(1)polylog H for finite-table lookup, short head updates, collisions, ordinary cell reads/writes, and at most one fixed finite number of basis queries. A basis query contributes at most k=O(log⁡(b+2)) short cell accesses, a constant number of rank/range-OR operations, and a short emitted input index, all bounded by the same type of polylogarithmic factor. Multiply by the short-record physical cost from step 6.2, add the O(n) input-length scan and polynomial code initialization, and enlarge the absolute exponent d to obtain the theorem's bound. The same allocation bound proves the asserted time-scale maximum address. This is solely a time normalization; the dictionary need not respect a smaller original source space bound.

9.1F1F2step 5.2step 7.1step 8.1

Use [F1]'s external-clock driver: test halting before expiry, consume one designated fresh fair bit for the next source table, save the complete source instructions, and apply their operations with the source's simultaneous-action and collision conventions. Ordinary source operations are exact by [F1] and the compact numerical address/value invariants; a source block query is exact by step 7.1. Induction reproduces the entire source basis configuration after each simulated transition. All added dictionary, balancing, rank, OR and input-read work is deterministic. Ignoring physical fair bits except the designated source choices therefore preserves every consumed source prefix's probability 2−j; summing disjoint terminal prefixes preserves acceptance, rejection and timeout probabilities exactly. A halt on transition b is reported, and nonhalting expiry rejects.

10.1F1step 8.1step 9.1algebra∎

For descriptions of length O(log⁡(n+2)) and fixed polynomially bounded clocks b=T(n)≥n, both L and log⁡H are polylogarithmic in n+2, so step 8.1 gives O(T(n) polylog(n+2)) time. A fixed deterministic clock constructor can first be simulated by the already proved index-only external-clock interpreter with doubling budgets, as in the combined clocked candidate, with total time O(T(n) polylog(n+2)). The resulting index-only target is included in the basis-query profile. Thus the time-hierarchy diagonal can use this normalized interpreter in the basis-query profile, and Cook-style trace encodings can use its bounded-address index-only computation. This does not identify sublinear-time basis-query and index-only classes, and transports no original source-space bound.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Logspace uniform near-linear Cook formula encoding

Statement

Use raw binary input pairs and the fixed-width clause encoding in the proof. For each fixed deterministic sequential multitape computation of worst-case time T≥1 on (x,y), there is a formula F(x,y,z) of size O(Tlog⁡O(1)(T+2)), each encoded output bit generated in log⁡O(1)(T+2) time and O(log⁡(T+2)) workspace with direct input-bit access. Its input-dependent constants form one ordered initial block, permitting sequential on-demand generation with the same polylogarithmic overhead per output-head transition. For fixed x,y there is exactly one satisfying z when the computation accepts, and none otherwise. The same conclusions hold for a fixed derived-basis machine when T is at least its input length. Variable blocks and malformed-input behavior are fixed with the machine.

Facts & Assumptions

Given: a fixed deterministic machine, an integer time bound T≥1, and its finite transition table.

[F1]

Effective binary encodings and total decoders fixes effectiveness; the proof specifies raw bit arrays and fixed-width clause slots explicitly rather than inferring resource bounds from an arbitrary decoder.

[F2]

Uniform clocked simulation of encoded probabilistic machines supplies the sequential/index-only interpreters, and Time normalization of classical basis queries normalizes derived basis queries into an index-only computation with polynomially bounded physical addresses for clocks at least input length. The distinct profiles are defined in Unbounded error time space counting model.

Proof

1.1F1givenconstruct

Use the declared sequential multitape model, with its fixed finite alphabet, fixed number of heads, and heads initially at zero. Make halting states absorbing. In T steps a head visits only positions 0,…,T, so each head address has O(log⁡(T+2)) bits. A candidate trace lists, for every time t<T, its state, head addresses and scanned/written symbols, together with the final state and addresses. Constant-table transition checks, binary increment/decrement/clamping checks, the initial state/address checks and final acceptance check have bounded-fan-in circuits of total size O(Tlog⁡(T+2)). Each table lookup has constant size because the simulated machine is fixed.

1.2F2construct

For a fixed deterministic machine in the derived basis profile and T≥n, the deterministic instance of [F2] gives an exact index-only interpreter of time T′=Tlog⁡O(1)(T+2) whose actually used physical addresses and index words have O(log⁡(T+2)) bits. The description is fixed and its fair-bit tables agree, so no probabilistic choices affect this computation. The interpreter's source input, code and clock have total length O(n+log⁡(T+2)). Its explicit time bound can be rounded up to a fixed uniformly computable Tlog⁡c(T+2) clock. No sublinear-space preservation is needed for this formula construction.

2.1step 1.1construct

For every tape and time create an access record containing tape ID, address, time, read symbol and written symbol, copied by wires from the trace. A read-only access has equal read/write symbols. Include initial records at time −1 for the at most T+1 relevant cells of the input tape, each with its actual input symbol as written symbol. Other tapes are initially blank. Use a validity bit and pad the records to a power of two by dummy records. Sort by (validity,tape,address,time), putting dummies last. Require each real record's read symbol to equal the preceding record's written symbol when the tape/address keys agree; at a first access to an address with no initial record require blank. Initial records need no read check. Thus the trace satisfies all these checks if and only if every reported read is the last symbol actually written to its addressed tape cell, or the correct initial symbol.

3.1step 2.1constructinduction

Here is the complete sorting construction used in step 2.1. Compare two b-bit keys lexicographically using the first unequal bit, realized by a prefix equality chain and Boolean gates; select both output records with multiplexers. This costs O(b) gates. A bitonic merge of 2h records compares pairs at distance h, retaining smaller records in the first half and larger in the second, then recursively merges each half. To verify this, it suffices to consider Boolean keys: if sorting failed, applying a threshold between two inverted output keys commutes with every comparator and gives a Boolean failure. In a circular bitonic Boolean sequence the ones form one circular interval. The distance-h comparisons therefore either remove all ones from the smaller half or all zeros from the larger half; both halves remain circular bitonic, and every smaller-half bit is at most every larger-half bit. Induction proves merge correctness. Sort two halves in opposite directions recursively, concatenate to form a bitonic sequence and merge. For L padded records the merge uses O(Llog⁡L) comparisons and the sort uses O(Llog⁡2L) comparisons. Here L=O(T+1) and record width b=O(log⁡(T+2)), yielding O(Tlog⁡3(T+2)) Boolean gates.

4.1step 1.1step 2.1step 3.1constructinduction

Memory consistency and the transition checks determine the trace uniquely from the input: induction on time first determines the scanned symbols from the earlier writes, and then the fixed deterministic transition determines the state, writes and next head addresses. The true trace passes all checks exactly when the original computation accepts. All sorting and checking gates are deterministic functions of the candidate trace. Introduce one variable for each gate output and constant-size clauses enforcing that gate's truth table; require the final checking conjunction to be true. For each input there is therefore exactly one satisfying assignment of all trace/gate variables when it accepts and none when it rejects. The number of clauses is the circuit size, and explicit binary variable names increase formula encoding length by at most O(log⁡(T+2)).

5.1step 3.1step 4.1F1construct

Fix the formula as the concatenation of fixed-width padded encodings of those local clauses. A gate has a tuple address consisting of module type, trace time or sorting round, wire number and bit/gate offset. Bitonic sorting pairs wire i with ixor2j in its round (k,j); its direction is fixed by the relevant kth bit of i. In the recursive implementation this same tuple rule follows by the successive half merges described in step 3.1. Ripple comparisons and multiplexers have locally indexed predecessors. Thus one requested clause/variable-name bit is generated by O(polylog⁡T) operations on O(log⁡T)-bit counters, storing only a fixed number of such counters. Decoding fixed-width clause offsets is integer arithmetic on O(log⁡T) bits and costs polynomial time in log⁡T even with school algorithms. Fix input-gate variables by unit clauses in one initial ordered block, with a common fixed clause-slot width and the clause for xi in slot i. Only this block contains actual x symbols; all other clauses refer to variable names. Unfixed y symbols remain input variables. For isolated bit generation, the bit generator uses the declared direct access to the indicated input bit. For sequential consumers, a unit move of the formula-input head changes the required source-input position by at most one inside this block; outside it park the source head at the nearest endpoint. This monotone address map charges all source-head motion to formula-head motion plus initial setup, so sequential on-demand generation uses polynomial-logarithmic overhead per formula-input transition and O(log⁡T) workspace without uncharged random access. This proves logarithmic workspace and polylogarithmic output-bit time for the sequential construction; the separate derived-basis extension follows below.

6.1step 1.1step 2.1step 3.1step 4.1step 5.1step 1.2construct∎

Apply step 1.1 and step 2.1 and step 3.1 and step 4.1 and step 5.1 to a trace of this bounded-address interpreter, with one addition: each fixed native index tape is represented by its O(log⁡T)-bit accumulating value and length, updated by shift-and-append on an emitted bit and reset on use. A jump's next head address must equal that accumulated value. Head collisions and the source's suppressed-write rule are fixed local checks; records at equal time are sorted further by head label, and colliding heads have no intervening writes, so the adjacent-record memory test remains correct. All addresses, states, index prefixes and counters use O(log⁡T) bits, and the fixed number of heads contributes only a constant factor. The verifier and clauses consequently have size Tlog⁡O(1)T and the same local polylogarithmic-time/logspace generation. The deterministic interpreter has exactly one valid trace, so the unique-witness conclusion is unchanged. Input-dependent unit clauses remain in the ordered initial block. This establishes the claimed extension for the derived basis profile while retaining the sequential construction.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Counting time space to linear hierarchy

Statement

For constants α>1 and 0<β<1 there is a finite integer τ(α,β) such that PrTISPP(nα,n1−β)⊆LCHP,τ for either fixed profile P∈{seq,basis}. The basis profile is the explicitly derived full-basis comparison, with native queries and charged operand endpoints.

Facts & Assumptions

Given: fixed constants α>1, 0<β<1 and a fixed source machine in one declared profile with the stated asymptotic time and space bounds.

[F1]

Unbounded error time space counting model fixes both profiles, charged erased index emission and the strict machine threshold.

[F2]

Uniform threshold iterated integer arithmetic supplies DLOGTIME-uniform addition and logspace-uniform multiplication, with explicit bit-array encodings.

[F3]

Logspace predicates in a fixed linear counting hierarchy level puts the fixed logspace multiplication wiring predicate in a fixed level of either hierarchy.

[F4]

Bounded-overhead tie normalization for fair-bit machines permits linear-overhead complement of strict-majority machines and relativizes to exact oracles.

Proof

1.1F1givenconstruct

Choose fixed rational a>α and 0<γ<β. Outside finitely many lengths, the source time and space are bounded by the computable integers T=⌈na⌉ and S=⌈n1−γ⌉; fixed machine constants are absorbed by these strict exponent margins. Decide the finitely many remaining strings by a hardwired finite table. Pad every random branch to the common clock T, consuming suffix bits in its halted state without changing its outcome. Time-stamp configurations. In the basis profile, keep each unread write-only index only through its numeric prefix saturated at S+1 for any work-head or native-query endpoint target. Appending a bit cannot decrease an overflowing value, and such a value is never used on a true S-space computation. For an input target saturate at n+T+1; an overflowing input jump stays beyond the input during every remaining local step, so a FAR marker returns blank until the next jump. Index tapes cannot read their emitted length or contents before use; leading zeroes and discarded overflow bits therefore have no other observable effect. Their reset returns the numeric prefix to zero. Current input positions up to n+T+1 and FAR markers use logarithmic length. The fixed number of indices contributes only O(log⁡T+log⁡n) bits. Their descriptions have O(S+log⁡T+log⁡n) bits and there are 2O(S+log⁡T+log⁡n) of them. The accepting probability is the sum of path counts from the initial configuration to all accepting clock-T configurations divided by 2T. The strict threshold is therefore comparison with 2T−1.

2.1step 1.1constructalgebra

Put q=⌈nγ⌉. For a segment of length ℓ, split its time interval into q consecutive intervals differing in length by at most one, sum over the q−1 checkpoint configurations, and multiply the corresponding segment path counts. Concatenation of the component paths bijects with the original paths, so this arithmetic identity counts each path exactly once, including parallel fair-bit edges. Each checkpoint tuple has O(q(S+log⁡T+log⁡n))=O(n) bits. At each stage the sum fan-in is at most 2O(n) and each product fan-in is q, polynomial in n. After a fixed r>a/γ stages, segment lengths are bounded by a constant because the recurrence ℓ′≤ℓ/q+1 has bounded rounding sum. Count the constantly many bottom transitions directly by enumerating their constantly many bit strings. Sum the top counts over accepting endpoint configurations. This gives constant-depth arithmetic circuits of size 2O(n). Every count and every padded input/output word needed in a fixed number of arithmetic substitutions has polynomially many bits.

3.1F2F3step 2.1construct

Substitute the arithmetic circuits of [F2]. Addition subcircuits may have exponentially many polynomial-width operands: DLOGTIME uniformity in their own size decides their local wiring in O(n) time on O(n)-bit addresses. Multiplication subcircuits have only q polynomial-width operands, so their own input size is polynomial in n; their logspace gate-address predicate uses O(log⁡n) space. By [F3] that predicate lies in a fixed sequential LCHk. Arithmetic-level checkpoint wiring and the bottom transition predicates are decidable in O(n) sequential time from the full labels and x: each configuration has sublinear length. To check a native query transition, scan its work-address block, cap its numerical input index at n+1 and scan x at the indicated valid position; this costs O(S+n)=O(n). Only a constant number of transitions are checked at a bottom leaf. Thus the resulting constant-depth Boolean circuit has 2O(n) gates with O(n)-bit labels and a fixed-LCH adjacency/type/input predicate. The exact output comparison with 2T−1 is an additional constant-depth Boolean layer: test the highest bit or the indicated lower bits lexicographically, using their known threshold word.

4.1F1F3F4step 3.1constructinduction

Evaluate these circuits by induction on their constant depth. Sample uniformly an O(n)-bit candidate predecessor label. For a strict-majority gate, a nonedge contributes an independent unbiased acceptance bit and an edge contributes the predecessor value. The acceptance probability is above half exactly when strictly more than half of the actual predecessors are true; neutral nonedges cancel exactly. For an ordinary at-least-half MAJ gate, instead use complemented predecessor values in this procedure, then apply [F4] and exchange the outcomes; this accepts exactly when at least half of actual predecessors are true. OR is existential truth of an adjacent true predecessor: branch 0 accepts unconditionally and branch 1 samples a label and accepts exactly on an adjacent true predecessor, giving strict majority exactly when such a label exists. For AND, form the analogous OR test for a false predecessor, apply [F4] to remove its possible tie when no such predecessor exists, and exchange the outcomes. NOT queries and inverts its unique predecessor. These formulas also give the correct empty AND/OR conventions if such gates occur. All oracle query strings and random choices have O(n) length; no rank-selected predecessor enumeration is assumed. Tagged unions of the adjacency and lower-depth predicates fit in the maximum of their fixed levels, since a lower-level machine can be padded by an unused query. Tie normalization relativizes because it treats every oracle answer as exact. Thus each depth adds only a fixed finite number of hierarchy levels.

5.1step 1.1step 3.1step 4.1∎

The depth bound depends only on α,β and the fixed arithmetic constructions. The multiplication adjacency predicate and its hierarchy level are fixed independently of the simulated machine; its transition table changes only the constants in deterministic linear-time local checks. Hence a fixed finite τ(α,β) works for the class containment. Its output gate decides the strict acceptance threshold in step 1.1. This proves the containment.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Probabilistic polynomial time hierarchy

Statement

For rational 1≤a<b with time-constructible polynomial bounds, PrTIME(na) is properly contained in PrTIME(nb) in either one fixed declared access profile P∈{seq,basis}, with basis denoting the explicitly derived full-basis comparison model. The separation proof uses the explicit uniform interpreters Uniform clocked simulation of encoded probabilistic machines and Time normalization of classical basis queries.

Facts & Assumptions

Given: rational 1≤a<b, the time-constructible polynomial bounds na,nb, and one fixed sequential or derived full-basis random-access profile.

[F1]

Bounded-overhead tie normalization for fair-bit machines removes exact half-probability ties with O(R(n)) additional time, then label-swapping complements the normalized language.

[F2]

Effective binary encodings and total decoders fixes a total binary code and decoder for the machine descriptions used in the diagonal enumeration.

[F4]

Uniform clocked simulation of encoded probabilistic machines supplies the sequential interpreter and Time normalization of classical basis queries supplies the derived-basis interpreter via an index-only target, with polynomial-clock overhead O(T polylog n) for O(log⁡n)-bit explicit transition-table descriptions. Use that explicit prefix-free code here, rather than an arbitrary effective decoder.

[F3]

Time-constructible and space-constructible functions supplies the clock convention for the rational polynomial bounds.

Proof

1.1F1F2F3F4givenconstruct

Choose a rational a′ with a<a′<b, so a′>1. On input x of length n, scan the input to determine n, parse its initial self-delimiting code e, and require ∣e∣≤c0log⁡n for a fixed constant c0; reject malformed or overlong descriptions. For a valid code, clock Me(x) at T=⌈na′⌉ transitions, treating timeout as rejection. Normalize ties by [F1] and swap accept/reject labels. The diagonal machine accepts with probability greater than 1/2 exactly when the normalized clocked machine for e has probability below 1/2. The explicit code and bounded parser are supplied by [F4], with effectiveness and clock conventions in [F2,F3]. The time-T source computation has probability denominator dividing 2T; the selector of [F1] uses this source clock, while the interpreter merely implements its exact probability.

2.1F4F1F2F3step 1.1algebra

By [F4], the clocked simulation of every active O(log⁡n)-bit description uses O(T polylog n) time and preserves its fair-bit distribution. Reading the input length costs O(n); code initialization costs O(log⁡n); and the tie gadget costs O(T). Since a′>1 and a′<b, their total is O(na′ polylog n)=o(nb). Thus the diagonal language belongs to PrTIME(nb) by its polynomial-clock specialization.

3.1F1F2F4step 1.1step 2.1contradiction∎

If some fixed Me decided the diagonal language in O(na) time, take arbitrarily long strings beginning with its fixed code e. For all sufficiently large such lengths, T=na′ exceeds the running time of Me, so the clocked computation in step 1.1 is exactly Me's computation. Tie normalization and label swapping then make the diagonal machine accept exactly on inputs where Me rejects, contradicting that Me decides the same language. Thus the diagonal language is not in PrTIME(na). The reverse non-strict inclusion follows by running the faster machine unchanged under the larger time bound, so the containment is proper in the selected profile.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Tight majority formula completeness

Statement

For either fixed profile P∈{seq,basis}, every LCHP,1 language reduces to MajSAT, and every LCHP,2 language reduces to MajMajSAT, with output length n log^O(1)n and each output bit computable in log^O(1)n time and O(log n) space, in the explicit input/machine/formula encodings. Basis means the derived full-basis restriction; isolated output-bit generation has direct source-input bit access, and the reduction also admits sequential on-demand generation with polylogarithmic overhead per formula-head transition.

Facts & Assumptions

Given: one fixed sequential or derived-basis LCH profile, a fixed LCH₁ or LCH₂ machine, and its exact polynomially bounded fixed-length fair-bit strings. Use a time-constructible clock R(n)≥1 and include ignored suffix bits; a machine using no random bits is padded by one ignored bit.

[F1]

Unbounded error time space counting model fixes strict machine majority and at-least-half formula majority; Bounded-overhead tie normalization for fair-bit machines preserves the strict decision and removes all ties with linear overhead.

[F2]

Logspace uniform near-linear Cook formula encoding gives the unique-witness near-linear formula encoding in both profiles, with direct bit generation and ordered source-constant clauses for sequential on-demand generation.

[F3]

The gap-count construction for the transcript predicate is proved in steps 1.2–1.3 by a fixed number of explicit path-count compositions.

[F4]

Time normalization of classical basis queries gives a quasilinear index-only simulation for the fixed basis machines here. Mapping its short input indices to a subword of a transcript or paired input adds only polylogarithmic overhead. The sequential case uses the ordinary fixed-tape simulation.

Proof

1.1F1F2F4givenconstructalgebra

For L∈LCHP,1, first tie-normalize its machine M by [F1], then fix a linear integer clock R(n)≥1 for the resulting machine. Let A be its accepting count among the 2R(n) fair strings y, including ignored suffixes. By [F4] its deterministic branch predicate has nlog⁡O(1)n time: source choices read y sequentially, and normalized short input indices map to the x subword with charged offset arithmetic. Apply [F2], obtaining Fx(y,z) with exactly one z per accepting y and none per rejecting y. Put k=∣z∣ and define ψx=(v∧Fx(y,z))∨(¬v∧(⋁izi∨w)). For fixed y, the v=0 branch has 2k+1−1 satisfying (z,w) assignments, while v=1 adds two exactly when y accepts. Each block is therefore one above or below half, and the total is at least half exactly when A≥2R(n)−1. The source has no tie, so this is its strict-majority decision. This same gadget applies to a quasilinear clock whenever needed below, with quasilinear output length.

1.2F1F3F4givenconstructalgebra

For L∈LCHP,2, take its linear-time oracle machine and tie-normalize the first-level oracle decider. For query qi, let Ri=O(∣qi∣+1)≥1 clock the chosen yes/no oracle machine, with ignored fair suffixes. A proposed answer is correct precisely when its tie-free yes/no machine has more than 2Ri−1 accepting strings. Then exactly one accepting string wi has exactly 2Ri−1 accepting strings lexicographically before it. Serialize all proposed queries, answers and witnesses with lengths and canonical zero padding; its length is O(n) because ∑i(∣qi∣+1)=O(n). On a record of length N, put ri=ai−2Ri−1, where ai counts accepting strings before wi. Let bad indicate invalid syntax and invalidi indicate that the chosen witness path fails to accept. Then G=bad+∑i(ri2+invalidi) is nonnegative and is zero exactly when every answer has its unique rank witness. These are explicit differences of path counts: choose i nondeterministically, assign zero gap to invalid padded indices, and use independent strings for products; expand (a−b)2=a2+b2−2ab. A fixed number of these sums/products also gives h=1−2G2=A−B, positive exactly when G=0. Deterministic syntax/witness tests give integer indicator counts; invalid syntax skips the remaining tests and sets G=1. Normalize each fixed basis component by [F4] before using it on a query subword; it then has no native subinput query, and short-offset access costs only polylogarithmic time. These count constructions thus take Nlog⁡O(1)N time, with no nondeterministic choices during deterministic interpreter work. Choose one common quasilinear choice bound P and require unused suffix bits zero on accepting paths, preserving counts A,B among 2P choice strings. A leading fair bit selects A on branch zero and the complement of B on branch one. There are 2P+(A−B) accepting choice strings out of 2P+1, so the transcript-validity language C={h>0} has a matching-profile quasilinear probabilistic decider. The original rank strings still have total linear length.

2.1step 1.2F1constructalgebra

Normalize the original outer oracle machine by [F1] before this construction. Keep its original fixed-length fair-bit string p separate from a guessed fixed-length transcript record t, whose unused suffix is canonically zero. Simulate the original machine on p using the proposed answers in t, and record whether its queries match the listed queries and its final outcome accepts. Make a single final query to C containing the record and this flag; extend C to reject whenever the flag fails. There is exactly one correct answer/rank-witness record for each p by step 1.2. Consequently exactly one t gives a YES query when the original path accepts and none do when it rejects. The number of successful pairs (p,t) is the original accepting-path count. No preservation of the acceptance probability after guessing t is asserted; the next steps restore its threshold explicitly.

3.1F2F4step 1.1step 2.1construct

Let q(p,t) be the deterministic final query from step 2.1, padded to fixed length L. Apply [F2] to its quasilinear-time computation using [F4] to obtain Dx(p,t,q,z) with exactly one satisfying (q,z) extension for every pair (p,t). Apply the same unique-witness/majority gadget of step 1.1 with the quasilinear clock for C on the variable input q, retaining q as free Boolean variables, to obtain ΨC(q,u) whose inner at-least-half test is true exactly when q∈C. Form the outer matrix Φx=(v∧Dx(p,t,q,z)∧ΨC(q,u))∨(¬v∧(⋁iti∨⋁jqj∨⋁kzk∨w)). Here w is one outer padding bit; the inner block u has a fixed length independent of the value of q. All deterministic computations have quasilinear time in their input length in the selected profile, so [F2] gives total formula size nlog⁡O(1)n, logarithmic workspace and the claimed bit-generation and sequential-streaming interfaces.

4.1F1step 2.1step 3.1algebra

Fix the original fair string p, and put H=∣t∣, k=∣z∣. Among v=0 outer assignments, the fallback is false at exactly one (t,q,z,w) tuple, so 2H+L+k+1−1 assignments give a residual inner formula true on at least half of u. Among v=1 assignments, Dx has exactly one (q,z) extension for each t, and precisely one t has q(p,t)∈C if and only if the original path accepts. Its two choices of w contribute two additional successful outer assignments. Thus each fixed-p block contributes one below half on a rejecting original path and one above half on an accepting original path. Summing the equal-sized p blocks makes outer at-least-half true exactly when at least half of the original fair strings accept; outer tie normalization in step 2.1 makes this the original strict-majority language.

5.1F2step 1.1step 1.2step 3.1step 4.1∎

Step 1.1 proves the first-level reduction, and step 1.2 and step 2.1 and step 3.1 and step 4.1 prove the second-level reduction in either fixed profile. All added blocks have O(n) length before the near-linear formula encoding, and only a fixed number of these encodings are composed. The explicit clause order of [F2] preserves the sequential streaming property; the direct-input bit generator has the claimed polylogarithmic time and logarithmic workspace. This proves both reductions.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Unbounded error counting time space alternative

Statement

For either fixed profile P∈{seq,basis}, every real d and every ε>0, there is a constant c>1 such that at least one of the following holds: MajMajSAT∉PrTIMEP(nc), or MajSAT∉PrTISPP(nd,n1−ε). The basis profile is the derived full-basis comparison model. Formula thresholds are at least-half and machine acceptance is strict majority.

Facts & Assumptions

Given: real d, ε>0, one fixed profile, and the local majority-formula encodings.

[F1]

Probabilistic polynomial time hierarchy gives proper containment for rational strictly separated time exponents in the selected profile.

[F2]

Counting time space to linear hierarchy maps the selected profile's polynomial-time/sublinear-space machines to a fixed level of its linear counting hierarchy.

[F3]

Tight majority formula completeness supplies near-linear reductions for both hierarchy levels, direct polylogarithmic-time/logspace bit generation, and sequential on-demand generation with the same per-transition overhead.

[F4]

Unbounded error time space counting model fixes the two profiles and exact charged oracle access. The time-only normalization can carry an exact classical oracle by forwarding its completed query and using its deterministic answer; its dictionary invariants are independent of that answer. Query copying adds only polylogarithmic time per original query symbol, absorbed by the strict padding margins below.

[F5]

Time normalization of classical basis queries normalizes time-bounded basis queries into an index-only computation when its clock is at least input length. This time-only use adds polylogarithmic overhead.

[F6]

Bounded-space simulation of a generated input handles generated inputs while retaining O(M+log⁡n) work extent for a known polynomial bound M on source work operands, using maintained range-OR trees. It is the space-preserving tool below; [F5] is not used to transport a sublinear space bound.

Proof

1.1F3F4F6givenconstructalgebra

Choose rational 0<η<η1<min⁡(ε,1) and a>max⁡(d,1). Suppose MajSAT has the stated time/space decider. For a language in LCHP,1, [F3] produces a formula of length N=O(nlog⁡kn). Its source decider work extent is eventually below a known power-of-two bound M=O(n1−η1), because η1<ε absorbs fixed constants and polylogs in N. In the basis profile use [F6] to simulate both ordinary reads and native basis queries on this generated formula in time O((n+N+Nd+1)polylog n) and space O(M+log⁡n). In the sequential profile [F3]'s ordered source-constant block, or a logarithmic virtual-input-position counter, gives at most the same overhead for each local input move without changing work records. The strict margins a>max⁡(d,1) and η<η1 bound these resources by O(na) and O(n1−η). Hence PrTIMEP(n)⊆PrTISPP(na,n1−η).

2.1F2F4F5F6step 1.1constructalgebra

Choose rational 1<b<B with B(1−η)<1, put β=1−B(1−η)>0, and choose rational A>Ba. For any PrTIMEP(nb) language, its self-delimited padded version at length m=Θ(nB) has a linear-time decider. In the basis profile apply [F5] to the original fixed decider, then translate its short indices to the original-input portion of the actual padded word; the cost nbpolylog n fits O(m) because b<B. Sequential simulation is no slower. Apply step 1.1 to that padded language. On the original word, its resulting time/space decider sees a generated input of length m. For the basis profile [F6] simulates this virtual padded input with a known work bound M=O(m1−η) rounded to a power of two; its delimiter and zero bits have polylogarithmic-time/logspace generators. Time is O(nBapolylog n)⊆O(nA) and work extent O(m1−η+log⁡n)=O(n1−β). The sequential virtual-input simulation has the same bounds. Thus PrTIMEP(nb)⊆PrTISPP(nA,n1−β)⊆LCHP,τ by [F2] for a fixed finite τ. Increase τ to at least two if necessary.

3.1F3F4F5F6step 2.1givenconstructalgebra

Choose rational constants 1<c<ρ<δ<b1/(τ−1) and suppose MajMajSAT has a fixed PrTIMEP(nc) decider. Let the reduction in [F3] map an n-bit input to a formula y=R(x) of length N=O(nlog⁡k(n+2)) for some fixed k, with the stated direct bit generator. If P=seq, supply this formula on demand using [F3]'s sequential streaming guarantee; the decider then takes O(Ncpolylog n)=O(ncpolylog n) time. If P=basis, the bit generator alone does not justify composition with a time-only decider that can issue long block queries. Choose a constructible clock T=⌈K0(N+2)c⌉≥N and apply [F5] to the decider's fixed explicit code. The resulting exact index-only interpreter has time and physical work-access extent bounded by a constructible T′=O(Ncpolylog N). Choose a power-of-two majorant Mn=2⌈K1log⁡2(n+2)⌉ with fixed K1 large enough that T′≤Mn≤(n+2)K1+1. The normalized index-only interpreter is a special case of the basis machine's head-access operations, with no native block query left; apply [F6] to its run on the generated formula R(x). The formula length, bit generator, clock and address majorant satisfy [F6]'s hypotheses, so the exact simulation takes O((n+T′+1)log⁡O(1)(n+2))=O(nclog⁡O(1)n) time. Thus in either profile LCHP,2⊆PrTIMEP(nρ), with the strict exponent margin absorbing the reduction, normalization and generated-input overheads.

4.1F3F4F5step 2.1step 3.1constructinductionalgebra

We prove the stronger induction assertion that for every j≥2 there is a rational ej′<δj−1 with LCHP,j⊆PrTIMEP(nej′). The base is e2′=ρ. For the induction step, set e=δj−1 and take any B∈LCHP,j with the resulting decider of time O(∣q∣ej′), where ej′<e and ej′>1. Encode each padded query self-delimited, with its original query q in a designated prefix and a zero suffix, to a length m=Θ((∣q∣+2)e). This padded language is in LCHP,1: verify its format in O(m) time and run the B decider on the logical input q. For P=basis, first apply [F5] to the fixed B decider on its actual ∣q∣-bit input using the constructible clock Tq=⌈K2(∣q∣+2)ej′⌉≥∣q∣. The normalized interpreter's index-only input reads are redirected to the encoded q substring, returning the original blank or zero answer for addresses outside that substring; offsetting and saturating the emitted input indices is charged within the normalization bound. Its run takes O(∣q∣ej′polylog ∣q∣)=O(m) because ej′<e. The sequential case reads the same encoded substring by local input moves within the same bound. Hence the padded language belongs to LCHP,1. The original linear-time oracle machine for LCHP,j+1 makes queries whose total lengths are O(n). For P=seq, use that machine directly on the logical input x. For P=basis, apply [F5] to its fixed code with a constructible clock K4(n+2)≥n; [F4] permits forwarding its exact completed oracle queries and answers. The resulting index-only simulation takes O(npolylog n) time. Use a self-delimited padded input with the length and x available in a designated prefix. The padded-language machine checks that encoding in O(m) time; the index-only simulation redirects each logical input read to the encoded x substring and returns the original blank/zero answer outside it. This offset handling is charged to the emitted input-index bits. Replace each query q by its padded version of length Θ((∣q∣+2)e). The sum of these query lengths is O(∑q(∣q∣+2)e)=O(ne) because the original query lengths and query count sum to O(n). Padding counters and query writes have the same total bound, so the padded outer language is decided in O(m) time with oracle Be∈LCHP,1 and hence lies in LCHP,2.

5.1F3F4F5F6step 3.1step 4.1constructalgebra

Apply the mρ time decider from step 3.1 to that padded outer language, whose input is y=pad⁡e(x) of length m=Θ((n+2)e). In the basis profile its block queries may again use long address blocks, so normalize this decider with [F5] at the constructible clock Tm=⌈K3(m+2)ρ⌉≥m. Its exact index-only interpreter has time and physical work-access extent bounded by a constructible Tm′=O(mρpolylog m). The bits of y are generated from x by the self-delimited prefix and zero-padding map in polylogarithmic time and logarithmic space; its padding length, the clocks, and the address majorants have polylog-time/logspace binary generators. Since Tm′ is polynomial in n, choose a constructible power-of-two address majorant Mn=2⌈Klog⁡2(n+2)⌉≤(n+2)K+1 and apply [F6] to simulate the normalized run on this generated input. The resulting time is O((n+Tm′+1)log⁡O(1)(n+2))=O(neρpolylog n). In the sequential profile, supply the same padded bits on demand to the sequential decider with at most polylogarithmic overhead per input transition. Choose rational ej+1′ strictly between eρ and eδ=δj; the strict margin absorbs all polylogarithmic factors. This proves the induction assertion with its needed margin for the next padding step.

6.1F1F2F3step 2.1step 4.1step 5.1contradiction∎

Steps 2.1 and 4.1–5.1 give PrTIMEP(nb)⊆PrTIMEP(nδτ−1) although δτ−1<b. Both exponents are rational and strictly greater than or equal to one, so [F1] contradicts this containment. The two assumed deciders therefore cannot both exist. This proves the stated alternative in either fixed profile without converting a VMW time/space computation to a sequential one.

Historical profile

The separately named preprint-delimited profile is not identified with the final erased-index profile. An extension of this theorem to that distinct profile is not proved or used here.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

The VMW F/H Alphabet Has an Algebraic Dense SU(2) Lift and a Fixed Base Net

Statement

Put w=(2+i)/5, F=diag⁡(1,w2) and H=2−1/2(111−1). The alphabet G={D,D∗,J,J∗},D=diag⁡(w‾,w),J=iH is an inverse-closed subset of SU(2) whose generated subgroup is dense, with algebraic coordinates admitting fixed minimal-polynomial and rational-isolating-interval descriptions. For every fixed rational 0<η0<1/4096, it has a fixed finite base-net certificate of radius η0/4 as in Inverse-Closed Dense SU(2) Gate Set. Erasing scalar phases maps its letters respectively to F,F∗,H,H and preserves word length.

Facts & Assumptions

Given: The four displayed exact matrices and a fixed rational 0<η0<1/4096.

[F1]

Powers of a circle element with irrational angle are dense on the circle (Powers of an Irrational Rotation Are Dense on the Circle).

[F2]

The closure of the subgroup containing two nonparallel Pauli-axis one-parameter subgroups is SU(2) (Two Nonparallel One-Parameter Subgroups Generate SU(2) After Closure).

[F3]

Inverse-Closed Dense SU(2) Gate Set specifies the required finite word certificate.

[F4]

Fixed algebraic coordinates, sums, products and square roots can be enclosed by dyadic intervals to arbitrary precision, with polynomial bit cost (Fixed-Dimension Dyadic Matrix Routines Have Polynomial Bit Cost).

Proof

1.1givenalgebra

We have ∣w∣=1, w2=(3+4i)/5, D=w‾F, and J=iH. Direct multiplication gives D∗D=J∗J=I, det⁡D=det⁡J=1, and JZJ∗=X, where Z=diag⁡(1,−1) and X=(0110). The alphabet contains each adjoint. Its nonzero coordinate values are among ±1/5,±2/5,±1/2 and their imaginary multiples, hence have fixed square-free rational polynomial descriptions and isolating rational intervals.

1.2givenalgebracontradiction

The number z=w2 is not a root of unity. Indeed, define integer monic polynomials P1(T)=T, P2(T)=T2−2, and Pm+1(T)=TPm(T)−Pm−1(T) for m≥2. Then Pm(z+z−1)=zm+z−m by induction. If zm=1, the rational number z+z−1=6/5 would be a root of the monic integer polynomial Pm(T)−2. A reduced rational root a/b of a monic integer polynomial must have b=1: multiply the equation by b to its degree and reduce modulo any prime divisor of b, which would force that prime to divide a. This contradicts 6/5. Thus w is not a root of unity either. Write w=eiϕ; then ϕ/(2π) is irrational.

1.3givenalgebraconstruct

Here is a finite certificate whose existence does not require an accuracy-dependent search. Identify SU(2) with the unit sphere in R4 by Q(a,b,c,d)=(a+ibc+id−c+ida−ib). Direct multiplication gives Q(q)∗Q(q)=∥q∥22I, and therefore ∥Q(q)−Q(r)∥=∥q−r∥2. Fix a positive dyadic mesh h<η0/1024. Form all mesh points q∈[−1,1]4 with ∥q∥2≥1/2, and normalize each to rq=q/∥q∥2. Rounding the four coordinates of any unit vector u to the nearest mesh point gives ∥q−u∥2≤h, ∥q∥2≥1−h>1/2, and ∥rq−u∥2≤2h. Thus the finitely many algebraic matrices Q(rq) form a 2h-net.

2.1F1F2step 1.1step 1.2

By [F1], the closure of the powers of D=diag⁡(e−iϕ,eiϕ) contains every Z-axis one-parameter rotation. Conjugating these powers by J and using JZJ∗=X gives every X-axis rotation in the closed generated subgroup. These axes are nonparallel, so [F2] makes that closure all of SU(2).

3.1F3F4step 1.1step 2.1step 1.3construct∎

Density supplies, for each of these finitely many centers, a word in G at distance less than η0/64. A finite word product has algebraic coordinates, so [F4] eventually certifies that its Frobenius distance to the center is less than η0/32: the strict operator-distance margin gives Frobenius distance less than 2η0/64<η0/32. For each center, enumeration of words together with increasing certified precision therefore terminates. Fix the resulting finite word list, all its strict rational interval certificates, and its maximum word length. Every U∈SU(2) is within 2h+η0/32<η0/4 of a listed word, as required by [F3]. This preprocessing depends only on the fixed alphabet and fixed radius. Finally, replacing each D,D∗,J,J∗ by F,F∗,H,H multiplies each letter by a scalar of modulus one; their product is one global scalar, so length and projective error are preserved.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Gray-code synthesis of a multiplexed Z rotation

Statement

For k≥0 control bits x∈{0,1}k and real angles θx, define Mz=∑x∈{0,1}k∣x⟩⟨x∣⊗Rz(θx),Rz(t):=diag⁡(e−it/2,eit/2). If k>0, this multiplexed rotation has an exact circuit with 2k one-qubit Rz gates and 2k CNOTs; for k=0 it is one Rz gate and no CNOT. The CNOT count includes the final parity-restoring CNOT.

Facts & Assumptions

Given: Ordered control and target wires, the exact Rz convention above, and access to arbitrary one-qubit rotations and ordered CNOT gates.

[F1]

Exact one-qubit gates and rotations defines Rz(t)=R(0,0,1)(t) as an exact one-qubit rotation.

[F2]

Pauli formula for an axis rotation gives Rn(t)=cos⁡(t/2)I−isin⁡(t/2)(n⋅σ).

[F3]

The Pauli matrices gives Z=diag⁡(1,−1) and X=(0110) in the ordered qubit basis.

[F5]

CNOT and Control-Target Order maps a control-target basis pair ∣a,b⟩ to ∣a,b⊕a⟩; thus on a fixed control bit the target action is Xa.

[F6]

Finite circuit syntax and ordered wire labels fixes ordered wire supports and chronological gate lists; Denotational semantics of a finite layered circuit assigns their exact chronological matrix product.

[F7]

Finite circuit resource accounting counts each declared gate occurrence once.

Proof

1.1givenchooseinductionalgebra

If k=0, take the one-element mask list containing the empty string. If k>0, construct the reflected Gray list recursively by G1=(0,1) and Gk=(0Gk−1,1rev⁡(Gk−1)) for k≥2. Induction shows that each k-bit string occurs once, consecutive strings differ in one coordinate, and the last string differs from the first in one coordinate; hence for k>0 the cycle has 2k single-coordinate transitions. For its masks p0,…,p2k−1 set Hxj=(−1)pj⋅x and βj=2−k∑yHyjθy. Then ∑jHxjβj=2−k∑yθy∑p(−1)p⋅(x⊕y)=θx, because the inner sum factors as ∏r=1k(1+(−1)xr⊕yr), equal to 2k for x=y and 0 otherwise.

1.2F2F3F4F5F6F7constructalgebra

Assume k>0. Apply Rz(β0) and follow the cyclic Gray list, placing one CNOT on the coordinate that changes between consecutive masks and one Rz(βj) at each mask, including the CNOT that returns from the last mask to the first. There are exactly 2k of each. On a fixed control word x, the accumulated target bit flip before the jth rotation is pj⋅x modulo two by [F5]. By [F2]–[F4], Rz(t)=diag⁡(e−it/2,eit/2); direct multiplication with [F3] gives XRz(t)X=Rz(−t). Conjugating the target rotation by that parity network therefore gives Rz((−1)pj⋅xβj). The final CNOT restores the parity network, so the full branch operator is the product of these rotations.

2.1step 1.1step 1.2F1F2algebra∎

Rotations about the same axis satisfy Rz(a)Rz(b)=Rz(a+b) by multiplying their diagonal matrices. Thus on branch x the target operation is Rz(∑jHxjβj)=Rz(θx) by step 1.1. This proves the exact block action on every computational basis input and hence, by linearity, on every state. When k=0, the definition is the single gate Rz(θ0).

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

Basic Clifford T Rewrite

Definition

Input is a finite word of H,T,T†,CNOT gates with ordered wire labels. Fix the rules H²→ε, T⁸→ε, TT†→ε, T†T→ε, and CNOT²→ε, where ε means the empty subword; apply the cancellation rules only when the adjacent gates have the same ordered support. Scan left-to-right, choose the first match, delete the matched subword, restart the scan, and halt when no rule matches. Empty words are permitted. The output remains a word over the input gate alphabet and is locally irreducible for this displayed rule set; it makes no global-minimum claim.

The gate labels use the exact matrices and ordered supports fixed by Clifford+T gate library and exact matrices.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Circuit Resource Composition

Statement

For circuits placed on a declared common physical register, sequential composition adds gate counts and explicit depths; its width is the declared common-register width. Reusing workspace can make that width the maximum of the component widths only when the alignment and ancilla contracts permit reuse; otherwise all required wires remain allocated. Parallel composition on disjoint registers adds gate counts and widths and has depth equal to the maximum component depth. A clean ancilla is counted as clean only when the complete composed block returns it exactly to zero for every allowed data input.

Facts & Assumptions

Given: two circuits A and B embedded in one explicitly aligned physical wire register, and the intended QC09 conventions for syntax, matrix denotation and elementary resources.

[A1]

Finite circuit syntax and ordered wire labels defines a finite ordered wire set, ordered gate supports, and finite chronological layers, with the first layer applied first. The current Definition body was inspected.

[A2]

Denotational semantics of a finite layered circuit defines each layer's embedded-gate product and the chronological circuit product. The current Definition and its local proof were inspected.

[A3]

Finite circuit resource accounting counts gate occurrences, explicit layers, and all wires including workspace. The current Definition body was inspected; width below means that declared wire count.

[A4]

Tensor products of finitely many linear maps defines tensor maps by their action on elementary tensors. This is the exact interface used for the parallel tensor block.

[F1]

A clean ancilla register starts in ∣0⟩ and is returned exactly to ∣0⟩ by the complete block on every data input (Clean and dirty ancillas).

Proof

1.1A1A2A3givenalgebra

Write g(A),d(A),w(A) for gate count, explicit depth and declared width. Once both blocks are embedded in the declared common physical register, concatenating their schedules uses each gate occurrence and each layer exactly once and in order, so g(A;B)=g(A)+g(B) and d(A;B)=d(A)+d(B). The composite width is the common register's width. It equals max⁡(w(A),w(B)) only when the declared alignment reuses workspace; any wires that must remain allocated are included before taking that maximum.

2.1A1A2A3A4step 1.1algebra

In the parallel block on disjoint registers, the gate lists and wire sets are disjoint unions, so gate count and width add. Pairing the first layers, then the second layers, and so on, with empty layers on the shorter schedule, gives depth max⁡(d(A),d(B)). On elementary product vectors, the combined circuit acts by the tensor map specified in [A4]; the circuit denotation follows from [A2]. Thus this schedule realizes the stated tensor product without adding operations.

3.1F1step 1.1step 2.1∎

By [F1], a wire is a clean ancilla of the composite block only if the complete composition returns it to zero for every allowed data input. Returning it after A alone does not suffice when B later changes it. Thus an internal wire may be counted clean only after the full block's return condition is checked.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Unoptimized recursive QSD decomposition and CNOT count

Statement

For every n≥2, the recursive cosine-sine/demultiplexing construction gives an exact no-ancilla circuit for any n-qubit unitary. At each nonterminal level, split off the first wire as target and let the recursive children act on the remaining contiguous wire interval; the node uses four recursive (n−1)-qubit unitaries, one multiplexed Ry, and two multiplexed Rz rotations, each with n−1 controls. If cn is the construction's CNOT count, then c2≤3 and cn≤4cn−1+3⋅2n−1(n≥3),cn≤9164n−322n. This is the unoptimized recursive count; it does not include cross-block cancellations or terminal diagonal extraction and makes no compilation-time or finite-precision claim.

Facts & Assumptions

Given: Exact matrix semantics, arbitrary one-qubit rotations, CNOT gates, the cosine-sine block decomposition, and two-block demultiplexing.

[F1]

Cosine-Sine Block Decomposition factors an even-dimensional unitary into two block-diagonal unitaries and a central block (C0−S0S0C0) with nonnegative diagonal entries satisfying C02+S02=I.

[F2]

Demultiplexing a Two-Block Unitary factors each two-block unitary into two identical smaller unitaries surrounding a diagonal two-block factor diag⁡(D,D∗).

[F3]

Gray-Code Synthesis of a Multiplexed Axis Rotation exactly synthesizes a multiplexed Ry with 2k CNOTs for k>0.

[F4]

Gray-code synthesis of a multiplexed Z rotation exactly synthesizes a multiplexed Rz with 2k CNOTs for k>0.

[F5]

Exact Three-CNOT Synthesis of Two-Qubit Unitaries supplies an exact no-ancilla synthesis of every two-qubit unitary with at most three CNOTs and arbitrary one-qubit gates. Its direct matrix identity for the nonlocal two-qubit factor was inspected; this base case does not require expanding arbitrary one-qubit gates into a smaller primitive rotation alphabet.

[F6]

t↦(cos⁡t,sin⁡t) is a bijection from [0,2π) onto the real unit circle supplies an angle for each nonnegative pair (c,s) with c2+s2=1.

[F8]

Finite circuit syntax and ordered wire labels fixes the ordered gate/layer syntax; Denotational semantics of a finite layered circuit gives the exact chronological matrix product; Finite circuit resource accounting counts CNOT occurrences.

Proof

1.1givenF1F3F6algebra

Apply [F1] to a 2n-dimensional unitary, splitting the first wire from the remaining contiguous n−1 wires. The central block acts on each select word x by (cx−sxsxcx). By [F6], choose ϕx with cx=cos⁡ϕx and sx=sin⁡ϕx; this block is the Ry(2ϕx) convention used by [F3]. Thus the central block is one (n−1)-control multiplexed Ry targeting the first wire.

1.2F1F2F4F7F8algebra

Apply [F2] to each of the two block-diagonal factors from [F1]. Each factor becomes two (n−1)-qubit unitaries on the remaining contiguous interval and one diag⁡(D,D∗). For each computational select word x, write the diagonal entry Dxx=eiαx using [F7]. Its action on the first wire is diag⁡(eiαx,e−iαx)=Rz(−2αx), so this middle factor is one (n−1)-control multiplexed Rz. Therefore the recursive circuit has four (n−1)-qubit calls and three multiplexed rotations in total. Their exact products compose as claimed by [F8].

1.3F3F4F5F8constructalgebra

At n=2, [F5] gives c2≤3. For n≥3, the four recursive calls contribute at most 4cn−1 CNOTs. Each of the three (n−1)-control multiplexed rotations contributes 2n−1 CNOTs by [F3] and [F4], giving cn≤4cn−1+3⋅2n−1.

2.1step 1.3inductionalgebra∎

The claimed closed bound equals 3 at n=2. If it holds at n−1, then 4(9164n−1−322n−1)+3⋅2n−1=9164n−322n, so induction proves the formula for every n≥2. No further gate cancellations are used.

LemmaStatement: AI-adaptedProof: AI-adaptedOpen item page →

Finite-Bit Compilation into the VMW F/H Alphabet

Statement

Fix a finite family of one-qubit unitary matrices whose first b real and imaginary coordinate bits are computable in time polynomial in b. For every rational 0<ε<1/2, each matrix U in this family can be compiled deterministically into a word W over {F,F∗,H} with inf⁡∣λ∣=1∥W−λU∥≤ε. The expanded word length, bit time including output, and workspace are polynomial in log⁡(1/ε) plus the binary encoding length of ε. Constants may depend on the fixed family. In particular, accuracy 1/(Ct) for fixed positive rational C has polylogarithmic bit time, workspace and word length in t. The output acts on the original qubit and allocates no additional quantum work space.

Facts & Assumptions

Given: The fixed finite gate family, its polynomial-time coordinate Cauchy procedures, and rational 0<ε<1/2.

[F1]

The VMW F/H Alphabet Has an Algebraic Dense SU(2) Lift and a Fixed Base Net supplies a fixed algebraic inverse-closed dense SU(2) lift and fixed base-net certificate; phase erasure gives the physical alphabet.

[F2]

Finite-Precision Bit Complexity of the SU(2) Solovay–Kitaev Compiler compiles an SU(2) Cauchy target with a fixed algebraic gate package and base-net certificate in polynomial bit time, including the expanded output word, with polynomial word length.

[F3]

Fixed-Dimension Dyadic Matrix Routines Have Polynomial Bit Cost supplies finite-bit sums, products, square roots and division with explicit conditioning bounds.

Proof

1.1F3givenchooseconstructalgebra

For each fixed U, compute z=det⁡U from its entries; ∣z∣=1. Choose once, as part of the finite machine description, one of the constants a∈{1,−1,i,−i} for which Re⁡(az)>1/2. Such a constant exists because at least one of ∣Re⁡z∣,∣Im⁡z∣ is at least 1/2. On the half-plane Re⁡(az)>1/2, put r=(1+Re⁡(az))/2 and v=r+iIm⁡(az)/(2r). Then r>3/2, ∣v∣=1 and v2=az by direct calculation. Fix one algebraic square root b of a and set λ=b/v. Thus ∣λ∣=1 and λ2z=1, so V=λU∈SU(2). All denominators in this normalization are bounded below by a fixed positive constant. By [F3], its coordinates have polynomial-time Cauchy procedures. There is no exact-zero test or accuracy-dependent branch selection.

2.1F1F2step 1.1construct

Fix, for example, η0=1/8192 and the gate package furnished by [F1]. Apply [F2] to V with tolerance ε′=min⁡(ε,η0/2). The fixed algebraic gate descriptions and base-net constants satisfy every gate-package hypothesis. The normalized target's Cauchy query exponent is a fixed constant by step 1.1. Thus the compiler prints a word S in the lifted alphabet with ∥S−V∥≤ε′, using polynomial bit time and polynomial expanded word length in the requested bit precision and tolerance-encoding length. Its work space is at most its bit time. This invocation uses the finite-bit theorem, not a unit-cost exact-real arithmetic count.

3.1F1step 2.1algebra∎

Erase scalar phases letter by letter using [F1]. The resulting physical word W has the same length and differs from S by one scalar of modulus one. Consequently its projective distance to U is at most ε′≤ε. Printing the physical labels adds linear time in the expanded output length. All quantum letters act on the same one-qubit register. At tolerance 1/(Ct) the requested precision and binary encoding length are O(log⁡t), so every classical resource bound becomes polylog(t); a fixed family has one uniform maximum exponent and constant over its finitely many members.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Circuit Optimization Task

Definition

A circuit-optimization instance consists of (i) a finite circuit in the ordered syntax of Finite circuit syntax and ordered wire labels, with denotation given by Denotational semantics of a finite layered circuit, over one fixed finite exact gate alphabet, (ii) a declared equivalence relation—exact equality of those denoted matrices, or the whole-circuit phase relation U∼phaseV from Global Phase Equivalence, and (iii) an ancilla policy and one applicable cost coordinate. The ancilla policy specifies the allowed initial ancilla states and exact return obligations under Clean and dirty ancillas. The cost coordinate is chosen from gate-occurrence count (size), minimum-layer depth, T-count, or width, using the precise meanings of Finite circuit resource accounting and Circuit-family and computation cost model. Here minimum-layer depth is d(C) from Circuit-family and computation cost model; T-count is the number of occurrences labeled T or T† from Clifford+T gate library and exact matrices, so that coordinate is applicable only when the instance's alphabet contains those gates. The selected coordinate is part of the instance and remains fixed when comparing outputs.

Phase equivalence is applied only to the denotation of the whole standalone circuit. A phase on a unitary generally becomes a relative phase when that unitary is placed under control, so an optimizer may not silently replace a controlled subcircuit by a phase-equivalent one. The instance must specify controlled access explicitly when controls are present.

A feasible output is a circuit over the same gate alphabet and wire policy, with the same denotation under the chosen equivalence and no greater value of the selected cost coordinate. A globally optimal output has minimum selected cost among all feasible circuits in that declared model. This defines an optimization task; it supplies no algorithm or general optimality guarantee.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Ninefold nearest-neighbor multiplexor routing

Statement

For the unoptimized recursive QSD circuit, use the contiguous interval layout in which each multiplexed-rotation target is an endpoint, each recursive child acts on the remaining contiguous interval, and each two-qubit terminal block acts on adjacent wires. The line architecture permits both ordered orientations of adjacent CNOT. Replacing each length-k CNOT in a multiplexor by the explicit line-neighbor network below uses at most nine times the original CNOT count. This is an architecture-specific gate-count bound; it asserts no depth bound or arbitrary-layout guarantee.

Facts & Assumptions

Given: n≥2 ordered qubits, the contiguous recursive layout stated above, the cyclic reflected Gray-code multiplexor implementation, and both directed adjacent CNOT orientations.

[F1]

Gray-Code Synthesis of a Multiplexed Axis Rotation gives an exact (n−1)-control multiplexed-axis rotation using 2n−1 CNOTs; the final CNOT restores the parity network.

[F2]

CNOT and Control-Target Order fixes CNOTj→j+1∣a,b⟩=∣a,b⊕a⟩ and makes each CNOT self-inverse.

[A1]

Unoptimized recursive QSD decomposition and CNOT count proves the exact recursive block structure and unoptimized CNOT recurrence. The separate optimized count is not used here.

[A2]

Finite circuit syntax and ordered wire labels fixes ordered wire labels and chronological layers; Denotational semantics of a finite layered circuit fixes embedded-gate and circuit products; Finite circuit resource accounting counts gate occurrences and explicit layers. These current draft bodies were inspected. They provide the syntax, denotation, and cost conventions used to state the routing result; their presence is not independent approval.

Proof

1.1F1constructinductionalgebra

Let m=n−1 be the number of controls and list them from nearest to farthest from the target. In a reflected Gray traversal, the nearest control is toggled at most 2m times; the control at distance k≥2 is toggled at most 2m−k+1=2n−k times. To see the bound, recursively form the reflected list Gm=(Gm−10,rev⁡(Gm−1)1) and add the final edge returning the last word to the first: each non-farthest coordinate's toggle count is at most twice its count at the preceding recursion level, while the farthest coordinate changes at most twice (once at the join and once on return). The bound holds at m=1 and induction gives the displayed powers. Each toggle is one CNOT between the toggled control and the target. The total number of original CNOTs is 2m by [F1].

2.1F2givenstep 1.1algebra

For a CNOT whose endpoints are k≥2 line edges apart, define Sk to be the sequence of adjacent CNOTs along edges 0→1,1→2,…,k−1→k, followed by the reverse sequence on edges k−2→k−1,…,1→2. It has 2k−2 gates. Starting from bits (x0,…,xk), the forward sweep makes wire j hold xj⊕⋯⊕x0. The reverse sweep, in descending order, restores wires 2,…,k−1 to xj and leaves wire 1 as x1⊕x0 and wire k as xk⊕⋯⊕x0. Applying the same sequence a second time restores every intermediate wire and changes only wire k, to xk⊕x0. Thus SkSk is the required remote CNOT and uses 4k−4 adjacent CNOTs. For the opposite ordered orientation, reflect the wire labels j↦k−j in this construction; that reflection already reverses the physical orientation of each adjacent CNOT. Applying the same calculation to (xk,…,x0) shows that the mirrored square restores every intermediate wire and changes only the left endpoint target, to x0⊕xk. Both directed adjacent orientations are permitted, and the mirrored network also uses 4k−4 gates. The identities hold on every basis vector by [F2], hence as operators by linearity.

3.1F1A1step 1.1step 2.1algebra

Leave every length-one CNOT unchanged and route each longer CNOT by step 2.1. Using the bounds in step 1.1, the routed count for one multiplexor is at most 2n−1+∑k=2n−1(4k−4)2n−k=9⋅2n−1−8n≤9⋅2n−1. The original multiplexor has 2n−1 CNOTs by [F1], so the routed count is at most nine times its original count. By the contiguous recursive layout in [A1], every recursive block occupies a contiguous interval and each terminal two-qubit block is adjacent, so its CNOTs need no routing. Routing each multiplexor independently therefore preserves the factor-nine bound for the total CNOT count. This does not use any optimized QSD cancellation.

4.1A1A2step 3.1∎

The local routing identity and count use the ordered-wire, chronological-denotation, and occurrence-count conventions in [A2]. The factor-nine estimate uses the locally stated unoptimized recurrence [A1]; the separate optimized terminal-count proof is not assumed.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Basic Rewrite Correct And Terminating

Statement

Each registered rewrite preserves the exact matrix; the procedure terminates and returns a local normal form relative only to the declared finite rewrite set. It is not claimed globally minimal.

Facts & Assumptions

Given: a gate word and the fixed finite rewrite list in the algorithm item.

[F1]

Basic Clifford T Rewrite fixes the finite rewrite list and requires identical ordered supports for adjacent gate cancellations.

[F2]

Clifford+T gate library and exact matrices gives H=2−1/2(111−1), T=diag⁡(1,eiπ/4), T†=T−1, and CNOT⁡∣a,b⟩=∣a,b⊕a⟩ on ordered wires.

Proof

1.1F1F2givenalgebra

By [F2], H2=I by direct matrix multiplication, T8=diag⁡(1,e2πi)=I, and TT†=T†T=I. On ordered basis input (a,b), two consecutive same-support CNOTs send the target bit to b⊕a⊕a=b, so CNOT⁡2=I. Tensoring each identity with the identity on unaffected wires proves that every rule in [F1] preserves the whole circuit matrix.

2.1F1step 1.1algebra∎

Each rewrite removes at least two gates and inserts none. Thus after at most half the input length many rewrites, the deterministic scan halts. At halt it has found no match, so the output is locally irreducible for the displayed rule list. This proves neither global minimality nor uniqueness of the local normal form.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Clean Ancilla Multicontrolled Tradeoff

Statement

For m≥1 controls, reuse the exact no-workspace O(m2) and one-clean-bit O(m) constructions from QC11, with total widths m+1 and m+2 and exact return of the clean bit. These compare construction upper bounds rather than optimal complexities.

Facts & Assumptions

Given: a controlled operation with m controls and one target, exact elementary gates, and the stated clean-workspace convention.

[A1]

Multicontrolled Unitaries with and without a Clean Work Bit proves the no-workspace O(m2) and one-clean-bit O(m) construction bounds; its current proof body and exact borrowed-wire return argument were inspected.

[F1]

Clean and dirty ancillas defines a clean ancilla as initialized to ∣0⟩ and returned exactly to ∣0⟩ by the complete block for every data input.

[F2]

Finite circuit resource accounting defines width as the number of wires and size as the number of gate occurrences in the declared circuit.

Proof

1.1A1F2givenalgebra

The no-workspace construction in [A1] uses the m controls and one target, so its width is m+1 by [F2]. Its O(m2) one-qubit and CNOT gates are O(m2) gate occurrences under the declared circuit-size coordinate [F2].

1.2A1F1F2givenalgebra

The one-clean-bit construction in [A1] adds one work bit, so its width is m+2 by [F2]. Its O(m) one-qubit and CNOT gates are O(m) gate occurrences [F2]. The compute/apply/uncompute sequence returns the bit to zero on every computational-basis input; because the overall operation is linear, the same identity holds on every superposition. By [F1] this is exactly the clean-ancilla return condition.

2.1A1step 1.1step 1.2given∎

The two upper bounds use different widths and have no matching lower bounds in this item. They therefore establish construction bounds, not an optimality tradeoff.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Nearest Neighbor CNOT Overhead

Statement

For the unoptimized recursive QSD circuit in the contiguous interval layout—each multiplexor target is an endpoint, recursive children use the remaining contiguous interval, and terminal two-qubit blocks act on adjacent wires—with both directed orientations of adjacent CNOT allowed, the explicit line routing uses at most nine times the original CNOT count. This is an architecture-specific gate-count bound, not a depth bound or a guarantee for other layouts.

Facts & Assumptions

Given: the unoptimized recursive QSD block decomposition, the contiguous interval layout stated above, and both directed orientations of adjacent CNOT.

[F1]

Ninefold nearest-neighbor multiplexor routing proves the factor-nine count for each multiplexed rotation and its sum over the recursive construction, using the actual QC09 circuit interfaces.

Proof

1.1F1givenalgebra

Apply the local routing construction in [F1] to every multiplexed rotation in the recursively emitted QSD circuit and leave its terminal adjacent two-qubit blocks unchanged. Since gate count is additive over this explicit sequential list, the total routed count is at most nine times the original count.

2.1F1step 1.1given∎

The construction specifies only CNOT occurrences on an ordered line. It gives no schedule or parallelization argument, so it implies no depth bound; it also says nothing about layouts without the stated line order.

TheoremStatement: AI-adaptedProof: AI-adaptedOpen item page →

QSD CNOT Upper Bound

Statement

Reuse QC11 exact QSD: no-ancilla n-qubit U needs at most (23/48)4n−(3/2)2n+4/3 CNOTs. Report one-qubit gates separately; a CNOT count alone is not total classical compilation time. Use n≥2 for this formula; n=1 needs zero CNOT. For n=0, an exact circuit exists only for the identity scalar U=1, realized by the empty circuit.

Facts & Assumptions

Given: n ordered qubits and exact no-ancilla QSD as in QC11.

[A1]

Exact QSD CNOT Upper Bound proves the exact no-ancilla CNOT formula, including its recursive central controlled-Z absorption identity and terminal diagonal-migration identity.

Proof

1.1A1given

For n≥2, apply [A1] to the given unitary. Its exact no-ancilla QSD construction uses at most (23/48)4n−(3/2)2n+4/3 CNOTs. This is an upper bound for that construction, with both savings proved by the supplier, and makes no lower-bound or optimality assertion.

2.1A1givencases∎

For n=1, a one-qubit U is itself an allowed one-qubit gate and uses zero CNOT; for n=0, [A1] states that an exact empty-register circuit exists if and only if the scalar unitary is 1, realized by the empty circuit with no gates. The formula from [A1] is not used in these cases. One-qubit gates remain a separate resource, and no classical compilation-time bound follows.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Effective Exact Gate Factors for Fixed Local Unitaries

Statement

Fix a positive integer k and a finite collection U of fixed unitary matrices, each on between one and k qubits. Suppose every real and imaginary matrix coordinate has a deterministic Cauchy procedure returning error at most 2−p in time polynomial in p+1. There exist exact no-ancilla one-qubit/CNOT factor lists for all U∈U, with a common constant bound on their lengths, such that every coordinate of every one-qubit factor also has a polynomial-time Cauchy procedure. All scalar phases in the exact matrix products are retained.

The lists and Cauchy programs may depend on the fixed collection U. In particular their finite zero/nonzero decisions and branch choices may be hardcoded. The claim is an existence statement for each fixed machine's finite transition set, not an algorithm that decides equality of arbitrary Cauchy-name inputs. It supplies effective target matrices for finite-precision compilation, not a compiler by itself.

Facts & Assumptions

Given: Fixed k, a finite fixed transition set U, and the coordinate Cauchy programs in the statement.

[F1]

Fixed-Dimension Dyadic Matrix Routines Have Polynomial Bit Cost gives polynomial bit-cost fixed-dimensional sums, products, quotients with a supplied positive divisor lower bound, and nonnegative square roots, including zero. Rational rescaling extends its square-root range [0,1] to any fixed bounded interval.

[F2]

Exact Two-Level Elimination of a Unitary uses finitely many Givens row operations with h=∣a∣2+∣b∣2 when b≠0; Correctness and Termination of Two-Level Elimination proves the exact resulting two-level/diagonal factorization, without discarding phases.

[F3]

Gray-Path Synthesis of a Two-Level Gate implements a two-level block by fixed basis permutations, one pattern-controlled one-qubit block, and inverse permutations, including negative controls.

[F4]

Multicontrolled Unitaries with and without a Clean Work Bit supplies the exact no-workspace square-root recursion for controlled one-qubit matrices. The borrowed-wire controlled-X calls in that recursion have fixed elementary implementations.

[F5]

Exact Controlled One-Qubit Unitary with Two CNOTs implements C(U) by three one-qubit target matrices A,B,C, one control phase, and two CNOTs, using the stated Euler and half-angle formulas.

Proof

1.1givenF1constructalgebra

Fixed finite compositions of polynomial-Cauchy scalars remain polynomial-Cauchy under the operations of [F1], provided each nonzero divisor has a fixed positive lower bound. There are only finitely many scalars in a fixed finite expression tree, so for its nonzero divisors some integer B has ∣z∣≥2−B throughout; B may be hardcoded. A fixed zero is returned as zero. Nonnegative roots are allowed even at zero, and nested roots only multiply the requested precision by a fixed constant at each of finitely many levels. Thus the finite compositions still use polynomial time in p+1. Conjugation merely changes an imaginary sign.

1.2F3F4F5constructalgebra

The path instruction in [F3] is an exact factorization. Each prescribed pattern-controlled X exchanges precisely the adjacent path labels gj,gj+1 and fixes every other computational-basis label, because its n−1 controls must match the common bits. Let P be the permutation effected by the swaps in their stated order. Then P(x)=gd−1 and P(y)=y=gd. The middle block, with the stated block reversal when the target bit of gd−1 is 1, acts by V on the ordered pair (gd−1,gd) and fixes its complement. The complete chronological list therefore has matrix P∗MP, where M is that middle block. Since P is a permutation and maps x,y to the selected pair, no other basis label maps into that pair; the conjugate acts by V on (x,y) and fixes every other basis vector. The controlled-gate expansions are exact by [F4] and [F5], and the negative-control conjugations retain their exact matrices. Thus every two-level factor used here is exactly the one specified by [F3], including its scalar phase.

2.1step 1.1F1constructalgebra

A square root of any fixed polynomial-Cauchy unit scalar u can also be selected polynomially. Choose a fixed ζ∈{1,−1,i,−i} with Re⁡(ζu)≥1/2; such a choice exists because the larger absolute coordinate of a unit complex number is at least 1/2. Put v=ζu and a=(1+Re⁡v)/2, b=Im⁡v/(2a). Then a≥3/2 and (a+ib)2=v. Multiply by either fixed algebraic square root of ζ−1 and choose its fixed sign to obtain either desired root of u. Step 1.1 applies with a positive constant denominator. Iterating gives any fixed finite tower of coherently chosen phase half-roots. A root of a fixed nonzero complex scalar z is obtained by first normalizing z/∣z∣ and multiplying its unit root by ∣z∣; the zero case is hardcoded separately.

2.2givenF2step 1.1constructalgebra

For each U∈U, run the finite algebraic Givens construction [F2] as a mathematical factorization. Hardcode its actual finite skip decisions b=0; no run-time zero test on a varying Cauchy name is required. In each unskipped operation h>0 is a fixed constant, so all entries of that Givens matrix and the updated matrix are polynomial-Cauchy by step 1.1. There are at most 2k(2k−1)/2 operations, a constant. The terminal diagonal entries and the exact two-level adjoints therefore have polynomial-Cauchy entries. A phase on one chosen computational word is a pattern-controlled diag⁡(1,λ) or diag⁡(λ,1) on a selected wire, with the other wires matching that word; hence the terminal diagonal is a fixed finite product of pattern-controlled one-qubit matrices of the same effective class.

3.1F4F6step 1.1step 2.1step 1.2algebraconstruct

The square roots required by [F4] preserve this effective class. For a fixed two-dimensional unitary W, if W=λI choose a unit root μ by step 2.1 and take μI. Otherwise the spectral theorem [F6] gives two distinct eigenvalues. The nonzero discriminant d0=(tr⁡W)2−4det⁡W has a root d as in step 2.1, and λ±=(tr⁡W±d)/2 have modulus one. The projector P+=(W−λ−I)/(λ+−λ−) and P−=I−P+ are orthogonal by [F6]. Choose unit roots μ± and put V=μ+P++μ−P−. Then V is unitary, V2=W, and every entry is polynomial-Cauchy by step 1.1 and step 2.1. The scalar/nonscalar branch and the positive eigenvalue-gap lower bound are fixed choices, not input-dependent equality decisions.

3.2F5step 1.1step 2.1constructalgebra

The constant one-control construction [F5] is effective as well. Choose a unit root λ of det⁡W by step 2.1 and normalize S=λ−1W∈SU(2). Write S=(a−c‾ca‾) and ρ=∣a∣, σ=∣c∣. If ρ>0 use a/ρ for its phase, otherwise fix its arbitrary phase to 1; treat c/σ the same way. Choose fixed real arguments γ,η with a=e−iγρ and c=eiησ, and choose 0≤θ≤π with cos⁡(θ/2)=ρ, sin⁡(θ/2)=σ. These are only notation: the algorithm never computes their real arguments. Every matrix entry of the Euler factors and of A,B,C in [F5] is a finite sum or product of the unit phases and their coherently selected half-roots, together with ρ,σ, (1+ρ)/2 and (1−ρ)/2. Indeed the latter are cos⁡(θ/4),sin⁡(θ/4); the z-rotation entries are exponentials of half-angles of α=γ+η and β=γ−η, hence phase roots from step 2.1. Choose their fixed signs to match these displayed arguments. Thus all four arbitrary one-qubit matrices in the exact controlled construction are polynomial-Cauchy; their multiplication retains the control phase diag⁡(1,λ) exactly. No numerical angle oracle is assumed.

4.1F2F3F4F5step 2.2step 1.2step 3.1step 3.2construct∎

Apply the Gray-path implementation [F3] to each two-level block from step 2.2, and apply the no-workspace recursion [F4] to its pattern-controlled gates and to the diagonal phase gates. Negative controls and permutation gates have fixed algebraic entries. Each root step stays in the effective class by step 3.1 and each controlled base case does so by step 3.2. The number of controls, recursion depth, blocks, and elementary gates is bounded by a constant depending on k and the finite fixed collection. Therefore only finitely many branch choices and divisor lower bounds are needed in total; hardcode them and the corresponding polynomial-Cauchy programs into the simulator. Exact factorization follows from step 1.2 and step 3.1 and step 3.2 and [F2]–[F5], including each scalar phase; the resulting gate factors and lengths have precisely the asserted properties.

TheoremStatement: AI-adaptedProof: AI-adaptedOpen item page →

BQTISP to Derived-Basis PrTISP Simulation

Statement

For sufficiently constructible t,s≥log⁡n, the published VMW model with charged operand extent satisfies BQTISP(t,s)⊆PrTISPbasis(t polylog t,s+polylog t). The output uses the derived classical basis profile in Unbounded error time space counting model, with a fixed finite number of separate binary work tapes and native basis input queries. All work cells addressed by local operations or a query, including the highest query endpoint, count toward work extent. This is the explicit operand-space formalization of the published model; no general conversion to the erased-index head-access-only or sequential profile is asserted.

Facts & Assumptions

Given: the VMW quantum machine model and its bounded-error promise, with t,s≥log⁡n. The needed binary transition clock, space bound and precision indices have deterministic constructors in the matching profile within O(t polylog t) time and O(s+polylog t) extent, and their construction is charged. No free scan of an input of length n is assumed.

[F1]

BQTISP Model fixes read-only input, classical and quantum work tapes, classically controlled local unitaries/measurements, coherent input queries, and the bounded-error thresholds.

[F2]

Unbounded error time space counting model defines PrTISPbasis: fixed finitely many separate binary work tapes, erased sequential write-only index tapes for fresh head jumps and query endpoints, and native Qx on a contiguous basis block of a specified work tape. Preparing every index is charged. The strict 1/2 acceptance threshold and maximum addressed work extent include local operands and query endpoints. The index-only and preprint-delimited profiles are distinct.

[F3]

Clifford+T gate library and exact matrices gives the exact ordered-basis matrices for H and CNOT used in the path expansion below. The additional gate F=diag⁡(1,(3+4i)/5) and its adjoint are defined explicitly in step 2.1.

[F4]

Time-constructible and space-constructible functions gives the general clock-constructor convention. Here “sufficiently constructible” means specifically that the binary transition and resource clocks, compiler precision indices, and fixed padding-choice budgets can be obtained by deterministic routines within the displayed simulation time and extent in [F2]. Their work is included. This hypothesis does not identify a unary-input constructor with a free sublinear-time scan of the original input.

[F5]

For a finite binary-branching nondeterministic computation, its accepting-path count is the number of accepting leaves. Below every such computation has an explicit transition and binary-choice bound. These are bounded path counts for arbitrary constructible t; the term #P is applicable only when the time bound is polynomial in input length. No #P membership is needed for the count algebra.

[F6]

The operator norm is a norm on the space of bounded linear operators gives the triangle inequality for the operator norm.

[F7]

The operator norm is submultiplicative and satisfies ||T^*T|| = ||T||^2 gives submultiplicativity of the operator norm; a unitary has norm one because it preserves vector norm.

[F8]

Finite registers and their ordered computational bases makes each record qubit C2 with its standard coordinate pairing and computational basis; the coordinate formula gives ⟨ea,eb⟩=δab.

[F9]

Ordered tensor registers, their inner product, and wire permutations defines the inner product of elementary tensor records as the product of their factor inner products. Distinct fixed-length two-qubit record strings differ in at least one coordinate, so their product-basis vectors are orthogonal by [F8].

[A1]

Effective Exact Gate Factors for Fixed Local Unitaries supplies, for the fixed finite transition-gate family, exact constant-size decompositions into one-qubit gates and CNOTs with polynomial-time Cauchy procedures for each fixed one-qubit factor. It proves this effective interface without assuming a numerical QSD running-time bound.

[A2]

The VMW F/H Alphabet Has an Algebraic Dense SU(2) Lift and a Fixed Base Net supplies an algebraic inverse-closed dense SU(2) lift of F,H and a certified fixed base net. Finite-Precision Bit Complexity of the SU(2) Solovay–Kitaev Compiler compiles an SU(2) target given by a polynomial-time Cauchy name into this lifted alphabet with polynomial-in-precision bit time and expanded word length. Erasing letter phases gives the physical alphabet F,F∗,H.

[A3]

Fixed-Dimension Dyadic Matrix Routines Have Polynomial Bit Cost computes fixed-dimensional sums, products, square roots and quotients from polynomial-time Cauchy names, with polynomial bit cost under a supplied positive divisor lower bound. It also supplies polynomial-time approximations to fixed algebraic constants.

Proof

1.1F1givenconstruct

Detect source work-head collisions before decomposing a transition. The following classical marker construction stores positions without retaining their potentially long binary addresses. Fix a power-of-two stride K, independent of t,s, large enough for distinct tracks for source classical data, a marker for every source work head, an origin marker, compiler scratch, and a distinct parking track for every physical classical head. Logical cell a on track b is physical cell Ka+b. For every source work head j, keep one classical probe parked at Kaj+bj and a single 1 on marker track j at logical position aj; all other bits of that track are zero. Park the initially coincident physical heads at their distinct tracks using identity operations, then set the initial markers at logical zero. The origin track has its sole 1 at zero and is never changed. To test ai=aj, move probe i within its current stride block to marker track j, read its bit, and return to its parking track. Only that probe leaves its parking track during this test, so at the read no other classical head coincides with it. Transient collisions during movement perform identity operations only. Test all relevant pairs; there are only constantly many. Before a source movement clear each head's old marker using its own probe; then move the probes with their source heads and set their new markers before any further test. A local source move takes K physical moves; probe the origin track to clamp a left move at logical zero. Duplicate each freshly emitted jump-address bit onto the probe's own erased index tape and append its fixed parking-label bits before use, obtaining Kaj+bj without storing or rereading the address. Each source bit is duplicated only constantly many times. This maintains all markers exactly, costs constant time per source transition beyond charged index emission, uses fixed heads and alphabet, and has extent O(s+1). Classical source symbols can likewise be read one probe at a time on the shared data track, saved in finite control, and written sequentially after evaluating the source's fixed classical function; the equality partition determines precisely whether that source operation is omitted. Auxiliary heads remain on distinct tracks, so source collisions do not suppress compiler or marker work. Apply the quantum source's collision-omission rule to the same equality partition: an omitted unitary is replaced by the empty word, not by its elementary factors. Otherwise its operands are distinct and are held fixed throughout its compiled block. The original quantum tape and its query blocks are not interleaved.

1.2A1A3chooseconstructalgebra

Each fixed one-qubit factor U from [A1] has a polynomial-time Cauchy normalization into SU(2). Put z=det⁡U, so ∣z∣=1, and hardcode a∈{1,−1,i,−i} with Re⁡(az)>1/2; one exists since the larger absolute coordinate of z is at least 1/2. Set r=(1+Re⁡(az))/2 and v=r+iIm⁡(az)/(2r). Then r>3/2, ∣v∣=1 and v2=az. Fix an algebraic square root b of a and put λ=b/v. Thus ∣λ∣=1, λ2z=1 and V=λU∈SU(2). The formulas use only [A3] with fixed positive denominator bounds, so every coordinate of V has a polynomial-time Cauchy procedure. There are finitely many factors; their branch constants and one common polynomial query bound may be hardcoded. No exact coordinate digits or run-time equality tests are needed.

2.1F1F3F4A1A2step 1.1step 1.2givenconstruct

For a fixed machine, only finitely many local transition unitaries occur, each on a fixed number of qubits. For every nonomitted unitary in step 1.1, decompose it into a constant number of one-qubit gates and CNOTs using [A1], with polynomial-time Cauchy names for the resulting fixed one-qubit factors. Choose fixed integers cT,cM≥1 so that T≤cTt is the transition clock and cM bounds the one-qubit factors per transition. Fix η0=1/8192 and its base-net certificate from [A2]. Apply the bit-complexity theorem in [A2] to each normalized target V of step 1.2 with rational tolerance min⁡(1/(20cMcTt),η0/2). Its target-name, algebraic gate-package, inverse-closure and base-net hypotheses are satisfied. Erase the lifted word's scalar letter phases using [A2]; since V=λU, this compiles each factor U to projective error at most 1/(20cMcTt) over F=diag⁡(1,(3+4i)/5), its adjoint, and H. CNOT and query gates remain exact. Direct multiplication gives F∗F=I because (3−4i)(3+4i)=25; [F3] gives unitary H and CNOT, and [F1] gives the query basis permutation. The finite-bit compiler has word length and bit time polynomial in log⁡t, since the normalized Cauchy procedures have a fixed polynomial query bound and the tolerance has O(log⁡t) encoding length; workspace is at most bit time. Execute its deterministic work sequentially while holding the original quantum operand heads stationary. Preserve the source's classical transition, fresh index-bit emissions and scheduled jumps/queries once; extra compiler cycles neither duplicate nor consume its pending index words. Use the interleaved classical data, probes and scratch tracks of step 1.1, keeping a snapshot of the source input/classical scanned symbols from the beginning of its transition. Fixed extra classical heads access the compiler scratch track sequentially, whose used length is polylog(t); the resulting classical extent is O(s+polylog t). The original quantum work tape, operand positions and quantum-query endpoint indices are unchanged, so every native quantum-query block remains contiguous as in [F1]. The constructible bounds [F4] clock these loops, giving compiled time t′=O(t polylog t) and work extent O(s+polylog t).

3.1F1F6F7F8F9F10step 2.1algebra

For a computational-basis measurement [F1], put Pj=∣j⟩⟨j∣ for j=0,1; direct calculation gives Pj∗=Pj, Pj2=Pj, P0P1=0, and P0+P1=I. Postpone it in a proof-only deferred-measurement dilation by reserving a fresh two-qubit record slot, initialized to ∣00⟩, at each of the T transition times and using the isometry ψ⊗∣00⟩↦P0ψ⊗∣10⟩+P1ψ⊗∣11⟩. The output branches are orthogonal by [F8]–[F9], and their squared norms sum to ∥ψ∥2 by the projector identities just checked. A transition with no measurement leaves that slot at ∣00⟩. Thus every complete history has a fixed-length record string over the T slots; distinct histories differ in some slot, so [F8]–[F9] make their record subspaces orthogonal, and subsequent classically controlled operations preserve orthogonality by [F1]. These record slots are not allocated by the simulator. A collision-omitted unitary has no compiled factors and zero approximation error. Projective compilation may multiply a one-qubit gate by a phase. Within each fixed history h and transition time r, all one-qubit factors act on the same quantum state, so their phases multiply to one scalar λh,r on that whole transition block. Rephase each compiled block by this scalar; telescoping its at most cM one-qubit replacements gives operator error at most cM/(20cMcTt)=1/(20cTt), since surrounding gates and exact measurement dilations have norm one. The direct sum over orthogonal history blocks has this same bound: for v=⨁hvh and block errors Eh, ∥(⨁hEh)v∥2=∑h∥Ehvh∥2≤(1/(20cTt))2∑h∥vh∥2. Across the full computation, the actual and rephased compiled final vectors differ by D=⨁hΛhIh, where Λh is the product of the phase factors along history h and ∣Λh∣=1. The accepting projection is block diagonal, P=⨁hPh, so ⟨Dv,PDv⟩=∑h∣Λh∣2⟨vh,Phvh⟩=⟨v,Pv⟩. Thus the rephasing does not change acceptance probability. Telescope the T phase-aligned transition products. Their exact and compiled prefixes and suffixes are norm one, so [F6]–[F7] give state-vector error at most T/(20cTt)≤1/20. For unit vectors u,v and accepting projection P, ⟨u,Pu⟩−⟨v,Pv⟩=⟨u−v,Pu⟩+⟨v,P(u−v)⟩. Cauchy–Schwarz [F10] and ∥Pz∥≤∥z∥ bound the absolute difference by 2∥u−v∥≤1/10. The compiled machine therefore accepts YES inputs with probability at least 17/30>1/2 and NO inputs with probability at most 13/30<1/2.

3.2F1F3F5step 2.1constructalgebra

Fix one input and the compiled computation. For a complete measurement history μ, let fμ and hμ count its F/F† and H gates. Let Σacc(μ) be the final basis configurations accepted by the fixed machine after history μ, as determined by its finite transition table and terminal acceptance rule. Use the exact matrices from [F3] and the stated F matrix in step 2.1. Expand every F entry with numerator 1 as five unit terms over denominator 5, and every numerator 3+4i (respectively 3−4i) as three terms of phase 1 and four terms of phase i (respectively −i). Each Hadamard transition contributes phase 1 or −1 over denominator 2; CNOT, query, and computational-basis measurement transitions contribute 0 or 1. Thus each path term has phase α∈{1,−1,i,−i} and denominator 5fμ2hμ/2. For a final basis state σ, let Aα(μ,σ) count path terms of phase α. Its amplitude is ∑ααAα/(5fμ2hμ/2). Summing squared magnitudes over the accepting configurations gives the joint probability of history μ and acceptance: pμacc=∑σ∈Σacc(μ)(A12+A−12+Ai2+A−i2−2A1A−1−2AiA−i)25fμ2hμ. The identity follows by expanding the squared real and imaginary parts, and summing pμacc over histories gives the compiled acceptance probability.

4.1F1F2F5step 3.2constructalgebra

Pad every branch to exactly t′ quantum gate slots with identities, and set F∗=H∗=t′ and D=25F∗2H∗. Multiply each joint accepting-history numerator in step 3.2 by 25F∗−fμ2H∗−hμ. A bounded nondeterministic machine simulates two path terms in lockstep, requires the same measurement history and final basis row, tests shared classical acceptance, and counts pairs with equal phases positively and opposite phases negatively. The scale factor is exactly realized by H∗−hμ extra binary choices and two five-way choices per missing F slot, rejecting invalid encodings. All phase and scale choices use O(t′) binary choices. At a measurement, guess one bit, require both basis rows to have it at the measured cell, feed it to their shared classical controller, then discard it. This sums histories without storing a transcript.

5.1F1F2F5step 4.1constructalgebra

Store the two quantum basis rows on two separate binary work tapes and the shared classical configuration on separate fixed tapes, as permitted by [F2]. Corresponding heads on both rows make the same source local moves or fresh jumps; duplicate each newly emitted source index bit to the fixed number of required index tapes, so total address writing is multiplied only by a constant. Separate rows preserve contiguity of each query address block. For Qx on source cells [l,r], apply native Qx to each row using copies of its freshly written endpoint indices. Its address bits are unchanged and only its answer cell r is updated. Duplicate the right-endpoint stream also to auxiliary heads on both rows; at query time place these at r to read the old and new answer bits. These heads remain within charged operand extent s. There is no copying or scanning of the possibly long address block, and no assertion that log⁡n=O(log⁡t). Each row can read a different input bit, exactly as required by its distinct basis path. Maintain a counter Δ of positions where the two rows disagree. It starts zero; every local gate or query changes only a fixed number of bits, so mirrored operand heads supply the before/after disagreement indicators and update Δ. Since at most O(t′) bit changes occur, Δ uses O(log⁡t′) bits; its final value is zero exactly when the rows agree, avoiding an O(s) terminal scan. Each counter operation costs polylog(t′) bit time. Thus the two bounded path-count machines have time O(t′ polylog t′) and extent O(s+polylog t), with accepting counts N+,N− satisfying Pr⁡[compiled acceptance]=(N+−N−)/D.

6.1F2F4F5step 4.1step 5.1constructalgebra

The sign of 2(N+−N−)−D decides whether the compiled acceptance probability is above or below 1/2. The denominator D is itself a bounded path count: guess H∗ bits and, for each of F∗ factors, two three-bit numbers, accepting only values below 5. Thus D has exactly 2H∗25F∗ accepting branches and is generated in O(t′) time and O(log⁡t′) work space. Build bounded nondeterministic machines with path counts A=2N+ and B=2N−+D by disjointly tagging the component computations and rejecting noncanonical padding. Pad both to the same total number 2q of paths for an explicitly bounded q=O(t′), using zero-only suffix padding to preserve each accepting-path count. A fair leading bit chooses the A machine on branch 0 and the complement of the B machine on branch 1. The resulting machine has 2q+1 equiprobable paths and 2q+(A−B) accepting paths, so it accepts with probability strictly greater than 1/2 exactly when 2(N+−N−)−D>0. The constructible bounds in [F4] let the simulator choose and exhaust these fixed choice lengths. All choice counters can be maintained in O(log⁡t′) bits and polylog(t′) time per choice. The total time is O(t′ polylog t′)=O(t polylog t) and work extent is O(s+polylog t) in the derived basis profile.

7.1F1F2step 3.1step 6.1∎

Step 3.1 places compiled YES acceptance strictly above 1/2 and NO acceptance strictly below 1/2. Step 6.1 preserves that sign, giving the stated bounded-error quantum to unbounded-error classical inclusion with its full claimed resources in PrTISPbasis. The classical operand-space convention is explicit in [F1]–[F2]; literal head-only accounting with uncharged distant query operands is not claimed. No general simulation into the index-only erased-address or sequential profile has been proved here.

TheoremStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Generic Circuit Count Lower Bound

Statement

Fix a nonempty finite gate alphabet of A≥1 gates, each of arity at most k with 1≤k≤3, and count circuits on n≥1 classical input wires with zero-initialized ancillas and one designated measured output bit. No additional classical acceptance predicate is free. For a gate budget C≥n, put W=n+kC+1. After deleting unused ancillas, every such circuit has at most W wires, and there are at most W∑j=0C(AWk)j=exp⁡(O(Clog⁡C)) output-designated gate-list descriptions. Each description computes at most one Boolean function with success probability at least 2/3 on every input. Hence, for all sufficiently large n, at least 99% of Boolean functions on n bits require Ω(2n/n) gates. If arbitrary classical postprocessing is allowed, its circuit or description cost must be included; otherwise this conclusion need not hold.

Facts & Assumptions

Given: A fixed finite gate alphabet with A≥1 gates and maximum arity 1≤k≤3, n≥1 classical input wires, zero-initialized ancillas, and one designated measured output bit. Count circuits with at most C gate occurrences, where C≥n; delete unused ancillas, retaining the output wire, so at most W=n+kC+1 wires remain. The acceptance event is that measured bit being 1, with no free classical postprocessing.

[A1]

Finite circuit syntax and ordered wire labels gives finite ordered gate supports and chronological layers; Denotational semantics of a finite layered circuit gives the exact product denotation of those layers. Their current draft bodies were inspected. A layered circuit can therefore be serialized in its stated order with the same denotation.

[F1]

Quantum acceptance probability for a finite promise computation defines pC(x) as the probability of the designated accepting output event for the circuit and input.

[F2]

BQP for promise problems in the fixed QC14 model uses acceptance at least 2/3 on YES inputs and at most 1/3 on NO inputs.

[F3]

Finite circuit resource accounting defines circuit size as the number of gate occurrences and width as the number of all wires, including workspace.

Proof

1.1givenA1F3algebra

By [F3], gate budget C counts gate occurrences and W includes every workspace wire. A circuit with j gate occurrences has at most (AWk)j ordered gate-list descriptions on W wire labels: there are A gate types and at most Wk ordered supports per type. By [A1], flattening each finite layer list in chronological order preserves its denotation, so every layered circuit of at most C gates is represented by one of these lists. Choosing the designated output wire contributes a factor at most W. Thus the number of descriptions is at most W∑j=0C(AWk)j. Since A≥1, W≥1, C≥n, and k is fixed, W=O(C) for positive C and AWk≥1. The sum is at most (C+1)(AWk)C, whose logarithm is O(Clog⁡C). Duplicate denotations only reduce the number of computed functions.

1.2F1F2algebra

By [F1], a fixed description has one acceptance probability pC(x) at each input. If it computed two distinct Boolean functions with success threshold [F2], some input x would require the same number pC(x) to be both at least 2/3 and at most 1/3, which is impossible. Therefore one description accounts for at most one truth table.

2.1step 1.1step 1.2algebra

There are exactly 22n Boolean functions on n bits. For Cn=⌊c2n/n⌋, the bound in step 1.1 has base-two logarithm at most KCnlog⁡2Cn for a constant K depending only on the fixed alphabet and arity. Since log⁡2Cn≤n+O(1), choose c>0 so that this logarithm is at most 2n−1 for all sufficiently large n. Then the fraction with at most Cn gates is at most 22n−1/22n<0.01 eventually. By step 1.2, each description covers at most one function, so at least 99% require more than Cn=Ω(2n/n) gates. This is an almost-all lower bound, not a lower bound for each named function.

3.1givenstep 1.2step 2.1∎

The model in the statement charges the measured output-bit event and includes no free classical postprocessing, so the one-description/one-function count applies as stated. If a classical postprocessing circuit is admitted, it must be included in the finite description and gate count before this argument can be reused.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Counting Hierarchy Time Space Lower Bound

Statement

In the final published VMW erased-index quantum model, for every real d and ε>0 there exists c>1 such that either MajMajSAT has no bounded-error algorithm of time O(nc), or MajSAT has no bounded-error algorithm using both time O(nd) and space O(n1−ε). Consequently, for every ε>0, MajMajSAT has no bounded-error algorithm with time n1+o(1) and space O(n1−ε). The fixed gates have the polynomial-time precision approximation condition of the model definition.

Facts & Assumptions

Given: the published VMW quantum profile and derived full-basis classical comparison, the at-least-half majority-formula conventions, and the stated resource bounds.

[F1]

BQTISP to Derived-Basis PrTISP Simulation maps a bounded-error quantum computation of time t and space s to a matching-profile strict-majority classical computation of time O(t polylog t) and space O(s+polylog t).

[F2]

Unbounded error counting time space alternative gives the direct classical alternative in the derived full-basis profile.

[F3]

Unbounded error time space counting model defines the derived basis, erased-index-only, sequential and historical profiles, and the common plain-formula encoding.

Proof

1.1F1F2F3givenconstructalgebracontradiction

Fix d,ε and choose rational D>max⁡(d,1) and rational 0<ε′<min⁡(ε,1). By [F2] there is a classical time exponent C>1 for the alternative with parameters D,ε′. Choose rational 1<c<C and suppose, for contradiction, that both quantum algorithms in the statement exist. For the time-only MajMajSAT algorithm, choose rational τmm with c<τmm<C and use the constructible simulation clock tmm=⌈Kmm(n+2)τmm⌉. The published VMW model permits maximum work addresses exponential in the running time: in tmm transitions only O(tmm) address bits can be emitted, so a constructible space majorant smm=2Ktmm, for a fixed sufficiently large K, bounds every work operand and query endpoint of this fixed machine. Its binary numeral is a 1 followed by Ktmm zeroes and is generated in O(tmm) time, within the required constructibility bounds. Both tmm,smm≥log⁡n, so [F1] gives a matching-profile classical time O(nτmmpolylog n)⊆O(nC) decider. For the MajSAT algorithm, choose rational τsat with max⁡(d,1)<τsat<D and use constructible majorants tsat=⌈Ksat(n+2)τsat⌉ and ssat=⌈Ksat′(n+2)1−ε′⌉. They are at least log⁡n for large n and dominate the assumed time O(nd) and space O(n1−ε). Theorem [F1] then gives classical time O(nτsatpolylog n)⊆O(nD) and space O(n1−ε′+polylog n)⊆O(n1−ε′). These two classical algorithms contradict both sides of [F2]'s alternative.

2.1F1F2F3step 1.1constructalgebracontradiction∎

Suppose MajMajSAT has time n1+o(1) and space O(n1−ε). By [F3], a plain MajSAT encoding is already the identical bit string accepted as a MajMajSAT instance with an implicit fresh unused outer variable. Both of its outer assignments have the original inner majority value. First validate the plain encoding in O(n polylog n) time and O(log⁡n) workspace, rejecting malformed or partition-tagged inputs. On a valid plain input, reset that scratch and run the assumed quantum algorithm on the identical bit string, with exactly the same coherent input oracle and bounded error. Total time remains n1+o(1) and space is O(n1−ε+log⁡n); no coherent virtual-input compilation is required. Choose 0<ε′′<min⁡(ε,1) and any fixed d>1. These resources meet O(nd) and O(n1−ε′′). The original MajMajSAT algorithm also meets O(nc) for every fixed c>1, contradicting the disjunction of step 1.1 with parameters d,ε′′. This proves the corollary.

Historical profile

The 2007 preprint's nonerasing delimited-head model is retained separately in the definitions. No equivalence with the final published model, and no extension of this theorem to that distinct profile, is asserted by this proof.

5 · Examples, counterexamples and false statements

None yet.

Sources