What the Hypothesis Says

The real part of a zero sets how loud its wave is. Move a zero off the line and watch the primes go wrong, then read the hypothesis as a precise promise about the error in counting primes, a promise that became a theorem in November 2026

What the Hypothesis Says

Each zero of the zeta function contributes a wave to the count of primes, and the real part of the zero sets how loud that wave is. The Riemann hypothesis says every wave is exactly as quiet as the symmetry of ζ allows. This lesson turns that into a precise promise about primes, and lets you see what breaking it would have meant.

The hypothesis was proved in November 2026, 167 years after Riemann stated it, by a machine-checked proof. So the promise is kept: the bounds in this lesson that used to begin “if the Riemann hypothesis holds” are now theorems. See also: What Is Actually Known.

Move a Zero

One zero has been pulled off the critical line. Drag it further, pick a different zero, then press “Put it back on the line” and compare the three charts on the right.

finding zeros: 0 of 500
0.750
real part β of the chosen zero
0.750
Θ = max(β, 1 − β): the error grows like xΘ
—
x beyond which this one wave is larger than the other 0 could be together
0
primes below a million, against the true …
This is a what-if: the theorem proved in 2026 says there is no such zero. With a zero at real part 0.750 and height —, its wave would grow like x0.750 where every other wave grows like √x, so sooner or later it would be the whole error. This version of arithmetic has about 0 too few primes below a million, and the miscount swings between too many and too few for ever, wider each time. In general the error in the prime number theorem is O(xΘ + ε), where Θ is the least upper bound of the real parts of the zeros, and the mirror image forces Θ ≥ ½.
the critical line, real part ½zeros found by this browser, and what they predictthe moved zero, its mirror image, and what they would causethe primes there really are (sieved to a million)li(x)all the other waves at once, at most

Left: drag any of the first twenty zeros sideways. The functional equation gives a zero at β + iγ a companion at 1 − β + iγ, so the pair ½ ± iγ is replaced by four zeros (the two below the real axis are not drawn). That is two waves where there was one, which is why even a small move changes the counts a little. Top right: the size of the chosen wave, 2xβ/|ρ| at most, on logarithmic axes. Middle: the error ψ(x) − x from von Mangoldt’s formula with the first 500 pairs of zeros, divided by √x and sampled at 900 values of x; it wiggles faster than a screen can show. Bottom: π(x) − li(x) from a sieve, and the same with the change carried through Riemann’s formula for π(x). Everything is double-precision arithmetic in this browser.

Go deeper:Why One Zero Off the Line Is Enough

In von Mangoldt’s explicit formula a pair of zeros ρ = β ± iγ contributes

−2 xβ cos(γ ln x − arg ρ) / |ρ|

to ψ(x) − x. The exponent of x is the real part of the zero and nothing else. Write Θ for the least upper bound of the real parts of all the zeros. Then ψ(x) − x = O(xΘ ln² x), and the error is not O(xΘ − ε) for any ε > 0: the loudest waves cannot cancel one another for ever. So one zero with β > ½ would make the error in the prime number theorem larger than √x by a power of x, for arbitrarily large x. And the functional equation pairs a zero at β + iγ with one at 1 − β + iγ, so Θ can never be less than ½. The Riemann hypothesis is the statement that Θ = ½, and since November 2026 it is a theorem. See also: The Mirror at One Half for the symmetry, and Primes from Zeros for the formula.

The demo is a what-if: it shows what the theorem rules out. It takes the true zeros, removes one pair, and puts in the four zeros that a zero off the line would bring with it; no function with those zeros is being claimed to exist. The count of primes is carried through Riemann’s formula for π(x), where the term xρ/ρ becomes li(xρ).

Notice the 1/|ρ| in the amplitude. Move the twentieth zero instead of the first and the damage arrives later: a high zero is quiet at small x whatever its real part. This is why counting primes could never have settled the question. Before the proof, every zero up to height 3 × 1012 had been checked to lie on the line (Platt and Trudgian, 2021), so a zero off the line, had there been one, would have had γ larger than that. With real part 0.6, say, and height 1013, its wave would have size 2x0.6/1013, which does not reach the √x of the ordinary error until x is around 10130. No table of primes will ever go that far.

The Precise Promise

Watch the true error in counting primes stay under the bound the hypothesis guarantees, and switch to ψ. Then slide x up to 101000 in the lower chart and compare the bounds proved before 2026 with the one the hypothesis gives.

