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:
| rank | places it stands on | |
|---|---|---|
| Fundamental theorem of algebra, in Mathlib | 220 | (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) | 249 | 34,127 |
| Masullo route to the Riemann hypothesis (one step still open) | 283 or more | 50,171, of which 731 its own |
| Riemann hypothesis formalisation, main pin | 344 | 780,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.
- The release as first published has 175,187 modules. Building it took 27 h 22 min on a rented machine with 32 cores, 128 GB of memory, at a peak of 58.7 GB. Our rank pass over it needed 102.4 GB.
- The cleaned main pin builds in 4 h 53 min on the same kind of machine. Its compiled files take about 12 GB, and the build's setup files took 135 GB of disk.
- Loading the finished proof takes 45 s on that machine and 1 h 9 min on a 16 GB computer, which spends the time swapping memory.
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:
- Is it the right statement?
riemannHypothesisproves Mathlib'sRiemannHypothesis, and the project's own Comparator check confirms that the statement matches a file importing only Mathlib. Whether Mathlib's definition is the Riemann hypothesis a mathematician means, with the right zeta function and the right exceptions, is read and judged by people. - Are the definitions the intended ones? A statement can be proved about an object that only shares a name with the intended one.
- What does it rest on? Axioms,
sorry(what MathRPG calls fog), and hypotheses hidden in a definition all change what was proved. - Is it understood? A proof can be correct and still teach no one anything. Turning it into mathematics people can follow is work that the kernel does not do.
- Is the longest chain the proof? Following the longest chain may not be enough to understand a proof. The chain shows how deep the proof goes, not where its ideas are. It is also only one of possibly many chains of the same length: where several are equally long, our tool takes the one whose next name comes first. The key idea can sit off the chain, in a short step that many places stand on.
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_places | 295,010 |
|---|---|
| mathlib_max_rank | 263 |
| mathlib_max_place | NumberField.tendsto_sub_one_mul_dedekindZeta_nhdsGT |
| fta_rank | 220 |
| rh_rank | 344 |
| rh_original_rank | 346 |
| rh_closure_places | 780,705 |
| rh_mathlib_places | 105,472 |
| rh_own_places | 675,233 |
| rh_own_above_mathlib | 11,386 |
| rh_own_median_rank | 112 |
| rh_mathlib_median_rank | 29 |
| rh_above_mathlib_top | 81 |
| flt_rank | 249 |
| flt_places | 34,127 |
| flt_open_places | 3 |
| masullo_rank_lower_bound | 283 |
| masullo_places | 50,171 |
| masullo_own_places | 731 |
| rh_original_modules | 175,187 |
| rh_original_build | 27 h 22 min |
| rh_original_build_peak_gb | 58.7 |
| rh_original_rank_peak_gb | 102.4 |
| rh_main_build | 4 h 53 min |
| rh_main_olean_gb | 12 |
| rh_main_setup_disk_gb | 135 |
| rh_main_import_cloud | 45 s |
| rh_main_import_16gb | 1 h 9 min |
| cloud_machine | 32 cores, 128 GB of memory |
| rank_rule_mathlib | rule v2 (from 28.11.2026) |
| rank_rule | rule v1 (before 28.11.2026) |
Pin
| Repository | https://github.com/leanprover-community/riemann-hypothesis |
|---|---|
| Commit | 9477923066c923e6dbf7292da17019f8d08d0db8 |
| Lean | v4.37.0-rc1 |
| Mathlib | 31ce06e |
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
- Riemann hypothesis formalisation (leanprover-community/riemann-hypothesis) — Levent Alpöge, as stated in the repository's README; cleaned up by the Lean community. Licence: none stated: all rights reserved by its author; shown with the author's permission (27 November 2026). Only our measurements of it appear here.
- Fermat's Last Theorem project — Kevin Buzzard, Imperial College London and the project's contributors. Licence: Apache 2.0.
- riemann-masullo — Ryan McCorvie and the project's contributors. Licence: Apache 2.0.
- Lean 4 and Mathlib — the Lean FRO, the Lean 4 contributors and the Mathlib contributors. Licence: Apache 2.0.