MathRPG: Army of Truth

2026-11-27 · map · every place of riemannHypothesis's environment (main pin 9477923 of leanprover-community/riemann-hypothesis)

The whole map under the Riemann hypothesis: a million places

The whole map

The main pin's riemannHypothesis stands on a world of its own: 1,010,172 places and 375,308,982 "stands on" edges. Here every one of them is placed. Height is the rank, as everywhere in MathRPG. Across the floor, two places lie close when the sets of places they stand on overlap a lot (the Jaccard metric).

How it was laid out

What it shows

Seen from above, the places form a ring. The longest chain, at rank 344, starts at the blue tip where Mathlib's places sit and winds around the ring as it climbs. The ring is mostly depth bent into a circle: the mean angle of each band of 25 ranks turns steadily with rank (about −142° at rank 0–24, 7° at 150–174, −80° at 325–349; circular mean around the centroid of all 1,010,172 places of the library at this pin), while the distance from the centre stays about the same. Places mostly share foundations with places of similar depth, and a two-dimensional layout bends such a one-way gradient into a curve, a known effect of multidimensional scaling (the horseshoe effect). So going around the ring mostly means going deeper; across the ring, places of the same depth that stand on different things lie apart. The second route, Masullo's, has a map of 50,177 places (its riemannHypothesis and its GRH statement together), in the note of the same day.

The pictures are shown with the author's permission; the formalisation still has no free licence. The coordinates file (15 MB) is not on the site; the commands below rebuild it.

Walk the summit

The map's top is also a world in the game: open the summit. It holds the 14,575 places of rank 260 or more that riemannHypothesis stands on, with the roads between them, placed on the same Jaccard ground as these pictures. The longest chain is drawn whole, in gold: its 345 places go on below the summit down to rank 0, where Lean's ground of logic and the three axioms begins. Everything else below rank 260, Mathlib included, is left out, so the world stays light enough for a browser (56,540 roads in all).

Following the longest chain may not be enough to understand the proof. The chain shows how deep the proof goes, not where its ideas are. It is also 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.

Under the summit the development meets Mathlib's Reciprocity world through 504 gateways. The highest of them is NumberField.tendsto_sub_one_mul_dedekindZeta_nhdsGT, at rank 263: the residue of the Dedekind zeta function, which is also the highest place in all of Mathlib. The formalisation uses another Mathlib pin than the game, so these crossings are shown on the atlas but not walked.

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.

Front view of all 1,010,172 places: height is rank, left to right is the Jaccard layout. Blue: names that are also Mathlib's; orange: the rest; red: the longest chain (344).
Front view of all 1,010,172 places: height is rank, left to right is the Jaccard layout. Blue: names that are also Mathlib's; orange: the rest; red: the longest chain (344).
The same places from above: a ring. The chain starts at the blue Mathlib tip, lower left, and winds around the ring as it rises.
The same places from above: a ring. The chain starts at the blue Mathlib tip, lower left, and winds around the ring as it rises.

Results

places1,010,172
edges375,308,982
cycle_edges_skipped3,099
chain_rank344
minhash_k256
pivots50
pivot_seed38
spearman_all_pairs_d_below_10.76
spearman_rank_50_up_d_below_10.86
spearman_rank_150_up_d_below_10.92
share_pairs_at_d_10.44
signature_minutes19
mds_seconds21
masullo_map_places50,177
summit_floor260
summit_places14,575
summit_roads56,540
summit_chain_places345
gateways_reciprocity504
gateways_ivt3
top_gatewayNumberField.tendsto_sub_one_mul_dedekindZeta_nhdsGT
top_gateway_rank263
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

lake env lean RHRank.lean   # #math_rank and #place_edges on the main pin (RunPod, 25.11)
py -3 world/metric_layout_np.py rh-main-ranks.tsv.gz rh-main-edges.tsv.gz --out rh-main --save-sig
py -3 world/metric_layout_np.py rh-main-ranks.tsv.gz - --out rh-main --from-sig --pivot-mode random
py -3 world/summit_world.py rh-summit-260.tsv.gz rh-summit-260-edges.tsv.gz riemannHypothesis --layout rh-main-layout.tsv.gz --floor 260 --title "The summit of the Riemann hypothesis" --chain chain.tsv --note "<the ring note, from the band angles above>" --out topology/rh-world-3d.json
py -3 world/gateways.py --out rh-atlas.json --env rh rh-main-edges.tsv.gz rh-main.tsv.gz lake-manifest.json lean-toolchain --world rh rh topology/rh-world-3d.json --world reciprocity rh topology/reciprocity-world-3d.html

Credit

Links

The data of this note (data.json)