Translation draft, 20 October 2026

Where the Chapter Stands

Chapter 13.5 gave the zeros of zeta; Chapter 13.1, the primes. This chapter joins them by the explicit formula—the mathematical heart of analytic number theory, which says: the distribution of primes is linear growth minus the oscillations set by the zeros of zeta. The bridge is the von Mangoldt function.

The von Mangoldt function. Classically

For example, , (since ), , . This function “concentrates” the primes: it is nonzero exactly on prime powers.

What is machine-checked. The logarithm is not directly available over , so our arithmetic base formalizes a multiplicative version—, equal to for and to otherwise (this is , but without recourse to the actual exponential). The main thing is the identity

which is exactly the multiplicative (exponentiated) form of the classical .1

The Summatory Function

The summatory von Mangoldt function is

The link to the PNT. The prime number theorem is equivalent to as —the “logarithmic count of primes” is asymptotically equal to . This is the form of the PNT convenient for analysis.

In the repository the rational side of counting primes is machine-checked: the prime counter and the Chebyshev sum .2 itself (and with it the PNT) is not proved in this volume—we have rational counters and a link to the zeros at our disposal, and we leave the full asymptotics classical.

The Logarithmic Derivative of Zeta

The link between zeta and is given by the logarithmic derivative:

This is a Dirichlet series with coefficients —a direct link between zeta and the von Mangoldt function. It is derived by taking the logarithm of the Euler product (Chapter 13.3):

and differentiating.

In ToS the rational side of taking the logarithm of the Euler product is machine-checked: the finite partial sums of the series (which classically represents ) and of the sums , with positivity and monotonicity.3

Von Mangoldt’s Explicit Formula

The classical analytic formula reads:

where the sum runs over all nontrivial zeros of zeta (with the symmetrization ). The formula is striking: it says directly

The main term gives (the PNT); each zero contributes an oscillatory term .

In ToS a truncated, computable form of the explicit formula is formalized: at each level the sum of the contributions of the zeros is finite, rational, and computable.4 This is the operational essence: we read the explicit formula as a process of approximation—a finite sum of the contributions of the zeros up to level , not as a completed summation over all .

The Geometric Interpretation: The Zeros Govern the Deviations

The zeros of zeta “govern” the deviations of the distribution of primes from the average. If the Riemann Hypothesis is true (all zeros on ):

  • the oscillatory terms have ;
  • their sum is of order (after symmetrization);
  • hence —the optimal bound for the error term in the PNT.

If, however, RH fails (there is a zero with ), the corresponding term has , and the bound for the error term worsens. In other words,

The Riemann Hypothesis the optimal asymptotics of the prime numbers.

This is a classical reading (we do not prove it): the link between the position of the zeros and the precision of the PNT. Operationally what matters is that the mechanism is transparent—the closer the zeros are to the critical line, the smaller the oscillations; the explicit formula makes “zeros primes” an explicit dependence, not a mystery.

What Is Proved: An Honest Summary by Tiers

Let us gather the status of the formalization of Part XIII by tiers of strength (this is a foretaste of the map of boundaries of 13.7):

  • Proved, 0 axioms (rational/algebraic/counting cores): the definitions of the partial sums of zeta and the rational telescoping estimates; the finite Euler layer; the log expansion (LogZeta); the algebraic trig inequality over ; the rational core of the zero-free region; the crude estimate of the zero count; the prime counters and the Chebyshev sum (PrimeSumBounds); the exponentiated von Mangoldt function and the identity (a new layer, local).
  • With classic (L3): the Cauchy formulation of the zeta/Euler process; the truncated explicit formula (ExplicitFormula); the syntheses of the zero-free region and of phases 1/2.
  • A lemma: the symmetry of the formal predicate of a zero under reflection (functional_equation_structure); the analytic equation belongs to the classical reading.
  • A classical reading (not formalized as completed): the full complex zeta and analytic continuation; the full Euler and logarithmic complex layer; the de la Vallée Poussin region; the actual and the Riemann–von Mangoldt formula; the full explicit formula; the PNT; the Riemann Hypothesis itself.

