Documentation

CslibFrontier.Computability.Complexity.Classes.Space.TQBF

TQBF is PSPACE-complete #

A problem is PSPACE-hard when every problem in PSPACE, with any encoding of its instances, reduces to it in polynomial time (Cslib.Complexity.PSPACEHard), and PSPACE-complete when it is moreover in PSPACE (Cslib.Complexity.PSPACEComplete) Arora and Barak, Section 4.2 Sipser, Section 8.3.

The true closed quantified Boolean formulas (Cslib.Complexity.TQBF) form a PSPACE-complete problem Sipser, Theorem 8.9 Arora and Barak, Theorem 4.13:

The reduction maps every instance to a closed formula: the quantified variables of the formula of level 0 are odd, those of the blocks of the midpoint recursion even, and the source and target blocks of the top level are fixed to the codes of the initial view and of acceptance. The alternating characterization AP = PSPACE is not proved here.

Boundary cases: there is no empty formula, since every formula has a token (Cslib.Logic.PL.QBF.tokens_ne_nil), so no instance of TQBF has an empty encoding. The formulas without variables are built from top and bot and are decided by their value; formulas with a free variable are not in TQBF, even when they are valid. The empty conjunction is top and the empty clause bot (Cslib.Logic.PL.QBF.conj, Cslib.Logic.PL.QBF.ofClause). The formulas produced by the reduction always quantify over some variables: their codes have width at least 2, even on the empty input.

Main results #

References #

TQBF is PSPACE-hard Sipser, Theorem 8.9 Arora and Barak, Theorem 4.13: every problem decided by a deterministic machine within polynomial space reduces to TQBF in polynomial time, by Savitch's formula on the codes of the finite views of the machine.