Blog / Latest in AI

Latest in AI

Anthropic posts a far shorter computer-checked version of Riemann proof

Unicorn News Desk ·

Abstract illustration of a tall stack of layers compressed into a small block

Key facts

Earlier certified proof
About 17 million lines of Lean
New readable edition
About 300,000 lines
New compact edition
About 76,000 lines
Axioms used
propext, Classical.choice, Quot.sound
Build time
1-2 hours on 12 cores, 24 GB memory

The story so far: Claude-assisted Riemann hypothesis proof claim

  1. 2026-11-20: Anthropic mathematician claims Riemann proof with Claude
  2. 2026-11-21: Lean community certifies the claimed Riemann proof
  3. 2026-11-25: Anthropic posts much shorter Lean verification of GRH (this article)

Since Unicorn API’s last report, in which the Lean and Mathlib communities certified Levent Alpöge’s Claude-assisted proof of the Riemann hypothesis, a far shorter version of that proof has appeared on GitHub in a repository copyrighted to Anthropic. Where the certified original ran to about 17 million lines of Lean code, the new repository’s compact edition proves the same results in about 76,000 lines.

The repository says the work was “produced in collaboration with my colleagues at Anthropic, and Claude,” and that it is based on Alpöge’s proof with Claude. Like the original, it has so far passed machine checks only: no mathematician has read it through, and no paper accompanies it.

What the new repository contains

The repository, titled “GRH for Dirichlet L-functions, in Lean 4,” describes itself as a Lean 4 proof of the Riemann hypothesis and of the generalized Riemann hypothesis (GRH) for Dirichlet L-functions. Lean is a programming language and proof assistant whose kernel checks each step of a formal proof mechanically. The proof is built on Mathlib, Lean’s human-reviewed mathematics library.

It comes in two editions, each its own Lake project (Lake is Lean’s build tool) with its own README:

  • grh/: a “readable edition” of about 300,000 lines, with a guide file as the starting point.
  • grh-compact/: “the same five theorems” in about 76,000 lines.

The proof uses only three axioms: propext, Classical.choice and Quot.sound. Those are the same three standard Lean axioms that the original archive’s headline theorems were audited against.

The repository labels itself a “research artifact,” not maintained and not accepting contributions. It is released under the Apache 2.0 licence, with copyright held by Anthropic, PBC.

Abstract diagram of two folders of different sizes feeding into one checking gate
The repository ships a readable edition and a compact edition of the same five theorems. · Illustration

How the shorter proof compares with the certified original

The original release was large. Alpöge published it on 20 November 2026 as a Lean archive split into 14 downloadable files, alongside a four-page note on his website. The Lean FRO and Mathlib Initiative statement described it as a Lean library of 17 million lines, and i10X News put it at roughly 17.4 million lines. Andrew Sutherland’s verification log at MIT recorded 175,187 modules compiling with zero errors.

Certified original (Alpöge)New readable editionNew compact edition
SizeAbout 17 million linesAbout 300,000 linesAbout 76,000 lines
ScopeRH and GRH for Dirichlet L-functionsRH and GRH for Dirichlet L-functionsSame five theorems
Axiomspropext, Classical.choice, Quot.soundpropext, Classical.choice, Quot.sound
Lean versionLean and Mathlib 4.33.1Lean v4.35.0, Mathlib commit 56a00585
Independent certificationLean FRO and Mathlib InitiativeMachine checks listed in READMEs; no reported community certification
Human-readable paperNoneNone

Both the original archive and the new repository are organised around five headline theorems. The sources do not include a line-by-line comparison of the two, so how much of the original’s machinery was removed, restructured or replaced is not yet public beyond the repository itself.

The reduction matches what Alpöge said to expect. In his note he wrote that he intends to understand the argument, simplify it and write it up properly, and that he expects much shorter proofs to follow.

Where the original proof’s verification stood

The shorter version builds on a claim that had already been through intense machine scrutiny. In their joint statement, the Lean Focused Research Organization and the Mathlib Initiative wrote: “We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct”. Their checks, as reported, covered several layers:

  • The Riemann hypothesis statement the proof targets already sat in Mathlib and had been vetted by experts in Lean and number theory.
  • Dozens of people compiled the code without errors and reproduced the same raw proof export file.
  • The tools comparator and con-leche confirmed that Alpöge’s theorem matched that statement exactly.
  • The exported proof was checked by Lean’s official kernel and by independent checkers including con-leche and con-ron, which come with their own formal proof, relative to set theory, that they cannot accept a false proof.
  • The checks ran on an inert export, out of reach of any malicious code in the proof sources.

Sutherland’s log, which says its checks were run with Claude Code, also recorded a sandboxed rebuild on a separate machine with no network access that reproduced the 61,570,595,788-byte export byte for byte. At its last update reported by The Boston Report, two checks were still running: a single-threaded replay of the export through Lean’s kernel and an end-to-end run of the lake comparator tool.

