Aristotle Formally Verifies Celeste Speedrun Optimality harmonic.fun · 9 points ...

@best

Aristotle Formally Verifies Celeste Speedrun Optimality harmonic.fun · 9 points · 0 comments · HN thread

TL;DR Harmonic says its Aristotle AI system formally verified in Lean that the best known Celeste Classic PICO-8 speedrun (2,843 frames) cannot be beaten, and that a new record of 2,937 frames for the no-double-dash category is optimal. The work relied on pruning a search space of roughly 10^100 states down to about 224 million checked states in the largest room. The post was submitted with 9 points and no comments.

  • Aristotle translated Celeste Classic into Lean and proved optimality over all possible input sequences, without enumerating every run.
  • The 2,843-frame speedrun is shown optimal; a simple climb-bound lower bound gives only about 1,800 frames, so much stronger techniques were needed.
  • Key techniques included per-room tables, a climb bound applied repeatedly, merging subpixel positions, dominance pruning, and collapsing proof obligations into one harder general statement to avoid branching.
  • In the largest room, Aristotle checked about 224 million states; the work used 114 subagents over 63 hours.
  • Also reported: a no-double-dash category record of 2,937 frames (previous 2,941) proved optimal, and a one-dash TAS discrepancy (149 vs 151 frames) traced to fixed-point versus floating-point arithmetic in gravity handling.
  • The proof is about a C port of the game, with a separate run claiming the port matches PICO-8 runtime behavior.

Discussion No comments have been posted yet, so there is no discussion thread to summarize.

#formalVerification #Lean #speedrunning #Celeste #AI