The submission as published builds too, and stands at rank 346
What was measured
The repository keeps two versions: main, cleaned up by the Lean community, and commit 40e56bab, the submission exactly as it was published. The rank of main is in an earlier note. Here is the original.
- It builds: 175,187 modules, 183,893 build jobs, 0 errors, in 27:21:39 on a 32-core machine.
#print axioms riemannHypothesislists onlypropext,Classical.choiceandQuot.sound: nosorry, no extra axiom.- The module that states the theorem imports 175,179 of the 175,187 modules, so there was no shorter build: the whole tree is needed.
The rank
riemannHypothesisstands at rank 346; on the cleanedmainit stands at 344.- The environment has 2,701,280 constants and 1,275,846 places.
- The cleaning removed about two thirds of the modules (175,187 to about 60,000), but changed the depth of the proof by only two steps.
- For scale: the fundamental theorem of algebra stands at 220 here, as on
main. Quadratic reciprocity stands at 89, against 84 onmain, because the two versions use different Mathlib commits.
This pass did not write out its chain; the main pin's chain is published with the note of 25 November, and its map is in the note of 27 November, both with the author's permission. The formalisation still has no free licence.
Rank rule. The ranks on this page were measured with rule v1 (before 28.11.2026); the rules and their versions are in rank/RULES.md in the repository. Since 28 November 2026 Mathlib's own lemmas under List, Option, Char and three other core heads count as places (rule v2). In MathRPG's Mathlib table quadratic reciprocity now stands at 154 instead of 84. This environment ran on a machine that no longer exists, so it was not measured again.
Results
| rank | 346 |
|---|---|
| rank_main_pin | 344 |
| modules | 175,187 |
| jobs | 183,893 |
| errors | 0 |
| axioms | propext, Classical.choice, Quot.sound |
| theorem_module_imports | 175,179 |
| constants | 2,701,280 |
| places | 1,275,846 |
| members | 145,319 |
| plumbing | 1,149,036 |
| ground | 131,079 |
| max_rank | 346 |
| build_wall | 27:21:39 |
| build_max_rss_gb | 58.7 |
| rank_pass_seconds | 2,665 |
| rank_max_rss_gb | 102.4 |
| machine | RunPod CPU pod, 32 vCPU, 128 GB RAM, LEAN_NUM_THREADS=28 |
| mathlib_landmarks.Complex.exists_root | 220 |
| mathlib_landmarks.legendreSym.quadratic_reciprocity | 89 |
| mathlib_landmarks.intermediate_value_Icc | 39 |
| rank_rule | rule v1 (before 28.11.2026) |
Pin
| Repository | https://github.com/leanprover-community/riemann-hypothesis |
|---|---|
| Commit | 40e56bab |
| Lean | v4.33.1 |
| Mathlib | 0df444a |
Files (SHA-256)
- pod-orig/rh-orig.json (not published — the full output of the rank pass; kept with the maintainers' records)
1e030a8e9638bd718a17ed4de5b4c91769c07cb0af4caf4b919985751eec248d - pod-orig/orig-logs.tgz (not published — our build and import logs, kept with the maintainers' records)
aca92b63fa032d7679b52fe90aa9da2709deadf937730bf7dfea4ccc4d0a1caf
To reproduce
git checkout 40e56bab # in a clone of leanprover-community/riemann-hypothesis; packages at the manifest's revisions
lake exe cache get
LAKE_ARTIFACT_CACHE=false LEAN_NUM_THREADS=28 lake build Main
printf 'import Main\n#print axioms riemannHypothesis\n' > /tmp/A.lean && lake env lean /tmp/A.lean
lake env lean RHRankOrig.lean # RHRank.lean with the output names changed
Credit
- Riemann hypothesis formalisation (leanprover-community/riemann-hypothesis), commit 40e56bab: the submission as published — Levent Alpöge, as stated in the repository's README; mirrored by the Lean community. Licence: none stated: all rights reserved by its author; shown with the author's permission (27 November 2026). We measured it on our own machines. With the author's permission (27 November 2026) we show our measurements, the names along the longest chain and maps of the development. The formalisation still has no free licence, so none of its files are reproduced here; if a licence is added, this changes.
- Lean 4 and Mathlib — the Lean FRO, the Lean 4 contributors and the Mathlib contributors. Licence: Apache 2.0.