About
MathRPG: Army of Truth – Platonist Playground is a free, experimental demo that turns formal mathematics into a map you can walk. It is meant for university students and researchers, and it is not directed at children. It has no accounts, no payments, no advertising and no tracking.
What it does
- It reads the environment of a Lean library and treats every definition and theorem as a place, after setting aside logic, Lean's own machinery and generated names.
- It gives every place a rank: the length of the longest chain of places below it.
- It keeps rank records for famous statements, which a new proof (a route) can lower.
- It lays the places out on metric maps, and puts a game on top: worlds, an atlas, lessons, encounters and a raid board.
- What is proved is decided by Lean's kernel alone. The game shows, plays and teaches; it never proves.
What we do not claim
Others have studied the dependency graphs of formal libraries, and there are already maps of large formalisations, including two-dimensional maps of the Riemann hypothesis formalisation. We do not claim to be first, and we do not claim that a measurement of a library says more about mathematics than it does. Every measurement is stated for a library at a version. If you know related work we should credit, or find a mistake, please tell us; corrections are welcome.
Credits
- Lean 4 (Apache 2.0): the proof assistant whose kernel checks every proof.
- Mathlib (Apache 2.0) and the Mathlib contributors: every world is built from Mathlib. Place cards quote Mathlib's own documentation and statements, marked as Mathlib's, with links to its documentation site.
- FLT (Apache 2.0), the Lean formalisation of Fermat's Last Theorem led from Imperial College London: measured for the raid board and a rank record.
- The Riemann hypothesis formalisation (leanprover-community/riemann-hypothesis), by Levent Alpöge: it has no free licence. With the author's permission (27 November 2026) we show our measurements of it, the names along its longest chain and maps of it, with links; none of its files are reproduced. If a licence is added, this changes.
- arXiv metadata (CC0) for the papers our worlds cite.
The repository's NOTICE and THIRD_PARTY.md files list every source with its licence.
Licences (drafts)
This is an experimental project, offered to the Lean community as a proposal, and nothing here is released yet. We intend code under the Apache License 2.0 and text, pictures, maps and the manifesto under Creative Commons Attribution 4.0 (CC BY 4.0), but we want to settle the terms with the community first. Until then, please ask before reusing anything; reading it and trying it is what it is shared for.
No warranty
These are the warranty clauses of the licences we intend (Apache 2.0 sections 7 and 8, CC BY 4.0 section 5), in plain words:
- The software and the content are given "as is", without warranties of any kind. We do not promise that they work, that they fit any purpose, or that they are free of errors.
- The contributors are not liable for any damage that comes from using them, except where the law does not allow that to be excluded, for example for deliberate or grossly negligent acts.
- If you run the cloud kit on your own provider account, your provider bills you and you deal with your provider. Our cost estimates are only estimates.
Contact
For privacy questions: privacy@groovestudies.com. For everything else, the public repository: https://github.com/GroovyGou/MathRPG