Finding zeros on the line is not enough: you must show none were missed off it. Count zeros by winding number, apply Turing’s method and check every zero up to a height of your choosing, as was done before the proof
A change of sign finds a zero on the critical line, but no number of sign changes can show that there are no zeros hiding elsewhere in the strip. For that you need a second, independent count of all the zeros up to a given height, wherever they are. If the two counts agree, every zero up to that height is on the line. That comparison is how the hypothesis was checked, for the first twelve trillion zeros, in the years before it was proved in November 2026.
Watch the point go round the rectangle while its image circles 0 three times, once for each zero inside. Then drag a corner past another zero, and switch on the planted zero to see what a counterexample would have looked like.
Drag the rectangle by its inside, or a corner by its square handle; in the other mode drag the loop or tap where you want it. The size of ξ round a loop can vary by a factor of 1010 or more, so the picture on the right keeps each point’s direction from 0 exactly and compresses its distance on a logarithmic scale: the rings mark powers of ten. That changes the shape and not the number of turns. The loop is followed in 181 values of ξ, halving any step on which the direction turns by more than 1/32 of a turn. The two axes on the left have different scales, so a “small loop” is an ellipse twelve times as tall in t as it is wide in σ. A planted zero comes with its mirror image in the critical line and both of their conjugates, as the symmetries of ξ require.
Near a simple zero at ρ a function looks like a constant times (s − ρ), so when s goes once round ρ the value f(s) goes once round 0. Near a zero of order m it goes round m times, and near a pole it goes round backwards. Away from zeros and poles nothing accumulates: a small loop has a small image that stays on one side of 0. Cauchy’s argument principle adds these up for any closed loop that avoids the zeros and poles:
(1/2πi) ∮ f′(s)/f(s) ds = (zeros inside) − (poles inside), each counted with its multiplicity.
The integrand is the derivative of ln f, so the integral is the total change of ln f round the loop. The size of f returns to where it started, and what is left is i times the change of its argument: the number of turns the image makes round 0. That number is a whole number, which is what makes it computable. A calculation only has to follow the direction of f closely enough never to lose a full turn, and it does not need to know where inside the loop the zeros are. This is exactly the property a sign change lacks.
The completed function ξ(s) = ½ s(s − 1) π−s/2 Γ(s/2) ζ(s) has the non-trivial zeros of ζ and nothing else: no pole and no trivial zeros. It also satisfies ξ(s) = ξ(1 − s) and takes conjugate values at conjugate points. Take a rectangle that the critical line cuts in half, with its base on the real axis. The two symmetries carry the right half of the boundary onto the left half and show that the argument changes by the same amount along each. So only the path from the real axis up the right side and along the top as far as the critical line has to be computed, and the answer doubled. See also: The Mirror at One Half and, in the Complex Analysis module, Residues.
Point at either chart and compare the pink value of S, from counting zeros, with the green one, from ζ alone. Then slide the window up the line, and press “Go to the largest |S| so far”.
Every value of S from height 10 up to 0, sorted into bins, with the bell curve of the measured spread and the one Selberg’s theorem predicts for very large heights.
The zeros are found by your browser from sign changes of Z(t), a stretch of height 8 at a time, up to the cap T = 3,000. Between zeros S falls steadily, at the rate (1/2π) ln(T/2π), and at each zero it jumps up by 1. The green dots are 90 values of the argument of ζ(½ + iT), each followed continuously along the path from 2 to 2 + iT to ½ + iT with no knowledge of the zeros. The measured spread is wider than Selberg’s formula at these heights: the theorem describes the limit, and the terms it leaves out fade only as fast as ln ln T grows. S begins at −1 for T just above 0, so the tally starts at 10. All of it is double-precision arithmetic.
Write N(T) for the number of zeros with 0 < Im ρ ≤ T. Apply the argument principle to ξ on the rectangle with corners −1, 2, 2 + iT and −1 + iT. By the symmetry above, N(T) is 1/π times the change of arg ξ along the path from 2 up to 2 + iT and across to ½ + iT. Now take the factors of ξ one at a time. At s = ½ + iT the polynomial s(s − 1) equals −(¼ + T²), a negative number, which contributes π. The factor π−s/2 Γ(s/2) contributes the Riemann–Siegel angle θ(T). What is left is the change in the argument of ζ itself, which is called π S(T). So
N(T) = θ(T)/π + 1 + S(T), where S(T) = (1/π) arg ζ(½ + iT).
This is an exact identity whenever T is not the height of a zero. Stirling’s formula for the gamma function turns the smooth part into N(T) = (T/2π) ln(T/2π) − T/2π + 7/8 + S(T) + O(1/T). Riemann stated this in 1859, and Hans von Mangoldt proved it in 1905. Differentiating the main term gives the density of zeros at height T: (1/2π) ln(T/2π) per unit height, so the zeros crowd together, but only logarithmically.
Everything delicate is in S. Von Mangoldt proved that S(T) = O(ln T), with explicit constants from Ralf Backlund. Littlewood showed in 1924 that the Riemann hypothesis improves this to S(T) = O(ln T / ln ln T), and since the hypothesis was proved in November 2026 that bound is a theorem. Its typical size is far smaller. Atle Selberg proved in 1946 that the values of S(T) are, in the limit of large heights, distributed like a Gaussian with variance (1/2π²) ln ln T. Since ln ln T is about 2.1 at T = 3,000 and still only 3.4 at T = 1013, S is known to be unbounded and yet no computation has seen it large. The largest value in a published computation is S ≈ 3.3455, found by Jonathan Bober and Ghaith Hiary near T = 7.75 × 1027 in work published in 2018. This slowness cuts both ways: it is why counting zeros is practical, and it is why behaviour seen at reachable heights need not be typical. See also: When Evidence Misleads.
Choose a height and let the run finish: count A must equal count B. Then switch count B to Turing’s method, and press “Lose one sign change on purpose” to watch the comparison catch the gap.
Left: the one stretch of the contour that has to be computed. Its end point’s direction is π S(T); the amber dots are the sign changes of Re ζ that Backlund’s method reads. Right: Turing’s shortcut, from values of Z near T only.
Count A scans Z(t) from t = 1 on a grid of 8 points per mean spacing of zeros (Euler–Maclaurin sums below t = 200, Riemann–Siegel above) and records each change of sign. Count B is N(T) = θ(T)/π + 1 + S(T): the argument principle follows arg ζ continuously from 2 + iT to ½ + iT; Backlund’s method only reads the signs of Re ζ and Im ζ on that edge; Turing’s method uses the bound |∫ S(t) dt| ≤ 2.067 + 0.059 ln t2 over any stretch from t1 to t2 above 168π (Trudgian, 2011, sharpening Lehman, 1970, who corrected Turing, 1953). The slider stops at T = 5,000, about 4,500 zeros and 36,000 values of Z: well under a second of arithmetic, spread over a few seconds on screen.
Ralf Backlund introduced the comparison in 1914. On the line Re s = 2 the real part of ζ is positive, so its argument stays within a quarter turn of 0. If Re ζ also keeps one sign along the top edge from 2 + iT to ½ + iT, then |S(T)| < ½ and N(T) is simply the whole number nearest to θ(T)/π + 1. When Re ζ does change sign on the edge, keeping track of the sign of Im ζ at each crossing recovers the count. Backlund used this to show that the first 79 zeros, up to height 200, are all on the line.
The weakness of the method is the top edge: ζ has to be computed off the critical line, where the fast formulas for Z(t) do not apply, and with enough control to be sure of every sign. Alan Turing found a way to avoid it. He had designed a special-purpose analogue machine for computing zeros in 1939, which was never finished. In 1950 he programmed the Manchester Mark 1 instead, one of the first uses of a stored-program computer in pure mathematics, and checked 1,104 zeros; the paper, published in 1953, was the last he wrote on the zeta function. Its lasting idea is that S averages out: the integral of S(t) over any interval is at most a + b ln t2 in size, with explicit constants. If the count on the line were short by even one zero, the S computed from it would be off by 1 from there upwards, and over a long enough stretch its integral would break the bound. So values of Z at Gram points just above and below T, usually a few dozen of them, settle N(T) with no computation off the line at all.
Turing’s own proof of the bound, with constants a = 2.07 and b = 0.128, contained errors. Sherman Lehman repaired it in 1970 and improved the constants to 1.7 and 0.114, and Timothy Trudgian proved 2.067 and 0.059 in 2011: for t2 > t1 > 168π,
|∫ S(t) dt| ≤ 2.067 + 0.059 ln t2, the integral taken from t1 to t2.
Every large verification since has had the same three parts. Values of Z are computed in bulk, by the Riemann–Siegel formula or the Odlyzko–Schönhage algorithm, and their sign changes counted. Turing’s method at the top certifies that the count is complete. And for the result to be a theorem, every step is carried out in interval arithmetic with proved error bounds, as David Platt and Timothy Trudgian did up to height 3,000,175,332,800. What comes out is a statement about the zeros below one height. The Riemann hypothesis is a statement about all of them, which no verification of this kind could reach. It was proved in November 2026, by a machine-checked proof and not by a longer computation. See also: What Is Actually Known and Hunting Zeros on the Critical Line.
Spot a mistake or have an idea?