Everything here uses only three moves from the parent:
- ∃xψ′ is TRUE ⟺ψ′[x=0] OR ψ′[x=1] is TRUE.
- ∀xψ′ is TRUE ⟺ψ′[x=0] AND ψ′[x=1] is TRUE.
- No quantifiers left ⇒ plug in the fixed bits and compute.
Here x=1 means "true", x=0 means "false". ∨ is OR, ∧ is AND, ¬ is NOT, ↔ is "equal" (both same), ⇒ is "if… then…".
Every QBF differs along a handful of axes. This table names each cell — every worked example below is tagged with the cell(s) it covers.
| Cell |
What varies |
Why it's a distinct case |
Covered by |
| A |
Pure ∃⋯∃ |
This is just SAT — one player |
Ex 1 |
| B |
Pure ∀⋯∀ |
One failing branch kills it |
Ex 2 |
| C |
∃ then ∀ |
∃ commits before seeing ∀'s reply |
Ex 3 |
| D |
∀ then ∃ |
∃ answers after seeing ∀'s move (dependence!) |
Ex 4 |
| E |
Order swap ∃∀ vs ∀∃ |
Same body, different truth value |
Ex 5 |
| F |
A false QBF (early ∀-failure) |
Short-circuit / spoiler wins |
Ex 6 |
| G |
Degenerate: variable absent from body |
Quantifier over an unused variable |
Ex 7 |
| H |
Real-world word problem (a game) |
Reading a game as a QBF |
Ex 8 |
| I |
Exam twist: nested 3-alternation |
Depth-3 game tree, prune early |
Ex 9 |
We solve them so that every cell is hit at least once.
Recall Map back to the matrix
- A → Ex 1 (pure ∃ = SAT) — SAT and NP-completeness
- B → Ex 2 (pure ∀)
- C → Ex 3 (∃∀, ∃ commits first)
- D → Ex 4 (∀∃, dependence)
- E → Ex 5 (order swap flips truth)
- F → Ex 6 (false via early ∀-fail)
- G → Ex 7 (vacuous quantifier)
- H → Ex 8 (word-problem game)
- I → Ex 9 (depth-3, prune with x=1)
Which quantifier short-circuits on the first TRUE branch?
∃ (it is an OR).
Which quantifier short-circuits on the first FALSE branch?
∀ (it is an AND).
In ∀y∃xϕ, may x depend on y?
Yes — x is chosen after y is revealed.
Why did Ex 5's swapped formula become false?
∃ had to fix one y before seeing x, so no single y matched both x values.
What happens to ∀y or ∃y when y is absent from the body?
The quantifier is vacuous — delete it, truth is unchanged.
Related: PSPACE — Quantified Boolean Formula · NP vs PSPACE · Polynomial Hierarchy · Savitch's Theorem · PSPACE and Polynomial Space