Skip to content

The Riemann hypothesis is "solved." Here is what Lean actually checked.

Published: at 10:30 PM

Two days ago, on November 20, Levent Alpöge, a mathematician at Anthropic, posted a four-page note that says: “I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis.”1 The note doesn’t contain the proof. The proof is a Lean library, linked from a footnote as fourteen compressed archives. Yesterday the Lean FRO and the Mathlib Initiative issued a joint statement certifying “that both the statement and the proof of the Riemann Hypothesis are correct.”2

I want to keep five states apart, because the headlines don’t. Claimed: yes, on November 20. Checked by a kernel: yes, by several independent ones. Certified: yes, by the Lean FRO and the Mathlib Initiative on November 21. Read by humans: no, not in any full sense. Accepted by Clay: no, and under Clay’s own rules it can’t be for years.

What was released and what was certified

The library is about 17 million lines of Lean.2 Alpöge says the method also gives the Generalized Riemann Hypothesis, and Terence Tao’s post the same day describes “an (enormous) Lean-only proof of the Generalized Riemann Hypothesis.”13 The joint statement certifies the Riemann hypothesis specifically, so that is what I’ll focus on.

Alpöge chose not to release a long written version. He writes that “it is routine to produce a huge, unreadable document,” but that posting one would be inappropriate, so “I decided to only present Lean.”1 He also says he intends to understand the argument better and “to write it properly.”

The certification answers four questions from a Xena Project blog post published on November 12: does the Lean statement match the informal one, does the code compile, does it prove the theorem as stated, and does it exploit a kernel bug.42 The statement is Mathlib’s RiemannHypothesis, “carefully vetted by experts in Lean and number theory.” According to the joint statement, dozens of people reproduced the same export file, two tools confirmed the proved theorem matches a community file that imports only Mathlib, and several checkers, including Lean’s kernel and independent ones written in other languages, accepted the proof. They ran “on an inert export of the proof,” so no code in the library could interfere.2

Andrew Sutherland at MIT compiled it independently and told Scientific American, “Honestly the chance that anything is fishy here is approximately zero.”5 His public log lists the only axioms used: propext, Classical.choice, and Quot.sound, the three standard ones.65 A community repository for cleaning up the code was created on November 20.7

What a kernel check establishes

A kernel check proves one narrow thing: a particular Lean term has a particular type. Here that means the proposition RiemannHypothesis, as Mathlib defines it, follows from Lean’s logic plus those three axioms.

The extra pieces each close a gap. Independent checkers mean a kernel bug would have to appear in several separately written programs at once. The statement comparison stops a proof file from quietly redefining RiemannHypothesis as something easy. On mis-stated theorems, the Xena post is blunt: “This does not stop the statement from compiling!”4

Scott Aaronson, updating his post on November 21, compared it with journal refereeing: “a much higher degree of verification than a typical human paper.”8 On the narrow question of whether the theorem is true, I agree.

Who checked the statement

In May I wrote that “anyone who says ‘verified by Lean’ without saying who checked the statement is overselling” (my post on proof checking). This time there is a good answer. The statement is this definition from Mathlib:9

def RiemannHypothesis : Prop :=
  ∀ (s : ℂ) (_ : riemannZeta s = 0) (_ : ¬∃ n : ℕ, s = -2 * (n + 1)) (_ : s ≠ 1), s.re = 1 / 2

In words: for every complex number s, if ζ(s) = 0, s is not one of the trivial zeros at -2, -4, -6, and so on, and s is not 1, then the real part of s is 1/2. The last condition is there because ζ has a pole at 1, and Mathlib’s construction “assigns some values at these points” instead of leaving them undefined. The same file proves Mathlib’s ζ equals the usual series when the real part of s exceeds 1 and is differentiable away from 1, which by analytic continuation pins it down as the ζ number theorists mean.

The definition was in Mathlib long before the proof existed. The same two lines appear in a December 2024 version of the file, with a docstring saying “constructing a term of this type is worth a million dollars.”10 The version from September 28, 2026, a week before Alpöge’s timeline starts, is unchanged.9 That is the setup I argued for in May: humans write the statement in advance, and whoever produces the proof can’t touch it. Kevin Buzzard put the question to Scientific American as “what is the statement of the theorem in the Lean code.”5

What the check does not establish

Why it is true. Buzzard told Al Jazeera, “At the minute, we don’t even know why the theorem is true,” and called the proof “millions of lines of gobbledygook.”11 A kernel check gives no explanation at all.

