How Big Is the AI Riemann Proof, and Could Anyone Actually Read It?

A paper roll of proof stretches between two mountaintop survey markers; a reader with a tape measure gives it scale.

Quick answer: The AI-assisted Riemann proof is about 17.4 million lines of Lean code in 175,187 files, according to Euronews. Reading it at one line per second, eight hours a day, would take roughly 603 days. Independent computer checkers have verified the formal proof, and mathematicians now aim to distill its key ideas into a human explanation. Conventional review and any Clay prize recognition are separate processes.

How Big Is the AI Riemann Proof? The Numbers at a Glance

Most famous proofs fit in a journal article. The claimed proof of the Riemann hypothesis released on November 20, 2026, would not fit on a bookshelf, or even in a library aisle.

Anthropic mathematician Levent Alpöge, working with the AI model Claude, published the proof as code in Lean, a language that lets a computer check every logical step. Here is how big it is, based on figures reported by Euronews and by a CASRAI editorial that summarizes the verification records:

MeasureReported sizeSource
Lean source files175,187Euronews, CASRAI
Lines of Lean code17,374,215Euronews
Download14 compressed parts, about 239.3 MBCASRAI
Proof data once builtMore than 61.5 GBCASRAI
Human-readable summaryA four-page noteAl Jazeera, CASRAI
AI-written English draft250,000+ pages, a figure Alpöge later called a jokeThe Next Web

Euronews reports the proof spans 17,374,215 lines of Lean code across 175,187 files. The Lean FRO and Mathlib Initiative, which certified the proof on November 21, describe it more simply as a Lean library of about 17 million lines.

The short answer to the title question: the proof is enormous, no single person could read the code line by line in any reasonable time, and that is not actually how mathematicians plan to understand it. The rest of this post explains why.

Lines, Files and Gigabytes: What Each Number Means

Big numbers are easy to repeat and hard to picture. Each figure measures something different.

Lines of code

A line of Lean is not a sentence of math. Some lines state a definition, some name a lemma, and many are small technical steps that a human would skip with phrases like clearly or by a similar argument. Lean needs every one of those steps spelled out. That is a big reason formal proofs are far longer than paper proofs.

Files

The 175,187 files are separate modules, like chapters, that Lean compiles one by one. Dividing 17,374,215 lines by 175,187 files gives about 99 lines per file on average, though some files may be much longer than others. The size comes from how many there are.

Megabytes versus gigabytes

According to CASRAI, the download is about 239.3 MB compressed, but the unpacked proof data comes to more than 61.5 GB. The two numbers describe different things: the compressed source archive, and the much larger proof export that Lean produces for independent checkers. That export is what the independent checkers actually read.

Pages

Kevin Buzzard of Imperial College London told Al Jazeera that the roughly 17 million lines might be equal to tens of thousands of pages of mathematics. That is an estimate of what the ideas would take on paper, not a count of anything that exists. Keep that difference in mind whenever a page count shows up in a headline.

If you like checking quick ratios like these yourself, our free math calculators make it easy.

Watch: Two Videos Worth Your Time

Prefer to watch? These videos add another angle on the topic.

The Riemann Hypothesis Falls (reaction) – Numberphile (Numberphile). Numberphile's reaction video gives mathematicians' first take on the claimed proof, a helpful human counterpart to all the numbers in this post.
We've been asking: “What if AI solved the Riemann Hypothesis?” (3Blue1Brown). 3Blue1Brown explains the bigger picture of an AI-solved Riemann hypothesis with the clear visuals the channel is known for.

Where the 250,000 Pages Figure Came From

The number that went viral was not lines or files. It was 250,000 pages.

Writing in The Conversation, Monash University mathematician Melissa Lee explains that Alpöge’s attempted AI-generated English explanation hit 250,000+ pages, which is why he released only the Lean code. The figure came from a footnote in his four-page note.

Then the story shifted. According to The Next Web, Alpöge posted on X that 250,000+ pages was a joke guys! He said the pages did exist, but that treating them as a serious write-up would be ridiculous. He explained that the joke was in how pedantic the AI draft was: its first theorem began by noting that the real numbers are totally ordered, a fact any math student takes for granted.

What to make of it

  • The 250,000-plus pages describe an extremely verbose AI-generated English draft, not the proof that was checked.
  • The checked proof is the Lean code: about 17 million lines.
  • A careful human write-up, once it exists, will almost certainly be much shorter. Buzzard’s tens of thousands of pages is a rough sense of scale, not a fixed limit; a well-organized human explanation could be much shorter, but nobody knows yet.

