A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

PSPACE-Complete Problems

Research Depth 104 in the knowledge graph ☐ I know this ☆ Set as goal
527prerequisites beneath it
See this on the map →
NP-Completeness and Cook-Levin TheoremPSPACE Complexity Class→
hardness completeness quantified-formulas

Core Idea

A problem is PSPACE-complete if it is in PSPACE and every PSPACE problem polynomial-time reduces to it. The canonical example is TQBF: given a fully quantified Boolean formula with alternating ∃∀ quantifiers, determine if it evaluates to true. Other PSPACE-complete problems include game-position evaluation (can the current player force a win?) and certain pattern-matching with counting. PSPACE-completeness indicates inherent intractability that polynomial space cannot overcome.

Explainer

You already understand NP-completeness — the idea that certain problems are the hardest in NP because every NP problem reduces to them in polynomial time. PSPACE-completeness applies the same logic one level up in the complexity hierarchy. A problem is PSPACE-complete if it lives in PSPACE (solvable with polynomial space) and is at least as hard as every other PSPACE problem, meaning any PSPACE problem can be polynomial-time reduced to it. Since NP ⊆ PSPACE, PSPACE-complete problems are at least as hard as NP-complete problems and are widely believed to be strictly harder.

The canonical PSPACE-complete problem is TQBF (True Quantified Boolean Formula). While SAT asks "does there exist an assignment making this formula true?", TQBF asks something more demanding: "is this formula true when some variables are existentially quantified (∃) and others are universally quantified (∀)?" For example, ∃x ∀y (x ∨ y) asks whether there exists an x such that for every y, the formula holds. The alternation of quantifiers is what makes TQBF harder than SAT — you cannot just guess a single satisfying assignment, because you must account for an adversary choosing the universally quantified variables. Savitch's theorem shows TQBF is solvable in polynomial space by recursively evaluating quantifier blocks, and the completeness proof demonstrates that every polynomial-space computation can be encoded as a TQBF instance.

The connection to games makes PSPACE-completeness intuitive. Two-player games with perfect information — like generalized versions of chess, checkers, or Go played on n×n boards — are naturally PSPACE-complete. The reason is structural: "can Player 1 force a win?" is equivalent to asking ∃(move₁) ∀(move₂) ∃(move₃) ∀(move₄)... leading to a winning position. The alternation between "I choose" and "my opponent chooses" maps directly to the ∃∀ alternation in TQBF. This is why game-solving feels fundamentally harder than optimization: you are not searching for one good solution but reasoning about all possible counter-strategies.

PSPACE-completeness tells you something specific about a problem's difficulty. It means the problem is unlikely to have a polynomial-time algorithm (since that would imply P = PSPACE, collapsing the entire hierarchy), but it also means the problem does not require exponential space — it can be solved with careful memory management, even if the time required is exponential. The practical consequence is that PSPACE-complete problems often admit solutions that are slow but memory-efficient, trading time for space in a way that NP-complete problems already allow but PSPACE-complete problems demand at a deeper level.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Boolean Type and Truth Values → Comparison Operators and Boolean Tests → Logical Operators and Boolean Algebra → Boolean Algebra and Fundamental Laws → Logic Gates Fundamentals → Implementing Boolean Functions with Gates → Karnaugh Map Simplification → Combinational Circuit Design → Flip-Flops and Latches → Finite State Machines (FSMs) → Deterministic Finite Automata (DFA) → Nondeterministic Finite Automata (NFA) → Two-Way Finite Automata → NFA to DFA Conversion (Subset Construction) → DFA Properties and Minimization Algorithms → Regular Languages: Definition and Characterization → Context-Free Grammars (CFGs) → Pushdown Automata (PDA) → Equivalence of CFGs and Pushdown Automata → Closure Properties of Context-Free Languages → Limitations of Context-Free Languages → Pumping Lemma for Context-Free Languages → Turing Machines → Variants of Turing Machines and Equivalence → Nondeterministic Time Complexity and NP → The P vs. NP Problem → Complexity Class P: Polynomial Time → Complexity Class NP: Nondeterministic Polynomial Time → NP-Completeness and Cook-Levin Theorem → The Cook-Levin Theorem → Boolean Satisfiability, Cook-Levin, and Reductions → Polynomial Many-One Reductions → BPP: Bounded Error Probabilistic Polynomial Time → RP and coRP Complexity Classes → PSPACE Complexity Class → PSPACE-Complete Problems

Longest path: 105 steps · 527 total prerequisite topics

Prerequisites (2)

Leads To (0)

No topics depend on this one yet.