That the note is right. The Xena post warns that a checked Lean proof “does not mean that any corresponding pdf also contains a correct proof!”4 Alpöge says something similar about his own note: its timeline of the argument partly paraphrases a summary from Claude “which might make zero sense.”1 The Lean is what was certified, not the description of it.

Clay’s process. Clay’s page still lists the problem as “Active,” and the Associated Press reported it was still listed as unsolved hours after the announcement.1213 Clay’s rules require publication in a refereed journal or other qualifying outlet, at least two years after that publication, and “general acceptance” in the mathematical community. They also say Clay “will not consider supplementary material.”14 A Lean archive on a personal website is none of those things. Martin Bridson, Clay’s president, told the AP, “This is an announcement of historic significance,” and said assessing it takes time.13

So the old Mathlib docstring was never quite right. Earlier today a change by Riccardo Brasca was merged that replaces the million-dollar line with a pointer to the community repository.15

What mathematicians said in the first two days

Tao listed the result third in his November 20 post, which orders three new results “in decreasing order of how ‘digested’ the results currently are.” From a first look, he wrote, it uses “the full power of modern developments on the Langlands program and arithmetic geometry.” He added, “I imagine the digestion process will take some time,” but noted “we have a human author to communicate with.”3

Sutherland called it “a human triumph, and a day for celebration,” and said there is “much work to be done to understand the mathematical details.”16 Hector Pasten of the Pontifical Catholic University of Chile said that if correct, it is “something like a Rosetta Stone” connecting branches of math.16

The estimates for how long understanding will take conflict. Buzzard expected people to understand the Lean far better within a week or two.11 Bridson said the journey to real understanding “will be long and difficult.”13

On November 20 there was also a separate claimed proof by Stanford postdoc Alessandro Masullo, written by humans, with no AI, and not formalized.1718 Its state is the mirror image of Alpöge’s: readable, unchecked.

Among the reactions I could find from these two days, nobody argued that the Lean proof is wrong. The caution is about the statement, readability, and time.

Where I was wrong

The May post’s central claim held: the expensive human work moved from reading the proof to reading a two-line statement written in advance. But I also said slow formalization and library gaps were the main costs. This proof is 17 million lines, and Alpöge’s timeline runs from October 6 to November 16.1 Those costs didn’t stop it. And I ended that post hoping the explanation would grow alongside the proof. It didn’t. The proof arrived alone.

The October post is worse. I repeated my August claim that the Riemann hypothesis would need concepts nobody had yet, and said “That might be right” (my October post). Two things were wrong. First, timing: the first entry in Alpöge’s timeline is dated October 6, two weeks before I published. Second, I treated “needs a new concept” as a reason the answer was far away and would come from a human. In Alpöge’s account, he set up a toy setting and guided the work to the analogous situation, and then Claude carried much of the technical work in areas he says he hasn’t mastered, including suggesting the length of a chain of theta lifts.1 I also used Anthropic’s August line that Claude’s techniques weren’t expected to reach RH as evidence. That sentence was about one technique, and I read it as a forecast.

Whether RH needed a concept nobody had is still open, because nobody has read the proof. If the people calling its ideas new are right, my August draft was right about the content and wrong about everything I concluded from it.

What “solved” means now

Until now, “solved” covered three things that came together: a proof exists, experts believe it, and experts understand it. Experts believed a proof because they understood it. Lean separates those.

I believe the Riemann hypothesis is proved. The statement predates the proof, the axioms are standard, and several independently written kernels agree. I’d trust that over most refereed papers.

But mathematicians have used “solved” to mean understood, and Clay’s rules write that down: a refereed paper, two years of examination, general acceptance. The kernel can’t supply any of that. So the prize depends on exactly what this release doesn’t have, a proof people can read. I think that’s the right place to put it.

What makes me hopeful is that there is someone to ask: an author who has said he will write it up, and a community that started cleaning the code on day one. The open question is how long reading 17 million lines takes.

Sources

