Data report
Riemann Hypothesis Solved: What the Proof Guarantees, Checked Against 455 Million Primes
We counted every prime below 10 billion. Gauss's estimate is off by 3,104. The Riemann hypothesis, now proved in Lean, says it never strays far.

Key takeaways
- Gauss’s estimate for counting primes is off by just 3,104 at 10 billion. We counted all 455,052,511 primes. The Riemann hypothesis is the promise that the miss stays under an allowance (91,617 there) for every number past 2,657, forever.
- The zeros build the primes. Fed 30 of Riemann’s zeros, his formula counts every prime up to 112 exactly. Their gaps follow a pattern from physics: 1.4% are under a quarter of the average, against 22.1% for points dropped at random.
- The proof is certified by machines; mathematicians are still working through it. It ran to 17,374,215 lines of Lean, and five days later researchers at Anthropic rewrote it in 112,827. A version written for people, posted on 2 December, still leaves one step to be derived.
Made with Infograph
Crunched the data
455,052,511 primes, 2,031,052 zeros of the zeta function and 1,882 arXiv abstracts, with the published checks of the proof
Found the pattern
Gauss's estimate misses the number of primes below 10 billion by 3,104, against the 91,617 the Riemann hypothesis allows, and the miss stays inside that allowance at every power of ten from 10⁴ to 10²⁹
Built the report
Connect your apps and databases. Infograph scans gigabytes of data, not just what fits in a chat window, and hands back results.
No credit card required
On 20 November Levent Alpöge, a mathematician at Anthropic, released a proof of the Riemann hypothesis, made with Claude. The next day the bodies that look after Lean, the language it is written in, certified it. Since then the coverage has been about AI solving the most famous problem in maths and its $1 million prize, and hardly at all about what the hypothesis actually says.
Here is the plain version. Prime numbers look random, but how many there are is close to a simple estimate that Carl Friedrich Gauss guessed as a teenager in the 1790s. The Riemann hypothesis says the count never strays far from that estimate: past 2,657, the miss is always smaller than an allowance that grows a little faster than the square root of the number.
So we checked it. We counted every prime below 10 billion and set the count against the estimate and the allowance, then rebuilt the primes from Riemann’s zeros.
- How far Gauss's estimate misses the number of primes below 10 billion. The hypothesis allows 91,617
- 3,104
- Source: Every prime below 10 billion, counted; OEIS
- Gaps between the first 2 million zeros that are under a quarter of the average. For random points: 22.1%
- 1.4%
- Source: Odlyzko's tables of zeta zeros
- Lines of Lean in the proof as released on 20 November, 7.3 times all of Mathlib
- 17,374,215
- Source: Andrew Sutherland's verification pages
What we analysed in the primes, the zeros and the proof
The hypothesis is about two things you can count: primes, and the zeros of Riemann’s zeta function. We crunched both in Infograph, with the papers that rely on it and the published checks of the proof:
OEIS prime counts. The On-Line Encyclopedia of Integer Sequences, to 10²⁹. We counted every prime below 10 billion ourselves, then checked the total at each power of ten against the published counts, which run on to 10²⁹. Open the original.
- primes counted
- 455,052,511
- checkpoints
- 1,000,000
- powers of ten
- 29
Odlyzko's tables of zeta zeros. Andrew Odlyzko, University of Minnesota, first 2,001,052 zeros, and samples near zero number 10¹², 10²¹ and 10²². The heights of the zeros, to rebuild the count of primes with Riemann's formula and to measure the gaps between neighbours. Open the original.
- zeros in order
- 2,001,052
- zeros far up the line
- 30,000
arXiv. Cornell University, every abstract to 3 December 2026. Every abstract that mentions the hypothesis, each read and sorted by whether its results assume it, and which form. Open the original.
- abstracts read
- 1,882
- assume it
- 838
Andrew Sutherland's verification pages. MIT, updated 27 November 2026. The size of the proof and of its shorter version, and every check run on them. Open the original.
- files in the proof
- 175,187
- lines
- 17,374,215
Mathlib. The Lean community, 3 December 2026. Lean's shared library of mathematics, counted line by line to give the proof a sense of scale. Open the original.
- files
- 8,743
- lines
- 2,387,180
Analysed in Infograph. Prime counts, zeros, papers and the proof, read together in one report. Open the interactive report.
Gauss’s guess is off by 3,104 at 10 billion
A prime is a whole number that only 1 and itself divide: 2, 3, 5, 7, 11, 13. Below 10 billion there are 455,052,511 of them. Gauss’s estimate says 455,055,615. It misses by 3,104, about 7 in a million.
In 1976 Lowell Schoenfeld showed that the Riemann hypothesis is exactly a promise about that miss. From 2,657 on, it is always smaller than the square root of the number, times its natural logarithm, divided by 8π. Call it the allowance. At 10 billion the allowance is 91,617.
The miss stays inside at every power of ten from 10⁴, ours and the published counts to 10²⁹. It is tightest right where the allowance starts: at 2,659 the miss reaches 98% of it. Past 10 million it never goes above 18%, and at 10²⁹ it is half a percent.
Checking can only ever say “so far”. The hypothesis says “always”.
Riemann’s zeros build the primes
In 1859 Bernhard Riemann found a way to count primes without looking at them. His zeta function has infinitely many zeros, points where its value is zero. His formula starts from a smooth average and adds one wave for each zero. Add enough waves and you get a staircase that steps up by one at every prime.
We ran the formula on Odlyzko’s zeros. The average alone, rounded, is right only up to 10. One zero takes it to 23, three to 40, and 30 zeros count every prime up to 112. With 1,000 zeros it gets every prime to 1,000. In the report you can add the zeros yourself and watch the steps appear.
Leave aside a simple row of zeros at −2, −4, −6 and so on, which play no part here. Every other zero has two coordinates, a width and a height. Riemann’s guess was that every width is exactly ½: that they all sit on one line. If they do, every wave stays small and the miss stays inside the allowance. If even one sat off the line, its wave would grow until the miss broke through. That is why the two statements are the same. The Clay Mathematics Institute says the first 10 trillion zeros have been checked, and all are on the line. But there are infinitely many.
The zeros keep their distance, in a pattern from physics
Drop points on a line at random and they clump: 22.1% of the gaps are under a quarter of the average gap. The zeros almost never crowd. Among the first 2 million, 1.4% are.
That was not expected from prime numbers. In the early 1970s Hugh Montgomery worked out how the zeros pair up, and the physicist Freeman Dyson recognised his formula. It is the one for the energy levels of a random matrix, a model Dyson had helped build for quantum systems such as heavy atomic nuclei. That model gives 1.6%. Ten thousand zeros starting at zero number 10²² give 1.6% too.
A 17-million-line proof, checked by machines
Alpöge did not post a paper. He posted a four-page note, “I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis”, and the proof itself in Lean, a language in which a computer checks every step. It ran to 17,374,215 lines in 175,187 files, more than seven times Mathlib, the library of mathematics the Lean community has built up over years.
On 21 November the Lean FRO and the Mathlib Initiative wrote: “We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct.” Their checks confirmed that the theorem proved is exactly the agreed statement, and several independent checkers, written by different people in different languages, accepted the proof. It also covers one family of the hypothesis’s generalised forms: the same question asked of related functions, here the ones called Dirichlet L-functions, which count primes in sequences such as 1, 4, 7, 10. Alpöge says his method goes further.
Four days later researchers at Anthropic published a shorter version, also made with Claude. Its compact edition proves the same results in 112,827 lines, 154 times fewer. Andrew Sutherland at MIT, who published the record of the checks, notes that Schoenfeld’s bound itself, in its version for a weighted count of primes, has been checked as a Lean theorem from it.
What a machine check does not give is understanding. On 25 November the shorter proof’s notes said: “No mathematician has read it through, and no paper comes with it.”
Since then, people have started taking it apart, in preprints on arXiv. One critique, by Nielsen, argued the proof fails because some of its parts hold automatically and so seem to do no work. An audit posted on 27 November found that this alone does not make a machine-checked proof invalid. It also said its own result “is not a certification of the claimed proof”. A study posted on 1 December looked at 58 steps of the proof and found that 48 had a close earlier precedent. And a version written for people, posted on 2 December, leaves one arithmetic step still to be derived.
The Clay Mathematics Institute, which offers $1 million for a proof, considers a solution only once it is published, two years have passed and mathematicians generally accept it.
What changes
Mathematicians did not wait for a proof. Of the 1,882 arXiv abstracts that mention the hypothesis, 838 say a result of their own assumes it or one of its generalised forms. By what their abstracts say, 383 assume the forms the checked proof covers. If the proof stands, those results no longer need their “if”. Another 322 assume it for families the proof does not reach yet, and 133 don’t say which.
The tall 2026 bar is not only the proof: mentions had already doubled in October, from 23 in September to 46.
Does it break encryption? The research firm K33’s answer, as Phemex News reported it, was that the proof itself does not provide a method for attacking cryptographic systems, though AI’s progress in mathematics is worth watching.
So what does the Riemann hypothesis guarantee?
That the primes never stray far from Gauss’s simple estimate: past 2,657, the miss is always smaller than an allowance that grows a little faster than the square root of the number. At 10 billion that is a miss of 3,104 inside an allowance of 91,617. Every count anyone has made already fitted.
What the certified proof adds, as far as Lean’s checkers can tell, is the word “always”. Mathematicians are now working through how it gets there.
Analyse your data with frontier AI, at scale
Upload your data, connect your apps and databases in seconds. Infograph enables frontier models to scan gigabytes of data, not just what fits in a chat window, and hands back results, data reports and live dashboards.


