Riemann hypothesis: machine-checked, not yet accepted

Odile Farrant, Mathematics writer (AI-assisted) ·

The Riemann hypothesis, one of mathematics’ most famous unsolved problems, now has a claimed and machine-checked proof, but it has not yet passed the steps needed for full acceptance. Below, I explain what each step means, where the proof stands as of November 2026, and what remains before the hypothesis could be considered “proved” in the sense mathematicians and the Clay Millennium Prize require.

---

The puzzle: primes, music and the Riemann hypothesis

Prime numbers (2, 3, 5, 7, 11, ...) become less common as numbers get bigger, but not in a regular way. In 1859, Bernhard Riemann connected this unpredictable thinning of primes to the “zeros” of a special mathematical object: the Riemann zeta function. The Riemann hypothesis states that all the zeros that matter fall on a single straight line in the complex plane. If this is true, it means prime numbers are distributed as evenly as possible.

Imagine an orchestra: each zero is an instrument, and the hypothesis claims every one is perfectly tuned to the same pitch line. If even one instrument were off, the music—the pattern of the primes—would have a wobble we could detect. This is not just for curiosity: hundreds of results in number theory depend on the Riemann hypothesis, and it is one of the Clay Mathematics Institute’s Millennium Prize Problems [5].

---

The five-step ladder: what counts as a proof?

This site places every claimed proof of a major problem on a five-step ladder [1]:

  1. Claimed: Someone announces a proof.
  2. Machine-checked: All steps are confirmed by a proof assistant, such as Lean.
  3. Understood by people: Mathematicians have read and published an explanation in natural language.
  4. Peer-reviewed: The proof is published in a refereed journal.
  5. Accepted: The proof is widely accepted by the community and eligible for prizes.

The Riemann hypothesis proof, as of November 2026, stands at step 2: it is both claimed and machine-checked, but not yet understood by people in a published form, peer-reviewed, or accepted for the Millennium Prize [1].

The table below summarizes the status as of 28 November 2026 [1]:

StepStatusDateSource
1Claimed20 Nov 2026Lean statement
2Machine-checked21–27 Nov 2026Lean/MIT pages
3Understood by peopleNot doneWikipedia/MIT
4Peer-reviewedNot done[2][3][4]
5AcceptedNot doneClay rules

---

Step 1 and 2: The claimed and machine-checked Lean proof

On 20 November 2026, Levent Alpöge released a formal proof of the Riemann hypothesis in Lean, a proof assistant that checks each logical step for correctness [1, 2]. The initial Lean library contained 17,374,215 lines (15,531,759 of which are code), spread across 175,187 files [1, 3].

The Lean Focused Research Organization and the Mathlib Initiative issued a joint statement certifying that the proof matches Mathlib’s formal statement of the Riemann hypothesis, compiles correctly, and passes four independent criteria: statement correctness, compilation, statement–proof match, and full kernel verification [2]. Several independent checkers, including Lean’s official kernel and external tools (such as nanoda, con-leche, and con-ron), all verified the proof [3].

A shorter Lean proof was published on 25 November 2026, in two editions: a “readable” version with 803 files and 477,124 lines (299,902 code lines), and a “compact” version with 794 files and 112,827 lines (76,149 code lines) [1, 4]. Both editions prove the same five theorems as the original [4]. For the original proof, a rebuild on a separate machine in a sandbox with no network reproduced the export byte for byte [3].

Table: Lean proof sizes [1]

Proof versionFilesLinesCode linesAvg. lines/file% code lines
Original175,18717,374,21515,531,75999.289.4%
Readable short803477,124299,90259462.9%
Compact short794112,82776,14914267.5%

All five headline theorems in the proof depend only on three standard axioms (propext, Classical.choice, Quot.sound), and two independent tools (comparator and con-leche) confirmed that the theorem proved is exactly Mathlib's statement of the Riemann hypothesis [2].

---

Step 3: Not yet explained in natural language

Despite the proof passing all machine checks, there is no published natural language explanation of the argument as of 27 November 2026 [1, 5]. The MIT page for the shorter proof says its checks "say nothing about whether the argument has been read or understood by a mathematician" [4].

Wikipedia’s summary as of that date makes clear: “A natural language proof has not been published as of 27 November 2026” [5]. The Lean statement looks forward to activity in the mathematical community "that will help explain the new ideas in this proof" [2].

---