Footnotes

  1. Levent Alpöge, untitled four-page note announcing a proof of the Riemann hypothesis, with links to the Lean source, alpo.ge, November 20, 2026. https://alpo.ge/remark.pdf ↩ ↩2 ↩3 ↩4 ↩5 ↩6

  2. Lean FRO and Mathlib Initiative, “Lean verification of the Riemann Hypothesis” (joint statement), Lean community blog, November 21, 2026. https://leanprover-community.github.io/blog/posts/riemann-hypothesis/ ↩ ↩2 ↩3 ↩4

  3. Terence Tao, “Unforced Euler singularity, unforced Navier-Stokes singularity, and the Generalized Riemann Hypothesis”, What’s new (blog), November 20, 2026. https://terrytao.wordpress.com/2026/11/20/unforced-euler-singularity-unforced-navier-stokes-singularity-and-the-generalized-riemann-hypothesis/ ↩ ↩2

  4. Xena Project, “…and the proof is checked in Lean”, Xena Project blog, November 12, 2026. https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/ ↩ ↩2 ↩3

  5. Clara Moskowitz, “The AI Riemann hypothesis proof is true, independent mathematicians confirm”, Scientific American, November 20, 2026 (updated November 21). https://www.scientificamerican.com/article/the-ai-riemann-hypothesis-proof-is-almost-certainly-true-independent-mathematicians-attest/ ↩ ↩2 ↩3

  6. Andrew Sutherland, verification log for the Lean proof of the Riemann hypothesis, MIT, accessed November 2026. https://math.mit.edu/~drew/grh/ ↩

  7. Lean community, “riemann-hypothesis” repository (created November 20, 2026), GitHub. https://github.com/leanprover-community/riemann-hypothesis ↩

  8. Scott Aaronson, “The stochastic parrots have apparently proved the Riemann Hypothesis”, Shtetl-Optimized, November 20, 2026 (update of November 21). https://scottaaronson.blog/?p=10344 ↩

  9. Mathlib, Mathlib/NumberTheory/LSeries/RiemannZeta.lean at commit ec6a61c (September 28, 2026), GitHub. https://github.com/leanprover-community/mathlib4/blob/ec6a61cec0d8f9fda04453e9bb5761a79aa43a70/Mathlib/NumberTheory/LSeries/RiemannZeta.lean ↩ ↩2

  10. Mathlib, Mathlib/NumberTheory/LSeries/RiemannZeta.lean at commit 1a40297 (December 28, 2024), GitHub. https://github.com/leanprover-community/mathlib4/blob/1a402974fd696ae8df2990028b9fac0752700d79/Mathlib/NumberTheory/LSeries/RiemannZeta.lean ↩

  11. Heba Habib, “Riemann hypothesis: Has the world’s most famous maths problem been cracked?”, Al Jazeera, November 21, 2026. https://www.aljazeera.com/news/2026/11/21/riemann-hypothesis-has-the-worlds-most-famous-maths-problem-been-cracked ↩ ↩2

  12. Clay Mathematics Institute, “Riemann Hypothesis” (Millennium Prize Problem page), accessed November 2026. https://www.claymath.org/millennium/riemann-hypothesis/ ↩

  13. Hallie Golden, “Anthropic worker claims to have solved a Holy Grail of math problems with AI’s help”, Associated Press via ABC News, November 20, 2026. https://abcnews.com/Technology/wireStory/anthropic-worker-claims-solved-holy-grail-math-problems-138338426 ↩ ↩2 ↩3

  14. Clay Mathematics Institute, “Millennium Prize Description and Rules”, September 26, 2018. https://www.claymath.org/wp-content/uploads/2022/03/millennium_prize_rules_0.pdf ↩

  15. Riccardo Brasca, “doc: fix doc of RiemannHypothesis”, mathlib4 pull request #46338, merged November 22, 2026. https://github.com/leanprover-community/mathlib4/pull/46338 ↩

  16. Joseph Howlett, “Anthropic mathematician proves Riemann hypothesis, most famous problem in all of math”, Scientific American, November 20, 2026 (updated November 21). https://www.scientificamerican.com/article/anthropic-mathematician-claims-to-prove-riemann-hypothesis-most-famous-problem-in-all-of-math/ ↩ ↩2

  17. Tim Fernholz, “AI claimed a solution to the 167-year-old Riemann hypothesis, and a human did, too”, TechCrunch, November 20, 2026. https://techcrunch.com/2026/11/20/ai-claimed-a-solution-to-the-167-year-old-riemann-hypothesis-and-a-human-did-too/ ↩

  18. Davide Castelvecchi, “Mathematicians astounded by AI and human-written proofs of iconic Riemann hypothesis”, Nature, November 20, 2026. https://www.nature.com/articles/d41586-026-03812-7 ↩