Alphabeta Math
LemmaStatement: Literature-sourcedProof: AI-adaptedPipeline-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.

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.

Depends on

Used by

Dependency tree · two levels

9 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources