Table of Contents
- TL;DR
- The story of the problem
- The mathematics you need, from the ground up
- Functions and their zeros
- Powers, including negative and fractional ones
- Logarithms and the number e
- Adding up infinitely many numbers
- Two ideas from calculus: slope and area
- Circles, sine, cosine and waves
- Complex numbers: numbers on a plane
- Euler’s formula: an imaginary exponent is a rotation
- Functions of a complex number
- The language of “roughly”
- Symbols used in this post
- The building blocks
- 1. Primes thin out at a predictable rate
- 2. Euler’s product: a sum over all numbers equals a product over primes
- 3. Letting the exponent be a complex number
- 4. Analytic continuation: one function beyond the reach of its formula
- 5. Where the zeros are
- 6. From zeros back to primes: the explicit formula
- 7. Why the real part has to be exactly one half
- What the hypothesis is useful for
- The proof announced in November 2026
- What changes
- Reproduce the numbers
- Sources & further reading
On Friday 20 November 2026 Levent Alpöge, a number theorist at Anthropic, posted a four-page note containing the sentence “I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis.” The proof was not a paper. It was 17 million lines of Lean, a language in which a computer checks every logical step of an argument, and one day later the Lean and Mathlib communities announced that the check had passed and that they had “full confidence” the proof is correct. The most famous open problem in mathematics, posed in 1859, appears to have been settled by a mathematician working with an AI model, in a form that no person has yet read from start to finish.
This post is for readers who want to follow what happened without a degree in number theory. It tells the story of the problem, rebuilds the school and first-year university mathematics it needs from the ground up, builds the argument one block at a time with the intuition for why each block is true, shows what the hypothesis is useful for, and then sets out carefully what was released in November, what has been verified, and what is still being worked out. Every figure and every number quoted from a computation was produced by the short Python program folded at the end of the post, which finds the first hundred zeros of the zeta function from scratch.
TL;DR
- The statement. The Riemann zeta function \(\zeta(s)\) is a function of a complex number \(s\). The Riemann hypothesis says that all of its “nontrivial” zeros have real part exactly \(\tfrac12\). An equivalent statement with no complex numbers in it: the number of primes below \(x\) differs from a simple smooth formula by an amount of size about \(\sqrt{x}\), which is as small as that error can possibly be.
- Why zeros control primes. Euler found that a sum over all whole numbers equals a product over the primes. Riemann extended that function to the complex plane and showed that each of its zeros contributes one wave to the count of primes. A zero with real part \(\beta\) contributes a wave of size \(x^{\beta}\), and zeros come in mirror pairs with real parts \(\beta\) and \(1 - \beta\), so the waves are smallest overall only when every \(\beta\) equals \(\tfrac12\).
- 167 years of partial progress. The prime number theorem was proved in 1896. By 2020 the best result was that more than 5/12 of the zeros lie on the line, and computers had confirmed about 12 trillion zeros. In 2026 the pace changed: two thirds in August, a “quasi” version from OpenAI in October, and the full claim in November.
- What has been checked. Five formal theorems: the Riemann hypothesis itself, and the generalized Riemann hypothesis for all Dirichlet L-functions. The proof spans 175,187 Lean files, uses only Lean’s three standard axioms, and has been accepted by Lean’s kernel and by several independently written checkers. Wider versions of the hypothesis are not covered.
- What is not yet available. A proof people can read. The best public account so far is a 164-page working guide which reduces the hypothesis to one inequality between sums over primes, and the proof of that inequality currently exists only in Lean. Alpöge himself writes that he has not yet mastered all of the mathematics in it.
The story of the problem
Counting primes before Riemann
A prime is a whole number greater than 1 that only 1 and itself divide: 2, 3, 5, 7, 11, 13 and so on. Euclid proved around 300 BC that the list never ends. What nobody could find was a rule for where the next prime falls. Primes look scattered: 89 and 97 are neighbours with a gap of eight, while 101 and 103 sit two apart.
In 1792 or 1793, at the age of fifteen or sixteen, Carl Friedrich Gauss took a different approach.1 He stopped asking where individual primes are and started counting how many there are below a given size. Working through tables of primes, he noticed that near a large number \(x\) roughly one number in every \(\ln x\) is prime, where \(\ln\) is the natural logarithm. Adrien-Marie Legendre published a similar guess a few years later. If the guess is right, the count of primes below \(x\), written \(\pi(x)\), should be close to \(x / \ln x\), and closer still to the “logarithmic integral” \(\operatorname{li}(x)\), which adds up the density \(1/\ln t\) over all \(t\) up to \(x\).2
For a century this was only a pattern in tables. The first tool that could explain it had been found earlier by Leonhard Euler, who in 1737 showed that a certain infinite sum over all whole numbers equals an infinite product over the primes alone. That identity, covered properly below, is the bridge between the smooth world of calculus and the jagged world of primes.
Riemann’s paper of 1859
Bernhard Riemann was 33 and newly elected to the Berlin Academy when, in November 1859, he submitted a paper of fewer than ten pages titled “On the Number of Primes Less Than a Given Magnitude”. It was the only paper he ever wrote on number theory. In it he took Euler’s sum, allowed its variable to be a complex number, and showed that the resulting function, now called the Riemann zeta function, contains an exact formula for the count of primes. The formula is written in terms of the points where the function equals zero.
Riemann then remarked, almost in passing, on where those zeros seem to be:
… it is very probable that all roots are real. A rigorous proof of this would of course be desirable; after some fleeting unsuccessful attempts, however, I have provisionally put the search for this aside, as it appeared expendable for the immediate objective of my investigation.
In the variable Riemann was using, “all roots are real” is the statement that every nontrivial zero has real part \(\tfrac12\). That sentence is the Riemann hypothesis. Riemann died of tuberculosis in 1866, aged 39, without returning to it.
What was proved in the next 167 years
The hypothesis resisted every attack, but the attempts produced much of modern number theory.
- 1896. Jacques Hadamard and Charles-Jean de la Vallée Poussin independently proved that zeta has no zeros on the edge of the region where they could lie. That was enough to prove Gauss’s guess, now called the prime number theorem.
- 1900. David Hilbert put the hypothesis on his list of 23 problems for the new century. He is said to have remarked that if he woke after sleeping for a thousand years, his first question would be whether it had been proved.
- 1914. G. H. Hardy proved that infinitely many zeros lie exactly on the predicted line. Infinitely many is not the same as all of them, or even as a fixed fraction of them.
- 1940s. André Weil proved the analogue of the hypothesis for a different family of zeta functions, those attached to curves over finite fields. In 1969 Sergei Stepanov found a far more elementary proof for an important class of curves, which Enrico Bombieri extended to all of them, and in 1974 Pierre Deligne proved the general version in higher dimensions. So the hypothesis was known to be true in a parallel universe where whole numbers are replaced by polynomials. Stepanov’s argument returns later in this post.
- 1942 to 2020. Atle Selberg showed that a positive fraction of the zeros are on the line. Norman Levinson raised that to more than one third in 1974, Brian Conrey to more than two fifths in 1989, and a team of four reached five twelfths in 2020. Forty-six years of work moved the number from 33% to 42%.
- 1950 onwards. Alan Turing used the Manchester Mark 1 to check the first 1,104 zeros, the first time a digital computer was applied to the problem. By 2021 Dave Platt and Tim Trudgian had verified every zero up to a height of about \(3 \times 10^{12}\), roughly 12 trillion of them, and all were on the line.
- 1972. Hugh Montgomery, visiting Princeton, described the statistics of the spacings between zeros to the physicist Freeman Dyson over tea. Dyson recognised them as the statistics of the energy levels of heavy atomic nuclei, modelled by random matrices. Nobody has turned that coincidence into a proof, but it convinced many people that the zeros are the spectrum of something.
- 2000. The Clay Mathematics Institute named the hypothesis one of its seven Millennium Prize Problems, with a prize of \$1 million.
2026
Riemann was born on 17 September 1826, so 2026 is his bicentenary, and the year turned out to be eventful for his problem.
On 13 August, Alpöge and Ralph Furman posted a paper on arXiv proving that at least two thirds of the zeros are on the line, with the note “Proof discovered autonomously by Claude (Anthropic); verified and communicated by the listed authors.” On 6 October, OpenAI released several hundred AI-generated mathematical manuscripts, one of which proved a “quasi-Riemann hypothesis”: that the zeros cannot stray further than a fixed distance from the line.3 Quanta reported on 19 October that experts who had worked through that proof largely agreed it was correct, and quoted Will Sawin of Princeton on the full hypothesis: “It seems most likely to me that once mathematicians have fully internalized the new methods and worked through their implications, we will still feel as far off from the full Riemann hypothesis as we were before. But I am not certain of this.” Thomas Bloom of Manchester added: “At this point nothing would surprise me.”
The full claim arrived 32 days after that article.
The mathematics you need, from the ground up
The building blocks in the next section lean on a handful of ideas from school and first-year university mathematics: powers, logarithms, infinite sums, a little calculus, waves and complex numbers. This section rebuilds each of them from nothing, in the order they will be needed, and says where each one gets used. None of it is specific to the Riemann hypothesis, so skip any part you already know. A table of symbols at the end of the section is there to come back to.
Functions and their zeros
A function is a rule that takes an input and returns exactly one output. The rule \(f(x) = x^2 - 4\) takes the input 3 and returns 5. Plotting the output against the input gives the function’s graph.
A zero of a function is an input whose output is 0. For \(f(x) = x^2 - 4\) the zeros are 2 and \(-2\), because \(2^2 - 4 = 0\). Solving an equation and finding the zeros of a function are the same activity.
Two functions carry this whole post. The first is the prime-counting function \(\pi(x)\), the number of primes up to \(x\). For example \(\pi(10) = 4\), because the primes up to 10 are 2, 3, 5 and 7. The letter \(\pi\) is only a name here and has nothing to do with the circle constant 3.14159. The second is the zeta function \(\zeta(s)\), and the Riemann hypothesis is a statement about where its zeros are.
Powers, including negative and fractional ones
The power \(x^3\) means \(x \cdot x \cdot x\). Multiplying two powers of the same number adds the exponents, so \(x^2 \cdot x^3 = x^5\). Every other kind of power is defined so that this one rule keeps working.
- A zero exponent. \(x^3 \cdot x^0\) has to equal \(x^{3+0} = x^3\), so \(x^0 = 1\).
- Negative exponents. \(x^3 \cdot x^{-3}\) has to equal \(x^0 = 1\), so \(x^{-3} = 1/x^3\). A negative exponent means “one over”. That is why \(1/n^s\) and \(n^{-s}\) are the same thing, and both spellings appear below.
- Fractional exponents. \(x^{1/2} \cdot x^{1/2}\) has to equal \(x^1\), so \(x^{1/2}\) is the square root \(\sqrt{x}\). “An error of size \(\sqrt{x}\)” and “an error of size \(x^{1/2}\)” are the same statement, and \(x^{0.7}\) is a slightly larger power of the same kind.
What matters later is how differently these powers grow.
| \(x\) | \(\ln x\) | \(x^{0.5}\) | \(x^{0.7}\) |
|---|---|---|---|
| 100 | 4.6 | 10 | 25 |
| 10,000 | 9.2 | 100 | 631 |
| 1,000,000 | 13.8 | 1,000 | 15,849 |
| 100,000,000 | 18.4 | 10,000 | 398,107 |
At a hundred the two powers differ by a factor of 2.5. At a hundred million they differ by a factor of 40, and the gap keeps widening. When several powers of \(x\) are added together, the one with the largest exponent eventually swamps the rest. Block 7 depends on exactly this. The second column is explained next.
Logarithms and the number e
A logarithm answers the question “what exponent do I need?”. Since \(10^3 = 1000\), the logarithm of 1000 to base 10 is 3. For a whole number it is roughly the number of digits, so logarithms grow very slowly: making a number ten times larger adds just 1 to its logarithm.
The property that makes logarithms useful is that they turn multiplication into addition. The logarithm of a product is the sum of the logarithms, \(\log(ab) = \log a + \log b\), because multiplying powers adds exponents. Block 6 uses this to turn Euler’s product over the primes into a sum over the primes.
The natural logarithm, written \(\ln\), uses the base \(e = 2.71828\ldots\) in place of 10. The number \(e\) comes from compound growth. Money that earns 100% interest paid once is multiplied by 2. Paid in ten instalments of 10%, it is multiplied by \(1.1^{10} = 2.594\). Paid in a million instalments, it is multiplied by 2.71828. The limit of that process is \(e\): growing continuously at a rate of 100% for one unit of time multiplies you by \(e\), and growing for \(x\) units of time multiplies you by \(e^x\). In symbols, \(e^x\) is what \((1 + x/N)^N\) approaches as \(N\) becomes huge. Keep hold of that formula, because it is what makes sense of imaginary exponents a few sections from now.
The functions \(\ln\) and \(e^x\) undo each other, so \(e^{\ln n} = n\). That lets any power be rewritten with base \(e\):
\[n^s = e^{s \ln n}.\]For an awkward exponent \(s\), this is the definition of \(n^s\). It still makes sense when \(s\) is a complex number, which is how block 3 will read \(n^{-s}\).
The \(\ln x\) column in the table above shows how slowly it grows: 18.4 at a hundred million. Block 1 says that near \(x\) about one number in \(\ln x\) is prime.
Adding up infinitely many numbers
The symbol \(\sum\) means “add up”. The expression
\[\sum_{n=1}^{\infty} \frac{1}{n^2} = 1 + \frac{1}{4} + \frac{1}{9} + \frac{1}{16} + \cdots\]says: take \(1/n^2\) for \(n = 1, 2, 3\) and so on without end, and add them all. To make sense of adding forever, look at the running totals after one term, two terms, three terms. If the running totals close in on a single number, the sum converges and that number is its value. If they do not, the sum diverges.
The friendliest example is \(\tfrac12 + \tfrac14 + \tfrac18 + \cdots = 1\). Each term covers half of the distance still remaining to 1, so the running totals creep up to 1 and never pass it. More generally, for any \(r\) between \(-1\) and 1,
\[1 + r + r^2 + r^3 + \cdots = \frac{1}{1 - r}.\]The reason takes one line. Call the sum \(S\). Multiplying by \(r\) shifts every term one place along, so \(S - rS\) leaves only the first term, 1.
It is tempting to think a sum converges whenever its terms shrink to zero. It does not. The harmonic series \(1 + \tfrac12 + \tfrac13 + \tfrac14 + \cdots\) has shrinking terms and still grows past every number. Group the terms: \(\tfrac13 + \tfrac14\) is more than \(\tfrac12\), the next four terms \(\tfrac15 + \cdots + \tfrac18\) are again more than \(\tfrac12\), and so are the next eight. There are infinitely many such groups, so the total is unbounded. It grows slowly, though. The first million terms add up to only 14.39, which is almost exactly \(\ln(1{,}000{,}000) + 0.577\). That constant, \(0.5772\ldots\), is called Euler’s constant and written \(\gamma\). It appears again later.
Square the denominators and the behaviour changes. The sum of \(1/n^2\) is 1.4236 after four terms and 1.635 after a hundred, and it settles at \(1.6449\ldots\), which Euler showed is \(\pi^2/6\) (the circle constant this time). The general rule is that the sum of \(1/n^s\) converges exactly when \(s > 1\). The harmonic series, \(s = 1\), sits on the borderline. That borderline is why the formula for the zeta function only works for \(s > 1\), and why the point \(s = 1\) turns out to be special.
Signs change everything again. The sum \(1 - \tfrac12 + \tfrac13 - \tfrac14 + \cdots\) has terms of the same sizes as the harmonic series, yet it converges, to \(\ln 2 = 0.693\). After ten terms the running total is 0.6456, after eleven it is 0.7365, and each step is smaller than the one before and in the opposite direction, so the total is trapped in an interval that keeps narrowing. Cancellation can make a sum converge when the sizes of its terms alone would not allow it. Block 4 uses this mechanism to extend the zeta function, and it is also the right way to think about a zero of zeta: an input at which the terms cancel completely.
The symbol \(\prod\) is the same idea with multiplication in place of addition: multiply together all the terms of the pattern shown.
Two ideas from calculus: slope and area
Calculus is needed for just two ideas, and neither requires any technique.
The derivative of a function measures how fast its output changes as the input changes. On a graph it is the slope at a point. If the function gives a car’s distance at each moment, its derivative is the car’s speed. The derivative of \(f\) is written \(f'\). A function that has a derivative everywhere is smooth: its graph has no jumps and no corners.
The integral goes the other way and accumulates. Given the car’s speed at every moment, the integral recovers the distance covered. On a graph it is the area under the curve between two points. The notation
\[\int_a^b f(t)\,dt\]reads as “add up the height \(f(t)\) times a tiny width \(dt\), for \(t\) running from \(a\) to \(b\)”.
Block 1 uses the integral like this. If primes near \(t\) have density \(1/\ln t\), then the expected number of primes up to \(x\) is the accumulated density, the area under the curve \(1/\ln t\). That area is the logarithmic integral \(\operatorname{li}(x)\). From 2 to 100 it comes to 29.08, there are in fact 25 primes below 100, and the cruder estimate \(x/\ln x\) gives 21.7.
Block 6 uses the derivative in one particular combination: \(f'(x)/f(x)\), the rate of change of a function relative to its current size. This ratio has a useful habit: it blows up wherever \(f\) is zero. For \(f(x) = x - 3\) the derivative is 1, so the ratio is \(1/(x - 3)\), which is enormous near \(x = 3\), exactly where \(f\) vanishes. The same happens for any smooth function, and it is how the zeros of zeta will be detected.
Circles, sine, cosine and waves
Mathematicians measure angles in radians: the angle is the distance travelled around a circle of radius 1. A full turn is \(2\pi \approx 6.28\) radians, a half turn is \(\pi\), and a quarter turn is \(\pi/2\).
Take the point on that circle at angle \(\theta\), measured anticlockwise from the positive horizontal axis. Its horizontal coordinate is called \(\cos\theta\) and its vertical coordinate is called \(\sin\theta\). That is the definition of cosine and sine. As \(\theta\) grows the point goes round and round, and each coordinate swings between \(-1\) and 1 forever. Plotted against the angle, each coordinate is a wave.
A wave has two properties. Its amplitude is how high it swings, and its frequency is how rapidly it repeats. In \(A\cos(\omega u)\) the amplitude is \(A\) and the frequency is \(\omega\).
Waves matter because of what happens when they are added. A sum of pure waves with well-chosen amplitudes and frequencies can reproduce almost any shape, including a staircase with sharp steps. Sound works the same way: a chord is a sum of pure tones, and the ear separates it back into them. Block 6 shows that the staircase of the primes is such a sum, with one wave for each zero of zeta.
Complex numbers: numbers on a plane
Squaring any ordinary number gives zero or something positive, so the equation \(x^2 = -1\) has no solution on the number line. Complex numbers start by adding one new number, called \(i\), with the single rule \(i^2 = -1\). A complex number is anything of the form \(a + bi\), where \(a\) and \(b\) are ordinary numbers. The number \(a\) is its real part and \(b\) is its imaginary part. The word “imaginary” is a historical accident. These numbers are as legitimate as negative numbers, which were also once regarded as fictions.
The picture that makes them manageable is to treat \(a + bi\) as the point \(a\) units across and \(b\) units up on a sheet of graph paper. The ordinary numbers are the horizontal axis. This sheet is the complex plane, and every operation has a meaning on it.
- Adding works on the across and up parts separately: \((3 + 2i) + (-1 + i) = 2 + 3i\). On the plane, that is laying one arrow at the tip of the other.
- Size is the length of the arrow from the origin, found by Pythagoras: the size of \(3 + 2i\) is \(\sqrt{3^2 + 2^2} = \sqrt{13} \approx 3.61\).
- The conjugate of \(3 + 2i\) is \(3 - 2i\), its mirror image below the horizontal axis.
- Multiplying means expanding the brackets as usual and replacing \(i^2\) by \(-1\). For example \((3 + 2i) \cdot i = 3i + 2i^2 = -2 + 3i\).
Look at what that last multiplication did. The arrow for \(-2 + 3i\) has the same length as the arrow for \(3 + 2i\) and has been turned a quarter turn anticlockwise. Multiply by \(i\) again and you get \(-3 - 2i\), the exact opposite of where you started. Two quarter turns make a half turn, and a half turn is multiplication by \(-1\). The mysterious rule \(i^2 = -1\) is a statement about rotation.
The general rule is that multiplying two complex numbers multiplies their lengths and adds their angles. Check it on \((2 + i)(1 + i) = 2 + 2i + i + i^2 = 1 + 3i\). The lengths are 2.236 and 1.414, and their product, 3.162, is the length of \(1 + 3i\). The angles are 26.6° and 45°, and their sum, 71.6°, is the angle of \(1 + 3i\). In particular, multiplying by a number of length 1 is a pure rotation.
Euler’s formula: an imaginary exponent is a rotation
One piece is missing: what should \(e\) raised to an imaginary power mean? Use the compound-growth formula from the logarithm section, \(e^x \approx (1 + x/N)^N\) for huge \(N\), and put \(x = i\theta\). The recipe becomes: multiply by \((1 + i\theta/N)\), and do it \(N\) times.
Each of those factors is the number 1 with a tiny step \(\theta/N\) straight up. By the rule just stated, multiplying by it turns an arrow through the tiny angle \(\theta/N\) and changes its length by a negligible amount. Doing it \(N\) times turns the arrow through \(\theta\) in total and leaves its length at 1. So \(e^{i\theta}\) is the point on the circle of radius 1 at angle \(\theta\). In coordinates,
\[e^{i\theta} = \cos\theta + i\sin\theta.\]This is Euler’s formula, and it is the label on the moving point in the circle figure above. A numerical check: a half turn should land on \(-1\). With \(\theta = \pi\) the product \((1 + i\pi/N)^N\) comes to \(-1.593 + 0.156i\) for \(N = 10\), \(-1.0049\) for \(N = 1000\), and \(-1.0000\) for \(N\) equal to a million. So \(e^{i\pi} = -1\).
Now complex powers can be read off. Take a complex exponent \(s = \sigma + it\), with real part \(\sigma\) and imaginary part \(t\). Using \(n^{-s} = e^{-s\ln n}\) and splitting the exponent,
\[n^{-s} = e^{-\sigma \ln n} \cdot e^{-it\ln n} = \underbrace{n^{-\sigma}}_{\text{a length}} \cdot \underbrace{e^{-it\ln n}}_{\text{a rotation}}.\]The real part of the exponent sets a length and the imaginary part sets a direction. For instance \(2^{-2}\) is \(\tfrac14\), an arrow of length \(\tfrac14\) pointing along the positive real axis. Change the exponent to \(2 + 2.266i\), chosen so that \(t \ln 2\) is a quarter turn, and \(2^{-s}\) becomes \(-\tfrac14 i\): the same length, now pointing straight down.
Functions of a complex number
The zeta function takes a complex number in and gives a complex number out. That means there are two planes to keep apart: the plane of inputs \(s\) and the plane of outputs \(\zeta(s)\). An ordinary graph is impossible, because it would need four dimensions. The figures below use three substitutes: a map of the input plane with the special points marked, the same map coloured by the direction of the output at each point, and a path traced by the output as the input moves along a line.
Three words describe such functions.
- A zero is an input whose output is the origin of the output plane. Both coordinates of the output have to vanish at once, which is twice as demanding as for an ordinary function. That is why the zeros of zeta are isolated points and not curves.
- A pole is an input near which the output grows without bound, as \(1/(s - 1)\) does near \(s = 1\).
- A function is analytic if it has a derivative in the complex sense, meaning the slope comes out the same from whichever direction the input is approached. This is a much stronger condition than it sounds, and block 4 depends on how rigid it makes a function.
The language of “roughly”
Statements about primes are almost always approximate, and a few phrases recur.
- Relative and absolute error. At \(x = 10^8\) the smooth estimate of the number of primes is off by 754, out of 5.76 million. The absolute error is 754 and the relative error is 0.013%. The prime number theorem says the relative error shrinks to zero. It says nothing about how fast the absolute error grows, and that is the question the Riemann hypothesis answers.
- “An error of size about \(\sqrt{x}\).” This means there is a fixed number \(C\) such that the error is at most \(C\sqrt{x}\) for every large \(x\), sometimes with an extra factor of \(\ln x\).
- ”\(x^{1/2 + \varepsilon}\) for every \(\varepsilon > 0\).” The letter \(\varepsilon\) (epsilon) stands for a positive number as small as you like. The phrase means “any power above one half, however slightly”, and it is a tidy way of ignoring logarithmic factors.
Symbols used in this post
| Symbol | Said aloud | Meaning |
|---|---|---|
| \(\ln x\) | natural log of x | the power that \(e\) must be raised to in order to give \(x\) |
| \(\sum\), \(\prod\) | sum, product | add up, or multiply together, every term of the pattern shown |
| \(\pi(x)\) | pi of x | the number of primes up to \(x\) |
| \(\operatorname{li}(x)\) | li of x | the area under \(1/\ln t\) up to \(x\), the smooth prediction for \(\pi(x)\) |
| \(\psi(x)\) | psi of x | the primes up to \(x\) counted with weight \(\ln p\), introduced in block 6 |
| \(s = \sigma + it\) | s equals sigma plus i t | the complex input to zeta, with real part \(\sigma\) and imaginary part \(t\) |
| \(\zeta(s)\) | zeta of s | the Riemann zeta function |
| \(\rho = \beta + i\gamma\) | rho | a nontrivial zero of zeta, with real part \(\beta\) and height \(\gamma\) |
| \(\gamma\) on its own | gamma | Euler’s constant \(0.5772\ldots\), unrelated to the height of a zero |
| \(\Gamma(s)\) | capital gamma | the extension of the factorial to complex numbers |
| \(\varepsilon\) | epsilon | a positive number as small as you like |
The building blocks
The hypothesis is a statement about a function, so the first job is to see why a function has anything to say about primes. There are seven blocks, each resting on the one before, and they use only the tools from the previous section.
1. Primes thin out at a predictable rate
Start with Gauss’s observation. Around a large number \(x\), the chance that a number is prime is about \(1/\ln x\). Near one million, \(\ln x \approx 13.8\), so about one number in fourteen should be prime. The thousand numbers after one million contain 75 primes, against a prediction of 72.4.
There is a short argument for why a logarithm appears. A number near \(x\) is prime when no smaller prime divides it. One in two numbers is divisible by 2, one in three by 3, one in five by 5, so if these events were independent the chance of surviving all of them would be the product of \((1 - 1/p)\) over small primes \(p\). That product shrinks in proportion to \(1/\ln x\) as more primes are included. The events are not exactly independent, which is why the argument is a heuristic and not a proof, but it gives the right shape.
Adding up the density, which is the area idea from the calculus refresher, gives the prediction for the count:
\[\pi(x) \approx \operatorname{li}(x) = \int_0^x \frac{dt}{\ln t}, \qquad \text{and more crudely} \qquad \pi(x) \approx \frac{x}{\ln x}.\]The prime number theorem is the statement that the ratio of \(\pi(x)\) to either approximation tends to 1.
The bottom panel poses the real question. The approximation \(\operatorname{li}(x)\) is very good. How good? At \(x = 10^8\) there are 5,761,455 primes and \(\operatorname{li}(x)\) gives 5,762,209.4, an error of 754 in a count of nearly six million. The Riemann hypothesis is the claim that the error always stays this small, and the remaining blocks explain what “this small” means and where it comes from.
2. Euler’s product: a sum over all numbers equals a product over primes
Take a number \(s > 1\) and form the sum
\[\zeta(s) = 1 + \frac{1}{2^s} + \frac{1}{3^s} + \frac{1}{4^s} + \cdots\]Euler’s discovery was that the same quantity can be written using only the primes:
\[\zeta(s) = \prod_{p \text{ prime}} \frac{1}{1 - p^{-s}} = \frac{1}{1 - 2^{-s}} \cdot \frac{1}{1 - 3^{-s}} \cdot \frac{1}{1 - 5^{-s}} \cdots\]The reason is the sieve of Eratosthenes carried out on the sum. Multiply \(\zeta(s)\) by \(1/2^s\) and you get the terms \(1/2^s + 1/4^s + 1/6^s + \cdots\), exactly the terms with even denominators. Subtracting them leaves
\[\left(1 - \frac{1}{2^s}\right)\zeta(s) = 1 + \frac{1}{3^s} + \frac{1}{5^s} + \frac{1}{7^s} + \cdots\]Now do the same with 3 to remove the multiples of 3, then with 5, and so on through the primes. Every number greater than 1 is a multiple of some prime, so it is eventually removed, and it is removed exactly once because every number factors into primes in exactly one way. In the limit only the leading 1 survives:
\[\left(1 - \frac{1}{2^s}\right)\left(1 - \frac{1}{3^s}\right)\left(1 - \frac{1}{5^s}\right)\cdots\,\zeta(s) = 1,\]which rearranges to the product. Unique factorisation is the whole content of the identity. The sum knows nothing about primes, the product knows about nothing else, and they are equal.
A numerical check: Euler had earlier shown that \(\zeta(2) = \pi^2/6 = 1.644934\ldots\) The sum of \(1/n^2\) over the first hundred numbers is 1.634984. The product over the 25 primes below 100 gives 1.641945, which is closer, using a quarter as many terms.
The product gives information straight away. At \(s = 1\) the sum is the harmonic series \(1 + \tfrac12 + \tfrac13 + \cdots\), which grows without bound. A product of finitely many factors could not do that, so there are infinitely many primes. This was the first proof of a fact about primes using calculus, and it set the direction for everything after: to learn about primes, study \(\zeta\).
3. Letting the exponent be a complex number
Riemann’s step was to let \(s\) be complex, \(s = \sigma + it\), where \(\sigma\) is the real part, \(t\) the imaginary part, and \(i^2 = -1\). It is fair to ask what \(n^{-s}\) means then. The refresher on Euler’s formula worked it out:
\[n^{-s} = n^{-\sigma} \cdot e^{-it \ln n}.\]The first factor is an ordinary positive number, the length of an arrow. The second is a pure rotation: it turns the arrow through an angle of \(t \ln n\) without changing its length. So each term of the sum is an arrow in the plane, with a length set by \(\sigma\) and a direction set by \(t\), and \(\zeta(s)\) is where you end up after laying all the arrows head to tail.
The lengths are \(1/n^{\sigma}\), and those add up to a finite total exactly when \(\sigma > 1\). So the sum defines \(\zeta(s)\) on the half of the complex plane to the right of the vertical line \(\sigma = 1\), and Euler’s product holds there too.
The imaginary part is what makes the function useful. The rotation angle \(t \ln n\) depends on the logarithm of \(n\), so changing \(t\) is like tuning a dial that makes numbers of different sizes interfere with each other. Complex values of \(s\) let the function carry frequency information about how primes are spaced, and block 6 shows that information being read back out.
4. Analytic continuation: one function beyond the reach of its formula
Every interesting zero of zeta lies to the left of \(\sigma = 1\), where the sum does not converge. The function still exists there, by a process called analytic continuation.
The simplest example of the idea is the geometric series. The sum \(1 + x + x^2 + x^3 + \cdots\) only makes sense for \(\lvert x \rvert < 1\), where it equals \(1/(1 - x)\). But \(1/(1-x)\) is a perfectly good function everywhere except \(x = 1\). The series is a partial description of the function, valid in one region, and the closed form is the full description.
Functions of a complex variable that have a derivative, called analytic functions, are rigid in a way that makes this unambiguous. If two analytic functions agree on any small patch of the plane, they agree everywhere both are defined. So if there is any analytic function that matches the zeta sum on \(\sigma > 1\) and is defined on a larger region, there is only one, and it is fair to call it \(\zeta\) there. Grant Sanderson’s 3Blue1Brown video on visualising the zeta function shows this rigidity geometrically, and I know of no better short introduction to the subject.
For zeta the first step of the continuation can be done by hand. Subtract twice the even terms from the sum:
\[\left(1 - 2^{1-s}\right)\zeta(s) = 1 - \frac{1}{2^s} + \frac{1}{3^s} - \frac{1}{4^s} + \cdots\]The right-hand side has alternating signs, and the cancellation between neighbouring terms makes it converge for every \(\sigma > 0\). Dividing by \((1 - 2^{1-s})\) therefore defines \(\zeta(s)\) on the whole right half-plane, apart from \(s = 1\), where the function blows up.4 That single point of blow-up, called a pole, is the harmonic series again.
To get the rest of the plane, Riemann proved the functional equation, an exact relation between the value at \(s\) and the value at \(1 - s\):
\[\zeta(s) = 2^s \pi^{s-1} \sin\!\left(\frac{\pi s}{2}\right) \Gamma(1 - s)\, \zeta(1 - s).\]Here \(\Gamma\) is the gamma function, the standard extension of the factorial to complex numbers. The other factors on the right are explicit, so knowing \(\zeta\) on the right half of the plane gives it on the left half. The map \(s \mapsto 1 - s\) is a reflection through the point \(\tfrac12\), which is the first sign that the vertical line \(\sigma = \tfrac12\) is special.
The continued function takes values that look absurd if read as sums. The program at the end of this post computes \(\zeta(-1) = -0.0833333333\), which is \(-1/12\). That is the origin of the claim that \(1 + 2 + 3 + \cdots = -1/12\). The sum does not equal that. The function whose formula was that sum, in the region where the formula worked, takes that value somewhere else.
5. Where the zeros are
A zero of zeta is a point \(s\) where \(\zeta(s) = 0\). The pieces already in hand say a good deal about where zeros can be.
To the right of \(\sigma = 1\) there are none. Euler’s product is a convergent product of factors, none of which is zero, and such a product cannot be zero.
To the left of \(\sigma = 0\) the functional equation takes over. The factor \(\sin(\pi s/2)\) vanishes at every even integer, and at the negative ones nothing cancels it, so \(\zeta(-2) = \zeta(-4) = \zeta(-6) = \cdots = 0\). These are the trivial zeros. They are fully understood and there are no others in that region.
Every remaining zero must therefore lie in the band \(0 \le \sigma \le 1\), called the critical strip. These are the nontrivial zeros, and there are infinitely many of them. Two symmetries organise them. Zeros come in conjugate pairs above and below the real axis, and the functional equation pairs each zero \(\rho\) with a partner \(1 - \rho\) reflected across the middle of the strip. The middle is the critical line \(\sigma = \tfrac12\), the only place where a zero is its own mirror image.
The Riemann hypothesis. Every nontrivial zero of \(\zeta\) lies on the critical line: its real part is exactly \(\tfrac12\).
How does anyone locate a zero, let alone verify that it sits exactly on a line? Two facts make it possible, and they explain how 12 trillion zeros could be checked.
The first is that on the critical line, zeta can be converted into a real-valued function. The functional equation implies that after multiplying \(\zeta(\tfrac12 + it)\) by an explicit rotation \(e^{i\theta(t)}\), the result \(Z(t)\) is a real number for every \(t\), with the same size as \(\zeta\). A real function that goes from positive to negative must pass through zero in between. So a zero on the line can be certified by evaluating \(Z\) at two points and seeing opposite signs. No infinite precision is needed.
The second is that the total number of zeros in the strip up to any height \(T\), on the line or off it, can be counted separately by a formula from complex analysis. If the number of sign changes found on the line equals the total, there is no zero left over to be anywhere else.
The program at the end of this post does exactly this. It finds 100 sign changes of \(Z(t)\) below height 237.2, and the main term of the counting formula evaluates to 100.2 at that height, which is consistent with exactly 100 zeros in the whole strip. None is missing from the line. Turing did the same for 1,104 zeros in 1950, and Platt and Trudgian for about 12 trillion.
6. From zeros back to primes: the explicit formula
This is the block that makes the zeros matter. Riemann’s formula for the primes is cleanest when primes are counted with weights. Define \(\psi(x)\) as the sum of \(\ln p\) over every prime power \(p^k \le x\). Because primes near \(x\) have density \(1/\ln x\) and each is counted with weight about \(\ln x\), the prime number theorem says simply that \(\psi(x) \approx x\).
The exact formula is
\[\psi(x) = x \;-\; \sum_{\rho} \frac{x^{\rho}}{\rho} \;-\; \ln 2\pi \;-\; \tfrac12 \ln\!\left(1 - x^{-2}\right),\]where the sum runs over the nontrivial zeros \(\rho\).5 The left side is a staircase that jumps at every prime power. The right side is built entirely from the zeros of a smooth function.
Here is where it comes from. Take the logarithm of Euler’s product, which turns the product over primes into a sum over primes, then differentiate. The result is a function, \(-\zeta'(s)/\zeta(s)\), whose expansion has exactly the weights \(\ln p\) at the prime powers. It is a generating function for \(\psi\). Now use the fact from the calculus refresher: the ratio \(f'/f\) blows up precisely at the zeros and poles of \(f\). So \(-\zeta'/\zeta\) has a pole at \(s = 1\), where \(\zeta\) has its pole, and at every zero of \(\zeta\). A standard technique for recovering a count from its generating function converts each pole at a point \(\rho\) into a term \(x^{\rho}/\rho\). The pole at 1 gives the main term \(x\). The nontrivial zeros give the sum. The trivial zeros give the last, tiny term.
To see what one zero contributes, write \(\rho = \beta + i\gamma\). Then
\[x^{\rho} = x^{\beta} \cdot e^{i \gamma \ln x},\]which is the arrow picture from block 3 again: a size \(x^{\beta}\) and a rotation with angle \(\gamma \ln x\). Adding the contribution of the conjugate zero leaves a real cosine wave. So each pair of zeros contributes one wave to the prime staircase. The height \(\gamma\) of the zero is the wave’s frequency, measured against \(\ln x\). The real part \(\beta\) controls its size, \(x^{\beta}\).
The zeros are sometimes called the music of the primes, and the figure shows why the phrase is more than decoration. The staircase is a signal, the zeros are its frequencies, and the explicit formula is the transform between them. Knowing all the zeros is the same as knowing all the primes.
7. Why the real part has to be exactly one half
The explicit formula says that the error in the prime number theorem, \(\psi(x) - x\), is a sum of waves, and the wave from a zero with real part \(\beta\) has size \(x^{\beta}\). For large \(x\) the biggest exponent wins. So the size of the error is governed by the zero furthest to the right.
Now recall the mirror symmetry: if \(\beta + i\gamma\) is a zero, so is \((1 - \beta) + i\gamma\). A zero to the left of the line at \(\beta = 0.3\) forces a partner to the right at \(0.7\). The larger of \(\beta\) and \(1 - \beta\) is always at least \(\tfrac12\), and equals \(\tfrac12\) only when the zero is on the line. So:
- The error can never be smaller than about \(x^{1/2}\). That floor is unavoidable, because the zeros on the line that Hardy found already contribute waves of that size.
- The error is as small as \(x^{1/2}\), up to logarithms, exactly when no zero lies off the line.
That is the Riemann hypothesis restated with no complex numbers. Helge von Koch proved the equivalence in 1901, and Lowell Schoenfeld made it explicit in 1976: if the hypothesis is true, then
\[\lvert \pi(x) - \operatorname{li}(x) \rvert < \frac{\sqrt{x}\,\ln x}{8\pi} \qquad \text{for all } x \ge 2657.\]Conversely, a single zero with real part 0.7 would produce swings of size \(x^{0.7}\) in the count of primes that recur forever.
| \(x\) | primes below \(x\) | \(\operatorname{li}(x)\) | actual error | allowed by RH |
|---|---|---|---|---|
| \(10^4\) | 1,229 | 1,246.1 | 17.1 | 36.6 |
| \(10^6\) | 78,498 | 78,627.5 | 129.5 | 549.7 |
| \(10^8\) | 5,761,455 | 5,762,209.4 | 754.4 | 7,329.4 |
There is a useful way to read square-root error. Toss a fair coin \(N\) times, and the number of heads typically differs from \(N/2\) by about \(\sqrt{N}\). Square-root fluctuation is the signature of independent random events. The Riemann hypothesis says the primes fluctuate around their expected count no more than coin tosses would. They are completely determined, yet statistically they behave as if each number decided independently whether to be prime, with probability \(1/\ln x\). Any zero off the line would be a hidden conspiracy among the primes: a large-scale pattern, visible at every size, that randomness would not produce.
What the hypothesis is useful for
The sharpest possible count of primes
The first use is the one just described. With the hypothesis, \(\operatorname{li}(x)\) gets roughly the top half of the digits of \(\pi(x)\) right, for every \(x\), with an explicit guarantee. Related guarantees follow. Harald Cramér showed in 1920 that under the hypothesis the gap between a prime \(p\) and the next is never more than about \(\sqrt{p}\,\ln p\), so there is always a prime in every such window.
Elementary statements that turn out to be equivalent
The hypothesis is equivalent to several statements that a secondary-school student can understand and check by hand. The best known is due to Guy Robin in 1984. Let \(\sigma(n)\) be the sum of the divisors of \(n\), so \(\sigma(6) = 1 + 2 + 3 + 6 = 12\). Robin proved that the Riemann hypothesis is true if and only if
\[\sigma(n) < e^{\gamma}\, n \ln \ln n \qquad \text{for every } n > 5040,\]where \(\gamma = 0.5772\ldots\) is Euler’s constant. The number 5040 fails the inequality: its divisors add up to 19,344, while the right-hand side is 19,237.1. Robin’s theorem says the hypothesis is equivalent to 5040 being the last number that fails. At 10,080, for instance, the divisor sum is 39,312 against a bound of 39,877.5.
This matters for the November proof in a concrete way. Andrew Sutherland of MIT combined the new Lean proof with an independent formalisation of Robin’s theorem and obtained a machine-checked proof of the inequality above, as a statement about whole numbers and divisors with no mention of the zeta function.6 If someone doubts that the formal definition of \(\zeta\) in Lean’s library is the right one, this version of the result does not depend on it.
The generalized hypothesis and primes in progressions
Zeta is the simplest member of a large family. A Dirichlet character is a repeating pattern of numbers that respects multiplication. The simplest non-trivial example has period 4: it assigns \(+1\) to numbers that leave remainder 1 when divided by 4, \(-1\) to those that leave remainder 3, and 0 to even numbers. Putting those values on top of the zeta sum gives a Dirichlet L-function:
\[L(s, \chi) = 1 - \frac{1}{3^s} + \frac{1}{5^s} - \frac{1}{7^s} + \cdots\]Each L-function has its own Euler product and its own zeros, and where zeta counts all primes, these count primes by remainder: how many primes are 1 more than a multiple of 4, how many are 3 more. The generalized Riemann hypothesis (GRH) says that for every Dirichlet character, all the zeros in the critical strip lie on the line \(\sigma = \tfrac12\). It implies that primes are shared out evenly among the possible remainders, again with square-root error.
GRH is the version that algorithms rely on. Three examples:
- Primality testing. Gary Miller showed in 1976 that under GRH there is a fast deterministic test for whether a number \(n\) is prime. Eric Bach later sharpened it: it suffices to run a simple check for every base up to \(2 (\ln n)^2\). The version used in practice, Miller–Rabin, picks bases at random because that guarantee was unproven.7
- Small witnesses. Many algorithms need a number with a particular property modulo a prime \(p\), such as a non-square. GRH guarantees one exists below \(2(\ln p)^2\), so a search that tries 2, 3, 4, … in turn is certain to finish quickly.
- Conditional theorems. A large literature proves results “assuming GRH”. Sometimes the assumption is later removed with great effort. That every odd number above 5 is a sum of three primes was proved under GRH in 1997 and unconditionally by Harald Helfgott in 2013.
The generalized hypothesis comes in widths. Dirichlet L-functions are the first layer. Beyond them are the zeta functions of number fields and the L-functions of automorphic forms, each with its own version of the hypothesis. Some well-known conditional results need those wider versions: Christopher Hooley’s 1967 proof of Artin’s conjecture on primitive roots uses the hypothesis for number fields. This distinction matters below, because the November proof covers the first layer only.
A common misconception. A proof of the Riemann hypothesis does not break encryption. Cryptographic systems such as RSA depend on factoring large numbers being slow. The hypothesis describes how primes are distributed, was already assumed true by nearly everyone, and gives no method for factoring.
The proof announced in November 2026
What was released
Three things appeared on 20 November.
The first is the note, four pages long. It makes the claim, says that “the method easily extends much further, resolving the so-called Generalized Riemann Hypothesis”, and gives a twenty-step timeline of the discovery running from 6 October to 16 November 2026.
The second is an archive in fourteen parts containing the proof in Lean 4. Lean is a proof assistantGlossaryProof AssistantSoftware in which mathematical definitions, statements and proofs are written in a formal language so that a small trusted program can check mechanically that every step follows from the ones before.: a programming language in which definitions, theorems and proofs are written precisely enough that a small trusted program, the kernel, can check that each step follows from the previous ones. Mathlib is the community-maintained library of mathematics written in Lean. Alpöge’s proof depends directly only on Mathlib and consists of 175,187 files and about 17 million lines.
The third is an absence. There is no paper. Alpöge explains that producing a prose version automatically is routine, and that his own attempt ran to more than 250,000 pages:
This puts us in the rather extraordinary situation this age has made possible, in which I am presenting the world with a complete argument before having mastered a massive neighbourhood around its mathematics. It being obviously inappropriate to attempt to post some massive unreadable travesty of “slop”, I decided to only present Lean.
What has been checked
The archive proves five theorems. The first is the Riemann hypothesis, stated using the definition that was already in Mathlib:
def RiemannHypothesis : Prop :=
∀ (s : ℂ) (_ : riemannZeta s = 0)
(_ : ¬∃ n : ℕ, s = -2 * (n + 1)) (_ : s ≠ 1),
s.re = 1 / 2
theorem riemannHypothesis : RiemannHypothesis
Line breaks are added here to fit the page. In words: for every complex number \(s\), if \(\zeta(s) = 0\), and \(s\) is not one of \(-2, -4, -6, \ldots\), and \(s \ne 1\), then the real part of \(s\) is \(\tfrac12\).8 The second theorem is the same statement written out differently. The remaining three are forms of GRH for Dirichlet L-functions, of which the standard one reads:
theorem LFunction_eq_zero_re_of_isPrimitive :
∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N), χ.IsPrimitive →
∀ s : ℂ, 0 < s.re → s.re < 1 →
DirichletCharacter.LFunction χ s = 0 → s.re = 1 / 2
On 21 November the Lean and Mathlib communities issued a joint statement, endorsed by the Lean Focused Research Organization and the Mathlib Initiative: “We have full confidence that Alpöge’s proof of the Riemann Hypothesis is correct, and we congratulate him on this achievement.” The statement gives four reasons, and Sutherland’s verification page records the details behind them.
- The statement is the right one. The definition above was in Mathlib before the proof and had been vetted by people who know both Lean and number theory.
- The library compiles. Dozens of people built all 175,187 files and obtained byte-identical output. A rebuild in a sandbox with no network access reproduced the published 61.6 GB proof export exactly.
- The proof proves that statement. The community wrote a separate file containing only the five statements, importing nothing but Mathlib, and used two independent tools to confirm that the theorems in the archive are those statements and not subtly different ones.
- The proof is valid. The exported proof was checked by Lean’s own kernel and by several independently written checkers in other programming languages. Two of them come with a formal proof, relative to set theory, that they cannot accept a false proof.9
The five theorems depend on only the three axioms that all of Lean’s standard mathematics uses. Michael Rubinstein of the University of Waterloo ran the checks independently and got the same result.
The scope is stated precisely on Sutherland’s page: “‘GRH’ here means Dirichlet L-functions: all moduli and all characters. Dedekind zeta functions, Hecke L-functions and automorphic L-functions in general are not among the statements that were checked.” Alpöge writes that he expects the method to reach the next layer “with more time”.
What a machine check does and does not establish
A formal proof can fail in two different ways, and they need different kinds of checking.
The proof layer is whether each step follows from the last. This is what the kernel checks, and it is the part that machines do better than people. A referee reading a long paper may miss a gap on page 300. A kernel does not get tired. The remaining risk is a bug in the kernel itself, which is why agreement between independently written checkers matters, and why the proof was checked from an inert exported file that cannot run code.
The statement layer is whether the theorem that was proved is the theorem everyone means. A flawless proof of a mis-stated definition proves nothing of interest. This layer cannot be delegated to a machine. In this case the definition is short, predates the proof, and has been read by many experts, and the divisor-sum inequality from the previous section gives a second route that avoids the definition of zeta altogether.
What a machine check does not provide is understanding. It establishes that the hypothesis is true. It does not tell a mathematician why, or which ideas could be reused elsewhere. That work is under way.
The idea of the proof, as far as it is understood
The most useful public account at the time of writing is a 164-page working guide posted by Rubinstein on 21 November, covering the case of the zeta function.10 Its own summary is that it “deduces the Riemann hypothesis from one inequality between weighted sums over primes, called (M), and two estimates for Dirichlet characters”. It proves the two estimates from the existing literature. The inequality (M), which it calls “the arithmetic heart of the matter”, is not proved in the guide: “its proof is taken from the Lean development”. What follows is a summary of the guide’s five-step outline, with the examples recomputed by this post’s program.
Step 1: turn the hypothesis into an upper bound on a sum over primes. Instead of \(\psi(x)\), the proof uses a smoothed version in which a prime power \(n\) is weighted by a ramp that falls to zero at \(x\):
\[G(x) = \sum_{n \le x} \Lambda(n)\left(\frac{x}{n} - 1\right) \;-\; x \ln x \;+\; (1 + \gamma)\,x,\]where \(\Lambda(n)\) is \(\ln p\) when \(n\) is a power of the prime \(p\) and zero otherwise. The subtracted terms remove the main part, so \(G\) is a remainder, and it has its own explicit formula in which a zero with real part \(\beta\) again contributes a term of size \(x^{\beta}\). If the hypothesis holds, \(G(x)\) stays within \(0.0462\sqrt{x}\) of the constant \(\ln 2\pi = 1.838\). In the other direction, a classical theorem of Edmund Landau shows that an upper bound alone is enough: if \(G(x) \le x^{1/2 + \varepsilon}\) for every small \(\varepsilon > 0\), on suitable long ranges of \(x\), then no zero lies to the right of the line, and by the mirror symmetry none lies to the left. Computing \(G\) from the primes gives \(G(10^6) = 11.040\) and \(G(10^7) = 27.864\), well inside the allowed 46.2 and 146.1.
Step 2: bound primes by comparing divisibility with size. This idea is from Pafnuty Chebyshev in the 1850s. Consider the binomial coefficient \(\binom{20}{10} = 184{,}756\). Every prime between 10 and 20 divides it, because each appears in the numerator \(20!\) and not in the denominator. So the product \(11 \cdot 13 \cdot 17 \cdot 19 = 46{,}189\) divides it, and indeed the quotient is 4. But the coefficient is also at most \(4^{10}\). Two facts about one whole number, what divides it and how big it is, give an upper bound on a product of primes. In general, if a nonzero whole number is divisible by many primes to high powers, it must be large, so knowing its size limits the primes. The bound always points the same way, from above, which is the direction step 1 needs.
Chebyshev’s method stalls because of rounding. The power of \(p\) dividing \(n!\) is a sum of terms \(\lfloor n/p^k \rfloor\), and the rounding down discards exactly the information that distinguishes the prime number theorem from a rough estimate.
Step 3: find an object whose divisibility has no rounding. The guide’s illustration is the lemniscate sine, a classical relative of the sine function attached to the curve \(y^2 = 1 - x^4\). Its \(n\)-th derivative at zero is a whole number \(A_n\). For example
\[A_{17} = 21{,}224{,}560{,}896 = 2^8 \cdot 3^6 \cdot 7^2 \cdot 11 \cdot 211.\]The primes 3, 7 and 11 divide these numbers to powers that grow smoothly with \(n\): the exponent of \(p\) is close to \(n\,p/(p^2 - 1)\), with no floor function. The program at the end of this post finds exponents of 3 equal to 6, 19 and 37 at \(n = 17, 49, 101\), against predictions of 6.4, 18.4 and 37.9. The primes 5 and 13 divide none of the three. The difference is that 3, 7 and 11 remain prime in the Gaussian integers, the number system \(a + bi\) that is the symmetry of this curve, while 5 and 13 factor there.
So differentiating a function with the right arithmetic symmetry manufactures divisibility, smoothly, at half of the primes. This toy example has defects that the real proof must repair: the numbers are too large for their divisibility to be informative, only some primes take part, and small rounding errors remain.
Step 4: replace numbers by maps between lattices. In the proof itself the lemniscate sine becomes a theta series, a sum over the points of a lattice, and the single number \(A_n\) becomes a linear map between lattices, called a theta lift, between spaces attached to unitary groups. “Divisibility” becomes the index of one lattice in another, “size” becomes the norm of the map, and the size can be computed to the precision required using classical formulas. The comparison of the two is the inequality (M). Terence Tao’s first reading was that the argument “appears to use the full power of modern developments on the Langlands program and arithmetic geometry”, and this step is where that machinery enters.
Step 5: chain many lifts and balance the errors. One lift is not enough. Composing \(m\) of them collects the gain from divisibility \(m\) times. According to the guide, two errors compete: one of size \(x/m\), from quantities measured once at the two ends of the chain, and one of size \(m\), accumulated over the steps. Their sum is smallest when \(m = \sqrt{x}\), and its value there is \(2\sqrt{x}\). That is where the exponent \(\tfrac12\) comes from.
Alpöge singles out this choice as the moment that would “make fellow mathematicians fall out of their chairs”:
In Stepanov’s argument resolving Riemann over function fields one uses a divisor involving multiplicity. This argument is a descendant of Stepanov’s, but multiplicity is hard to find over the integers, corresponding to something like differentiating whole numbers. […] The line: for the von Mangoldt sum of length X, Claude’s suggested length of chain of theta lifts, in view of each mimicking multiplicity, was √X. (And yet, what else could it be?)
The reference to Stepanov ties the proof back to the history. Stepanov’s 1969 proof for curves over finite fields builds an auxiliary function that vanishes to high order, with multiplicity, at every point being counted, and then observes that a function of limited degree cannot have too many zeros. Multiplicity comes from differentiating, and polynomials can be differentiated. Whole numbers cannot, which is one reason the method had never been carried over. In the new proof each theta lift plays the part of one order of vanishing, and a chain of \(\sqrt{x}\) of them supplies the multiplicity. The note’s timeline records an intermediate stage at which “one would stop at 2/3 a priori”, which matches the dashed curve in the figure.
All of this is a sketch of a sketch. The guide itself is explicit that the proof of (M) “is where almost all of the formal development goes”, and nobody has yet written that part in a form a number theorist can read through.
How Claude was involved
The note is the only first-hand account so far, and it describes a collaboration with a clear division of labour. Alpöge had studied the problem since his student days and chose the direction: “I guided us to the right situation analogous to that toy setting, and then Claude began to leave me in awe.” The idea of combining two approaches from a simpler setting was his. Much of the technical execution was not: “this time Claude far outpaced me near the finish line”, and of the higher-rank automorphic forms at the centre of the argument he writes that he personally has “little mastery”. The note does not say which version of Claude was used, and Tao’s summary describes it as “an internal AI model”.
The timeline is striking for its compression. It starts on 6 October, the day of OpenAI’s release, and Alpöge credits one of OpenAI’s results as a prompt: he “immediately recognized it as Stepanov without multiplicity”. Eight of the twenty steps carry the date 15 November, a Sunday, and the last entry reads “11/16/26: GRH”. The Lean archive was public four days later.
Two cautions belong here. The account is one person’s, written quickly, and he says that parts of his own timeline paraphrase a machine-written summary that “might make zero sense”. And the announcement came in the same week as Anthropic’s stock market listing, a coincidence the note addresses directly (“The precise timing is horrible”) and which commentators have noted. Neither point bears on whether the proof is correct. The kernel checks do.
What is still open
- A readable proof. Alpöge writes: “I intend to do my best to understand and impart understanding of this argument and its certain simplifications, to speak about it, to write it properly.” He also expects it to shrink: “My intuition insists it will be massively simplified, likely immediately.”
- The wider hypotheses. Number fields and automorphic L-functions are not covered by the checked theorems.
- Peer review and the prize. The Clay Institute’s rules require publication in a refereed outlet, a waiting period of at least two years, and general acceptance by the mathematical community. A Lean archive on a personal website meets none of those conditions yet.
- A second, human proof. Nature reported that within hours of the announcement Ravi Vakil of Stanford posted a draft by Alessandro Maria Masullo claiming a proof of GRH by traditional means with no AI involvement, and that readers soon reported problems which Vakil said must be resolved before it can be accepted.11 If it survives, comparing the two arguments will be instructive.
- Whether a proof nobody has read counts as knowledge. Peter Sarnak said of the October result that he would not regard it as “a Theorem” until humans had checked and understood the details. The 3Blue1Brown video in which mathematicians discuss what it would mean for AI to solve the Riemann hypothesis is worth watching now that the question is no longer hypothetical.
What changes
For number theory the practical change is that a great many theorems lose their first line. Results that begin “assume the Riemann hypothesis” or “assume GRH for Dirichlet L-functions” become unconditional once the proof is accepted, including the deterministic primality test and the guarantees on small witnesses described above. Results that need the wider hypotheses stay conditional for now.
The larger change is in the order of events. For as long as mathematics has existed, a proof was accepted because people understood it. Here the certainty came first. The Lean community’s statement ends with the sentence “We look forward to all the activity in the mathematical community that will help explain the new ideas in this proof”, which treats explanation as a separate project that starts after verification. Formal checking was what made that possible: a 17-million-line argument produced with an AI model could be falsified by anyone with a large enough computer, and within two days it had survived every attempt.
I think the understanding will come, and I think it is the part that matters. Riemann’s paper mattered less for its conjecture than for the idea that the primes are a signal whose frequencies are the zeros of a function. A proof of his conjecture should eventually teach something of that kind: a reason why whole numbers admit something like a derivative, and why chaining \(\sqrt{x}\) of them is the right number. Riemann set the question aside in 1859 as not needed for his immediate purpose. The answer arrived in the year of his two-hundredth birthday, and the work of understanding it is just starting.
Reproduce the numbers
The figures and every computed number in this post come from one program. The core of it, with no dependencies beyond NumPy, is in the foldable block below.
Zeta, its zeros, and the primes rebuilt from them in about 140 lines of Python (click to expand)
Try raising the height in zeta_zeros to find more zeros (increase N in zeta to stay above the height), or evaluate zeta anywhere in the plane.
import math
import numpy as np
EULER_GAMMA = 0.5772156649015329
BERNOULLI = [1 / 6, -1 / 30, 1 / 42, -1 / 30, 5 / 66, -691 / 2730, 7 / 6,
-3617 / 510]
def primes_upto(n):
"""All primes <= n, by the sieve of Eratosthenes."""
sieve = np.ones(n + 1, dtype=bool)
sieve[:2] = False
for p in range(2, int(n ** 0.5) + 1):
if sieve[p]:
sieve[p * p::p] = False
return np.flatnonzero(sieve)
def li(x):
"""Logarithmic integral li(x) for x > 1: gamma + ln ln x + sum u^k/(k k!)."""
u = np.log(np.asarray(x, dtype=float))
total = EULER_GAMMA + np.log(u)
term = np.ones_like(u)
for k in range(1, 200):
term = term * u / k
total = total + term / k
return total
def zeta(s, N=300):
"""Riemann zeta for any complex s != 1, by Euler-Maclaurin summation.
Sum the first N - 1 terms directly, then add the integral of the tail and
the Bernoulli-number corrections. The corrections are what continue the
function to the left of Re(s) = 1. Good to about 1e-10 for |Im s| < N.
"""
s = np.asarray(s, dtype=complex)
flat = s.reshape(-1)
n = np.arange(1, N)[:, None]
total = np.sum(n ** (-flat[None, :]), axis=0)
total = total + N ** (1 - flat) / (flat - 1) + 0.5 * N ** (-flat)
rising = flat.copy() # s (s+1) ... (s+2k-2)
factorial = 2.0 # (2k)!
for k, b in enumerate(BERNOULLI, start=1):
total = total + b / factorial * rising * N ** (-flat - 2 * k + 1)
rising = rising * (flat + 2 * k - 1) * (flat + 2 * k)
factorial = factorial * (2 * k + 1) * (2 * k + 2)
return total.reshape(s.shape)
def loggamma(z):
"""log Gamma(z) for Re z > 0: shift the argument up by 12, then Stirling."""
z = np.asarray(z, dtype=complex)
shift = np.zeros_like(z)
for k in range(12):
shift = shift + np.log(z + k)
w = z + 12
stirling = ((w - 0.5) * np.log(w) - w + 0.5 * np.log(2 * np.pi)
+ 1 / (12 * w) - 1 / (360 * w ** 3) + 1 / (1260 * w ** 5))
return stirling - shift
def theta(t):
"""Riemann-Siegel theta: the phase that makes zeta real on the line."""
t = np.asarray(t, dtype=float)
return np.imag(loggamma(0.25 + 0.5j * t)) - 0.5 * t * np.log(np.pi)
def hardy_z(t):
"""Hardy's Z(t) = exp(i theta(t)) zeta(1/2 + it). Real, with |Z| = |zeta|."""
t = np.asarray(t, dtype=float)
return np.real(np.exp(1j * theta(t)) * zeta(0.5 + 1j * t))
def zeta_zeros(t_max, step=0.05):
"""Heights of the zeros on the critical line below t_max.
Z(t) is real, so a zero on the line is a sign change: bracket, then bisect.
"""
grid = np.arange(1.0, t_max, step)
values = hardy_z(grid)
zeros = []
for i in np.flatnonzero(np.sign(values[:-1]) != np.sign(values[1:])):
a, b, fa = grid[i], grid[i + 1], values[i]
for _ in range(50):
mid = 0.5 * (a + b)
fm = float(hardy_z(mid))
if np.sign(fm) == np.sign(fa):
a, fa = mid, fm
else:
b = mid
zeros.append(0.5 * (a + b))
return np.array(zeros)
def prime_powers(primes, limit):
"""Prime powers n = p^k <= limit in increasing order, with weights ln p."""
ns, weights = [], []
for p in primes:
if p > limit:
break
q = int(p)
while q <= limit:
ns.append(q)
weights.append(math.log(p))
q *= int(p)
order = np.argsort(ns)
return np.array(ns)[order], np.array(weights)[order]
def chebyshev_psi(x, pp_n, pp_w):
"""psi(x): the sum of ln p over prime powers p^k <= x."""
cumulative = np.concatenate([[0.0], np.cumsum(pp_w)])
return cumulative[np.searchsorted(pp_n, x, side="right")]
def psi_from_zeros(x, zeros):
"""The explicit formula for psi(x), truncated to the given zeros."""
x = np.asarray(x, dtype=float)
rho = 0.5 + 1j * zeros[:, None]
waves = np.sum(2 * np.real(x[None, :] ** rho / rho), axis=0)
return x - waves - np.log(2 * np.pi) - 0.5 * np.log(1 - x ** -2.0)
print("zeta(2) =", f"{zeta(2).real:.10f}", " pi^2/6 =", f"{np.pi**2/6:.10f}")
print("zeta(-1) =", f"{zeta(-1).real:.10f}", " (-1/12 = -0.0833333333)")
print("zeta(-2) =", f"{abs(zeta(-2)):.1e}", " (a trivial zero)")
zeros = zeta_zeros(237.2)
print("first five zeros:", np.round(zeros[:5], 6))
print("zeros found below 237.2:", len(zeros))
print("count predicted by theta(T)/pi + 1:", f"{theta(237.2)/np.pi + 1:.3f}")
primes = primes_upto(100)
pp_n, pp_w = prime_powers(primes, 100)
x = np.array([20.5, 50.5, 90.5])
print("psi(x), exact: ", np.round(chebyshev_psi(x, pp_n, pp_w), 3))
for count in (1, 10, 100):
print(f"from {count:3d} zero pairs: ",
np.round(psi_from_zeros(x, zeros[:count]), 3))
# Output:
# zeta(2) = 1.6449340668 pi^2/6 = 1.6449340668
# zeta(-1) = -0.0833333333 (-1/12 = -0.0833333333)
# zeta(-2) = 0.0e+00 (a trivial zero)
# first five zeros: [14.134725 21.02204 25.010858 30.424876 32.935062]
# zeros found below 237.2: 100
# count predicted by theta(T)/pi + 1: 100.200
# psi(x), exact: [19.266 49.485 89.471]
# from 1 zero pairs: [19.272 49.547 87.621]
# from 10 zero pairs: [19.656 49.473 88.195]
# from 100 zero pairs: [19.221 49.525 89.698]Sources & further reading
The 2026 proof
- Levent Alpöge’s note (20 November 2026) — the announcement, four pages: the claim, the Stepanov and theta-lift remark, the acknowledgements, and the twenty-step timeline. All quotations from Alpöge in this post are from it.
- Lean verification of the Riemann Hypothesis (Lean and Mathlib communities, 21 November 2026) — the joint statement of confidence and its four criteria.
- Verification files for the Lean proof of the Riemann Hypothesis (Andrew Sutherland, MIT) — the five theorem statements, every check run and its result, the scope, the divisor-sum consequences, and instructions for repeating the check. This post uses the page as updated on 22 November 2026.
- Alpöge/Claude proof of the Generalized Riemann Hypothesis (Michael Rubinstein, Waterloo) — an independent verification and the 164-page working guide to the proof for the zeta function, the source of the five-step outline, the sanity values of G(x) and the lemniscate example.
- Unforced Euler singularity, unforced Navier-Stokes singularity, and the Generalized Riemann Hypothesis (Terence Tao, 20 November 2026) — a short first assessment, alongside two fluid-dynamics results announced the same day.
- More than two thirds of the zeta zeros are simple and on the critical line (Alpöge and Furman, arXiv, August 2026) — the earlier result, with its provenance note.
- AI Proved the Quasi-Riemann Hypothesis. What Happens Now? (Konstantin Kakaes, Quanta, 19 October 2026) — the October result and how experts unpacked it; source of the Sawin, Bloom and Sarnak remarks.
- Mathematicians astounded by AI and human-written proofs of iconic Riemann hypothesis (Nature news, November 2026) — coverage of both the Lean proof and the Masullo draft.
The mathematics and its history
- But what is the Riemann hypothesis? Visualizing analytic continuation (3Blue1Brown) — the clearest visual account of what it means to extend zeta beyond its sum.
- Since last year, we asked: “What if AI solved the Riemann Hypothesis?” (3Blue1Brown) — mathematicians on what an AI proof of the hypothesis would mean for the subject.
- Riemann hypothesis and Prime number theorem (Wikipedia) — used here for dates, the translation of Riemann’s remark, the Schoenfeld and Trudgian bounds, Robin’s criterion, and the record of numerical verification.
- Harold Edwards, Riemann’s Zeta Function (1974) — a book-length reading of Riemann’s paper, including an English translation of it; the place to go for the derivations sketched in blocks 4 to 6.
- John Derbyshire, Prime Obsession (2003), and Marcus du Sautoy, The Music of the Primes (2003) — two histories for general readers, both written when the problem was open.
Footnotes
-
Gauss never published the observation. He described it in a letter in 1849, recalling that he had made it “in the year 1792 or 1793”. Legendre’s version appeared in 1798 and was refined in 1808. ↩
-
Written out, \(\operatorname{li}(x) = \int_0^x dt/\ln t\). The integrand blows up at \(t = 1\), and the convention is to let the infinite pieces on either side cancel symmetrically. Starting the integral at 2 instead changes the answer by the constant 1.045. ↩
-
The formally verified version showed every nontrivial zero has real part between 1/8 and 7/8. A shorter second version, which was the one mathematicians studied, proved the weaker range 1/12 to 11/12. The full hypothesis is the statement that the range has zero width. ↩
-
The factor \(1 - 2^{1-s}\) also vanishes at the points \(s = 1 + 2\pi i k/\ln 2\) for whole numbers \(k \neq 0\), but the alternating series vanishes there too, and the quotient stays finite. Only \(s = 1\) is a true pole. ↩
-
The formula holds at every \(x > 1\) that is not itself a prime power, with the zeros taken in order of increasing height. At a prime power it gives the midpoint of the jump. Riemann stated a version for \(\pi(x)\); this cleaner form is due to Hans von Mangoldt in 1895. ↩
-
The same combination gives Jeffrey Lagarias’s 2002 version, which needs no exceptions at all: \(\sigma(n) \le H_n + e^{H_n} \ln H_n\) for every \(n \ge 1\), where \(H_n = 1 + \tfrac12 + \cdots + \tfrac1n\). Both statements are listed on Sutherland’s verification page. ↩
-
An unconditional polynomial-time test, AKS, was found in 2002 by a different route. Miller’s test under GRH is simpler and faster, which is why the hypothesis still matters to the question. ↩
-
The clause \(s \ne 1\) is there because Lean functions must return a value for every input, so Mathlib assigns \(\zeta\) a conventional value at its pole. ↩
-
Sutherland’s page, as updated on 22 November, lists his own end-to-end run of Lean’s single-threaded kernel on the full 61.6 GB export as still in progress. By then Lean’s kernel had accepted each of the 175,187 modules individually, and three independent kernels had accepted the full export. ↩
-
The guide is credited to Claude, Codex and Gemini models “at the behest of Michael O. Rubinstein”, and describes itself as a work in progress written as an aid to studying the proof. Its correspondence with Alpöge’s twenty steps is, in its own words, “our reading”. ↩
-
I have not read the draft and rely here on press coverage, which agrees on these points. ↩
