← Student tools · Problem 36 · Lecture 13 · Round 3 (40 pts)

TQBF · evaluate quantified formulas as a game tree

∃-nodes take OR, ∀-nodes take AND. Post-order evaluation.

CLO-4R3·40 ptsL13
🔊 Listen

TQBF = {⟨φ⟩ : φ is a true quantified Boolean formula}. A QBF is a Boolean formula prefixed by alternating quantifiers ∃x1 ∀x2 ∃x3 … followed by a quantifier-free Boolean kernel.

Recursive evaluation

∃x. ψ(x) is true iff ψ(0) is true OR ψ(1) is true.

∀x. ψ(x) is true iff ψ(0) is true AND ψ(1) is true.

Recurse until all quantifiers are stripped, then evaluate the propositional kernel.

The game interpretation

Think of TQBF as a game between two players. Player ∃ picks values for the ∃-bound variables, trying to make the kernel true. Player ∀ picks values for ∀-bound variables, trying to make it false. The formula is true iff ∃ has a winning strategy. This is why TQBF captures generalised game theory.

TQBF is PSPACE-complete (Sipser Theorem 8.9). The depth-first evaluation uses O(n) space — only the current path's partial assignment needs storage. Total tree has 2n leaves but the space is polynomial because each branch is computed independently and discarded.

🔊 Listen
Tree evaluation for a small QBF Auto-plays
🔊 Listen
🔊 Listen
🔊 Listen

Sipser: Theorem 8.9 (TQBF is PSPACE-complete). Lecture notes: Module 6 slides 2–3. Companion problems: P37 (TQBF3), P38 (geography), P39 (TQBF → geography), P40 (chess).