# GRH Lean Check: An independent check of the Lean proof of RH and GRH

Edition covered: Alpöge original proof.

Michael Rubinstein (https://www.math.uwaterloo.ca/~mrubinst/). Original: https://mrubinst.github.io/grh-lean-verification/ · version of 22 Nov 2026 · licence: none stated

Checked the proof: "All 175,187 modules compile with no errors"

AI-assisted (author's statement): "The checks are run by Claude Code (an AI agent) on the account owner's university compute allocation; every result here comes from our own runs." (https://mrubinst.github.io/grh-lean-verification/, log, entry of 2026-11-20 20:20 UTC)

On the map: https://riemannhypothesissolved.com/alpoge/?guide=rubinstein-check

## Nodes in this guide (6)

| Node | Steps from main theorem | Location | Matched by |
|---|---|---|---|
| [Main theorem statements, plus the explicit formula for Dirichlet L-functions](https://riemannhypothesissolved.com/cluster/k0677-main-theorem-statements-plus-the-explicit-formula-for/) | 0 (main theorem) | [mrubinst.github.io/grh-lean-verification](https://mrubinst.github.io/grh-lean-verification/) | full name |
| [An alternative route to GRH for Dirichlet L-functions, from three inputs](https://riemannhypothesissolved.com/cluster/k0695-an-alternative-route-to-grh-for-dirichlet-l-functions-from/) | 3 | [mrubinst.github.io/grh-lean-verification](https://mrubinst.github.io/grh-lean-verification/) | short name in text |
| [Good types and discrete-series parameters, assuming published theorems](https://riemannhypothesissolved.com/cluster/k2004-good-types-and-discrete-series-parameters-assuming/) | 3 | [mrubinst.github.io/grh-lean-verification](https://mrubinst.github.io/grh-lean-verification/) | file name |
| [Bernoulli numbers for Dirichlet characters, plus the final step from GRH to RH](https://riemannhypothesissolved.com/cluster/k1091-bernoulli-numbers-for-dirichlet-characters-plus-the-final/) | 4 | [mrubinst.github.io/grh-lean-verification](https://mrubinst.github.io/grh-lean-verification/) | full name |
| [Final assembly: GRH for Dirichlet L-functions, then the Riemann hypothesis](https://riemannhypothesissolved.com/cluster/k2463-final-assembly-grh-for-dirichlet-l-functions-then-the/) | 4 | [mrubinst.github.io/grh-lean-verification](https://mrubinst.github.io/grh-lean-verification/) | full name |
| [Vanishing and density claims for functions on matrices (Fourier decay)](https://riemannhypothesissolved.com/cluster/k0286-vanishing-and-density-claims-for-functions-on-matrices/) | 5 | [mrubinst.github.io/grh-lean-verification](https://mrubinst.github.io/grh-lean-verification/) | file name |

## How we mapped it

Each node is a cluster of the map holding a Lean declaration or file that the guide names on that page, found by exact match of full names and file paths for 5 nodes, and by a reviewed short-name match alone for 1. A checked agent pass then added short-name matches: names that the page writes without their namespace or folders, each resolved by a script to one declaration or file of the archive ("short name in text"). A second run checked a sample of 20 of them per guide; the ones that failed were removed. These matches use the Alpöge original archive.

Authors can correct this: post to @SomTheBuilder on X (https://x.com/SomTheBuilder).

Photo: https://uwaterloo.ca/math/michael-rubinstein

## Related reading

- [Sutherland’s independent checks at MIT](https://riemannhypothesissolved.com/guides/sutherland/)
- [Lean FRO and Mathlib Initiative certification](https://riemannhypothesissolved.com/guides/lean-statement/)
- [Rubinstein’s outline of the shortened proof](https://riemannhypothesissolved.com/guides/rubinstein-sernau/)

---

GRH Lean Check: An independent check… · Michael Rubinstein. Web page: https://riemannhypothesissolved.com/guides/rubinstein-check/ · updated 2026-11-29 · site map for machines: https://riemannhypothesissolved.com/llms.txt
