Explainer. This post explains a release or tool from its official notes, docs and code. We haven’t run it ourselves yet.
On 21 November 2026 the Lean and Mathlib communities, in a statement endorsed by the Lean FRO and the Mathlib Initiative, certified a formal proof of the Riemann hypothesis. The proof had been posted the day before by Levent Alpöge, a mathematician at Anthropic, working with Claude. That sentence uses words this page has not earned yet. The rest of the page builds those words in order: the public claim first, then the types, then what a green build does and does not mean.
This page is a walk through the Riemann hypothesis Lean proof, from counting primes to what the certificate actually says. If you only want the status line, it is this. The communities say the formal proof of the original hypothesis compiles, names the right theorem, and survives independent checkers. Alpöge has not yet published a short paper that a seminar can read. Rubinstein has posted a 164-page working draft that explains the zeta-function case, taking one inequality from the Lean library, and he calls it a work in progress. The Clay Mathematics Institute has not paid the million-dollar prize. Those are different facts. They stay separate below.
Start With Whole Numbers

A whole number here means 1, 2, 3, 4, and so on. Multiplication is the act of making a number by repeating another number. 12 is 3 taken 4 times, and it is also 2 taken 6 times. A factor of 12 is a whole number that divides 12 with nothing left over: 1, 2, 3, 4, 6, or 12.

Some numbers refuse to break. 7 is 1 times 7, and that is the whole list. A prime is a whole number bigger than 1 whose only factors are 1 and itself. 2, 3, 5, 7, 11, 13 are the first few. 1 is not a prime, by agreement, because if 1 were allowed the atoms of multiplication would not be unique. 4 is not a prime, because 2 times 2 makes it. 9 is 3 times 3. 15 is 3 times 5.
The oldest picture of this is a sieve: you delete the composites, the numbers that do break, and the primes remain. Write the numbers. Cross out every multiple of 2 except 2. Then every multiple of 3 except 3. The next unmarked number is 5. Continue. What remains is the primes. You do not need a formula to see them. You need patience, and then a better question than patience.
The List Is Infinite, and the Gaps Are Irregular
The primes do not stop. The old argument is short. Suppose you had a finite list, and you believed it was all of them. Multiply those primes together and add 1. That new number is not divisible by any prime on your list, because each of them leaves a remainder of 1. So either the new number is itself a prime you missed, or its factors are primes you missed. Either way the list was incomplete. A finite list can never be the full list.
That proof tells you the supply is endless. It does not tell you where the next prime sits. After 113 there is a gap, then 127. Elsewhere there are twin primes, two primes that differ by 2, such as 17 and 19. Elsewhere there are deserts. If you only stare at the sequence, it looks like noise. Plot the same numbers on a spiral and streaks appear. The streaks are not the theorem. They are a warning that “looks random” and “has no structure” are different claims. The structure is real. It is just not a simple spacing rule like “every sixth number.”
Counting Them Is the Actual Question
Stop asking what the next prime is. Ask a coarser question, the one a systems person would ask about a log file: up to here, how many events fired?
The function that, given a size x, returns how many primes are less than or equal to x is written π(x). The Greek letter is just a name. It is not the circle constant. π(10) is 4, because the primes up to 10 are 2, 3, 5, 7. π(100) is 25. π(1000) is 168.
A logarithm is the power you must raise a fixed base to, in order to get a number. The natural logarithm, written ln, uses a specific base, the number e, about 2.718. You do not need to love e. You need one fact: ln(x) grows, but slowly. ln(1000) is about 6.9. ln of a million is about 13.8. ln of a billion is about 20.7.
Divide x by that slow function. x / ln(x) is a smooth curve. It is not exact, but it tracks π(x). At 1000, the smooth guess says about 145, and the truth is 168. At a billion, the guess is close on the scale of billions. The prime number theorem, proved in the 1890s, says the count of primes up to x is approximately x / ln(x), with the ratio of the two going to 1 as x grows. The rough census is settled. The argument that remains is about the error, the gap between the smooth guess and the true count.

