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.
TQBF is PSPACE-complete
Statement
A quantified Boolean formula in prenex form is a finite prefix followed by a Boolean matrix, where and the bound variable names are distinct. It is closed when every matrix variable occurs in the prefix. Existential quantification takes the OR of the two substituted truth values; universal quantification takes their AND. Encode the prefix by a unary length header, then a quantifier bit and a self-delimiting variable numeral per entry, followed by the matrix encoding. Reject duplicate names, free variables, trailing bits and malformed input. TQBF is the binary language of well-formed closed true formulas, including true variable-free matrices with an empty prefix.
TQBF is PSPACE-complete under polynomial-time many-one reductions. Its hardness reduction has polynomial output length and can be computed in polynomial time, hence polynomial workspace.
Facts & Assumptions
Given: The above quantified syntax and any language in PSPACE.
Boolean formulas have an explicit polynomial parser and recursive truth semantics (Boolean formulas, CNF, and satisfiability).
A PSPACE machine is a fixed decider with a polynomial visited-space bound that may be enlarged to dominate the input length (Polynomial space and nondeterministic polynomial space).
A fixed space-bounded machine on a fixed input has exponentially many configurations with linear-size codes (A space-bounded machine has exponentially many configurations).
A deterministic -tape machine reads one symbol on each of its right-infinite tapes, writes one symbol on each, and moves every head left or right in one simultaneous transition (Multitape and nondeterministic Turing machine variants).
The one-tape transition relation rewrites its scanned cell and clamps a left move at zero (The one-step configuration relation). For the -tape variant in L1, the proof applies that same cell/head rule independently to each of the components; the cited one-tape definition is not itself a multitape transition theorem.
The one-tape interface explicitly fixes initial tape and accepting/halting states (Initial tapes and machine-relative halting configurations). For L1 the proof uses the componentwise initial state: input on tape one, blanks on the others, and all heads at zero.
A reduction must be a total polynomial-time transducer with a membership equivalence (Polynomial time verifier and reduction interface).
A Boolean matrix has a polynomial-time equisatisfiable CNF with one extension variable per gate and an output unit (Tableau formulas have polynomial-size polynomial-time CNF encodings). The stronger pointwise gate-extension property used below follows from the explicit local clauses in step 7.1, not merely from equisatisfiability.
Proof
Parse a TQBF input of length , rejecting violations of the statement's syntax. Keep the parsed formula and a table of assigned bits. Recursively assign the next quantified variable 0, evaluate the remaining prefix, save that answer bit, then assign it 1 and evaluate again using the same child workspace. Combine with OR or AND as indicated and undo the assignment. A frame stores an input position and the saved bit; at most frames and a size- parsed representation suffice. Matrix evaluation likewise uses at most cells. Every recursive call decreases the remaining prefix length; the finite matrix recursion terminates. The empty prefix evaluates the variable-free matrix directly. Counting input cells as well still gives polynomial space.
Fix a decider of and a known integer polynomial bounding its visited cells on every input. On input , represent each tape by its first symbols and its head offset, together with the state. All actual configurations fit because each tape's visited prefix is at most and the complete input fits too. Use fixed-width fields and add a tag for one special accepting vertex . Invalid state/symbol codes and head offsets outside are excluded; the special vertex has all remaining fields zero. Choose one common bit length for all these vertices. This is the explicit full-prefix variant of F3's bounded coding. There are at most vertices, including . The initial vertex is written directly from .
Construct a Boolean formula for edges of this finite graph. For every possible state, scanned-symbol tuple and head-offset tuple, enumerate the finitely specified instruction of , assert those source fields, the target state and the componentwise head offsets (using F4's clamped-left rule on each right-infinite tape), the prescribed written symbols, and equality of every unscanned tape cell. Conjoin validity of both endpoint codes. There are cases and field comparisons in each, with bits per offset. Thus the disjunction has polynomial encoded size and is produced by polynomial finite loops. Omit transitions leaving the represented interval. Add edges from every ordinary accepting configuration to , and a self-loop at . Rejecting configurations have no outgoing edges. This supplies a unique terminal target without assuming a physical tape-erasing normalization. From the initial vertex, ordinary edges are exactly M's steps; actual runs never leave the interval. Thus is reachable exactly when M accepts .
Let be . For each next level introduce fresh -bit vectors and a fresh bit . Set , and define . Here equality means conjunction of bit equalities, each expanded with AND, OR and NOT. There is just one occurrence of .
For all bit vectors , holds iff they are valid vertices joined by a path of length at most . At level zero this follows from its definition, including the length-zero path. For the successor, a true formula supplies a midpoint . Specializing the universals to and forces both shorter paths by the induction hypothesis; concatenate them. Conversely split a path of length after edges. Both portions have length at most , so their midpoint works. For any universal assignment either is false, making the implication true, or it selects one of these two paths. Invalid midpoints cannot pass either selected base validity condition. This proves the induction in both directions.
Any reachable vertex has a path without a repeated vertex: delete the segment between two equal vertices and retain its subsequent edges, reducing the length until no repetition remains. Its length is less than . Therefore is true exactly when . If already equals a target in another instance, the equality part of handles it; here the distinct special tag keeps the actual initial and accepting target separate.
Each recursion level introduces bound bits and equality/connective occurrences. Distinct variable names across levels use bits, so the total encoded size is the polynomial base size plus . Put the formula in prenex form without duplication: if is fresh for , then and have the same truth value, for either quantifier, by checking whether is true or false and using the nonempty domain . Apply this identity to pull each inner prefix through its outer guard. Fresh naming prevents capture. Each matrix connective remains once. Finite generation of the base cases, guards and prefix requires polynomial time and space, including substituting constant start/target bits. This proves the total reduction and, with step 1.1, PSPACE-completeness. All selections were finite enumerations or existential witnesses to a single formula; AC is unnecessary.
The same reduction may use a 3CNF or 3DNF matrix if desired. For each gate , use ; for , use ; for OR, dualize the AND clauses. Pin a constant by a unit clause and require the output by a unit clause. These are clauses of width at most three. For each assignment to the old variables, a gate-by-gate induction shows that exactly one assignment to the fresh gate variables satisfies all gate equations, and it satisfies the output unit exactly when . This proves the pointwise property rather than inferring it from F7's mere equisatisfiability. Append existential quantifiers for the fresh gate bits after the old prefix; the resulting 3CNF preserves truth through every old quantifier. Alternatively apply this construction to . Then iff every gate assignment falsifies . Append universal gate quantifiers and use the matrix , a disjunction of terms each containing at most three literals by De Morgan's laws. These conversions preserve the truth of the quantified formula in both directions, including constant matrices. They do not assert a polynomial DNF for unquantified equality without extra variables.
Here is also precise workspace accounting for generation: with read-only input and write-only output excluded from the auxiliary workspace measure, the fixed-M reduction uses auxiliary cells. Compute the fixed polynomial S and m in binary with a constant number of -bit registers. The base edge formula is output by loops over k head offsets, finite states/symbols, tape cells and bit positions, all polynomially bounded; k is fixed, so the number of loop registers is constant. Initial-configuration bits are obtained by rescanning x with a binary position counter. Output the prenex prefix with one descending level counter; output the guards in the same order, using the current level to name its endpoint vectors, then the base formula, then the required closing symbols by a counter. The one-copy recurrence never requires storing a stack of levels. Every emitted variable name is computed from its level, vector type and bit offset, all polynomially bounded integers.
If a restricted matrix is requested, generate its gate clauses using rescans of that regular unquantified matrix. Number connective occurrences by their positions. Find a node's children by scanning its prefix-encoded subtree with a pending-child counter: reading a node changes the counter by its arity minus one, and zero marks the end of the subtree. Constants have arity zero. All indices and counters are bounded by the polynomial output length. Each requested matrix symbol can be recomputed by restarting the generator of step 7.2 and counting its output; save the constant number of current position registers on separate tracks. Thus iterating over gate positions and their children uses only a constant number of logarithmic registers, with polynomial repeated-scan time. Output F7's clauses, or their De Morgan negations with the appropriate new quantifiers from step 7.1. This proves regular logspace generation under the explicitly stated input/output-excluding convention, without claiming an all-tape visited-space bound smaller than n.
Depends on
- Boolean formulas, CNF, and satisfiability
- Polynomial space and nondeterministic polynomial space
- A space-bounded machine has exponentially many configurations
- Multitape and nondeterministic Turing machine variants
- The one-step configuration relation
- Initial tapes and machine-relative halting configurations
- Polynomial time verifier and reduction interface
- Tableau formulas have polynomial-size polynomial-time CNF encodings
Used by
Dependency tree · two levels
24 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
- Arora and Barak, Computational Complexity: A Modern Approach, Theorem 4.11 (standard reference, not scraped)
- Kabanets, CMPT 710 Lectures 12-13, TQBF PSPACE-completeness (standard reference, not scraped)