An independent check of the short Lean proof of RH and GRH

Checking the compact edition (about 76,000 lines) of the shortened Lean 4 proof posted by Luke Sernau with colleagues at Anthropic and Claude on 25 November 2026, a rewriting of the Alpöge–Claude development. Last updated 2026-11-26 05:36 UTC.

← Michael Rubinstein's page on the Alpöge/Claude proof · our check of the original 17-million-line development · GitHub repository (scripts and the source of this page)

All checks complete
Where things stand. 794 of 794 modules compiled; kernel replay 794 accepted, 0 rejected.
Server load on cpu160: load 464.65 457.67 452.02. This page reloads every 5 minutes and is regenerated every 10.

Checklist

Done
Source pinned to the authors' release
Repository lsernau/grh-lean, folder grh-compact, commit 72fead10 (the only commit). Same commit as the independent audits reported on Zulip.
Done
The theorem statements say what they should
src/Statements.lean imports only Mathlib and is identical (apart from blank lines) to the statements we checked for the original development on 20–21 Nov.
Done
Static scan for unproved assumptions and kernel bypasses
No axiom, sorry, native_decide, unsafe, implemented_by, @[extern], and no macro, syntax, notation or elab declarations in the project source.
Done
Mathlib from its official cache
Mathlib commit 56a00585 as pinned by the project; Lean v4.35.0.
Done
Full compile of all 794 project modules
794 of 794 compiled so far.
Done
#print axioms and types of the five main theorems
Expected: only propext, Classical.choice, Quot.sound; each theorem has the type fixed in Statements.lean.
Done
Kernel replay of every module (leanchecker)
794 of 794 accepted, 0 rejected.
Done
lake comparator --paranoid: same statements, axioms, and six kernels
Compares the five theorems with Challenge.lean (the five statements with sorry), checks the axioms, and replays the export through Lean’s kernel and the five external checkers bundled with Lean 4.35: leanchecker-paranoid, lean4lean, nanoda, con-leche, con-ron. Run with --inadvisably-no-sandbox: the cluster blocks the bwrap sandbox (AppArmor restricts unprivileged user namespaces), so this run does not have the sandbox guarantee against the project’s own build code.

Axiom check output

'riemannHypothesis' depends on axioms: [propext, Classical.choice, Quot.sound]
'riemannZeta_eq_zero_re' depends on axioms: [propext, Classical.choice, Quot.sound]
'LFunction_ne_zero_of_half_lt_re' depends on axioms: [propext, Classical.choice, Quot.sound]
'LFunction_eq_zero_re' depends on axioms: [propext, Classical.choice, Quot.sound]
'LFunction_eq_zero_re_of_isPrimitive' depends on axioms: [propext, Classical.choice, Quot.sound]
riemannHypothesis : RiemannHypothesis
riemannZeta_eq_zero_re : RiemannZetaZerosOnLine
LFunction_ne_zero_of_half_lt_re : DirichletLNonvanishingRightOfHalf
LFunction_eq_zero_re : DirichletLZerosOnLine
LFunction_eq_zero_re_of_isPrimitive : PrimitiveDirichletLZerosOnLine
def RiemannHypothesis : Prop :=
∀ (s : ℂ), riemannZeta s = 0 → (¬∃ n, s = -2 * (↑n + 1)) → s ≠ 1 → s.re = 1 / 2

Paranoid multi-kernel check (latest lines)