This is a good lesson in reading numbers in the news. Before sharing a figure, ask what exactly is being counted. Our guide to statistics for AI headlines has more habits like this.

Could Anyone Actually Read the AI Riemann Proof? Let's Do the Math

Suppose a very determined student tried to read every line of the Lean code. How long would it take? Here is a simple estimate you can follow step by step.

  1. Total lines: 17,374,215.
  2. Reading speed: assume a generous 1 line per second, with no time to think.
  3. Working day: 8 hours is 8 times 3,600, or 28,800 seconds.
  4. Days needed: 17,374,215 divided by 28,800 is about 603 working days.
  5. In years: 603 days is about 1.7 years of reading every single day, weekends included, without stopping to understand anything.

Now try pages. If a printed page held 50 lines of code, the proof would fill about 347,000 pages, more than the joke figure of 250,000.

But reading code is the wrong goal

Nobody needs to read every line, because the computer already checked every line. The human goal is different: find the key ideas and explain them in a way experts can follow. Buzzard told Al Jazeera that nobody yet knew why the theorem is true, but that from experience with similar projects, experts typically have a much better understanding of such code within a week or two. CASRAI reports that the approach revives and extends a technique called Stepanov’s method and chains together objects called theta lifts, which gives experts a place to start.

Alpöge has said he wants to understand and impart understanding of this argument and its certain simplifications. In other words, the plan is not to read 17 million lines. It is to distill them, as mathematicians have done with long proofs before. Our post on the longest proofs in math shows how that has played out in the past.

Guess the Number: Sizing Up the Proof

Make a guess, then tap a card to check it.

How a Computer Checks 17 Million Lines of Proof

If people cannot read it, who did? Several computer programs, run by many different people.

The Lean FRO and Mathlib Initiative statement says dozens of people compiled the code and reproduced the same proof export, and that the export was run through several independent checkers, including Lean’s official kernel and checkers written in other programming languages. CASRAI’s summary of the verification records adds detail:

  • All 175,187 modules compiled without errors, and Lean’s kernel replay accepted all of them.
  • An audit of five headline theorems found only Lean’s three standard axioms: propext, Classical.choice and Quot.sound. No extra assumptions were slipped in.
  • A separate checker called nanoda, written in the Rust language and run on 80 threads, accepted the proof in 27 minutes and 42 seconds.
  • Running the checks reportedly needed over 100 GB of memory, hundreds of GB of disk space and dozens of processor cores.

Andrew Sutherland of MIT coordinated an early evaluation, according to CASRAI. Wikipedia’s summary of the reporting quotes him saying the chance anything is fishy here is approximately zero.

Why size makes checking harder, not impossible

A larger proof means more computer time and memory, so full rebuilds and independent replays of this proof were run on powerful machines. It does not make the logic less certain, because each step is checked the same way whether there are ten lines or ten million. The practical limits are computing resources and confidence that the statement is right, which the Lean community checked with separate statement-comparison tools. To learn how the checking language works, see Lean theorem prover explained.

How the Riemann Proof Compares With Other Giant Proofs

Seventeen million lines is huge, but formal mathematics has been getting bigger fast. Here is some context from published figures.

Body of formal mathReported sizeNotes
Claimed Riemann hypothesis proof (2026)About 17.4 million lines in 175,187 filesReleased November 20, certified November 21
Lean formalization of Fermat’s Last Theorem (2026)About 13 million linesProduced by AI agents in eleven days, based on Wiles’s existing proof
Mathlib, Lean’s main math library296,355 theorems and 142,131 definitionsBuilt by 772 contributors

The Fermat figure comes from Wikipedia’s article on Lean, which also reports that Kevin Buzzard confirmed that code and said it adds nothing mathematically to Wiles’s proof. The Mathlib totals come from its statistics page.

The comparison shows two things. First, AI-assisted projects have now produced more than one formal proof running to millions of lines, so sheer length is no longer surprising on its own. Second, length is not the same as importance. The Fermat formalization re-proved a known result, while the Riemann proof claims something no one had proved before, which is why it draws so much attention.

For a related record, see our story on the 200-terabyte math proof, which was big for a very different reason.

What the Size of the Proof Means for Students and Teachers

The size of this proof is more than trivia. It offers several practical lessons.

