Anthropic's Lean 4 proof of the Riemann Hypothesis has passed machine checks but no mathematician has read it

Much shorter version of GRH Lean verification from Anthropic

A GitHub repository from Anthropic offers a Lean 4 proof of the Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions, built on Mathlib using only the standard axioms. It comes in two editions: a readable one of about 300,000 lines and a compact one of roughly 76,000 lines covering the same five theorems. The proof builds on work by Levent Alpöge with Claude, and building it takes one to two hours on 12 cores.

The proof has passed machine checks only. No mathematician has read it through, and no paper comes with it.
  1. spootydooty

    Nice! The more readable 300kloc proof even has a clear "known math" vs "new math" split and human-readable documentation all over the place. This should greatly aid with digesting it.

  2. bananaflag

    From ~17M lines to just ~76k lines, a 99.56% reduction.

  3. dward

    Zulip discussion here: https://leanprover.zulipchat.com/#narrow/channel/658556-Riem...

  4. gre

    Does this challenge Tao's point from a month ago that getting huge proofs with no insight is a problem? Are we already past that with smarter LLMs that can golf the proofs and explain them?

  5. delegate

    I don't know Lean..

    But looking at the code, I can't help but wonder:

    Who on Earth can understand that ?

    Random example: https://github.com/lsernau/grh-lean/blob/main/grh-compact/sr...

    Genuine question for people who know Lean:

    How realistic is it for a human to read this code, 'grok' it and verify that it is correct ?

  6. aerhardt

    Having read all the comments, an answer still prevails: will this help accelerate human understanding of the proof?

  7. burcsahinoglu

    I wonder if this will lead to techniques to automatically reduce the size of proofs, or alternatively to make them more readable (by mathematicians)

  8. Jaxan

    I looked at Main.lean, and I wonder: how do I know it’s actually referring mathlibs RiemannHypothesis? The file is not directly importing mathlib it seems…

  9. gus_massa

    > and using only the axioms propext, Classical.choice and Quot.sound

    Is there an ELI35 explanation for mathematicians that don't speak Lean?

  10. galoisrepresent

    This (https://github.com/tzu-chen/slim) can be used to navigate the lean source and take a look at the shape of the project without setting up lean or building.

More from this day

2026-11-25