22.4 The Critical Symmetry Line and the Epistemic Boundary of the Riemann Hypothesis
As shown below (Proposition 22.22 and the one-line manual derivation after it), has no zeros inside the half-plane of absolute Euler-product convergence (nor on the line ), whereas once is analytically continued leftward across the simple pole at (whose residue theorem is frozen in Lemma 22.2 above) into the critical strip , the Dirichlet series and Euler product no longer converge absolutely and, figuratively speaking, interference among the prime phase pointers produces nontrivial zeros at specific complex frequencies .
Why does every nontrivial zero ever computed lie on the vertical critical line (recorded in D5/S3/Weil/Convention as the self-dual abscissa criticalAbscissa )?
Geometrically, Riemann’s completed zeta function obeys the reflection symmetry , whose fixed locus under is precisely the vertical axis — the Fourier-dual balance line between primal scale and spectral frequency.
The previous paragraph cited the reflection symmetry as an intuitive picture. The symmetry itself is not a conjecture, and it need not stay at the level of the literature: the module D5/S3/Zeros/CompletedZeta of the pinned repository freezes it together with the fact that is entire.
In the module CompletedZeta:
-
The completed zeta reading
completedZetaReadingis defined as Mathlib’scompletedRiemannZeta s, the meromorphic continuation of (with Mathlib’s conventional values at and ); -
The xi reading
xiReadingis defined aswhere is Mathlib’s
completedRiemannZeta₀: the entire function obtained from by subtracting its two simple poles at and , so that .
For of Definition 22.13, the following four statements hold:
-
Relation to the completed zeta: for every with and ,
-
Entirety: is complex differentiable on all of (
Differentiable ℂ xiReading); -
Reflection symmetry: for every ,
-
Endpoint values: and .
Claim 1 substitutes Mathlib’s identity completedRiemannZeta_eq () into the definition and clears denominators under the hypotheses and . Claim 2 follows from the entirety of (differentiable_completedZeta₀) and the differentiability of the polynomial factor. Claim 3 follows from the reflection symmetry completedRiemannZeta₀_one_sub (), because the factor is invariant under . For claim 4 the factor vanishes at and at , and the definition gives directly. The full proof is checked by the Lean kernel.
Claim 3 of Theorem 22.14 has an immediate consequence (a one-line manual derivation): if then . The map is the half-turn of the complex plane about the point , so zeros come in pairs with respect to that point. Adding the conjugation symmetry (see Proposition 22.16 below), zeros come in groups of four, ; for non-real the four points coincide in pairs and shrink to a single pair exactly when (the zeros of are exactly the zeros of in the critical strip, see Proposition 22.22, and none of them is real, see Proposition 22.20). The Riemann hypothesis says precisely that every group has shrunk to a pair.
Four together, apart once off the mirror. The amber and its three magenta partners , , form a rectangle around ; the dashed cyan line is the mirror . On the right are their images under , two inside the unit circle and two outside. Drag the rail to push onto the mirror, and the four points merge in pairs into two cyan points (Theorem 22.14, Proposition 22.16).
The reflection symmetry pairs up values that look entirely unrelated.
Each of the special values used here — , , , , , , and the values of the function at half-integers — is a literature result, not formalized in this book; each row is obtained by direct substitution into and was checked numerically at 30 digits.
Hand computation at and . With :
With :
The two agree, exactly as claim 3 of Theorem 22.14 asserts at : .
| mirror pair | value used on the right | values used on the left | common value of | numerically |
|---|---|---|---|---|
| , | ||||
| , | ||||
| , | ||||
| — | — | |||
| — | — | — |
The fourth row is claim 4 of Theorem 22.14; the fifth row is the value at the fixed point of the mirror.
Along the critical line. On with real , takes real values. Numerical evaluation gives and : the sign changes between the two, in agreement with the first nontrivial zero recorded in the literature. Thus , so often singled out for dramatic effect, and the Basel value are two readings of one and the same number on opposite sides of the mirror.
Walking up the critical line, keeps dropping to zero. The ink curve is for ; the ten grey dots are where it touches zero, the first at , consistent with the sign change of between and in the example above. The curve and the zero positions are numerical. The green tag refers to Theorem 22.36, which places every nontrivial zero on the critical line.
The reflection axis follows from Theorem 22.14. The D5 theorem Theorem 22.36 places all nontrivial zeros on that line.
The mirror has been located, but the reflection of Theorem 22.14 is only a half-turn about the point , and a half-turn fixes a single point. To fix the whole line one must compose it with complex conjugation. This second half is also frozen at the pinned commit, in the module D5/S3/Zeros/Symmetry/ZetaConjugationCovariance.
For every , with the complex conjugate of :
- , where
riemannZetais Mathlib’s Riemann zeta function (the function to whichclassicalZetaof Definition 22.1 unfolds); - ;
- .
Claim 2: the function of Definition 22.13 is the Mellin transform of a real-valued function, and the Mellin transform of a real-valued function commutes with complex conjugation; the factor and the constants and have real coefficients. Claim 1: at both sides equal ; for , Mathlib’s riemannZeta_def_of_ne_zero writes as the completed zeta divided by , and each of the two commutes with conjugation (the latter by Complex.Gamma_conj). Claim 3 composes Claim 2 with the reflection symmetry of Theorem 22.14. The full proof is checked by the Lean kernel.
Take with real in Claim 3. Then , so : the function is real on the critical line (a one-line manual derivation). The statement “real along the critical line” at the end of Example 22.15 is thereby kernel-backed. The two values and quoted there remain numerical computations; granting them, the real continuous function must vanish somewhere between and (intermediate value theorem), and that zero lies exactly on the critical line.
Rolling the critical line into the unit circle. Since Chapter 1 this book has done its geometry on unit circles and unit spheres. The critical line is a straight line, but in a different coordinate it is a circle.
For :
- The Cayley ratio
cayleyRatiois defined as . ThecayleyCoefficientof the moduleCayleyUnitarityDefectis the same expression . Under Lean’s total division, both take the value at . - The logarithmic radial defect
logarithmicRadialDefectis defined as , whereReal.logis Mathlib’s real logarithm (with the convention ).
In the notation of Definition 22.17:
-
Unit-circle criterion. For every ,
and the same holds for .
-
Radial equivalent. Mathlib’s proposition
RiemannHypothesis— for every , if , and there is no natural number with , and , then — holds if and only if: for every , if , and there is no natural number with , and , then
Claim 1: at the Cayley ratio is , so its norm is not , and the real part is not either; both sides are false. For , is equivalent to , that is, is equidistant from the points and , which describes the perpendicular bisector of the segment ; algebraically, . Claim 2, forward direction: a zero on the critical line has a Cayley ratio of norm , whose logarithm is . Backward direction: , so a zero is nonzero; also , so the Cayley ratio is nonzero and its norm is positive; a positive number with logarithm equals , and Claim 1 applies. The full proof is checked by the Lean kernel.
Claim 2 of Theorem 22.18 is by itself an equivalent restatement of the Riemann Hypothesis, not a proof of it: it trades “the zeros lie on a line” for “the zeros lie on a circle.” Applying the frozen theorem Theorem 22.36 to this equivalence gives zero radial defect for every nontrivial zero: (see Remark 22.38). Claim 2 and the frozen classical RH theorem both use Mathlib’s notion of a nontrivial zero, excluding and . The equivalence with localization of zeros in the open critical strip is Theorem 22.25. To see how the two formulations agree, consider where can vanish outside the strip. Start with the one line that can be worked by hand: the real axis.
Subtract the even terms twice. On , removing the even terms of twice makes the signs alternate (a manual derivation, using ):
The right-hand side still converges for : grouping neighboring terms into pairs , each pair has modulus at most , which is summable. At a real point , every pair is a positive number. This is the same mechanism that made the remainder of Example 22.12 positive term by term on the real half-line, with “term” replaced by “pair”: positive plus positive leaves nothing to cancel.
For and a natural number , let , where ; is Mathlib’s riemannZeta (Definition 22.1).
- If and , then as .
- At the same formula fails: does not converge to . Here is the value Mathlib assigns at the pole; since , this right-hand side equals .
Claim 1: the partial sums with an even number of terms are paired sums, . By the mean value theorem each pair has modulus at most ; this majorant is uniformly summable on a small neighborhood of , so the paired series converges and is holomorphic on . A partial sum with an odd number of terms has one extra term, whose modulus tends to . On , splitting the Dirichlet series into odd and even terms shows that the paired series equals . Both sides are holomorphic on the two convex sets and (neither contains the pole ) and agree near , so by the identity theorem they agree on both regions; a point of the positive real axis is reached as the limit of . Finally . Claim 2: the right-hand side is ; the real parts of are the partial sums of the alternating harmonic series, whose terms decrease in absolute value, so any limit is at least and cannot be . The full proof is checked by the Lean kernel.
On the real axis the left-hand side of Lemma 22.19 is positive pair by pair, while the factor on the right is negative for . So has no choice but to be negative.
Let be a real number, and let denote the value of Mathlib’s riemannZeta at the complex number .
- If and , then , and either and , or and .
- If , then .
- If “” fails and , then there is a natural number with .
Claim 1: the module RiemannZetaPositiveRealSign rebuilds, independently, the paired series of the proof of Lemma 22.19 and, again by the identity theorem (on the upper region only) and a limit, obtains for , . Since is strictly decreasing, every pair is a positive real number, and so is . For one has , so the real factor is negative; comparing imaginary parts gives , comparing real parts gives . For two Mathlib theorems apply directly: is real with positive real part. Claim 2 follows from Claim 1: zero has real part , which is not negative. Claim 3: if , then , contradicting Mathlib’s theorem that has no zero on . If : , so , and therefore , where is the completed zeta and . The frozen theorem completedRiemannZeta_ne_zero_of_re_nonpos says that does not vanish on , so the quotient can only vanish because its denominator does: Mathlib’s takes the conventional value at its poles (the non-positive integers), and under Lean’s total division the quotient is then . Now exactly when (), and forces . The full proof is checked by the Lean kernel.
The numbers in this example come from a high-precision numerical computation (40 significant digits), rounded to the digits shown; the sum of the alternating harmonic series, used in the last paragraph, is a literature result, not formalized in this book.
The partial sums are squeezed from both sides. Take and write . The first four partial sums are , , , . A partial sum with an even number of terms gains a positive pair at each step and increases; a partial sum with an odd number of terms gains at each step and decreases. The limit of Lemma 22.19 is caught in between:
For large the error is roughly half the next term , so convergence is slow; but the sign is settled from the second partial sum on: .
Dividing by a negative factor. The factor is negative, so : a positive number divided by a negative one gives the minus sign asserted in Claim 1 of Proposition 22.20.
A sweep along the real axis. Write for the sum of the alternating series:
Along the whole range is a positive, gently varying number; the change of sign of comes entirely from the factor , which passes from negative to positive at . Near the factor is about (first-order expansion, a manual derivation) while is close to , so : the last column reads at and at , closing in from both sides on the unit residue of Lemma 22.2. At itself the alternating harmonic partial sums , , tend to (a literature result, not formalized in this book), whereas the right-hand side of the formula is : exactly the case excluded by Claim 2 of Lemma 22.19.
From the real axis to the whole plane. Off the real axis the pairs become complex numbers and the positivity argument no longer applies. What the pinned repository supplies instead is the location of the zeros of the completed function and of the xi reading.
In the notation of Definition 22.13, let be Mathlib’s completedRiemannZeta s (that is, ), and let be riemannZeta.
- For every : if and only if and .
- For every with : if and only if .
- For every with : .
Claim 2: for one has and , so Mathlib’s relation can be rewritten as , and the two sides vanish together. Claim 3 follows from Claim 2 and Mathlib’s theorem that has no zero on . Claim 1: if , Claim 4 of Theorem 22.14 gives , and its Claim 1 gives with a nonzero prefactor, so . The frozen theorem completedRiemannZeta_eq_zero_iff says that the zeros of are exactly the zeros of in the critical strip: does not vanish on (Claim 3), nor, by , on , and inside the strip Claim 2 applies. The converse runs the same chain backwards. The full proof is checked by the Lean kernel.
Claims 2 and 3 give a one-line manual derivation: if and , Claim 2 yields , contradicting Claim 3. So has no zero on the closed half-plane ; the part on the line is what Hadamard and de la Vallée Poussin (1896) established on the way to the Prime Number Theorem. In Lean this fact enters the proof of Claim 3 as a Mathlib theorem; the derivation above shows that it can also be read off directly from the frozen statements. Claim 1 says that the four-point symmetry that Theorem 22.14 and Proposition 22.16 give for is the symmetry of the zeros of in the critical strip; by Proposition 22.20, none of those zeros is real.
From no zeros to counting primes. Why does the absence of zeros on the line help to count primes? Taking the logarithm of the Euler product and differentiating, the primes appear with weight (a manual derivation, differentiating term by term on ):
Here is the von Mangoldt function: for a prime and , and otherwise; it merely shares its letter with the completed function above. Summing these weights up to gives Chebyshev’s function . For instance , and is exactly the least common multiple of : in general , because the exponent of a prime in that least common multiple is the largest with (a manual derivation). “The primes are spread evenly” means that grows as fast as . Since has a simple pole at (Lemma 22.2), has a simple pole with residue there, and it contributes the main term ; by the classical explicit formula (literature result, not formalized in this book), each zero adds a fluctuation of size about , and the farther the zeros stay from the line , the smaller the fluctuations. The pinned repository freezes a quantitative version of this mechanism.
For real let (Mathlib’s Chebyshev.psi; is the natural floor ⌊x⌋₊ and the von Mangoldt function). There is a constant such that, as ,
that is, there are constants and with for every .
The Lean proof is adapted from the PrimeNumberTheoremAnd project and follows the classical contour-integral route in five steps.
(1) Smoothing. Take a smooth, nonnegative bump supported in with , narrow it to width , and take its Mellin convolution with to get a smoothed . There is a constant with whenever , and .
(2) Integral representation. is written as a contour integral over the vertical line whose integrand is the product of , the Mellin transform of the smoothing kernel, and .
(3) Moving the contour. In the region , one has , and in a rectangle with the function is holomorphic except at . This is a quantitative strengthening of “no zeros on the line ” (a zero-free region). Moving the contour into this region picks up the residue at , which differs from by at most .
(4) Piece by piece. The integrals over the remaining pieces of the new contour are estimated one by one, using only the bounds of (3), the decay of the Mellin transform of the smoothing kernel, and .
(5) Choosing the parameters. With and cut-off height , every error term becomes a multiple of ; the exponent comes from the in the width of the zero-free region. The full proof is checked by the Lean kernel.
Two remarks. First, the constant and the constant in the big are only asserted to exist; the theorem gives no values, and no finite table can test an asymptotic statement, so the example below only shows what the statement says. Second, the theorem gives a one-line manual derivation: , so . Passing from to the prime-counting function, , is classically done by partial summation (literature result, not formalized in this book); the book cites no frozen declaration in the form.
The table comes from an exact computation that adds up the prime powers one by one, rounded to the digits shown.
At , is within of , while is still away: counting with the weights approaches the main term faster than counting the primes one by one. The sign of keeps changing (positive at and , negative at ); in the classical picture of the explicit formula, this is what the fluctuations from the zeros look like at small scale.
The error bound the theorem guarantees closes very slowly. Even with , is only at , a relative error bound of , and at it is still . The actual relative error at is only . For a comparison of shapes, the classical error term of de la Vallée Poussin, (literature result, not formalized in this book), gives the relative value at with . What the frozen version buys is a proof that can be checked line by line, not the best error term.
hugs , while falls slowly. Top: the cyan staircase is , which jumps by at each prime power and climbs close to the ink line . Bottom (logarithmic axis, ): the cyan soon lies on the zero line, while the grey is still at . The curves are numerical results; Theorem 22.23 is an asymptotic statement with no explicit constants, and a finite plot only shows what it says; the prime number theorem in its form is a literature result.
The prime number theorem needs only that the line is free of zeros; the Riemann Hypothesis asserts something deeper inside: that every zero in the critical strip lies on . Back to the wording question from the start.
Let RiemannHypothesis be Mathlib’s proposition (spelled out in Claim 2 of Theorem 22.18), and let be riemannZeta.
- Right half-strip reduction. If there is no with both and , then
RiemannHypothesisholds. - The two formulations agree.
RiemannHypothesisholds if and only if, for every with and , one has . - Mathlib’s nontrivial zeros lie in the critical strip. For every , if , there is no natural number with , and , then .
Claim 1: take a nontrivial zero in Mathlib’s sense (not of the form and not equal to ), suppose , and derive a contradiction in each of four cases. : this contradicts Mathlib’s theorem that has no zero there. : this contradicts the hypothesis. : Mathlib’s functional equation gives , and lies in the right half-strip, again contradicting the hypothesis. : first, gives ; put , so that , and the functional equation writes as ; since , and are all nonzero, , that is, with an integer , hence , and forces , contradicting nontriviality (in the module RightHalfStripRiemannReduction this step is a private auxiliary lemma). Claim 2, forward: a zero in the critical strip has positive real part, so it is not of the form , and real part below , so it is not ; RiemannHypothesis applies directly. Backward: a zero in the right half-strip lies in the critical strip, so by hypothesis its real part is , contradicting a real part above ; now apply Claim 1. Claim 3 is proved in a different frozen module, by exactly the arguments of the first and last cases of Claim 1: the real part is below because Mathlib’s has no zero on , and it is positive because, if , the functional-equation argument above applied to forces , contrary to the hypothesis. In that module the step is a public frozen theorem. The full proof is checked by the Lean kernel.
Claim 1 is the mirror picture of this section: the functional equation sends a zero in the left half-strip to the zero in the right half-strip, so it suffices to guard one side of the mirror. In the forged quartet of Example 22.30 below, for instance, in the left half-strip is sent by to in the right half-strip. (The Lean proof uses Mathlib’s functional equation for itself rather than the reflection of in Theorem 22.14; both describe the same symmetry .) Claim 3 answers the question of wording raised at the start: Mathlib’s nontrivial zeros all lie in the critical strip, and conversely a zero in the strip has real part strictly between and , so it is neither of the form nor equal to (a one-line manual derivation). The two phrasings pick out the same zeros. The right-hand side of Claim 2 states classical RH in the critical strip. This equivalence and the radial equivalence of Theorem 22.18 give both formulations from the classical RH part of Theorem 22.36.
Literature result, not formalized in this book. The negative even integers are indeed zeros of (Riemann, 1859). The frozen results above only cover the other direction: Claim 3 of Proposition 22.20 says that a real zero outside can only be one of these negative even integers, and Claim 3 of Theorem 22.25 says that a zero outside the critical strip can only be one of them or , which the manual derivation after Proposition 22.22 rules out. That these negative even integers really are zeros is the Mathlib theorem riemannZeta_neg_two_mul_nat_add_one; the pinned repository only uses it inside proofs and does not freeze it as a citable declaration.
We now return to the Cayley coordinate and look at the reflection and the conjugation on the unit circle.
Write . Each of the three symmetries takes a clean form in the coordinate (one line of manual derivation each):
The third line is inversion in the unit circle: it moves a point inside the circle to the point outside on the same ray and leaves the circle itself fixed. “The critical line is a mirror” and “the unit circle is the fixed circle of inversion” are one and the same sentence. The four-point orbit of an off-line zero becomes in the coordinate : two points inside the circle and two outside. The departure from the circle also has a closed form (from , with ):
The critical line rolled into the unit circle. is on the mirror, and its image lies on the cyan unit circle at an angle of ; the grey dots are the first five zeros (numerical) in both planes, all on the circle near on the right. Here is inversion in the circle, which leaves the circle’s own points fixed (Theorem 22.18).
Points on the critical line. For one has , hence and . For , , so
The point (that is, ) lands at , and as . The upper half of the critical line is rolled onto the upper semicircle, running from to .
The first five zeros. The imaginary parts are taken from the literature (a literature result, not formalized in this book); the other columns are computed from the formula above and rounded to the digits shown:
| (radians) | (degrees) | |||
|---|---|---|---|---|
The zero of smallest imaginary part in the upper half-plane is , so by the D5 proof of the Riemann Hypothesis (Theorem 22.36) together with Theorem 22.18, every nontrivial zero of the upper half-plane is crowded onto a short arc of the unit circle with argument at most (exact upper bound ), accumulating at ; the zeros of the lower half-plane are their conjugates.
A few reference points. (inside the circle), and its reflection (outside), reciprocals of each other; ; .
Off-line points. Take : and . Its mirror image gives and . The product of the two norms is , as inversion requires. At height , leaving the critical line by moves the norm of the Cayley ratio away from by only about five parts in ten thousand: in the coordinate , the high part of the critical strip is squeezed into a thin film hugging the circle.
High up, the critical strip is a thin film on the circle. is off the mirror, and its image leaves the circle by only about five parts in ten thousand: , with the inverted image at . The magnifier at the lower left stretches the angle and apart: the cyan circle becomes a straight line, and the four images sit on either side of it at the corners of a rectangle (the numbers are those of Example 22.27).
Symmetry alone does not pin the zeros. Since has both the reflection and the conjugation symmetry, could these two symmetries by themselves force the zeros onto the mirror? They cannot, and a quartic polynomial suffices as a counterexample. The module D5/S3/Zeros/SymmetricPolynomial/FullSymmetryNonlocalization at the pinned commit writes it down.
For real numbers and a function :
-
The off-critical quartic
offCriticalQuarticis defined as -
sourceZerosis the finite set ; -
has full symmetry,
HasFullZetaSymmetry, if for every and for every ; -
satisfies fixed-line localization,
FixedLineLocalization, if for every , implies .
Let with and , in the notation of Definition 22.28. Then:
- The function is complex differentiable on all of and has full symmetry; for every , if and only if ; the set has exactly elements; and every zero of satisfies .
- Consequently, the statement “every function that is complex differentiable on and has full symmetry satisfies fixed-line localization” is false.
Since , the quartic splits into four linear factors and its zeros are exactly . The reflection is , which swaps the two quadratic factors; all coefficients are real, so the function commutes with conjugation. A polynomial is complex differentiable everywhere. The four zeros have real parts , none equal to when ; they are pairwise distinct when and . Claim 2 follows by instantiating the universal statement at the of Claim 1. The full proof is checked by the Lean kernel.
Take and . The four zeros supplied by Theorem 22.29 are
all inside the critical strip , at about the height of the first zero of , and none of them on the critical line.
Numerical check of the symmetries. At , ; returns the same number; is its conjugate.
On the critical line. Substituting and expanding (a manual derivation):
The value is real — a necessary consequence of full symmetry, for the same reason that is real on the critical line — and strictly positive. Minimizing over , the minimum is attained at and equals ; at , . This function never changes sign along the critical line.
In the Cayley coordinate. The images of the four zeros have (for ) and (for ): two inside the unit circle and two outside, paired by inversion, with logarithmic radial defects , none of them zero.
Compare Example 22.15: is likewise real along the critical line, but it changes sign between and . Symmetry guarantees “real on the mirror”; it does not guarantee “changes sign on the mirror”.
Symmetry does not pin the zeros. The mock quartet lies entirely off the mirror (left). Top right: the quartic with the same symmetries along the critical line, , real and positive everywhere, its lowest point in amber. Bottom right: , crossing zero between and (the grey dot is the first zero, a numerical result). Each curve has its own scale (Theorem 22.29).
Theorem 22.29 shows why zero location needs more than reflection and conjugation. The proof of the frozen theorem Theorem 22.36 uses arithmetic information about the distribution of primes.
The mirror and the Cayley circle: the full laboratory. Two scenes share one rail, the distance from to the mirror: the mirror scene puts the critical strip beside the Cayley coordinate , and the quartic scene puts the quartic with the same symmetries beside along the critical line. Drag on the left to move it. The draggable point belongs to the symmetry model. Theorem 22.36 locates the actual nontrivial zeros.
Reading the Euler product at : Robin’s inequality. Between the arithmetic of the Euler product and the zeros runs a one-way channel that the kernel has already checked, and its integer end needs no complex numbers at all. Take a positive integer and divide the sum of all its divisors by . By the prime-axis factorization of Section 22.1 (a manual derivation), is a finite truncation of the Euler product at : only the prime axes that actually occupies are switched on, and the geometric series on each axis is cut off at the exponent . For ,
The right-hand side fills every prime axis of to infinite depth; each of its factors is the local factor of Theorem 22.4 evaluated at (the full product diverges at : multiplying out these factors for the primes up to produces every with exactly once, so the partial product is at least ; and is precisely the pole of Lemma 22.2). For :
while its saturated value is . To make large, an integer has to occupy many small prime axes at once, and the more axes it occupies, the larger the integer itself becomes. The balance between the two is measured by the ruler , where is the Euler–Mascheroni constant; where this ruler comes from is explained at the end of this passage, and its classical link with the Riemann Hypothesis is recorded in Remark 22.35. The modules D5/S3/Arith/Robin/FewDistinctPrimes and D5/S3/Arith/Robin/OffLinePeak/OriginalLocalA of the pinned repository freeze two pieces of that link.
Write for the divisor sum (Mathlib’s ArithmeticFunction.sigma 1), for the Euler–Mascheroni constant (Real.eulerMascheroniConstant), and for Mathlib’s real logarithm Real.log.
-
The divisor ratio
divisorRatioof a natural number is the real number (under Lean’s total division it equals at ). -
The complete Mangoldt cumulative error
Uof a real number iswhere is the natural-number floor
⌊t⌋₊, is the von Mangoldt function ( for a prime and , and otherwise; it is a function on the natural numbers, not the of Definition 22.13), and is the Chebyshev function (Mathlib’sChebyshev.psi). -
is a nontrivial zero,
IsNontrivialZero, if and (for see Definition 22.1).
In the notation of Definition 22.31, let be the number of distinct prime factors of (n.primeFactors.card).
-
For every natural number with and ,
-
For every natural number with , the same inequality holds. Here .
Claim 1 is proved in two ranges. (i) . If every prime factor of lies in , the frozen 11-smooth case robin_eleven_smooth of the same library applies directly. Otherwise has a prime factor ; split with coprime to . Then forces ; the factor on the -axis is below , and the kernel checks for each , so , whereas and give .
(ii) . Whenever a larger prime carries a larger exponent than a smaller prime, swap the two exponents; repeating this yields with the same number of distinct prime factors, exponents non-increasing along the primes, and (the frozen theorem exists_antitone_exponent_form). Non-increasing exponents mean that the primes of form an initial segment of the primes, so with at most eight of them they come from . If : the frozen theorem golden_resource_unique_optimum says that is the unique maximizer of over all positive integers, whence , while . If : for the kernel enumerates all products of with non-increasing exponents, bounds on twelve intervals, and compares with a rational lower bound for at the left end of each interval; for the saturation bound suffices. Finally, is increasing and , which carries the strict inequality from back to . Every lower bound for is a rational number obtained from a binary splitting () and partial sums of the series; comes from a decimal lower bound for and the first few terms of the exponential series.
Claim 2. If had at least nine distinct prime factors, nine of them would multiply to a divisor of that is at least the product of the first nine primes, a contradiction; hence and Claim 1 applies. The full proof is checked by the Lean kernel.
The threshold itself. Continuing the hand computation above: , , , whereas , an excess of . So violates Robin’s inequality, and the hypothesis of Theorem 22.32 cannot be relaxed by a single step. Checking one by one (a numerical computation, not a Lean theorem) finds exactly integers with :
Claim 2 of Theorem 22.32 says that after there is not a single further one below .
A comparison table. Entries are rounded to the digits shown; the last column names the claim that covers the integer:
| factorization | covered by | ||||
|---|---|---|---|---|---|
| violation, out of range | |||||
| Claims 1 and 2 | |||||
| Claims 1 and 2 | |||||
| Claims 1 and 2 | |||||
| Claims 1 and 2 | |||||
| neither | |||||
| Claim 1 |
Right after the threshold, sits on a single large prime axis and reaches only of the ruler. The dangerous integers are those that occupy the first few axes starting from with exponents that never increase from one axis to the next: , and reach , and of the ruler, which is exactly why the proof moves the larger exponents onto the smaller primes. occupies nine axes but goes only one step along each, reaching of the ruler; that it satisfies the inequality is a numerical fact, and neither claim covers it. is larger than but occupies only eight axes, so Claim 1 covers it.
Why the saturation bound suffices above . With all eight axes filled, , while and : above , an integer on at most eight axes cannot reach the ruler, however large its exponents. Each additional axis multiplies the saturated value by one more factor , which is why the proof must cap the number of axes.
Every integer above the ruler lies left of 5040. The axis across is on a logarithmic scale and the ink curve is Robin’s ruler ; for , magenta dots lie above it, the last being . Right of the dashed line only a pale cyan cloud remains below the ruler (only integers within of it are drawn), and the cyan rings, , and , come up close to the ruler from below. The green arrow marks the range covered by Theorem 22.32: no with reaches it. The points are numerical results. Together Theorem 22.37 and Theorem 22.36 give the inequality for every .
The other direction: an off-line zero leaves evidence in the integers. Theorem 22.32 checks one fragment: the integers on at most eight prime axes. On the other side stands an implication: if has a single zero to the right of the critical line, then some integer above violates Robin’s inequality, and its shape is prescribed — it is the least common multiple of , which occupies every prime axis below .
In the notation of Definition 22.31, let satisfy , and . Put
Then there is a real number with and
and, for this , a real number with such that (Mathlib’s Nat.lcmUpto ⌊t⌋₊) satisfies all of
The proof has two steps, matching the two parts of the Lean module OriginalLocalA.
Step 1: from the zero to a peak. The frozen result actual_height_gt_ten of the pinned repository says that every nontrivial zero satisfies , so ; also , hence . A spectral selection lemma first picks a scale at which the contribution of itself dominates all other zeros; the zero term (a sum over all nontrivial zeros) is then probed with a Gaussian kernel centred at , of width comparable to , and modulated at the frequency . The zero makes this response at least with , and together with gives . Now argue by contradiction: suppose throughout the window . The integrated explicit formula gives , hence for ; the mass of the Gaussian kernel is concentrated on this stretch (the rest is estimated separately), so the response is at most , a contradiction. The surplus in the exponent is the price of the zero leaving the critical line: at the two bounds have the same exponent and the contradiction disappears.
Step 2: from the peak to an integer. By a frozen tail identity, for : a large means that from onwards lies, on average, below the straight line . Regard a certain weighted average of the Chebyshev tail beyond as a function of ; multiplied by a positive weight, its Gaussian average over is nearly zero (at most in absolute value, less than times the Gaussian average of the weight itself), so some in that range makes the weighted average exceed . Consequently the Mertens error cannot stay at or above on all of , for integrating it back would contradict the peak (the frozen theorem finite_mertens_peak_of_signed_endpoint). At a point where drops below this threshold, take : then , and the divisor ratio of is the product of the truncated Euler factors on every prime axis below , whose logarithm differs from that of the saturated value by at most ; on the side of the ruler, , and the tangent inequality compares it with (this is where the second term of the threshold comes from); so the drop of turns into (the frozen theorem common_robin_response). Finally, Mathlib’s Chebyshev upper bound yields , so , and together with gives . The full proof is checked by the Lean kernel.
Theorem 22.34 is an implication; it does not assert that an off-line zero exists. Combined with the symmetries of this section it yields, by a manual derivation: if for every , then classical RH holds. To prove this implication, suppose classical RH failed. Then some zero in the critical strip would have . Inside the critical strip the zeros of are exactly the zeros of (the factor does not vanish there), so by the groups of four described after Theorem 22.14, are all nontrivial zeros, and at least one of them has and ; the frozen result actual_height_gt_ten rules out . Theorem 22.34 then produces an that violates Robin’s inequality. In the other direction, the frozen theorem Theorem 22.37 derives Robin’s inequality from classical RH. Applying it to the frozen classical result in Theorem 22.36 gives the inequality for every . Theorem 22.32 gives a separate proof for integers with at most eight distinct prime factors.
The bounds in the theorem are explicit, but far too large for any search. To get a feel for their size, substitute the coordinates of the test point of Example 22.27 into the formulas (without assuming a zero there): , , and ; the peak sits at some , a number with more than ten million decimal digits; and in the bound for , . If there were such an off-line zero, the theorem would guarantee a violator within a bound too large for a practical search.
Where the ruler comes from. Both the shape and the constant of Robin’s ruler have frozen support in the pinned repository. The two envelopes of Gronwall’s theorem (T. H. Gronwall, 1913) are frozen as gronwall_envelopes: for every real ,
- there is an such that every natural number satisfies ;
- for every there is a natural number with .
A manual derivation follows: replace the constant of the ruler by any smaller positive number , and item 2 (with chosen so that ) produces arbitrarily large violators; replace it by any larger , and item 1 says that the inequality holds from some point on. Robin’s inequality asks about the constant itself, with no to spare, and demands it from on. In Lean, the proof of the upper envelope splits the prime factors of at a cutoff, pads the small ones to all prime axes below the cutoff, and estimates them with Mertens’ third theorem, which is frozen as well, as E₃.bound'': as the real number , ; taking reciprocals (a manual derivation), the saturated value of all prime axes below is asymptotic to . The lower envelope uses powers of primorials as witnesses.
Robin’s criterion (G. Robin, 1984). Theorem 22.37 gives the forward implication. The reverse implication follows by the manual derivation above, using the symmetries and Theorem 22.34. Applying the forward implication to the frozen Theorem 22.36 and dividing by gives the original inequality for every .
As Theorem 22.29 shows, the symmetries allow zeros off the line. The theorem below cites riemannHypothesis and LFunction_eq_zero_re, both kernel-checked declarations frozen in D5. The original proof is due to Levent Alpöge.
Every complex zero of outside has real part . For every positive modulus and Dirichlet character mod , every zero of in the open strip also has real part .
A one-sided bound on the weighted prime remainder and Landau’s lemma give nonvanishing for , with the principal character at excluded. The functional equation rules out zeros in the left half of the critical strip, and modulus gives the classical result. The full proof is checked by the Lean kernel.
Original proof and independent kernel replays. The formalization was released by Levent Alpöge on November 20, 2026 (technical overview at alpo.ge/remark.pdf, transporting Stepanov’s finite-field multiplicity method to via chains of theta lifts between definite unitary groups, Rallis seesaw duality, Gan–Gross–Prasad periods, and Bost’s slope inequality), spanning 175,187 Lean 4 (v4.33.1 + pinned Mathlib) modules; on November 21, 2026, a joint Lean and Mathlib announcement vetted and confirmed the classical Mathlib.RiemannHypothesis statement (joint statement). Our organization maintains reproducible modular builds and a public replay ledger in the-omega-institute/riemann-hypothesis (Statements.lean defines the propositions used here, and Main.lean exports five headline theorems: riemannHypothesis : RiemannHypothesis, riemannZeta_eq_zero_re : RiemannZetaZerosOnLine, LFunction_ne_zero_of_half_lt_re : DirichletLNonvanishingRightOfHalf, LFunction_eq_zero_re : DirichletLZerosOnLine, and LFunction_eq_zero_re_of_isPrimitive : PrimitiveDirichletLZerosOnLine; the companion guide Symmetry on the Critical Line: How the Riemann Hypothesis Is Proved is available in an online English edition and source repository). The pinned source static scan (static-scan.txt) confirms zero occurrences of sorry, admit, opaque, native_decide, or custom axiom, and the five-theorem axiom audit (axiom audit) confirms exclusive reliance on Lean’s three standard axioms {propext, Classical.choice, Quot.sound}. Worldwide independent replay receipts include: Andrew Sutherland (MIT), whose leanchecker and lean4lean runs accepted all 175,187 modules with zero rejections, together with full-export acceptance by the independent Rust kernel nanoda and con-leche --verified plus a separate con-leche check confirming all five theorems against the Mathlib-only challenge (math.mit.edu/~drew/grh/ · axiom audit · con-leche comparison); mrubinst/grh-lean-verification, which replayed all 175,187 modules independently via Lean 4.33.1 replayFromImports (replay summary); Elliot Arledge and Luis Rivera, whose two separate builds produced byte-identical five-theorem exports sharing SHA-256 4301ce4828d397c728e87f3e6a1251aa42abe5e12809bb9e0b73cc3d33072e7e, with each independent nanoda run checking all 1,484,729 declarations with zero errors and Rivera publishing a matching con-leche challenge comparison (Arledge receipt · Rivera checksum · Rivera nanoda · Rivera con-leche); and the LUMI supercomputer team, which completed a sandboxed build of all 175,187 modules with zero final failures (after 718 retried attempts) whose Main.olean SHA-256 (9146dfb4148e24d2252e04c50742f3e49dd126dfcc5006d10bf5f873ddf796ad) matches MIT’s build (LUMI build record).
Given a proof of RiemannHypothesis, every natural number satisfies , where and is the Euler–Mascheroni constant.
Manual derivations and classical analytic number theory literature results (not formalized in this book), taking Theorem 22.36 as input. Applying Theorem 22.37 to the proof in Theorem 22.36 gives Robin’s inequality for every . Items 1–4 follow unconditionally by applying the frozen RH and Dirichlet GRH theorems. Item 5 lists related open problems.
-
Zero Cayley radial defect and narrow unit-circle arc (frozen equivalence Theorem 22.36): By Claim 2 of Theorem 22.18 and Claim 2 of Theorem 22.25 (both frozen in this book), every nontrivial zero satisfies , placing every Cayley image on the unit circle ; together with the lowest positive-ordinate zero (Example 22.27), all upper-half-plane nontrivial zeros map into the narrow arc accumulating uniquely at .
-
Elementary divisor-sum inequalities settled (Robin 1984; Lagarias 2002): By Theorem 22.37 and J. C. Lagarias’s equivalence (Amer. Math. Monthly 109, 534–543, 2002), both elementary arithmetic inequalities hold unconditionally across all target integers:
-
Explicit square-root prime bounds, prime gaps, and Mertens’s bound (Schoenfeld 1976; Cramér 1936; Littlewood 1912): By L. Schoenfeld (Math. Comp. 30, 337–360, 1976, Theorem 10 and Corollary 1), both Chebyshev’s and the prime-counting function obey explicit square-root envelopes:
Numerical benchmarks (
NUM): at , and ; at , and . Consecutive prime gaps satisfy Cramér’s bound (H. Cramér, 1936). The Mertens sum obeys Littlewood’s bound for every —crucially, the sharper -free bound is not implied by the Riemann Hypothesis and remains unknown (see §22.4.1 below). -
Dirichlet GRH equidistribution in arithmetic progressions and deterministic polynomial-time algorithms (Davenport; Lamzouri–Li–Soundararajan 2015; Bach 1990): By
DirichletLZerosOnLine, for every modulus and , primes in arithmetic progressions satisfy the single-modulus square-root bound (H. Davenport, Multiplicative Number Theory, Ch. 20), and for every (i.e. ) the least prime obeys the explicit Linnik bound (Y. Lamzouri, X. Li, K. Soundararajan, Math. Comp. 84, 2391–2412, 2015, Corollary 1.2). By E. Bach (Math. Comp. 55, 355–380, 1990, Theorem 2), the least quadratic nonresidue modulo an odd prime satisfies , and deterministic Miller–Rabin primality testing over all bases decides primality with zero randomness in bit operations (for a -bit integer, , requiring at most bases). A crucial cryptographic clarification: fast deterministic primality testing and integer factorization are fundamentally asymmetric; neither RH nor Dirichlet GRH yields a polynomial-time factoring algorithm for , and the hardness foundation of RSA is unaffected. -
Neighboring frontiers that remain open (
OPEN): The external formal archive covers and Dirichlet -functions over only. The following closely related statements are not implied by Theorem 22.36 and remain strictly open (OPEN): the Extended Riemann Hypothesis (ERH) for Dedekind zeta functions of general number fields (hence Hooley’s conditional proof of Artin’s primitive-root conjecture and Weinberger’s conditional classification of Euclidean principal ideal domains remain conditional), the Grand Riemann Hypothesis (Grand RH) for general automorphic -functions, the Simple Zeros conjecture for and , Montgomery’s pair-correlation / GUE statistics conjecture, and the construction of a genuine self-adjoint Hilbert–Pólya operator. Spectral reproducing-kernel positivity, super-exponential Li–Toeplitz collapse, primitive complex Dirichlet Hermite–Biehler kernels, and modular scattering strips are derived in Chapter 31 §31.3.
The chapter draws on frozen theorems and on classical literature.
- Kernel-verified frozen theorems in this book (
LEAN ✓): The formal blocks of this chapter — the unit residue at (Lemma 22.2), the Dirichlet series identity on (Proposition 22.3), the Euler prime product identity on (Theorem 22.4), their direct equality on (Corollary 22.5), the coefficients of the additive Euler product as coloured partition counts (Theorem 22.6), the linear independence of prime logarithms over the integers and the rationals (Theorem 22.8), the irrationality of logarithms of natural numbers (Lemma 22.10), the closure of power orbits on a finite-dimensional torus together with Kronecker density (Theorem 22.11), the entirety, reflection symmetry and endpoint values of the xi reading (Theorem 22.14), the conjugation covariance of and (Proposition 22.16), the Cayley unit-circle criterion with the radial equivalent of the Riemann Hypothesis (Theorem 22.18), the convergence of the alternating partial sums to (Lemma 22.19), the sign of on the real axis and its real zeros (Proposition 22.20), the zeros of the xi reading as exactly the zeros of in the critical strip together with the nonvanishing of the completed zeta on (Proposition 22.22), the Prime Number Theorem in Chebyshev’s form with an error term (Theorem 22.23), the right half-strip reduction and the agreement of Mathlib’s formulation with the critical-strip one (Theorem 22.25), the quartic counterexample showing that full symmetry does not imply fixed-line localization (Theorem 22.29), Robin’s inequality on at most eight prime axes and for every (Theorem 22.32), and the theorem that a zero right of the critical line forces some to violate Robin’s inequality (Theorem 22.34) — are fully verified by the Lean kernel. Note that the Euler product is invoked solely inside the absolute-convergence half-plane1 < s.re() supplied by the Lean hypotheses. - Classical theorems of analytic number theory (proved in the literature, not formalized in this book):
- Analytic continuation and trivial zeros (Riemann, 1859): has trivial zeros at (Remark 22.26). (Analyticity of on no longer belongs to this layer: the pinned repository freezes
classical_zeta_unique_simple_pole_residue_one.) (That there are no other zeros outside the critical strip no longer belongs to this layer: it follows from Claim 3 of Theorem 22.25 and the one-line manual derivation after Proposition 22.22; for the real axis see Proposition 22.20.) (That the completed function is entire and satisfies and no longer belongs to this layer: these are given by Theorem 22.14 and Proposition 22.16 through Mathlib’s completed zeta.) - The Prime Number Theorem in the form (Hadamard, de la Vallée Poussin, 1896): the nonvanishing (; , i.e. , is the simple pole) no longer belongs to this layer, since it follows from Proposition 22.22 by a one-line manual derivation, and neither does the Prime Number Theorem in Chebyshev’s form with an error term, see Theorem 22.23. What remains in this layer is the step from to by partial summation, and de la Vallée Poussin’s error term ;
- Explicit formulas (von Mangoldt, Weil): Fourier duality pairing prime-power logarithmic weights with the spectral sum over nontrivial zeros . (One integrated form no longer belongs to this layer: the pinned repository freezes
actual_integrated_explicit_formula, which says that for every real the sum over all nontrivial zeros, counted with multiplicity, equals , with as in Definition 22.31; the proof of Theorem 22.34 uses it.)
- Analytic continuation and trivial zeros (Riemann, 1859): has trivial zeros at (Remark 22.26). (Analyticity of on no longer belongs to this layer: the pinned repository freezes
- The Riemann Hypothesis and related questions. D5 proves classical RH and Dirichlet GRH in Theorem 22.36. The discussion after Remark 22.38 treats questions about other L-functions and zero statistics.
In Part VIII, we return to this critical strip armed with round-trip double projection and interior-chord tunneling (MODEL + LEAN ✓ + OPEN): Chapter 31 §31.1 casts the Euler–Dirichlet identity as a path-integral model over prime minimal arc-trihedra , pairing half-density dual-shell balance with Weil explicit staircase reconstructions; §31.2 then introduces self-convolved multiplicative wavefronts, block Schur arithmetic pivots , and a multi-stage Cayley resonant relay beneath the pole barrier, isolating area-law decay of transverse shift-convolution entanglement across pivot subtrees as an open problem (Open problem 31.11).
From the concept fibers of Chapter 21 to the prime orthogonal axes of this chapter, we have seen the rigid crystal structure of the integers . What happens, however, when is submerged inside the dense continuum of the rational field , where infinitely many fractions crowd between any two integers? Can first-order polynomial equations over still isolate the discrete integer skeleton — and why does the modern lock that achieves this rely on quaternion norm spheres and quadratic trace projections? Let us turn to Chapter 23.
22.4.1 From Phasors to the Prime-Power Staircase: Truncation and Continuation Do Not Commute
Earlier in this chapter we established the linear independence of prime logarithms over the integers and rationals (Theorem 22.8), and in the present section we used entireness and functional reflection of the completed reading (Theorem 22.14) to characterize mirror pairing of zeros in the critical strip. When placing “prime-frequency phasors” alongside “zero-spectrum oscillations,” the first analytical boundary to enforce is the domain of convergence together with the exact limit to which each expression converges: on the half-plane of absolute convergence , the Dirichlet series and the Euler product converge absolutely to the same nonzero value :
whereas the Möbius Dirichlet series does not equal , but instead converges absolutely to the reciprocal value :
where is the number-theoretic Möbius function (, when is a product of distinct primes, and whenever ; not to be confused with the path-marker overlap in quantum interference). Even inside , at any finite cutoff the partial sum and the finite Euler product approximate whereas the finite Möbius sum approximates : at finite , no identity guarantees equality among these truncations (or the reciprocal of the finite Möbius sum)—they generally differ, without excluding accidental coincidences—their coiling speed varies strongly with , and one cannot claim that a finite truncation has already reached the infinite limit. Heuristically, the Euler product is often likened to a “prime-path partition function” and to a “Möbius exterior product” selecting each prime axis at most once; both phrases are purely interpretive analogies. Algebraically, is Dirichlet convolution inversion () on the commutative ring of arithmetic functions, not an antisymmetric wedge product on an exterior algebra—integer multiplication is commutative, and square factors are removed by the arithmetic coefficient rather than annihilated by anticommuting generators.
Three-dimensional finite partial-sum and finite Euler-product polylines at (domain). Along the purple coordinate axes, the 3D stage plots both the cyan finite partial-sum polyline and the magenta finite Euler-product polyline together with their respective projections on the far complex plane, while an amber dot marks the current index . The view performs only finite-cutoff computations without analytic continuation, whose coiling varies with the parameters, and provides no remainder certificate toward an infinite limit.
Once we cross the pole at into the critical strip , finite truncation and analytic continuation never commute. On the critical line , the partial sum is merely a finite exponential polynomial, not the analytically continued : because the term magnitudes are not summable, keeps winding in space; transient “false zeros” where crosses the zero axis drift with and must not be called zeros of , while a hard cutoff is neither Dijkstra’s shortest-path graph algorithm nor a physical quantum Zeno effect under continuous measurement. Equally important is the boundary for the Mertens function : comparing to an independent random walk may suggest heuristically, but is not a known theorem, nor is implied by the Riemann Hypothesis; the classical statement equivalent to Theorem 22.36—and therefore now established unconditionally via Theorem 22.36 (Remark 22.38)—carries an arbitrary positive exponent margin:
Moreover, as demonstrated earlier by the degree-four off-line counterexample in critical-mirror (Theorem 22.29, Example 22.30), the modulus reflection symmetry from Theorem 22.14 only groups non-real zeros into symmetric quartets and never forces zeros onto the critical line by symmetry alone.
Three-dimensional finite partial-sum polyline at (partial). Along the purple coordinate axes, the 3D stage plots the cyan finite partial-sum polyline with the Euler product hidden, while an amber dot marks the current index . The view shows only the finite-cutoff partial-sum computation at the displayed parameters without analytic continuation and provides no remainder certificate toward an infinite limit.
The classical analytical bridge that connects the critical-strip zero spectrum to the discrete arithmetic staircase on is the full pointwise von Mangoldt explicit formula (with denoting the natural logarithm throughout):
Applying this identity requires five strict conventions: first, the sum ranges over all nontrivial zeros in the critical strip , counted with multiplicity; second, because the sum converges only conditionally, the outer limit must be taken over symmetric height cutoffs as (along symmetric ordinate sequences avoiding zero ordinates in contour-integral proofs); third, at prime-power jump discontinuities one must use the midpoint value ; fourth, and collect the exact contributions from the origin and the negative even trivial zeros; fifth, counts all prime powers (including composite prime powers such as ), not primes alone. Although classical analytic number theory provides analytical remainder bounds for truncated and smoothed explicit formulas, the real-spectrum mode on this page displays only the first conjugate pairs of positive-ordinate critical-line zeros and carries no implemented error certificate, so short numerical zero samples must never be treated as proofs.
For , the first ten Möbius values are (vanishing at the squareful integers ), summing to . By contrast, Chebyshev’s staircase exhibits genuine upward jumps of , , and precisely at the composite prime powers , , and : at , and , so the midpoint normalization gives the exact value
and moving right from the midpoint contributes the remaining half-jump at (to ) before crossing adds the full jump to reach , while the smooth non-oscillatory terms at evaluate to . Conversely, the real zero sample plotted on this page includes only the first positive-ordinate zero conjugate pairs without any error certificate covering the tail of high-ordinate zeros (); no short zero sample by itself constitutes evidence of spectral completeness or a proof of Theorem 22.36, while quartet serves as a synthetic off-line comparison model.
Three-dimensional comparison of the prime-power staircase and a finite zero spectrum (powers). The 3D stage plots the cyan exact prime-power staircase alongside the magenta finite-spectrum curve reconstructed from the first conjugate pairs of positive-ordinate zeros along the purple coordinate axes. The amber marker indicates the selected position, and the discrepancy between the two 3D curves reflects truncation oscillations in an uncertified short zero sample.
Formalization boundary and literature sources. Earlier theorems in this book that carry frozen Lean citations cover their respective verified scope—including the Dirichlet series and Euler product identities for on , the entireness and reflection properties of , and partial zero results—whereas the Möbius reciprocal series and inversion, the Mertens equivalence, and the full pointwise explicit formula cited additionally here are used as classical literature results without formalization in this book and without any claim of verification by the finite computations on this page. The standard definitions and theorems belong to distinct references: the Dirichlet series, Euler product on , and analytic continuation of appear in DLMF §25.2; the Möbius reciprocal Dirichlet series in DLMF 27.4.E5, with Dirichlet convolution and Möbius inversion in DLMF §27.5; properties of nontrivial zeros in the critical strip in DLMF §25.10; and the definition of Chebyshev’s together with its leading Prime Number Theorem asymptotic in DLMF §25.16 (such as DLMF 25.16.E2), noting that §25.16 gives only the definition and asymptotic formula for rather than proofs of the Möbius reciprocal series, the Mertens equivalence, or the full pointwise explicit formula. As classical analytic number theory results, the Dirichlet-series and zero-distribution foundations as well as the equivalence between the Riemann Hypothesis and the Mertens bound () are treated in E. C. Titchmarsh, The Theory of the Riemann Zeta-Function, second edition (revised by D. R. Heath-Brown), Chapters 3, 4, and 14; the full pointwise von Mangoldt explicit formula on (under the conventions of all nontrivial zeros counted with multiplicity, symmetric height limit, and midpoint values) is likewise proved in H. Davenport, Multiplicative Number Theory, third edition, Chapter 17.
Manual derivation and high-precision interval-arithmetic verification (NUM, not formalized in this book), starting from four frozen Lean declarations in this book. The powers view on this page plots the exact prime-power staircase alongside unsmoothed pointwise truncations with selectable (its full-cutoff comparison curve being ). The obstacle to attaching a rigorous error certificate to such unsmoothed pointwise truncations is that the pointwise zero series converges only conditionally under symmetric height cutoffs, so its omitted tail cannot be bounded absolutely from total zero weight alone. Switching to the integrated explicit formula already frozen in this book’s pinned repository removes both obstructions at once and eliminates the smoothing-window error identically (continuing the convention above that denotes the natural logarithm throughout):
-
Frozen integrated identity and elementary closed form for the trivial-zero series: By
Uin Definition 22.31 and the frozen theoremactual_integrated_explicit_formula(whose domain is , i.e. ), every satisfies the exact identitywhere the sum ranges over all nontrivial zeros in the critical strip counted with multiplicity (both signs of ). By partial fractions together with the logarithm and inverse hyperbolic tangent series, the trivial-zero correction admits an exact elementary closed form with no truncation on :
-
Zero-smoothing-error three-point centered stencil (exact extraction of ): Write . From the arithmetic definition of
U, every satisfiesFor any integer and any step size with and (so all three stencil nodes lie inside the domain of the integrated formula), define the centered second difference . Both the linear term and the constant vanish identically under , while every positive integer satisfies ; because , this triangular kernel vanishes identically at every integer and equals at . Together with the absolute convergence established in item 3 below, this yields an exact extraction identity with identically zero smoothing-window error:
Using 300-bit Arb interval arithmetic across under the step schedule used in the table below ( at and at , evaluating the infinite zero sum via the frozen integrated identity), every stencil residual is enclosed in a zero-containing interval of radius below .
-
Dual computable tail certificates from the frozen total spectral mass (RH track and completely unconditional track): The frozen theorem
actual_complex_pairWeight_hasSumestablishes the exact total reciprocal-quadratic spectral mass over all nontrivial zeros (counted with multiplicity):Let (, ) be the first positive-ordinate critical-line zeros, certified by finite interval arithmetic to be simple and to exhaust all nontrivial zeros with (in the literature, D. Platt & T. Trudgian, The Riemann hypothesis is true up to , Bull. London Math. Soc. 53(3), 792–797, 2021, Theorem 1 and §2, 10.1112/blms.12460, rigorously verify this up to , where matching the count of certified critical-line sign changes against the full critical-strip zero count via Turing’s method in §2 establishes both simplicity and exhaustiveness; the decisive cutoffs and their predecessors below for were also independently checked via FLINT/Arb zero enclosure and critical-strip zero counting). Combining the frozen theorem
actual_height_gt_ten(, ruling out real zeros) with conjugation symmetry (Proposition 22.16, Proposition 22.22), taking real parts of the mass identity and subtracting the exact contribution of the first conjugate pairs gives the exact real tail mass determined solely by the first ordinates:(Arb interval centers give, for instance, , , , , , , and , each with interval radius below .) Define the -pair truncated reconstructions
For any omitted nontrivial zero (, ), put . Since and , one has and , whence ; substituting into the elementary identity (valid for ) yields termwise absolute control without assuming any localization of omitted zeros:
(the same inequality with also establishes the absolute convergence of for every ). For every and every admissible , two rigorous computable remainder certificates follow immediately:
-
RH track (invoking the external headline theorem
riemannZeta_eq_zero_re : RiemannZetaZerosOnLinerecorded in Theorem 22.36, so every omitted zero satisfies , , and ): -
Completely unconditional track (entirely independent of Theorem 22.36, using only the finite verification up to and ):
(since cancels cleanly in the numerator).
-
-
High-precision certification on and contrast with the unsmoothed exhibit (
NUM):- Continuous comparison at pairs (): On , the continuous maximum integrated error is (attained at , where the pointwise RH and unconditional bounds are and ), staying well inside the uniform certificates (RH track) and (unconditional track) (replacing the exact ordinates by the exhibit’s stored IEEE-754 double-precision array
GAMMASshifts uniformly by less than ). By sharp contrast, the full-cutoff unsmoothed curve from thepowersview (whose printed six-decimal errors below agree identically whether evaluated with exact ordinates or with the exhibit’s stored double-precisionGAMMAS) exhibits an integer-node maximum error of (at ), a half-integer-node maximum error of (at ), and a continuous supremum (approached as , equaling ), nearly three times the single-step prime-power half-gap . - Uniform half-gap cutoffs and per-node interval cutoffs for single-step prime-power resolution: Because every integer obeys the strict spectral gap (), whenever a computable error bound satisfies the uniform half-gap criterion , the certified interval automatically separates from ( rigorously certifies that is a prime power, while rigorously certifies that is not a prime power). Fixing the admissible step schedule on ( at and at ), the tightest node for both bounds is always and both bounds decrease strictly with :
- Smallest RH-track cutoff for the uniform half-gap criterion is : at , falls just short; at , , bringing all nine rows below the half-gap simultaneously and strictly certifying that are prime powers and are not (at the benchmark this bound drops further to , with actual error ).
- Smallest completely unconditional cutoff for the uniform half-gap criterion is : at , ; at , (with actual error ), strictly certifying the prime-power versus non-prime-power classification of all nine integers in under the uniform half-gap criterion without invoking Theorem 22.36.
- Sharper per-node interval cutoffs and contrast with : If one instead applies the same bounds to each node’s certified interval individually (requiring for prime powers and for non-prime-powers), all nine integers are already strictly classified at (RH track) and (unconditional track). Returning to , every row fails the uniform half-gap criterion ; checking solely whether an individual certified interval excludes , the RH track already certifies as prime powers and the unconditional track certifies , whereas the composite prime powers and the non-prime-power composites cannot yet be separated from the opposite class under either track. The table below summarizes the Arb-verified values at the key cutoffs (all entries rounded to six decimal places):
- Continuous comparison at pairs (): On , the continuous maximum integrated error is (attained at , where the pointwise RH and unconditional bounds are and ), staying well inside the uniform certificates (RH track) and (unconditional track) (replacing the exact ordinates by the exhibit’s stored IEEE-754 double-precision array
Manual derivation and 350-bit FLINT/Arb interval-arithmetic verification (NUM, not formalized in this book), starting from the same four frozen Lean declarations used in Remark 22.42. The three-point stencil of Remark 22.42 corresponds to the centered cardinal B-spline and exploits only decay, so the zero-pair count needed for uniform half-gap certification on grows like (RH track) and (unconditional track). Integrating the frozen integrated explicit formula additional times and applying a -th centered finite difference accelerates the tail decay to while preserving identically zero smoothing-window error and introducing no infinite trivial-zero series, compressing the required zero-pair count on both tracks to the quasilinear rate at large scales (continuing the convention that denotes the natural logarithm throughout):
-
Unified elementary closed-form smooth potential and arbitrary even-order exact extraction identity: Let be an integer, write , and set (with ). Expanding the elementary trivial-zero closed form of Remark 22.42 on via gives
For every and , define the elementary smooth potential free of any infinite series:
Applying and to , direct differentiation yields ; hence differs from any -fold antiderivative of by a polynomial of degree at most . Define the -th centered difference operator (which annihilates every polynomial of degree at most ) and the centered cardinal B-spline peak constant
where the right-hand integral gives the value at the origin of the -fold convolution density of the uniform law on by Fourier inversion, and expressing that spline density as a centered difference of truncated powers establishes its equality to the left-hand finite sum (the first six exact rational peaks are , , , , , and ). For any integer and any step size satisfying and (so all stencil nodes lie strictly inside ), integrating the frozen arithmetic representation (from
U) times yields modulo a polynomial of degree at most . Because , for every integer the truncated power either vanishes at all stencil nodes () or agrees across all stencil nodes with the single degree- polynomial (), and is therefore annihilated identically by ; only survives via its offsets, giving . On the spectral side, the zero series in the frozen theoremactual_integrated_explicit_formulaconverges absolutely and locally uniformly on byactual_complex_pairWeight_hasSumandactual_height_gt_ten(with ), allowing termwise -fold integration; the integration polynomials, the constant , and the affine discrepancy in are all annihilated identically by . Thus every and every admissible satisfy the arbitrary even-order zero-smoothing-error exact extraction identity:(with the empty product equal to at , recovering the three-point identity of Remark 22.42). Symbolic verification and 350-bit Arb interval arithmetic across all combinations of , , and the three step schedules below (evaluating the full zero sum via the exact arithmetic primitive) enclosed zero residual in every case with absolute upper bound below .
-
General symmetric height-cutoff reconstruction and dual computable tail certificates: For any cutoff height , retaining every nontrivial critical-strip zero with counted with multiplicity (without assuming simplicity or critical-line localization in the unconditional framework), define the order- height-cutoff reconstruction and exact real tail mass
In particular, whenever lies in a finitely certified range where the first positive-ordinate zeros () are simple, lie on the critical line, and exhaust all nontrivial zeros with (so each conjugate pair satisfies ), equals from Remark 22.42 and the reconstruction reduces to the explicit real-part sum
Put (which equals at ) and for the binomial-weighted node power sum (for the integer exponent , is a polynomial in with integer coefficients, hence an exact rational for every rational step used below, and obeys ). Applying the triangle inequality to every omitted zero (, ) yields two rigorous computable tail certificates valid for every height :
-
RH track (invoking the external headline theorem
riemannZeta_eq_zero_re : RiemannZetaZerosOnLinerecorded in Theorem 22.36, so , , and ): -
Completely unconditional track (entirely independent of Theorem 22.36, using only , , and ):
Because every node satisfies , these bounds obey the strict ordering (and for the first inequality is strict as well). Across all 350-bit Arb comparisons covering , , , and all three step schedules below (writing and similarly for the unconditional track), the strict chain held without exception.
-
-
350-bit Arb cutoff compression tables on and , and contrast at the exhibit cutoff (
NUM): For every choose the maximal admissible step (support half-width ); at the boundary node set and compare the three support half-widths (all keeping ). Every cutoff integer in both tables below is identical across all three schedules because the upper endpoint ( or ) is always the unique tightest node for both uniform bounds (locally at , enlarging sharpens that node’s individual bound substantially—for instance, at , at drops from at to at ). Every decisive cutoff and its predecessor (including and , up to the largest cutoff ) lies far inside the verification bound of D. Platt & T. Trudgian (2021, Theorem 1 and §2, 10.1112/blms.12460), and was additionally certified for this section via FLINT/Arb’sacb_dirichlet_zeta_zerosandacb_dirichlet_zeta_nzerosroutines (routine specifications in FLINTacb_dirichletdocumentation; verification record in repository Issue #873), comprising indexed ordinate enclosures with Hardy sign-change checks and independent exact full-strip zero counts at separating heights. In every row attaining a finite cutoff, parenthetical entries give the worst-node bound at (rounded to six decimal places) straddling the half-gap (the sole exception being the , row, where the parentheses report the value at , still above the half-gap); every per-node classification cutoff was obtained by scanning all smaller positive to account for finite-sum oscillation:Order half-gap RH half-gap unconditional per-node RH per-node unconditional () () () () () () () () () () On , moving to compresses the uniform half-gap cutoff from (RH track, over a reduction) and from (unconditional track, over a reduction), while per-node classification drops to (RH track, ) and (unconditional track, ). At the exhibit’s own cutoff (identically across all three values), for the individually certified prime-power sets are , , and on the RH track, versus () expanding to () on the unconditional track—so stepping up to certifies and unconditionally already at , whereas the non-prime-powers and remain uncertified at across all six combinations.
Expanding the upper endpoint tenfold to ( integer nodes) amplifies the higher-order gain dramatically:
Order half-gap RH half-gap unconditional () () () () () () () () () () () () For the baseline on , Arb certifies the lower bound on both tracks (solving the leading tail approximation below and evaluating the smooth Riemann–von Mangoldt count yields and , while Arb evaluates the exact zero count at those estimated heights as and , with the first unconditional index above the estimated height at ); by contrast, requires only pairs on the RH track and requires only pairs unconditionally—certifying all ninety-nine integers on completely independently of Theorem 22.36 with fewer zero pairs than the stencil required even on ().
-
Sharp optimal-order asymptotic compression law within this certificate family (matching upper and lower bounds): Let be the integer upper endpoint (so is admissible at ) with , set on the RH track or on the unconditional track, and use the general height-cutoff reconstruction of item 2 with counting all nontrivial zeros with by multiplicity (allowing general critical-strip zeros on the unconditional track, while
riemannZeta_eq_zero_replaces them on the critical line on the RH track, with neither track requiring simplicity at arbitrary height). By the classical Riemann–von Mangoldt zero-counting formula (E. C. Titchmarsh, The Theory of the Riemann Zeta-Function, second edition, revised by D. R. Heath-Brown, Chapter 9, §9.3–9.4, giving , so every target height has a zero ordinate within ), partial summation, and the uniform critical-strip expansion (), the real tail mass obeysFor the peak constant , on one has , so rescaling yields the integrable Gaussian majorant , while the outer tail satisfies and decays exponentially in ; dominated convergence therefore gives as . Moreover, restricting the integral to and applying together with Bernoulli’s inequality yields the elementary all- enclosure
(with directly from ). Taking () and using the exact combinatorial identity , in the regime and one has and denominator product , so the leading bound at takes the unified form on both tracks
Endpoint domination across : on with fixed , the node factor is strictly increasing in . Comparing ( with fixed ) against , for every combining with Jensen’s inequality () gives
where all three factors are strictly below whenever (e.g., for , and for ); at , the unconditional ratio is , and on the RH track (where is concave) direct nodewise comparison gives with prefactor , so the upper endpoint strictly dominates all of for every on both tracks.
-
Upper-bound construction: Setting (which may equally be chosen as a zero ordinate within ) with the logarithmically growing spline order yields and , so every drives for large .
-
Matching lower bound within this certificate family: For every integer , every , and every height , convexity of () and Jensen’s inequality give ; combined with , , and for , both tracks satisfy
Whenever the parenthesized ratio is below , one has , which is algebraically equivalent to , so implies that the power strictly exceeds ; the same exponential lower bound holds trivially whenever the ratio is at least . Consequently, every and satisfy . Fix any and set ; since the positive function is nonincreasing in (constant between consecutive zero ordinates) while decreases strictly in , every height obeys the uniform bound , uniformly ruling out all and all for sufficiently large . Combining with , within the uniform half-gap certificate family , , the infimal cutoff height over real (and the minimum attained over zero ordinates, which differs from by and therefore shares the same asymptotic law) and the minimum zero count (counted with multiplicity) obey the exact asymptotic laws
By contrast, fixing under the same symmetric height cutoff and solving gives ; optimizing the order along therefore saves a full factor of order on the RH track and a full factor of order on the completely unconditional track.
-
Remark 22.42 and Remark 22.43 analytically resolve the zero-smoothing-error certificate construction and large-interval higher-order compression problem built on the frozen integrated explicit formula: using the unified elementary potential and arbitrary even-order cardinal B-spline differences, the uniform half-gap cutoffs on drop to (RH track) and (completely unconditional track independent of Theorem 22.36), with per-node classification at and ; expanding the upper endpoint tenfold to ( integer nodes), uniform half-gap certification drops to (, RH track) and (, unconditional track); and optimizing as compresses the minimum zero count within the , certificate family to the sharp quasilinear law on both tracks (with leading constants and ). The remaining open engineering and analytic problem narrows to two concrete goals: first, the powers view of the interactive exhibit zeta-spectrum-lab still plots the exact prime-power staircase alongside selectable unsmoothed truncations for (its full-cutoff curve being the benchmark analyzed above) without rendering these computable error bands or selectable order- integrated stencil views, so audited live integration into the exhibit remains an engineering task; second, because the matching lower bound in item 4 of Remark 22.43 applies specifically to the two displayed nodewise triangle-inequality bounds and , it remains an open analytic optimization problem whether sharper estimates that bound each zero’s entire finite difference before summing, compactly supported smooth Gevrey-class Mellin kernels, bandlimited Beurling–Selberg extremal majorants (whose transforms are compactly supported in frequency rather than in the smoothed spatial variable, trading zero smoothing error for computable spatial-tail bounds), or phase-aware cancellation mechanisms can further lower the leading constant of while preserving computable smoothing-window bounds, or separate the remaining nodes on near the exhibit cutoff .
The full spectrum laboratory below brings together the 3D partial-sum polylines, the synthetic off-line quartet model, and the 3D prime-power curves so readers can inspect the boundary between finite truncation and analytic continuation:
Three-dimensional interactive laboratory for Riemann partial-sum polylines and finite zero spectra (zeta-spectrum-lab). The 3D stage presents the cyan partial-sum polylines together with the cyan exact prime-power staircase and magenta finite-spectrum 3D curves along the purple coordinate axes. The amber marker indicates the currently selected point, while the right-hand controls and readouts in the full laboratory let readers switch presets and compare finite cutoffs against analytic continuation.