---
title: "The Riemann Hypothesis Proof Is Now Down To 76,000 Lines"
url: https://deallocatedobjects.com/posts/the-riemann-hypothesis-proof-is-now-down-to-76000-lines
author: Jake Marsh
date: 2026-12-02
published: 2026-12-02
updated: 2026-12-02
link: https://github.com/lsernau/grh-lean
topics: ["AI & Agents", "Open Source"]
description: "A follow-up to Claude And The Riemann Hypothesis."
---

# The Riemann Hypothesis Proof Is Now Down To 76,000 Lines

By Jake Marsh, December 2, 2026. HTML: https://deallocatedobjects.com/posts/the-riemann-hypothesis-proof-is-now-down-to-76000-lines

This is a link post about https://github.com/lsernau/grh-lean

A follow-up to [Claude And The Riemann Hypothesis](https://deallocatedobjects.com/posts/claude-and-the-riemann-hypothesis). The proof now has a public repository, with a much shorter version:

> A Lean 4 proof of the Riemann Hypothesis and of the Generalized Riemann Hypothesis for Dirichlet L-functions, built on Mathlib and using only the axioms `propext`, `Classical.choice` and `Quot.sound`.

> The proof is based on Levent Alpöge's, with Claude. This repository is a shorter version, produced in collaboration with my colleagues at Anthropic, and Claude.

It comes in two editions: a readable one of about 300,000 lines that starts at a guide, and a compact one with "the same five theorems, about 76,000 lines." Anyone can check it:

> A build takes one to two hours on 12 cores with 24 GB of memory (about 85 minutes more if the Mathlib cache is missing).

The README is clear about where things stand: "The proof has passed machine checks only, listed in each folder's README. No mathematician has read it through, and no paper comes with it."
