Push and PushPush Puzzles Are PSPACE-Complete

Primarily AI-generated textHuman understanding: some partscs.CC — Computational Complexitymath.QA — Quantum Algebra

Contributed by Xuyang Peng ↗

Version 1 / Nov 28, 2026 / CC BY 4.0

Abstract

In the pushing-block puzzles Push-kk and PushPush-kk, a player walks on a grid and pushes a line of at most kk boxes, by one cell in Push and until stopped in PushPush; k=∗k = \ast means unbounded strength. Hoffmann proved Push-∗\ast NP-hard in 2000 and asked whether it is PSPACE-complete; the question has remained open since. We prove that Push-∗\ast and PushPush-∗\ast are PSPACE-complete, as are the storage versions, where the boxes must end exactly on prescribed targets, for every fixed k≥1k \geq 1 and k=∗k = \ast, for both Push and PushPush, with and without fixed walls. Together with known results, this completes their complexity classification. All main theorems are formally verified in Lean 4. At unbounded strength, no block of boxes is immovable, so standard box-wall constructions fail. For Push-∗\astS, we instead use the exact target to freeze the boxes around a constraint-logic board. For PushPush, we simulate self-closing doors with sliding boxes; for storage goals, a cleanup phase resets every accepting run to one fixed configuration, covering all strengths at once. For Push-∗\ast and PushPush-∗\ast, we replace the target with a wall-free gadget that requires a single configuration to pass a fixed sequence of row and column counts to reach the goal. For Push storage, one walled construction forces every solution to use single-box pushes at any strength, and (k+1)(k + 1)-wide box-wall gadgets give the wall-free case for fixed kk.

Author comments: 101 pages. Lean 4 formalization of all main theorems: https://github.com/Galuisss/push-puzzles-lean

Provenance statement

GPT-6 Astra derived the PSPACE-completeness result for Push-kFS at all strengths, while GPT-6.2 Astra derived the remaining main results. GPT-6.1 Sol completed the Lean 4 formalization. The manuscript was primarily written by Neon. The author selected the research problem and understands some of the constructions and proofs.

Tools used

OpenAI
ChatGPTVersion 6 Astra
OpenAI
ChatGPTVersion 6.2 Astra
OpenAI
ChatGPTVersion 6.1 sol
Google
GeminiVersion Neon

References

  1. Hayashi Ani; Jeffrey Bosboom; Erik D. Demaine; Jenny Diomidova; Della Hendrickson; Jayson Lynch. Walking through Doors Is Hard, Even without Staircases: Proving PSPACE-Hardness via Planar Assemblies of Door Gadgets. 10th International Conference on Fun with Algorithms (FUN 2021), vol. 157, pp. 3:1–3:23. 2020DOI
  2. Hayashi Ani; Lily Chung; Erik D. Demaine; Jenny Diomidova; Della Hendrickson; Jayson Lynch. Pushing Blocks via Checkable Gadgets: PSPACE-Completeness of Push-1F and Block/Box Dude. 11th International Conference on Fun with Algorithms (FUN 2022), vol. 226, pp. 3:1–3:30. 2022DOI
  3. Hayashi Ani; Lily Chung; Erik D. Demaine; Jenny Diomidova; Della Hendrickson; Jayson Lynch. Pushing Blocks via Checkable Gadgets: PSPACE-completeness of Push-1F and Block/Box Dude. 2024. Full version of the FUN 2022 paperarXivDOI
  4. Robert D. Barish; Tetsuo Shibuya. Sokoban-style PushPush Games with Unique Solutions. Journal of Information Processing, vol. 33, pp. 1101–1109. 2025DOI
  5. David Bremner; Joseph O'Rourke; Thomas Shermer. Motion planning amidst movable square blocks is PSPACE-complete. 1994. Draft, June
  6. Joseph C. Culberson. Sokoban is PSPACE-complete. Proceedings of the 1st International Conference on Fun with Algorithms (FUN 1998), pp. 65–76. 1998link
  7. Erik D. Demaine; Martin L. Demaine; Michael Hoffmann; Joseph O'Rourke. Pushing Blocks is Hard. Computational Geometry: Theory and Applications, vol. 26, no. 1, pp. 21–36. 2003DOI
  8. Erik D. Demaine; Robert A. Hearn; Michael Hoffmann. Push-2-F is PSPACE-Complete. Proceedings of the 14th Canadian Conference on Computational Geometry (CCCG 2002), pp. 31–35. 2002link
  9. Erik D. Demaine; Michael Hoffmann; Markus Holzer. PushPush-kk is PSPACE-Complete. Proceedings of the 3rd International Conference on Fun with Algorithms (FUN 2004), pp. 159–170. 2004link
  10. Zachary DeStefano; Bufang Liang. Push-1 is PSPACE-complete, and the automated verification of motion planning gadgets. 2025arXivDOI
Show all 16 referencesShow fewer references
  1. Robert A. Hearn; Erik D. Demaine. PSPACE-Completeness of Sliding-Block Puzzles and Other Problems through the Nondeterministic Constraint Logic Model of Computation. Theoretical Computer Science, vol. 343, no. 1–2, pp. 72–96. 2005DOI
  2. Michael Hoffmann. Motion Planning Amidst Movable Square Blocks: Push-∗* is NP-hard. Proceedings of the 12th Canadian Conference on Computational Geometry (CCCG 2000), pp. 205–210. 2000link
  3. MIT Hardness Group; Josh Brunner; Lily Chung; Erik D. Demaine; Jenny Diomidova; Della Hendrickson; Jayson Lynch. Pushing Blocks without Fixed Walls via Checkable Gizmos: Push-1 is PSPACE-Complete. 2026arXivDOI
  4. James B. Saxe. Dynamic-Programming Algorithms for Recognizing Small-Bandwidth Graphs in Polynomial Time. SIAM Journal on Algebraic and Discrete Methods, vol. 1, no. 4, pp. 363–369. 1980DOI
  5. Roberto Tamassia. On Embedding a Graph in the Grid with the Minimum Number of Bends. SIAM Journal on Computing, vol. 16, no. 3, pp. 421–444. 1987DOI
  6. van der Zanden, Tom C. Parameterized Complexity of Graph Constraint Logic. 10th International Symposium on Parameterized and Exact Computation (IPEC 2015), vol. 43, pp. 282–293. 2015DOI

Version history

  1. v1 · 101 pagesSubmitted by Xuyang Peng101 pages. Lean 4 formalization of all main theorems: https://github.com/Galuisss/push-puzzles-leanCurrentNov 27, 2026