Lessons for students

  • Estimation is a real skill. Turning 17 million lines into about 603 working days uses only division and unit conversion. Practice this kind of quick estimate on any big number you see.
  • Ask what is being counted. Lines, files, gigabytes and pages measure different things. Mixing them up is how headlines mislead.
  • Short explanations are valuable. A four-page note was the only human summary at first. Learning to explain an idea briefly and clearly is a skill even top mathematicians are working on.

Ideas for teachers and parents

  • Give students the 17,374,215 and 175,187 figures and ask them to find lines per file, days to read and pages to print.
  • Discuss why computer checking scales but human understanding does not, and why both are needed.
  • Use the 250,000-page story as a media-literacy example: a footnote became a headline, then the author called it a joke.

The bottom line: the AI Riemann proof is far too long for any person to read line by line, but it does not need to be read that way. Computers have checked it, and the human work now is to shrink it into ideas people can understand, teach and build on.

Read the Headline Like a Mathematician

Choose the best response to each headline or claim.

A post says: AI wrote a 250,000-page proof of the Riemann hypothesis.

A classmate says the proof cannot be trusted because no person has read all 17 million lines.

You read that the proof is 61.5 GB but also 239.3 MB. Which is right?

Someone claims the Riemann proof is the most important formal proof because it is the longest.

Quick Quiz: How Big Is the AI Riemann Proof?

Test your number sense on the size of the proof.

Answer each question and press Submit to see your result right away.

1. About how many lines of Lean code make up the claimed Riemann proof?
Found a bug? Let us know!
2. How many Lean files are in the proof?
Found a bug? Let us know!
3. Roughly how many lines does each file contain on average?
Found a bug? Let us know!
4. At 1 line per second for 8 hours a day, about how many days would reading every line take?
Found a bug? Let us know!
5. What did Alpöge later say about the 250,000-page figure?
Found a bug? Let us know!
6. Why is the built proof data (over 61.5 GB) much bigger than the 239.3 MB download?
Found a bug? Let us know!
7. Which three axioms did the audit of the headline theorems find?
Found a bug? Let us know!
8. About how long was the Lean formalization of Fermat's Last Theorem reported in 2026?
Found a bug? Let us know!

Answer each question and press Submit to see your result right away.

Frequently Asked Questions

Tap a question to see the answer.

Why is a formal proof so much longer than a normal math paper?

Human proofs skip routine steps with phrases like it is easy to see. A proof checker like Lean needs a formal justification for every inference, including facts most readers take for granted, though automation generates many of those steps. That detail makes formal proofs many times longer but also far more reliable.

Can I download and check the AI Riemann proof myself?

The files were released publicly, but checking them takes serious hardware. CASRAI reports the checks needed over 100 GB of memory, hundreds of GB of disk and dozens of processor cores, so a typical laptop is not enough.

Is the 17 million line proof all written by AI?

Reports describe it as developed by Levent Alpöge working with Claude, and Alpöge has said Claude far outpaced him near the finish line. The exact split of human and AI work has not been documented line by line, so it is best described as AI-assisted.

How long will it take mathematicians to understand the proof?

Nobody knows for sure. Kevin Buzzard told Al Jazeera that, based on similar projects, experts usually understand such code much better within a week or two, and that the current lack of understanding should change in a matter of weeks. A full human-readable write-up and peer review will likely take longer.

Is the AI Riemann proof the longest proof ever?

It is among the largest formal proofs reported, at about 17.4 million lines. Other computer-assisted proofs have been huge in different ways, for example in data size, so the answer depends on what you measure.

What does a line of Lean code look like?

A simple example is a line stating that 2 + 2 = 4 followed by a command telling Lean how to prove it. Real research proofs chain thousands of such statements, each depending on earlier ones.

Why did Alpöge release a four-page note instead of a full paper?

According to The Conversation, he considered posting the AI-written English version inappropriate because it was so long and padded. He released the Lean code with a short note and has said he plans to explain the argument for human readers.

Does a bigger proof mean a higher chance of mistakes?

For human-written proofs, usually yes, because there is more to get wrong. For a machine-checked proof, each step is verified the same way regardless of length. The remaining risks are whether the statement matches the intended theorem, whether the axioms are appropriate and whether the checkers are sound, which the Lean community checked separately.

How many zeros of the zeta function had been checked before this proof?

The Conversation reports that more than 12 trillion zeros had been checked and found on the critical line. Checking examples, however many, cannot prove the hypothesis for all zeros, which is why a proof was needed.

Sources and Further Reading

Related to This Article

What people say about "AI Riemann Proof Length: 17 Million Lines, Explained"?

No one replied yet.

Leave a Reply