MathRPG: Army of Truth

2026-11-25 · rank record · riemannHypothesis

riemannHypothesis stands at rank 344

What rank means

In MathRPG every declaration of a Lean library is a place. Some declarations are not places of their own: logic and Lean's own machinery are ground; a structure's constructor and projections are members of its place; instances and generated names are plumbing and are contracted away. The rank of a place is the length of the longest chain of places it stands on, down to the ground: 0 when it stands on nothing, otherwise one more than the highest rank below it. Rank is a property of a library at a version, not of a theorem in the abstract.

The record

In the environment of the Riemann hypothesis formalisation (its Main module with everything it imports, Mathlib included):

A route is a different proof of the same statement. A route that reaches riemannHypothesis at a lower rank lowers the record, and anyone can check such a claim with the same command.

The chain itself is published with this note, with its author's permission: rh-main-chain.txt lists its places from the top, one per line with its rank. The formalisation still has no free licence, so none of its files are reproduced. Its map is in the note of 27 November.

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

rank344
chain_length345
max_rank345
constants2,248,690
places1,010,172
members118,191
plumbing987,453
ground132,874
rank_pass_seconds2,252
mathlib_landmarks.Complex.exists_root220
mathlib_landmarks.legendreSym.quadratic_reciprocity84
mathlib_landmarks.intermediate_value_Icc39
rank_rulerule v1 (before 28.11.2026)

Pin

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

Files (SHA-256)

To reproduce

# in the built checkout of the build note (same pin):
lake env lean RHRank.lean
# RHRank.lean is FLTRank.lean with `import Main` and, at its end:
#   #math_rank "rank/rh-main.tsv" "rank/rh-main.json" riemannHypothesis Complex.exists_root intermediate_value_Icc legendreSym.quadratic_reciprocity

Credit

Links

The data of this note (data.json)