sieving and checking: 1 of 10,000,000
0
primes found up to 1
—
largest error ÷ bound: not there yet
0
places from x = 2657 on where the bound is broken
—
no failure below the range yet
Schoenfeld showed in 1976 that the Riemann hypothesis gives |π(x) − li(x)| < √x ln x / 8π for every x ≥ 2657. Since the hypothesis was proved in November 2026, this is a theorem. The scan checks it at every whole number, and just below every whole number, where the error is largest. The true error comes closest right at the start of the range and then falls away: the promise is being kept with room to spare. Below 2657 the bound really is broken (rose dots), which is why the theorem starts where it does. Passing this test up to ten million was never the proof, and says nothing about larger x: a zero off the line far up the strip would not have shown here at all.
At x = 10100StatusSizeDigits of π(x) pinned down
π(x) itself, about x / ln xthe thing being estimated1097.6it has 98
9.2211 x √(ln x) exp(−0.8476 √(ln x))proved before 2026 (form: de la Vallée Poussin, 1899; these constants: Fiori, Kadiri and Swidinsky, 2023)1096.61.1
0.028 x (ln x)0.801 exp(−0.1853 (ln x)3/5 (ln ln x)−1/5)proved before 2026 (form: Vinogradov and Korobov, 1958; these constants: Johnston and Yang, 2023)1098.80.0
√x ln x / 8πa theorem since November 2026 (derived from the Riemann hypothesis by Schoenfeld, 1976)1051.046.7
At x = 10100 the count π(x) has 98 digits. The bounds proved before 2026 guarantee that li(x) gets the first 1.1 of them right; the Riemann hypothesis guarantees 46.7, about half. The earlier bounds do not save a power of x: until 2026 no one could prove that the error is O(x0.999), and to do so was to prove that no zero has real part above 0.999.
counted exactly by the sieve; the size of π(x)from the Riemann hypothesis: a theorem since 2026proved before 2026: the classical formproved before 2026: the Vinogradov–Korobov formthe bound broken (outside the theorem’s range)where the error comes closest to the bound

Upper chart: a segmented sieve run in this browser, with li(x) carried along step by step; each point is the largest error in one of 240 columns of the logarithmic axis. Lower chart: each bound is evaluated through its logarithm, because 101000 does not fit in a double. The vertical axis of the first view is the number of digits in each quantity. With today’s published constants the classical form is the smaller of the two earlier bounds until ln x is about 1.8 × 10⁹, far off the right-hand edge; beyond that the Vinogradov–Korobov form wins, as its shape says it must. The sieve is double-precision arithmetic and a demonstration, not a proof; the bounds in the table are theorems with the constants as published.

Go deeper:Three Ways to Say the Same Thing

These three statements are equivalent, each one true exactly when the others are. Since November 2026 all three are theorems:

every zero in the strip has real part ½  ⟺  ψ(x) = x + O(√x ln² x)  ⟺  π(x) = li(x) + O(√x ln x)

The last is Helge von Koch’s theorem of 1901. It turns a statement about a function of a complex variable into one about whole numbers, with no complex numbers in sight. Lowell Schoenfeld made the constants explicit in 1976: he showed that the hypothesis gives |π(x) − li(x)| < √x ln x / 8π for all x ≥ 2657 and |ψ(x) − x| < √x ln² x / 8π for all x ≥ 73.2. For fifty years those were conditional theorems; since November 2026 they are theorems outright. A single x that broke either inequality would have disproved the hypothesis. The scan above finds none, as it must, though a scan was only ever evidence and not proof.

The square root cannot be improved. Littlewood proved in 1914, with no hypothesis, that π(x) − li(x) is infinitely often larger than a constant times √x ln ln ln x / ln x, and infinitely often smaller than minus that. So what the theorem says is that the error is about √x, give or take logarithms: as small as an error built from waves of size √x could possibly be.

What had been proved before 2026 was far weaker. De la Vallée Poussin’s zero-free region (1899) gives an error of the form x exp(−c √ln x), and the wider region of Vinogradov and Korobov (1958) gives x exp(−c (ln x)3/5 (ln ln x)−1/5). The second is smaller for very large x, but with the constants that have been made explicit so far the first is smaller across the whole of the chart. Both are larger than x1 − ε for every ε > 0. The demo uses the explicit versions of Fiori, Kadiri and Swidinsky (2023) and of Johnston and Yang (2023).

The hypothesis also controls the size of ζ itself. It implies the Lindelöf hypothesis, that |ζ(½ + it)| grows more slowly than any power of t, which is a weaker statement, was likewise unproved before 2026 and is now a theorem with it. See also: Prime Distribution in Number Theory.

What Follows

Let the sieve find the record gaps between primes and compare them with three curves. Then switch to “Testing primality” and see how small a witness each composite number needs.