/u/mrubinst/grhc/comparator.log:Build completed successfully (9049 jobs).
/u/mrubinst/grhc/comparator.log:Exporting #[Quot, Quot.mk, Quot.lift, Quot.ind, riemannHypothesis, riemannZeta_eq_zero_re, LFunction_ne_zero_of_half_lt_re, LFunction_eq_zero_re, LFunction_eq_zero_re_of_isPrimitive, propext, Quot.sound, Classical.choice, Nat.add, Nat.sub, Nat.mul, Nat.pow, Nat.gcd, Nat.div, Nat.mod, Nat.beq, Nat.ble, Nat.land, Nat.lor, Nat.xor, Nat.shiftLeft, Nat.shiftRight, String.ofList, Char.ofNat, List, eagerReduce, Nat, String, String.mk, Char, optParam, autoParam, semiOutParam, outParam] from Challenge
/u/mrubinst/grhc/comparator.log:⚠ [9796/9841] Replayed New.Lift.CokernelKillers
/u/mrubinst/grhc/comparator.log:Build completed successfully (9841 jobs).
/u/mrubinst/grhc/comparator.log:Exporting #[Quot, Quot.mk, Quot.lift, Quot.ind, riemannHypothesis, riemannZeta_eq_zero_re, LFunction_ne_zero_of_half_lt_re, LFunction_eq_zero_re, LFunction_eq_zero_re_of_isPrimitive, propext, Quot.sound, Classical.choice, Nat.add, Nat.sub, Nat.mul, Nat.pow, Nat.gcd, Nat.div, Nat.mod, Nat.beq, Nat.ble, Nat.land, Nat.lor, Nat.xor, Nat.shiftLeft, Nat.shiftRight, String.ofList, Char.ofNat, List, eagerReduce, Nat, String, String.mk, Char, optParam, autoParam, semiOutParam, outParam] from Main
/u/mrubinst/grhc/comparator.log:Running nanoda kernel on solution
/u/mrubinst/grhc/comparator.log:nanoda kernel accepts the solution
/u/mrubinst/grhc/comparator.log:Running Lean paranoid kernel on solution
/u/mrubinst/grhc/comparator.log:Lean paranoid kernel accepts the solution
/u/mrubinst/grhc/comparator.log:Running lean4lean kernel on solution
/u/mrubinst/grhc/comparator.log:[anonymous]:thmDecl IdealFamily.exists_move_kernel: lean4lean took 42655
/u/mrubinst/grhc/comparator.log:[anonymous]:thmDecl Data.conjHolWeight_kernelWeight_bounds._proof_1_9: lean4lean took 1052
/u/mrubinst/grhc/comparator.log:[anonymous]:thmDecl exists_kernel_frameVolume_le: lean4lean took 1004
/u/mrubinst/grhc/comparator.log:[anonymous]:thmDecl Data.exists_test_form_inner_kernelForm: lean4lean took 1501
/u/mrubinst/grhc/comparator.log:lean4lean kernel accepts the solution
/u/mrubinst/grhc/comparator.log:Running nanoda kernel on solution
/u/mrubinst/grhc/comparator.log:nanoda kernel accepts the solution
/u/mrubinst/grhc/comparator.log:Running con-leche kernel on solution
/u/mrubinst/grhc/comparator.log:con-leche: accepted 204583 declarations (--verified)
/u/mrubinst/grhc/comparator.log:con-leche kernel accepts the solution
/u/mrubinst/grhc/comparator.log:Running con-ron kernel on solution
/u/mrubinst/grhc/comparator.log:con-ron: accepted 204583 declarations (--verified)
/u/mrubinst/grhc/comparator.log:con-ron kernel accepts the solution
/u/mrubinst/grhc/comparator.log:Running Lean default kernel on solution
/u/mrubinst/grhc/comparator.log:Lean default kernel accepts the solution

How we are building it

One server (cpu160, University of Waterloo), local disk, lake build at slightly lowered priority because the machine is shared. The open-file limit is raised to the hard limit (the first attempt failed while unpacking the Mathlib cache with the default limit of 1024). Kernel replay runs lake env leanchecker on each of the project's modules, 48 at a time. Every result on this page comes from our own runs.

What a successful check will and won't mean

If the compile succeeds, the axioms are only the standard three, and the kernel accepts every module, then the five theorems are proved, assuming the Lean kernel is sound and Mathlib's definitions of ζ and of Dirichlet L-functions mean what they are supposed to. It says nothing about whether the shortened proof is the clearest one, or how its arguments compare with the original; we are studying that separately.

Log