How large can that error be? That is the question the Riemann hypothesis answers, if it is true. To say what it answers, you need the machine whose zeros control the error.
A Sum That Knows the Primes
A series is an infinite list of numbers you add, one after another, and it can have a finite total if the terms shrink fast enough. 1/2 + 1/4 + 1/8 + 1/16 and so on totals 1. Each term is half the previous one. The leftovers get small.
Euler, in the 1700s, studied a series over every whole number:
1 + 1/2s + 1/3s + 1/4s + 1/5s + …
The letter s is the input, the knob you turn. When s is bigger than 1, the terms shrink fast enough and the total is a finite number. That total is the zeta function, named ζ: it turns a number s into the sum of 1 over n to the power s, for every whole number n. A function is a machine with one input and one output. People write ζ(s).
Here is the loop that makes the sum a statement about primes. Every whole number factors into primes in exactly one way, once you ignore order. Because of that, the big sum can be rewritten as a product over primes:
ζ(s) = (1 / (1 − 1/2s)) × (1 / (1 − 1/3s)) × (1 / (1 − 1/5s)) × …
Each prime contributes one factor. If you know the product, you know something about every prime. If you know the sum, you know the product. The two writings are the same machine. This Euler product is the hinge of the whole subject. A question about the irregular list of primes has become a question about one function.
In 1859 Bernhard Riemann wrote a short paper about this function, because he wanted a sharper census of the primes. He was not the first to write the sum. He was the person who asked where the machine returns zero, and who noticed that the answer seems to lie on one vertical line.
Zeros, Then a Plane Instead of a Line
A zero of a function is an input that the machine sends to the output 0, the same way 2 is a root of “this number minus 2.” For zeta, a zero is a place s where ζ(s) = 0. Those places are not decorations. Through the Euler product, each one contributes a ripple to the prime census. The error term is built out of those ripples. Move a zero, and you change how large the error is allowed to be.
Before hunting zeros, one input is illegal in the original sum. At s = 1 the sum is 1 + 1/2 + 1/3 + 1/4 + …, the harmonic series, which grows forever, slowly, and never settles. The machine blows up. That blow-up is a pole, a point where a function goes to infinity instead of returning a normal value. s = 1 is a pole of zeta, not a zero. Any careful statement of the hypothesis excludes it.
The original sum only makes sense for s bigger than 1. Riemann extended the machine with a second formula that agrees with the sum where the sum works and keeps going elsewhere. After that extension, zeta is defined for almost every input, including inputs that are not ordinary decimals.
An ordinary number sits on a line: left is negative, right is positive. A complex number is a pair of ordinary numbers, written a + bi, where i is a formal quarter-turn so that i times i is −1. It sits on a plane. The first number, a, is the real part, how far left or right. The second number, b, is the imaginary part, how far up or down. Imaginary is a bad name. Nothing is being imagined. It is a second coordinate, the way a pixel has an x and a y.

