MathRPG: Army of Truth

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 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.

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.