The src/zeta/ corpus is an impressive volume of formalization of analytic number theory (exact counts per the current build accounting); but honesty matters more than volume: we strictly separate the proved core and the classical reading.

Rules (L5). The constituting rules are the selection of prime powers (the function is nonzero only on ; machine-checked is its exponentiated form with the identity ) and the link zeros primes (the explicit formula: ). Taking the logarithm of the Euler product is the rule of transition from the primes to the Dirichlet series with .

Roles (L4). “” is a role-selector (it isolates the prime-power skeleton of a number); “” is a role-counter (the logarithmic weight of the primes up to ); “the contribution of a zero ” is a role-oscillation; “the explicit formula” is a role-link between the zeros and the primes.

Elements (L1P4). Concrete data: the values , the products , the rational , the truncated . Not elements: the completed sum over all zeros, the full analytic , the series as a complex object.

ComponentWhat it determinesE/R/R category
the selection of (, ); the link of the explicit formulathe constitution of the link zeros primesRule (L5)
selector; counter; oscillation; formula linkthe status of objects in the linkRole (L4)
; chebyshev_theta; explicit_formula_levelthe bearers at each stageElement (L1P4)

What the analysis removes. The explicit formula often sounds like a mysterious link: “how do the zeros know about the primes?” ToS reads it as a rule-link whose rational core (the selection of prime powers, the truncated contributions) is machine-checkable, while the full analytic form honestly remains a classical reading. The function , moreover, is not a magical coefficient but a selector of the prime-power skeleton, growing directly out of the factorization of Chapter 13.1.

What the Chapter Has Prepared

The von Mangoldt function has been read as a selector of prime powers (machine-checked is its exponentiated form with the identity , a direct bridge to the factorization of 13.1); the explicit formula, as a rule-link of the zeros and the primes, whose rational truncated core is formalized, while the full analysis is left classical. The status of the whole part has been gathered by tiers.

Next comes Chapter 13.7: three equivalent forms of the Riemann Hypothesis, their machine-checked equivalence, and the map of boundaries of the part, which finally separates the proved core, the classical reading, the continuum price, and the openness of RH.



Part: Part XIII. The Zeta Function and Number Theory · Volume: “Mathematics”

Navigation: ← Chapter 5. The Zeros of Zeta and the Zero-Free Region · Chapter 7. The Riemann Hypothesis: Three Forms and the Map of Boundaries →

Footnotes

  1. The new layer src/numbertheory/VonMangoldt.v: Lambda_exp ( for , otherwise ), mangoldt_prod, psi_exp, and mangoldt_identity_upto_20—the identity for all (0 axioms, by Print Assumptions). This connects the arithmetic base of Chapter 13.1 (divisors, factorization) with the analytic formula below. A reservation about reproducibility: the layer src/numbertheory/ has not yet entered the main branch—it is built and checked locally (it is included in _CoqProject); the classical additive with is, meanwhile, the standard mathematical reading, while what is machine-checked is its exponentiated form. ↩

  2. src/zeta/PrimeSumBounds.v (0 axioms beyond the inherited ones): (for example, prime_count 3, prime_count 6), , and —which corresponds to (over the primes), not to the full (over prime powers). These are rational/integer sums; the asymptotics (that is, the PNT) is a classical result not proved here. ↩

  3. src/zeta/LogZeta.v (its header says “AXIOMS: none,” 0 axioms): log_series_term, log_series_partial, prime_power_sum, log_zeta_approx—rational partial sums of the series that classically represents , with nonnegativity and monotonicity (there is no actual log function in the file). The passage to the complex formula requires differentiation, the complex logarithm, and the additive —this is the classical analytic layer, not formalized here. ↩

  4. src/zeta/ExplicitFormula.v (its header: “AXIOMS: classic, inherited from ZetaProcess”): zero_contribution is the rational contribution , explicit_formula_level is the truncation of the explicit formula at level (computable: explicit_formula_computable), pole_correction, explicit_formula_step. This is a truncated process variant, inheriting classic; the full classical explicit formula is an analytic reading on top of it. ↩