Once the input is a point on that plane, “where are the zeros?” is a geography question. Riemann already knew a symmetry: the behavior on the left of the plane mirrors the behavior on the right, across the vertical line whose real part is 1/2. He also knew there are boring zeros at the negative even numbers, −2, −4, −6, and so on. Those trivial zeros are produced for free by a symmetry of the function, and they are not the ones that encode the primes. You can list them. They are not the mystery.
The interesting zeros, the non-trivial ones, are every zero that is not one of those negative even numbers. They all lie in a vertical band called the critical strip, where the real part is between 0 and 1. Inside that band, the symmetry line is the critical line, where the real part is exactly 1/2.
A zero on the line is a point where both the real part and the imaginary part of zeta, along that line, hit zero at the same moment. Computers have checked the first many trillions of these zeros. Every one that has been computed sits on the line. Checking trillions is not checking all of them. There are infinitely many.
The Hypothesis in One Sentence
The Riemann hypothesis is the claim that every non-trivial zero of the zeta function has real part exactly 1/2. Nothing else. Not “primes are random.” Not “AI understands numbers.” Every interesting zero sits on that one vertical line.
In the formal library, the statement that got certified is short enough to read. In ordinary words: for every complex number s, if zeta at s is zero, and s is not one of the trivial zeros −2(n+1), and s is not the pole at 1, then the real part of s is 1/2. Mathlib, the community library of formalized mathematics that Lean proofs import, already contained a vetted statement named RiemannHypothesis. Written with ordinary if-then arrows, it is this:
The arrows are implications, if this then that. ℂ is the complex plane. ℕ is the whole numbers. s.re is the real part. If a later file says theorem riemannHypothesis : RiemannHypothesis, the only honest reading is: this file claims to discharge that exact statement. Whether it does is what the checkers measured.
Why does a line in the plane change the census of primes? Because the error in π(x), the gap between the true count and the smooth guess, can be written using the zeros. A zero whose real part is 1/2 produces a ripple of a known, relatively tame size. A zero whose real part wandered toward 1 would produce a wilder ripple, a larger possible error, a census that sometimes misses by more than the smooth theory wants to allow. If every interesting zero has real part 1/2, the error is as small as this method can make it. That sharp error is the prime-number consequence people mean when they say the hypothesis controls the primes.
There is a second consequence, and it is why a proof would be felt outside one paper. For a century and a half, mathematicians have proved theorems of the shape “if the Riemann hypothesis is true, then this other statement is true.” A conditional theorem assumes a hypothesis it does not prove. Prove the hypothesis, and a library of those loans comes due at once: sharper bounds, cancelled caveats, results that were waiting. The Clay Mathematics Institute put the hypothesis on its Millennium Prize list in 2000 and attached a one-million-dollar prize. The money is not the importance. The list was an attempt to name seven problems whose solution would move a whole field.
The Cousins: Generalized and Extended
Zeta is one series. You can twist the series by a repeating pattern of signs, or more generally by roots of unity, complex numbers that become 1 when raised to a fixed power. A Dirichlet character is one such repeating pattern, a legal way to sprinkle coefficients onto the integers, and it produces a cousin series called a Dirichlet L-function: zeta with those coefficients inserted. Each cousin has its own zeros. The generalized Riemann hypothesis is the same geography, demanded of the whole Dirichlet family, not only of zeta.
Alpöge’s note says the method covers that generalized statement, and that a still wider version, the extended Riemann hypothesis, the same claim for a larger class of L-functions beyond Dirichlet’s, is expected later and is not claimed as finished. Keep those three names apart. Original. Generalized, for Dirichlet L-functions. Extended, not yet.
What a Proof Is Before Any Software
A proof is a finite chain of steps, each one an allowed inference from earlier steps or from stated assumptions, ending at the claim. It is not a vibe and not a numerical check. A million computed zeros are evidence. They are not a proof, because the next zero is not logically forced by the ones you already saw.
An assumption you forgot to declare is a hole, even if every written step looks clean. “Without assumptions,” in Alpöge’s note, means he claims the argument does not add a private axiom, an extra starting rule slipped in so the conclusion becomes easier. The checkers later tested that claim.
What Was Posted, and What Came Earlier From the Same Lab
Do not merge two different Claude results.
On 10 August 2026 Anthropic published a Anthropic research note, studied by its mathematicians including Alpöge, in which Claude improved a lower bound: the fraction of zeros that are known to lie on the critical line, and to be simple, moved from the previous 41.6 percent to 67.2 percent. That two-thirds bound is a proved “at least this many.” It is not a proof that all of them lie on the line. Two thirds is not all. That August paper is a real advance and a different object. If a summary says Claude already did Riemann in the summer, it is collapsing these.
On 20 November 2026 Alpöge posted a four-page note at alpo.ge/remark.pdf. The sentences that matter are his:
I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis. In fact, the method easily extends much further, resolving the so-called Generalized Riemann Hypothesis, and I expect, with more time, the Extended Riemann Hypothesis too. Claude and I have also formalized the arguments without assumptions.
He also wrote that near the finish Claude “flew, and danced, and sparkled,” while he steered. The note includes a rough timeline, which he says Claude compiled after a search, running from 6 October to 16 November 2026. He warns that some of those entries are paraphrased and may not make sense. Later reporting, including The Guardian, said he described the work as about six weeks. Read the duration as a description of the collaboration, not as a stopwatch. He says he expects the argument to be “massively simplified, likely immediately,” and that he plans to write it properly. The artifact he actually released is the formalization: about 17 million lines of Lean, in 175,187 files.
The Verge reported that he texted Anthropic’s chief executive late on the Sunday before, and that he held the note until after the company’s 19 November 2026 stock-market listing. The Verge also reported that Anthropic, the company, did not announce the proof. The author is a mathematician who works there. The library is his release. Treat the listing date as context for the timing, not as evidence about the zeros.
What Lean Checks
Lean is a programming language and a proof assistant: a language where a theorem is a type, and a proof is a program of that type. If you have used a typed language, the leap is smaller than it sounds. A type checker walks a program and refuses it when a value does not have the type the context demands. Lean’s kernel, the small trusted core that re-checks every inference, and is the only part you must trust, does that walk for mathematics. Alpöge’s library imports Mathlib and claims to fill the statement in.
“It compiles” is the headline people will repeat. Compilation is one of four different questions. In the joint statement by the Lean and Mathlib communities on 21 November 2026, endorsed by the Lean FRO and the Mathlib Initiative, they say all four were answered yes for the Riemann hypothesis:
- The statement is the right statement. It is Mathlib’s
RiemannHypothesis, already vetted by people who do Lean and people who do number theory. A proof of a look-alike sentence would not count. - The library compiles. The statement says dozens of people reproduced the build, with no errors, and produced the same raw proof export. Rubinstein’s checks, starting from the archive Alpöge published, give the count: 175,187 modules, zero build errors.
- The compiled theorem is that statement, not a cousin with a weakened hypothesis. A separate file imports only Mathlib, states the hypothesis, and two tools (
comparator, andcon-leche --compare) report that Alpöge’s theorem is identical to Mathlib’s statement. - The proof steps are legal. The exported proof was replayed through Lean’s kernel and through independent checkers written by other people, including
nanoda,con-leche, andcon-ron. Rubinstein’s 21 November log says the kernel replay accepted all 175,187 modules, andnanodaaccepted the 1,484,729 declarations the theorems depend on, with no type-checker errors.

