# Coding agents audit Masullo's 940-page Riemann claim in Lean

> An open project uses coding agents to check a 940-page human proof claim line by line in Lean.

- Org: riemann-masullo project
- Date: 2026-11-20
- Category: showcase, repo
- Source: https://github.com/mccorvie/riemann-masullo
- Canonical page: https://ai-tldr.dev/releases/mccorvie-riemann-masullo-lean/

## In short

riemann-masullo is an open Lean 4 project where coding agents and about 30 contributors formalize Alessandro Masullo's 940-page GRH manuscript. It has proved about 6,100 theorems and logged about 660 errata.

## What it is

riemann-masullo is a Lean 4 formalization of Alessandro Maria Masullo's draft "The Music of the Primes", a 940-page manuscript that claims the generalized Riemann hypothesis for Hecke L-functions of every number field. The project states each definition and theorem as printed, with page numbers, and records every difference from the print.

## How it works

Coding agents such as Codex and Claude Code do most of the work in fixed roles: scouts find existing Mathlib code, digesters turn paper sections into Lean statements, reviewers check them against the PDF, and provers close the open `sorry` gaps. Pull requests are built and checked automatically, and a live progress map tracks every lemma.

## Why it matters

The audit gives a fast, public answer on a huge unrefereed claim. As of 22 November it lists about 660 errata, including roughly 245 statements false as printed and 22 steps with no repair yet, such as the structure theorem for adelic theta-function spaces. It is a working template for agent-driven checking of long proofs.

## Who it's for

mathematicians, Lean users, AI-for-math researchers

## Try it

git clone https://github.com/mccorvie/riemann-masullo && lake exe cache get && lake build

## Links

- [Repository](https://github.com/mccorvie/riemann-masullo)
- [Errata](https://github.com/mccorvie/riemann-masullo/blob/main/ERRATA.md)
- [Progress Map](https://claude.ai/artifact/CtQyX8qfYAF822bgHJHHE3)
- [HN Discussion](https://news.ycombinator.com/item?id=50605045)
