Cube Quest
A game for learning Lean, played on a 3×3×3 cube. Each world turns one step of formal work into something you do with your own hands: specify, formalize, mechanize, compute, solve, prove.
Human intuition
(practical algorithms)
The algebraic engine
(group theory)
Machine search
(computational solvers)
43,252,003,274,489,856,000 ≈ 4.33 × 10¹⁹ reachable positions
- World 1SpecifyOpen
- World 2Formalize🔒 Finish world 1 first
- World 3Mechanize🔒 Finish world 2 first
- World 4Compute🔒 Finish world 3 first
- World 5SolveSolve scrambles stage by stage: cross, F2L, OLL, PLL. Each stage's goal is a Lean predicate.Coming next
- World 6ProveCollect algorithm cards by proving what each algorithm does.Coming next
- World 7Group theoryThe boss: prove that a single twisted corner can never be solved.Coming next
The solving funnel
Each stage shrinks the set of states the cube can still be in, until only the solved cube {e} is left.
- G0every state
- G1cross
- G2first two layers (F2L)
- G3last layer oriented (OLL)
- G4last layer permuted (PLL)
- {e}solved