This is a different event from the October 2026 OpenAI math preprint drop. That catalogue claimed a smaller zero-free region for zeta, not the hypothesis itself. We already walked through how to check a Lean-formalized claim in OpenAI’s math repo. The four questions above are the same kind of reading, applied to a later, separate library.
Andrew Sutherland’s verification files at MIT show that by 20 November he had compiled the library and reported that the theorems rest only on Lean’s three standard axioms. Rubinstein’s 21 November log says the same of the five theorems he checked, which include the Dirichlet generalization, not only the original hypothesis. The names of those three, from Sutherland’s verification notes, are propext, Classical.choice, and Quot.sound. As of Sutherland’s 22 November 2026 update (04:35 UTC), some later checks on his page were still running. The compile and the axiom audit were not among them.
Unpack the three axioms once. propext says that if two statements are true in exactly the same situations, they are the same statement. Classical.choice is the usual permission in ordinary mathematics to pick an element from a nonempty collection even when you cannot write a formula that names which element. Quot.sound says that when you glue objects together by an equivalence, a rule that says these count as the same, the gluing does not contradict itself. Mathlib uses these three everywhere. An axiom audit that finds only these three means the proof did not add a private fourth rule to force the conclusion. That is the formal content of “without assumptions.”
The Lean statement puts the confidence in one sentence: “We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct.” Michael Rubinstein’s Waterloo page records his four machine checks of the five theorems. Each certificate belongs to the page that wrote it.
What the Green Build Does Not Mean
A compiler can accept a program no human can maintain. That is the situation here, and pretending otherwise is how this story gets exaggerated. The same caution we used when asking what a passing machine check does and does not mean applies in a different setting: a pass is a pass of a stated check, not a substitute for a person who can explain the idea.
Seventeen million lines is not a proof in the sense a seminar can read. Alpöge himself says he expects a massive simplification and still intends to write the argument as mathematics for people. Until that paper exists, the public object is a machine-checked artifact plus a four-page cover letter, and a working draft from Rubinstein that is not yet a complete human write-up of the whole argument. You can trust a kernel more than you can trust an unread paper, and you can still want the paper, because understanding is a different good from certification. The kernel tells you the steps are legal. It does not tell you which idea made the steps possible, and it does not let the next person use the idea on a different problem.

