MathRPG: Army of Truth

2026-11-27 · essay · rank as a measure of the size of large formal developments, with this site's measurements

What rank tells about very large proofs, and what stays with people

Size you can see

Proofs now reach us that no person has read line by line. Some of them are very large. Before anyone can engage with such a proof, they need to know how large it is and where its weight lies. Rank gives a rough first answer. It is not a measure of difficulty or of beauty, but it is honest about one thing: how many steps, at the least, stand one on another under a result, in one library at one version.

Our own measurements show how far apart the scales already are:

rankplaces it stands on
Fundamental theorem of algebra, in Mathlib220(a part of Mathlib)
The highest place in all of Mathlib (295,010 places)263(a part of Mathlib)
Fermat's Last Theorem, FLT project (unfinished: 3 open places)24934,127
Masullo route to the Riemann hypothesis (one step still open)283 or more50,171, of which 731 its own
Riemann hypothesis formalisation, main pin344780,705, of which 675,233 its own

The last line is the point. Mathlib, written by many people over many years, has 295,010 places, and its highest stands at rank 263. The Riemann hypothesis formalisation brings 675,233 places of its own: more than twice all of Mathlib. Its own places sit at a median rank of 112, where the Mathlib places it uses sit at 29. 11,386 of them stand higher than anything in Mathlib, and the theorem itself is 81 ranks above Mathlib's top. A result that people write and polish together, and a result that arrives in one piece, can differ by this much. A community that will receive more results of the second kind needs a number like this, even a rough one.

Why it is hard to even download

Size is not only a number on a map. It decides who can check a proof at all.

A proof that only large rented machines can open is checked by fewer people. The community's cleanup aims to make it accessible "even without access to massive amounts of compute". Rank and size show how far that road is.

What stays with people

A kernel that accepts a proof answers one question: does this proof prove this statement, from these axioms? Several questions stay outside it, and they are human questions:

Rank measures what is written, not what is true or what matters. It is a tool for the people who still have to read.

Measure your own

All of this is open. You can build these developments yourself, or measure your own: a library, a project, or theorems you generated yourself, with a machine or without. Run the rank commands, see how high your results stand and how much of their foundation is your own, and look at the shape of the map. A high rank is not merit. It is information.

If a build fails for you, or your numbers differ from ours, please tell us. That is how the measurements get better. Open an issue in the project's repository (the link is on the Copy page), with your machine, the commands you ran and what you saw. No report is too small.

Rank rule. Mathlib's own numbers on this page come from MathRPG's Mathlib table, measured with rule v2 (from 28.11.2026): since 28 November 2026 Mathlib's own lemmas under List, Option, Char and three other core heads count as places (rank/RULES.md in the repository). The numbers of the Riemann hypothesis formalisation, of FLT and of Masullo's route were measured with rule v1 (before 28.11.2026) and not again.

Results

mathlib_places295,010
mathlib_max_rank263
mathlib_max_placeNumberField.tendsto_sub_one_mul_dedekindZeta_nhdsGT
fta_rank220
rh_rank344
rh_original_rank346
rh_closure_places780,705
rh_mathlib_places105,472
rh_own_places675,233
rh_own_above_mathlib11,386
rh_own_median_rank112
rh_mathlib_median_rank29
rh_above_mathlib_top81
flt_rank249
flt_places34,127
flt_open_places3
masullo_rank_lower_bound283
masullo_places50,171
masullo_own_places731
rh_original_modules175,187
rh_original_build27 h 22 min
rh_original_build_peak_gb58.7
rh_original_rank_peak_gb102.4
rh_main_build4 h 53 min
rh_main_olean_gb12
rh_main_setup_disk_gb135
rh_main_import_cloud45 s
rh_main_import_16gb1 h 9 min
cloud_machine32 cores, 128 GB of memory
rank_rule_mathlibrule v2 (from 28.11.2026)
rank_rulerule v1 (before 28.11.2026)

Pin

Repositoryhttps://github.com/leanprover-community/riemann-hypothesis
Commit9477923066c923e6dbf7292da17019f8d08d0db8
Leanv4.37.0-rc1
Mathlib31ce06e

To reproduce

# every number here comes from the notes of 21, 25, 26 and 27 November, where the commands are
# Mathlib's own counts: rank/mathlib.tsv in the repository (the game's Mathlib pin, fc4f59e; rank rule v2 of 28.11.2026)

Credit

Links

The data of this note (data.json)