← All news

Anthropic shares a much shorter Lean verification of the GRH proof

Anthropic (repository by lsernau)

A GitHub repository by lsernau posts a much shorter version of a Lean formal verification of the Generalized Riemann Hypothesis work attributed to Anthropic. It drew 200 points on Hacker News.

Source: github.com ↗ · By CapyLaunch

MakerAnthropic, PBC (copyright holder); repo by lsernau
LicenseApache 2.0
EditionsReadable (about 300,000 lines); compact (about 76,000 lines)
Build requirementLean v4.35.0 and Mathlib at commit 56a00585
Build timeOne to two hours on 12 cores with 24 GB memory
StatusPassed machine checks only; not yet read through by a mathematician; not maintained
Community200 points on Hacker News; 152 stars on GitHub

A GitHub repository called grh-lean posts a shorter Lean 4 formal proof of the Generalized Riemann Hypothesis for Dirichlet L-functions. The Riemann Hypothesis is also covered as a special case. The repository says the proof is built on Mathlib and is a shorter version of work by Levent Alpöge, produced with colleagues at Anthropic and Claude.

The proof is written in Lean 4 and checked by the Lean system. The repository says it uses only three standard axioms: propext, Classical.choice and Quot.sound. Each edition is its own Lake project, and the build needs Lean v4.35.0 and a specific Mathlib commit.

A machine-checked proof of this size shows how far formal verification in Lean has come. The repository lists two editions, a readable one of about 300,000 lines and a compact one of about 76,000 lines. For builders of proof tools or verified code, it is a concrete large-scale example to study.

For builders: Formal verification tooling in Lean is becoming a practical area to watch if you build tools for proofs or verified code.

For: Developers and researchers working on formal verification, proof assistants or verified software in Lean.

Try:

https://github.com/lsernau/grh-lean

Is this proof accepted by mathematicians?

The repository says the proof has passed machine checks only. No mathematician has read it through, and no paper comes with it.

Is the project still maintained?

No. The repository is labeled a research artifact that is not maintained and not accepting contributions.

What axioms does the proof rely on?

The repository says it uses only propext, Classical.choice and Quot.sound.

How do I build it?

In either folder, run lake exe cache get, then lake build, then lake env lean scripts/PrintAxioms.lean. A build takes one to two hours on 12 cores with 24 GB of memory, or about 85 minutes more if the Mathlib cache is missing.

All 26 Research stories →

Notable Paper

ICLWorld benchmark tests agents learning rules in context, from computers to robots

Researchers released ICLWorld, an online benchmark with 30 environments and 160 tasks that measures how well AI agents learn new rules from context. The strongest agents reached 82% and 76% success on computer-use runs but only 27% and 26% on robot-use runs.

Qingle Liu and co-authors (Hugging Face paper page)Details →

Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.