The prize is a third good, with its own clock. Clay Mathematics Institute’s prize rules are the ones to keep: a proposed solution has to be published in a qualifying outlet, at least two years must then pass, and the solution must have received general acceptance in the global mathematics community before the institute will consider the million dollars. A community certificate issued the next day is strong. It is not the two-year clock, and it is not a cheque. As of this writing the prize has not been awarded. It is not the Clay prize.
There is also a quarrel you will see on social timelines, and it deserves a clean description. Some early readers said they had found unused modules in the library. A later source-level audit of the published archive found that every module is imported, transitively, by the main file, so nothing is dead at the file level. Unused declarations can still sit inside imported files. Generated proofs accumulate junk. Junk that is truly unused does not move the theorem. Junk that is secretly load-bearing would. The axiom audit and the statement comparison are how that distinction was tested. They are not a substitute for a person someday seeing the idea.
On the same day, other outlets reported a second manuscript: an all-human draft aimed at the generalized hypothesis, written by Alessandro Masullo and posted in a hurry by Ravi Vakil of Stanford. Vakil said Brian Conrad had been looking at it for months, and that the hope had been to polish the writing before announcing it. The draft itself is unfinished, and this page has not seen a Lean-community certificate for it. It is a competing claim, not a second build log. Two manuscripts arriving hours apart would be historic even if only one of them clears a kernel. Do not let the existence of the second one, or the celebrity of the first one, stand in for the checks above.
What You Can Believe Tonight
Believe the geography. Primes are the atoms of multiplication. Their count up to x is roughly x / ln(x). The error in that rough count is governed by the zeros of a function that can be written either as a sum over all whole numbers or as a product over primes. The interesting zeros are suspected, and now formally argued, to lie on the vertical line whose real part is 1/2.
Believe the scope of the check that landed on 21 November 2026. For the original Riemann hypothesis, the communities certify that the formal proof is the right statement and that independent kernels accept it, on only the three standard axioms. A careful independent log from Waterloo says the same, and says five theorems, including the Dirichlet generalization, compiled and replayed cleanly. That is as close to “the formal proof is correct” as a one-day public verification gets.
Do not believe the surrounding inflation. This is not “an AI proved all of mathematics.” A mathematician directed the work, a model did a large part of the technical close, and a checker certified the artifact. The August result was a two-thirds bound, not this proof. The extended hypothesis is not claimed finished. Alpöge’s human-scale explanation has not been published. The million dollars has not been paid. The idea inside the 17 million lines is still, for almost everyone, a closed box that happens to type-check.
The useful habit is the same one you would bring to any huge generated repository. Read the statement in Mathlib before you read the generated ocean. Ask which kernel replayed the export, and which axioms the theorem still depends on. Ask whether the compiled theorem is identical to the sentence you cared about. Those four questions are the whole certificate. Everything else is a story about who typed.