TQBF in alternating prenex conjunctive normal form #
A quantified Boolean formula is in alternating prenex conjunctive normal form when it is
∃ x₁, ∀ y₁, ⋯, ∃ xₙ, ∀ yₙ, ψ for a formula ψ in conjunctive normal form
(Cslib.Logic.PL.QBF.rounds, Cslib.Logic.PL.QBF.ofCNF). TQBFCNF is the set of pairs of a list
of rounds (xᵢ, yᵢ) and a formula ψ whose formula is a true closed formula
(Cslib.Complexity.TQBF).
The game played on such a formula is Sipser's FORMULA-GAME Sipser, Theorem 8.11,
the starting point of the textbook PSPACE-hardness proofs of games such as Generalized Geography
Sipser, Theorem 8.14.
TQBFCNF is PSPACE-complete (Cslib.Complexity.TQBFCNF_pspaceComplete): it is in PSPACE
because writing the formula is polynomial-time, and it is PSPACE-hard because the formulas of
games (Cslib.Complexity.TQBF.gameFormula), which every problem in PSPACE reduces to
(Cslib.Complexity.exists_isGameVerifier_of_mem_PSPACE), are already almost in this form: rounds
over the moves, then existential quantifiers over the variables of a Cook–Levin tableau and the
conjunction of the tableau with equivalences linking its certificate variables to the moves. Each
equivalence a ↔ b is written as the two clauses ¬a ∨ b and a ∨ ¬b
(Cslib.Complexity.TQBF.certLinkCNF), and each existential quantifier ∃ v becomes the round
∃ v, ∀ d over a fixed variable d that occurs nowhere else (Cslib.Complexity.TQBF.dummyVar),
which does not change the value (Cslib.Logic.PL.QBF.eval_rounds_map_pair).
Main definitions #
Cslib.Complexity.TQBFCNF,Cslib.Complexity.encPrenexCNF: the problem and its encoding.Cslib.Complexity.TQBF.prenexReduce: the formula of a game in alternating prenex conjunctive normal form.
Main results #
Cslib.Complexity.TQBF.eval_prenex,Cslib.Complexity.TQBF.closed_prenex: the normal form of the formula of a game has its value and is closed.Cslib.Complexity.TQBF.prenexReduce_mem_TQBFCNF_iff,Cslib.Complexity.TQBF.computableInPolyTime_prenexReduce: the normal form is correct and polynomial-time.Cslib.Complexity.TQBFCNF_mem_PSPACE,Cslib.Complexity.TQBFCNF_pspaceHard,Cslib.Complexity.TQBFCNF_pspaceComplete:TQBFCNFisPSPACE-complete.
References #
Instances (ps, ψ) of TQBFCNF: the rounds of quantifiers as framed pairs of binary
variables, and the formula as in Cslib.Complexity.encCNF.
Instances For
True closed formulas in alternating prenex conjunctive normal form: the pairs of rounds
(x₁, y₁), …, (xₙ, yₙ) and a formula ψ in conjunctive normal form such that
∃ x₁, ∀ y₁, ⋯, ∃ xₙ, ∀ yₙ, ψ is a true closed formula.
Instances For
Rounds of quantifiers are polynomial-time in the rounds and the body.
The links of the certificate variables to the blocks of level 0 (certLinks) as clauses:
¬a ∨ b and a ∨ ¬b for each link a ↔ b.
Instances For
A variable of the blocks of level 0 that no formula of a game uses: the first variable of
the midpoint block of level 0.
Instances For
The rounds of the normal form of the formula of a game: those over the moves, then a round
∃ v, ∀ dummyVar for each variable v of the formula of level 0.
Instances For
The matrix of the normal form of the formula of a game: the links of the certificate variables as clauses, then the tableau.
Instances For
The normal form of the formula of a game has its value.
The normal form of the formula of a game is closed.
The Cook–Levin tableau of the formula of a game (gameReduce).
Instances For
The reduction of a game to TQBFCNF: the formula of the game (gameReduce) in
alternating prenex conjunctive normal form.
Instances For
The normal form of the formula of a game is in TQBFCNF exactly when the formula is in
TQBF.
The reduction of a game to TQBFCNF is polynomial-time.
TQBFCNF is in PSPACE: writing the formula is polynomial-time.
TQBFCNF is PSPACE-hard: a problem in PSPACE is a game of polynomially many moves
with a polynomial-time winning condition, whose formula is put in alternating prenex conjunctive
normal form.
TQBF in alternating prenex conjunctive normal form is PSPACE-complete
Sipser, Section 8.3.