Imagine a math problem so hard that many experts barely bothered to attempt it. Now imagine a chatbot helping to knock it down. That is the claim from Levent Alpöge, a mathematician on Anthropic's technical staff. On November 20, 2026, he posted a four-page note saying he and Anthropic's AI model Claude had found a proof of the Riemann hypothesis, a puzzle about prime numbers that has been open since 1859.

The proof isn't a paper. It is code: a library of about 17 million lines written in Lean, a language that lets a computer check mathematical logic step by step. A day later, the Lean and Mathlib communities certified it. That makes it a big deal, but not yet a settled one.

The puzzle that primes keep asking

Prime numbers, such as 2, 3, 5 and 7, are divisible only by themselves and one. They look randomly scattered along the number line. In 1859, German mathematician Bernhard Riemann linked their pattern to a mathematical function called the zeta function. His hypothesis says every nontrivial zero of that function sits on a single vertical line, where the real part is exactly one-half.

Why care? Many results in number theory have been proven only on the condition that Riemann was right. The Clay Mathematics Institute lists the hypothesis among its seven Millennium Prize Problems, with a $1 million award attached.

Alpöge says his method also covers the Generalized Riemann Hypothesis, a broader version involving related functions called Dirichlet L-functions. According to Interesting Engineering, he describes an approach built on weighted prime sums, known as von Mangoldt sums, and mathematical constructions called theta lifts.

A referee that never gets tired

Lean works like an extremely picky referee. It accepts a proof only if every single step follows from the one before. Nothing gets waved through because it looks plausible.

The release is huge. Interesting Engineering reports about 175,187 source files and roughly 239 megabytes of data. The Associated Press reports that Alpöge's work with AI produced more than 250,000 pages of material.

The Lean and Mathlib communities, endorsed by the Lean FRO and the Mathlib Initiative, published a joint statement on November 21 at 13:55. They checked four things:

  • The statement is right. The target is Mathlib's own definition of the Riemann hypothesis, already vetted by experts in Lean and number theory.
  • The code compiles. Dozens of people reported building it without errors and reproducing the same raw proof export.
  • It proves the right thing. Two independent tools, comparator and con-leche, confirmed the proved theorem matches Mathlib's statement exactly.
  • The logic is valid. Several proof checkers accepted the proof, including Lean's official kernel and checkers written in different programming languages. They ran on an inert export, out of reach of any hypothetical malicious code in the sources.

The communities wrote: "We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct." The statement covers the classical hypothesis. Alpöge's generalized claim is a separate matter.

Verified by machine, not yet understood by people

There is no readable paper yet. Alpöge says he is presenting a complete argument before having mastered the mathematics around it. Alex Kontorovich, a mathematics professor at Rutgers University, told the AP that the checking tools are "extraordinarily picky," and that he still has to do his own work to understand it. His verdict on his own grasp so far: "Not yet."

The Clay Mathematics Institute still listed the problem as unsolved hours after the announcement. Interesting Engineering reports that the prize requires publication in an approved peer-reviewed outlet, followed by at least two years of scrutiny and broad acceptance. Clay president Martin Bridson called the announcement historically significant. He also said the road to real understanding will be long and difficult.

The timing drew attention too. Anthropic went public on the Nasdaq on November 19. Alpöge says the discovery came late the Sunday before, and that he asked Anthropic CEO Dario Amodei about announcing it. Anthropic did not respond to the AP's request for comment.

It is also the second such claim in recent months. In September, OpenAI said its technology was key to a breakthrough on Navier-Stokes, the equations that govern fluid flow.

The next steps are human ones: turning 17 million lines of code into an explanation mathematicians can read, then putting that explanation through formal peer review.

Sources: Lean community blog, joint statement on Lean verification of the Riemann Hypothesis; Associated Press report, via Broadband Breakfast; Interesting Engineering.