MathRPG: Army of Truth

2026-11-25 · build · riemannHypothesis (the Main module of leanprover-community/riemann-hypothesis)

The Riemann hypothesis formalisation builds, on the three standard axioms

What was built

On 20 November 2026 a Lean formalisation of a proof of the Riemann hypothesis, and of the generalised Riemann hypothesis for Dirichlet L-functions, was published; the Lean community mirrors it as leanprover-community/riemann-hypothesis. We built its main branch at the pinned commit twice, on our own machines, and asked Lean which axioms the final statement uses.

What it means, and what it does not

The Lean kernel accepted every step, from the library's axioms to the statement called riemannHypothesis. That is a strong check, but it checks only what the statement says. Whether the Lean statement is the Riemann hypothesis as mathematicians mean it is a question for people who read the statement; we have not reviewed it.

We publish our measurement, not the formalisation: it has no licence, so its files stay where its authors put them. The links below lead there.

Results

jobs138,503
errors0
axiomspropext, Classical.choice, Quot.sound
cloud_machineRunPod CPU pod, 32 vCPU, 128 GB RAM
cloud_build2026-11-25 09:02 to 13:55 UTC, from source (Mathlib from its cache)
cloud_import_main_wall0:44.7
cloud_import_main_max_rss_kbytes17,916,596
local_machinea 16 GB WSL virtual machine, 8 cores, 13 GiB memory limit
local_buildcompleted 2026-11-25 07:26 UTC with LEAN_NUM_THREADS=2, after six modules ran out of memory at full parallelism
local_import_main_wall1:09:27 (17 s of user CPU; the machine was paging)
olean_size_gb12

Pin

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

Files (SHA-256)

To reproduce

git clone --filter=blob:none https://github.com/leanprover-community/riemann-hypothesis.git rh && cd rh
git checkout --detach 9477923066c923e6dbf7292da17019f8d08d0db8
lake exe cache get
lake build Challenge Main
printf 'import Main\n#print axioms riemannHypothesis\n' > /tmp/ImportMain.lean
/usr/bin/time -v lake env lean /tmp/ImportMain.lean

Credit

Links

The data of this note (data.json)