sieving: 1 of 10,000,000
0
primes found up to 1
—
longest gap so far
—
the longest the hypothesis allows there: (22/25) √p ln p
—
that gap ÷ ln² p, Cramér’s conjectured size
record gapafter the prime÷ ln² p÷ (22/25) √p ln p
Cramér showed in 1920 that the Riemann hypothesis makes the gap after a prime p never longer than a constant times √p ln p, and Carneiro, Milinovich and Soundararajan showed in 2019 that the constant 22/25 will do for every p above 3. Since the hypothesis was proved in November 2026, that is a theorem. Before then the best exponent proved was 0.525 (Baker, Harman and Pintz, 2001). The record gaps your browser has just found are nowhere near either: they follow ln² p, the size Cramér conjectured in 1936, which is still a conjecture. Even proved, the Riemann hypothesis leaves the truth about gaps far out of reach.
record gaps, found by a sieve in this browserfrom the Riemann hypothesis: a theorem since 2026the exponent proved in 2001, without itCramér’s conjecture, still open

A record gap is one longer than every gap before it. The teal curve is p0.525 with constant 1: the theorem says only that there is a prime between x and x + x0.525 once x is large enough, with no explicit starting point, so read it as a slope. Only the gaps after 2, 3 and 7 are longer than ln² p.

A few more theorems that began “assume the hypothesis”, and where each stands now
  • The sharp prime number theorem: π(x) = li(x) + O(√x ln x), which is equivalent to the hypothesis (von Koch, 1901). A theorem since November 2026.
  • Primes in short intervals: a prime between x and x + C√x ln x for every large x (Cramér, 1920, from the hypothesis). A theorem since November 2026.
  • The size of class numbers: sharp upper and lower bounds for imaginary quadratic fields (Littlewood, 1928, under the generalised hypothesis). Still conditional.
  • Artin’s conjecture: 2, or any whole number that is not −1 or a perfect square, is a primitive root for infinitely many primes (Hooley, 1967, under the generalised hypothesis). Still conditional.
  • Every large odd number is a sum of three primes (Hardy and Littlewood, 1923, under the generalised hypothesis). Vinogradov removed the assumption in 1937, and Helfgott settled every odd number above 5 in 2013: a theorem with no hypothesis.
Go deeper:Theorems That Began “Assume the Hypothesis”

Hundreds of published theorems were written conditional on the Riemann hypothesis or on its generalisation. Those that need only the hypothesis for ζ, such as Schoenfeld’s bounds and Cramér’s bound on gaps, became theorems in November 2026. Those that need the generalisation did not. The generalised Riemann hypothesis makes the same claim, real part ½ for every zero in the critical strip, about each Dirichlet L-function: the relatives of ζ that sort the primes by their remainders on division by a fixed number. Miller’s and Bach’s results on primality testing need it because the question “does a small witness exist?” is a question about how evenly residues are spread, and that is governed by the zeros of those L-functions. The proof certified in November 2026 is of the hypothesis for ζ. Independent checkers report that the same Lean library also contains the generalised hypothesis for Dirichlet L-functions, but that was not part of the certification, so this page keeps Miller’s and Bach’s results conditional. See also: A Family of Zeta Functions.

A conditional theorem was never a second-class theorem. It shows what a hypothesis is for: which facts about primes are, underneath, facts about zeros. It also marks out a target. The ternary Goldbach problem was first reached conditionally, by Hardy and Littlewood in 1923, for all large odd numbers; Vinogradov removed the hypothesis in 1937, and Harald Helfgott completed the proof for every odd number above 5 in 2013. Primality testing went the same way: Miller’s deterministic test of 1976 depends on the generalised hypothesis, and Agrawal, Kayal and Saxena found an unconditional one in 2002 by a different route.

The gaps tell a more sobering story. The hypothesis gives gaps of size at most about √p ln p, which is now a theorem, and the records in the demo sit near ln² p, as Cramér conjectured in 1936 from a random model of the primes. That conjecture is still open. The Riemann hypothesis says everything there is to say about the real parts of the zeros, and even as a theorem it does not tell us how far apart consecutive primes can be. See also: Does Randomness Help? in P versus NP, for what it means to replace a randomised algorithm by a deterministic one.

Key Takeaways

  • A zero with real part β gives a wave of size xβ; the Riemann hypothesis, proved in November 2026, says β = ½ for every zero, the smallest value the symmetry of ζ permits.
  • It is equivalent to a statement about whole numbers, now a theorem as well: π(x) = li(x) + O(√x ln x) (von Koch, 1901), with Schoenfeld’s explicit constant 1/8π for x ≥ 2657.
  • What had been proved before 2026 was far weaker: no one could show the error is O(x0.999), and computing primes could never have decided the matter.
  • Theorems that were conditional on it, such as Cramér’s bound on prime gaps, are now theorems outright; those that need the generalised hypothesis, such as Miller’s deterministic primality test, remain conditional.

Spot a mistake or have an idea?

Search