Step 4 and 5: Not peer-reviewed or accepted for the prize

None of the main sources report that the proof has been published in a peer-reviewed journal as of 28 November 2026 [1, 2, 3, 4, 5]. According to the rules of the Clay Mathematics Institute, for a solution to qualify for the Millennium Prize, it must be published in a qualifying outlet, two years must pass since publication, and it must receive general acceptance in the mathematics community [1]. The Institute does not accept direct submissions.

Until these steps are completed, the proof is not eligible for the prize and cannot be considered “accepted” in the strongest sense [1].

---

A worked example: what “machine-checked” means in practice

Suppose you are a mathematician who receives a Lean proof claiming to settle a famous problem. Here is what the process looks like, based on the Riemann hypothesis case [1]:

  1. You download the Lean library (say, the original: 175,187 files, 17,374,215 lines).
  2. You run Lean’s compiler and checkers on your machine. If all modules compile and the kernel accepts every step, the proof is “machine-checked.”
  3. You use independent tools (such as comparator and con-leche) to confirm the statement proved matches the formal one you care about.
  4. You check that every axiom used is standard and that the proof is not relying on hidden assumptions.

In the Riemann hypothesis case, every one of these steps passed, and the Lean statement says dozens of people reported compiling the library and reproducing the same raw proof export file [2]. However, unless someone explains the argument in natural language and mathematicians read and judge it, the proof remains only “machine-checked.”

---

Questions readers ask

Why does a machine-checked proof not count as “proved” yet?

Mathematicians want to understand the main ideas, not just trust a computer. The machine check settles whether the Lean proof is valid. Until the argument is explained in natural language and read by people, the community cannot say why it works or what else it shows. Only then can a proof be peer-reviewed and widely accepted [1].

How big is the Lean proof compared to a typical mathematical paper?

The original Lean proof is 17,374,215 lines across 175,187 files, far more than a person can read through. Even the “readable” shorter edition is 477,124 lines in 803 files [1].

What happens next for the Riemann hypothesis proof?

Mathematicians need to produce and publish a human-readable explanation, then submit it to journals for peer review. Only after publication and widespread acceptance can it be considered for the Millennium Prize and recognized as a full solution [1].

---

How the numbers work

Computed from the numbered sources and the assumptions named below; change an assumption and the results change with it.

FigureValueWhere it comes from
Files in original Lean proof (2026)175,187 filessource [1]
Lines in original Lean proof (2026)17,374,215 linessource [1]
Code lines in original Lean proof (2026)15,531,759 linessource [1]
Files in readable shorter Lean proof (2026)803 filessource [1]
Lines in readable shorter Lean proof (2026)477,124 linessource [1]
Code lines in readable shorter Lean proof (2026)299,902 linessource [1]
Files in compact shorter Lean proof (2026)794 filessource [1]
Lines in compact shorter Lean proof (2026)112,827 linessource [1]
Code lines in compact shorter Lean proof (2026)76,149 linessource [1]
Total steps on the Riemann hypothesis ladder5source [1]
Average lines per file in original Lean proof99.2 lines per filecomputed: Lines in original Lean proof (2026) ÷ Files in original Lean proof (2026)
Proportion of code lines in original Lean proof0.894computed: Code lines in original Lean proof (2026) ÷ Lines in original Lean proof (2026)
Average lines per file in readable shorter Lean proof594 lines per filecomputed: Lines in readable shorter Lean proof (2026) ÷ Files in readable shorter Lean proof (2026)
Proportion of code lines in readable shorter Lean proof0.629computed: Code lines in readable shorter Lean proof (2026) ÷ Lines in readable shorter Lean proof (2026)
Average lines per file in compact shorter Lean proof142 lines per filecomputed: Lines in compact shorter Lean proof (2026) ÷ Files in compact shorter Lean proof (2026)
Proportion of code lines in compact shorter Lean proof0.675computed: Code lines in compact shorter Lean proof (2026) ÷ Lines in compact shorter Lean proof (2026)

Sources

  1. Our own data, 28 Nov 2026: The Riemann hypothesis on the ladder: what each source says, read 28 November 2026
  2. Lean verification of the Riemann Hypothesis | Lean community blog
  3. RH Lean proof: verification files
  4. Shorter Lean proof of RH and GRH for Dirichlet L-functions: verification files
  5. Riemann hypothesis - Wikipedia

More articles