← Student tools · Problem 60 · Lecture 16 · Round 3 (40 pts)

REGEX equivalence is EXPSPACE-complete

Adding squaring (R²) to regex turns equivalence checking into exponential space.

CLO-5R3·40 ptsL16
🔊 Listen
Stockmeyer–Meyer (1973)

For regular expressions extended with squaring (R² = RR), deciding equivalence is EXPSPACE-complete. Lower bound: encode an EXPSPACE TM's computation as regex.

Why squaring? Because a regex with squaring can describe languages requiring exponential-size minimal DFA — pushing the equivalence test to exponential space.

🔊 Listen
Regex with squaring · exponential blowup Auto-plays
🔊 Listen
🔊 Listen
🔊 Listen

Sipser: §9.3. Stockmeyer–Meyer 1973 paper. Lecture notes: Module 7 slide 6. Companion problems: P12 (decidable trio), P57 (EXPTIME vs PSPACE).