None of the sources report a comparable community verification of the new, shorter repository. Its README-listed machine checks are, on the evidence available, the repository’s own.

What it takes to check the shorter proof

The practical change for anyone who wants to verify the result is scale. The repository gives a three-command build in either folder: fetch the Mathlib cache, build the project, and run a script that prints the axioms the proof relies on. It needs Lean v4.35.0 and Mathlib at commit 56a00585.

A build takes one to two hours on 12 cores with 24 GB of memory, plus about 85 minutes if the Mathlib cache is missing. That is within reach of a well-equipped workstation. By contrast, the original’s export alone was about 61.6 GB, and i10X News described verifying it as “a compute problem measured in hours”.

The printed axiom list is the check that matters most to a sceptic. It shows whether the proof leans on anything beyond Lean’s standard foundations, which is one of the ways an AI-generated proof could quietly cheat.

Abstract illustration of a geometric checkmark beside an open blank book
Machine checks have run; a human-readable account has not yet appeared. · Illustration

What a machine check does and does not settle

A shorter proof does not change the central caveat that sources raised about the original. A Lean kernel confirms that a formal theorem follows from the definitions written in the code. It cannot confirm that those definitions say what mathematicians mean by the generalized Riemann hypothesis; a human has to read the statement and every definition it depends on. For the original, that concern was addressed by targeting Mathlib’s existing, expert-vetted statement.

The second open question is understanding. Alpöge wrote that he was presenting “a complete argument before having mastered” the mathematics around it, and that he has little mastery of automorphic forms on higher-rank groups, the area where much of the final argument sits. Terence Tao ranked the Riemann result as the least digested of three AI-assisted results announced on 20 November, and said very early analysis suggested it draws on the full power of the Langlands program and arithmetic geometry.

Reaction among mathematicians was mixed before the shorter version appeared. Sutherland told Scientific American that the chance of a trick was “approximately zero,” and James Maynard of Oxford put his confidence at “98 or 99 percent” while the comparator was pending, according to Hamidun News. Brian Conrad of Stanford called releasing a proof its author does not fully understand “outright outrageous,” as reported by the New York Times.

A readable edition of about 300,000 lines is still far beyond what one person reads casually. It is, however, much closer to a size that people can navigate, annotate and mine for a strategy than a 17-million-line archive whose fully written-out form, Alpöge said, ran past 250,000 pages.

What it means for builders

For developers working with AI models, this release shows something compression can offer: an AI-assisted artifact that first appeared too large for any person to review has been restated in a small fraction of the size, with the same machine-checkable guarantees claimed. The pattern maps onto AI-generated code. A passing build plays the role of the Lean kernel: it shows the code satisfies the checks as written, and says nothing about whether the checks state the right requirement or whether anyone can explain the design.

  • Verification is necessary but not sufficient. Hamidun News noted that the checks themselves need checking, since the comparator exists to confirm the problem proved is the one posed.
  • Smaller artifacts are easier to audit. A build of one to two hours on commodity hardware widens who can reproduce the result.
  • Understanding still lags. Neither the original nor the shorter version comes with a human-readable paper.

As of i10X News’s check on 23 November, Anthropic’s newsroom carried no statement on the proof. The GitHub repository, with its Anthropic copyright, is the company-linked artifact here.

What to watch next

  • Independent checks of the short version. Whether the Lean and Mathlib communities run the same comparator and independent-checker process on the 76,000-line edition that they ran on the original.
  • A human-readable write-up. Alpöge has said he plans to simplify the argument and write it up properly. The readable edition may serve as a starting point.
  • Strategy extraction. Tao pointed to a Lean Zulip thread as the place where people are working to verify the proof and extract its strategy.
  • The Clay prize clock. The Clay Mathematics Institute considers a solution only after it is published in a qualifying outlet, at least two years pass, and it wins general acceptance in the mathematics community.

For background, see Unicorn API’s first report on Alpöge’s original claim.

Frequently asked questions

How long is the new Lean proof of the Riemann hypothesis?

The repository offers two editions: a readable one of about 300,000 lines and a compact one of about 76,000 lines. The earlier certified proof by Levent Alpöge ran to about 17 million lines.

Has the shorter proof been checked by mathematicians?

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

Is the shorter Riemann proof open source?

Yes. It is released under the Apache 2.0 licence, with copyright held by Anthropic, PBC. The repository describes itself as a research artifact that is not maintained and does not accept contributions.

Does the shorter proof replace Alpöge's original?

The repository says its proof is based on Alpöge's work with Claude and is a shorter version of it. The independent certification by the Lean FRO and the Mathlib Initiative covered the original 17-million-line library.

Has the Riemann hypothesis now officially been solved?

Not by the Clay Mathematics Institute's rules. A solution must appear in a qualifying outlet, at least two years must pass, and it must win general acceptance among mathematicians.