MathRPG: Army of Truth – Platonist Playground
A game about the shape of formal mathematics. Every definition and theorem of Mathlib, the mathematical library of the Lean proof assistant, is a place on a map. A place's height is its rank: the length of the longest chain of results it stands on, down to the axioms. Every light on the map was checked by Lean's kernel, and anyone can check it again.
This is a demo for students and researchers. It is experimental and not released yet (its licences are drafts), it is free, and it collects nothing about you.
Play
Open the game (it runs in your browser; a large map may take a moment).
- The atlas holds more than two hundred worlds. Each one is a famous theorem from the 1000+ theorems list that Mathlib has formalised, with everything it stands on.
- Walk a world: drag to turn, scroll to zoom, click a place to read its card (its statement and Mathlib's own documentation), double-click to enter. The gold chain is a longest path down to the axioms.
- Lessons teach the controls on the intermediate value theorem.
- The raid board shows what is still open in the formalisation of Fermat's Last Theorem.
The workbench's Check, Typeset and Make video buttons need Lean on a machine. This site has no server, so they report that no check provider answered. To use them, run the game on your own computer (Copy it).
The demo keeps nothing in your browser: your progress lasts until you close the tab.
Results
We publish measurements as short notes, each with its data, its pin and the commands that reproduce it. See all of them under Results, and the current rank records.
- The whole map under the Riemann hypothesis: a million places
Every place of the main pin, 1,010,172 of them, laid out by rank and by the Jaccard metric; the longest chain (344) winds once around a ring. - What rank tells about very large proofs, and what stays with people
The Riemann hypothesis formalisation stands on 675,233 places of its own, more than twice all of Mathlib, and 11,386 of them stand higher than anything in Mathlib. Rank makes such size visible; whether the statement says the right thing is still for people to judge. - A second route to the Riemann hypothesis, measured through its fog: rank at least 283
The Lean formalisation of Masullo's draft rests on one unproved step; measured with it as fog, riemannHypothesis stands at rank 283 or more, on 50,171 places.
What this is, and what it is not
Others have studied the dependency graphs of formal libraries before us, and there are already maps of large formalisations. We do not claim to be first. This is a small, open system in which each part has its own design: rank over kernel-level places, rank records that new proofs can lower, a metric layout of the map, and a game on top. We offer it for you to try, to copy and to correct. More in About and in the manifesto.