celeste-sat
Solver-checked speedrun routes for Celeste
A frame-exact C model of the player's movement in Celeste. The community's tool-assisted speedrun of Chapter 1, 2,275 frames of input over 19 rooms, replays exactly, and 16 recordings from the game match it on every frame, subpixels included. The same code runs as a simulator, a beam search and a CBMC harness in which every frame's input is free, so a SAT solver either finds a faster stretch of route or proves that none exists.
My search once found a room in 118 frames where the human route takes 161; in the game the route ran into a wall my model did not have. After that fix, the solver re-proved 2,023 of 2,028 twelve-frame windows of the route on the current model (first run on Leonardo, about 2,300 core-hours). For the first room, drat-trim verifies DRAT proofs for 81 of its 83 eight-frame windows, so those answers no longer rest on the solver. The solver also found one frame the human route missed, confirmed in the game. Everything is proven within the model.