You Can't Solve These Super Mario Bros. Levels: Undecidable Mario Games (2405.10546v1)
Abstract: We prove RE-completeness (and thus undecidability) of several 2D games in the Super Mario Bros. platform video game series: the New Super Mario Bros. series (original, Wii, U, and 2), and both Super Mario Maker games in all five game styles (Super Mario Bros. 1 and 3, Super Mario World, New Super Mario Bros. U, and Super Mario 3D World). These results hold even when we restrict to constant-size levels and screens, but they do require generalizing to allow arbitrarily many enemies at each location and onscreen, as well as allowing for exponentially large (or no) timer. Our New Super Mario Bros. constructions fit within one standard screen size. In our Super Mario Maker reductions, we work within the standard screen size and use the property that the game engine remembers offscreen objects that are global because they are supported by "global ground". To prove these Mario results, we build a new theory of counter gadgets in the motion-planning-through-gadgets framework, and provide a suite of simple gadgets for which reachability is RE-complete.
- Walking through doors is hard, even without staircases: Proving PSPACE-hardness via planar assemblies of door gadgets. In Proceedings of the 10th International Conference on Fun with Algorithms (FUN 2020), pages 3:1–3:23, La Maddalena, Italy, September 2020.
- Pushing blocks via checkable gadgets: PSPACE-completeness of Push-1F and Block/Box Dude. In Proceedings of the 11th International Conference on Fun with Algorithms (FUN 2022), pages 2:1–2:30, Favignana, Italy, May–June 2022.
- Traversability, reconfiguration, and reachability in the gadget framework. In Proceedings of the 16th International Conference and Workshops on Algorithms and Computation (WALCOM 2022), volume 13174 of Lecture Notes in Computer Science, pages 47–58, Jember, Indonesia, March 2022.
- Trains, games, and complexity: 0/1/2-player motion planning through input/output gadgets. In Proceedings of the 16th International Conference and Workshops on Algorithms and Computation (WALCOM 2022), volume 13174 of Lecture Notes in Computer Science, pages 187–198, Jember, Indonesia, March 2022.
- Baba is universal. In Proceedings of the 12th International Conference on Fun with Algorithms (FUN 2024), La Maddalena, Italy, June 2024.
- Hayashi Ani. Unsimulability, universality, and undecidability in the gizmo framework. Master’s thesis, Massachusetts Institute of Technology, 2023.
- Computational complexity of motion planning of a robot through simple gadgets. In Proceedings of the 9th International Conference on Fun with Algorithms (FUN 2018), pages 18:1–18:21, La Maddalena, Italy, June 2018.
- Toward a general theory of motion planning complexity: Characterizing which gadgets make games hard. In Proceedings of the 11th Conference on Innovations in Theoretical Computer Science (ITCS 2020), pages 62:1–62:42, Seattle, Washington, January 12–14 2020.
- flamewizzy21. “Don’t leave me!” — Guide to global loading. Reddit post, January 2020. https://www.reddit.com/r/MarioMaker/comments/eobdmj/dont˙leave˙me˙guide˙to˙global˙loading/.
- Linus Hamilton. Braid is undecidable. arXiv:1412.0784, 2014.
- Della Hendrickson. Gadgets and gizmos: A formal model of simulation in the gadget framework for motion planning. Master’s thesis, Massachusetts Institute of Technology, 2021.
- Erik Kain. ‘Braid’ is a postmodern Super Mario Bros. Forbes Games blog, 18 June 2012. https://www.forbes.com/sites/erikkain/2012/06/18/braid-is-a-postmodern-super-mario-bros/.
- Ivan Korec. Small universal register machines. Theoretical Computer Science, 168(2):267–301, 1996.
- Jayson Lynch. A framework for proving the computational intractability of motion planning problems. PhD thesis, Massachusetts Institute of Technology, 2020.
- Marvin L. Minsky. Recursive unsolvability of Post’s problem of “Tag” and other topics in theory of Turing machines. Annals of Mathematics, 74(3):437–455, 1961.
- Marvin L. Minsky. Computation: finite and infinite machines. Prentice-Hall, Inc., 1967.
- MIT Hardness Group. Mario hardness gadgets. GitHub repository. https://github.com/65440-2023/mario-hardness-gadgets.