- cross-posted to:
- [email protected]
leanprover-community.github.io
- cross-posted to:
- [email protected]
On November 20, 2026, Levent Alpöge released a proof of the Riemann Hypothesis as a Lean library comprising 17 million lines of code.
“We have full confidence that Alpöge’s proof of the Riemann Hypothesis is correct, and we congratulate him on this achievement.”


Seventeen million lines of code and zero bugs, totally feasible /s
They sure achieved full confidence in all 17 million lines being an accurate representation of the original problem quite quickly too. Perhaps there are viable shortcuts.
But I freely admit that the people involved know considerably more about the matter than I do.
I don’t think any of the 17 million lines are dedicated to modeling the problem, they’re targeting a known model in lean, no?
Yes, they use the definition from Mathlib, so only a handful of lines of their code needs to be checked, see https://math.mit.edu/~drew/grh/