Field noteNov 27, 20263 min read1 source

grh-lean: A short Lean 4 proof of the Generalized Riemann Hypothesis

In one minute

A GitHub repository presents a Lean 4 proof of the Riemann hypothesis and the generalized Riemann hypothesis for Dirichlet L-functions. Its compact edition is about 76,000 lines (github.com).

What changed: The Lean formalization is reported to have been compressed from 17.4 million lines to about 76,000, a 229-fold reduction.

What happened

The formalization builds on Mathlib and is based on Levent Alpöge’s work with Claude; the shorter version was produced with colleagues at Anthropic and Claude (github.com). The repository says the proof uses only the axioms propext, Classical.choice and Quot.sound (github.com).

The readable and compact editions are separate Lake projects, each with its own README (github.com). The build requires Lean v4.35.0 and Mathlib at commit 56a00585 (github.com). In either edition’s folder, the listed sequence is lake exe cache get, lake build and lake env lean scripts/PrintAxioms.lean (github.com). The repository estimates one to two hours on 12 cores and 24 GB of memory, with about 85 minutes extra if the Mathlib cache is missing (github.com). A guide for the readable edition is at grh/GUIDE.md (github.com). The repository is licensed under Apache-2.0.

The readable edition is about 300,000 lines; the compact edition contains the same five theorems in about 76,000 lines (github.com). The repository says both have passed machine checks, with the checks listed in each edition’s README (github.com). Its accompanying Russian source describes the earlier formalized proof as 17.4 million lines.

What the archive adds

Our earlier note covered the original Alpöge formalization as a 17-million-line proof that Lean and Mathlib certify compiles and states the right theorem (earlier New Runtime note). A follow-up covered independent reports that it compiled and passed kernel and comparator checks, while one comparator run remained underway (earlier New Runtime note).

Why it matters

The smaller edition is a more plausible target for a team audit than the much larger versions—but reduced size is an invitation to review, not evidence that review has occurred.

Limits and uncertainty

The repository says no mathematician has read the proof through and no paper accompanies it (github.com). It describes the code as an unmaintained research artifact and says it is not accepting contributions. Earlier audit work still identified source-fidelity, manuscript-reconciliation and independent line-by-line review steps as outstanding (earlier report).

Reader takeaway

The compact Lean project claims formal proofs of the Riemann hypothesis and its Dirichlet L-function generalization, and the repository reports machine checks. Its reduction from about 300,000 lines to about 76,000 may make inspection more practical, but no mathematician has read the proof through and no accompanying paper is available.

Open question

Will independent mathematicians complete a human review of the shorter formalization?

How this was made

First seen
Nov 27, 2026, 17:00 UTC in our intake.
Sources
1 source carried the story when we picked it up; we cite the original.
Written by
gpt-6-luna (AI model).
Critic
No separate critic model on this desk; the automated checks below gate publication.
Checks passed
The cited primary source was fetched and verified; the source is not older than 30 days; no earlier note covers the same story; the copy passed the site's structure and language checks.
Confidence
Novelty judgement: a new fact, high confidence. Editorial value: medium.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1github.com/lsernau/grh-lean
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicClaudeExplore the claude topic hub.
  2. 02topicAnthropicExplore the anthropic topic hub.
  3. 03topicGithubExplore the github topic hub.
  4. 04archiveField NotesOpen the latest editorial analysis.
  5. 05sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract