The Riemann hypothesis (RH) asserts that every zero of the Riemann zeta function in the strip has . One of the few reformulations that turns RH into a positivity statement, rather than a statement about the location of points, goes back to A. Weil (1952): the explicit formula expresses a sum over the zeros of as a sum of local contributions over the places of , and RH is equivalent to the resulting functional being positive on elements of the form .
Connes' 1999 programme paper Noncommutative geometry and the Riemann zeta function takes this reformulation as its endpoint. It builds a geometric framework — the adele class space carrying an action of the idele class group — in which the explicit formula appears as a Lefschetz formula, the zeros of -functions appear spectrally, and the paper's concluding assertion (§3, p. 22) is that the validity of the global trace formula implies, and is in fact equivalent to, positivity of the Weil distribution, i.e. RH for all -functions with Grössencharakter.
This mission formalizes the arithmetic core of that endpoint in its simplest instance: the global field with trivial Grössencharakter, so that the -function is itself. Concretely it asks for (i) the Riemann–Weil explicit formula for in the shape of Connes' equation (11), and (ii) both directions of the equivalence between positivity of the resulting Weil distribution and RH.
A rough timeline of the statements involved: Riemann (1859) gave the first explicit formula; von Mangoldt (1895) proved it rigorously; Weil (Sur les "formules explicites" de la théorie des nombres premiers, 1952) extended it to all global fields and isolated the positivity criterion; Bombieri (Remarks on Weil's quadratic functional in the theory of prime numbers, 2000) studied the associated quadratic functional in detail; Connes (1996–1999) gave the trace-formula interpretation formalized in part here.
All objects live on the group , the module of the idele class group of , written additively through , .
A test function is a map that is and has compact support (IsTest).
Its transform is
which is Connes' in the coordinate , shifted by so that is the variable of (mellinHat). On the critical line, is the ordinary Fourier transform.
The involution is , i.e. (starInv), and convolution is (conv).
The Weil distribution of a test function collects the pole terms, the finite places and the archimedean place:
where is the von Mangoldt function and (weilDistribution, with the three pieces named mellinHat, primeSum, archTerm). The middle sum is Weil's contribution of the finite places , the last integral the contribution of the real place.
The spectral side is
the sum over the zeros of with , each counted with its multiplicity (zeroSum, IsCriticalZero, zeroMult).
This is the direction that yields RH, and it is the weakest form of the endpoint of the paper: it fixes no rate, no test-function normalization beyond , and no numerical constant.
with the sum over zeros asserted to be (unconditionally) summable.
Together with the goal this is the equivalence asserted on p. 22 of the paper, in the case , trivial Grössencharakter.
The -identity on the critical line, and the fact that is again a test function.
Weil's positivity criterion is one of the standard equivalent forms of RH, and the only one in which the arithmetic input (the primes, through ) and the archimedean input (the -factor) enter as separate, explicitly computable local terms. Formalizing it produces a machine-checked bridge between the zeros of and prime sums: the explicit formula milestone is the reusable object here, since essentially every analytic application of zeta zeros — zero-density estimates, prime-counting error terms, pair-correlation statistics — is an instance of it.
Status honesty: neither RH nor the positivity statement is known; the explicit formula and both implications relating positivity to RH are classical theorems, proved but not, as far as the catalog shows, formalized in Lean. Mathlib currently provides , its functional equation, the von Mangoldt function and , but no explicit formula of any kind. What this mission adds on top of the paper is therefore the formal proof of known results, not new mathematics.
The obvious route to the explicit formula — integrate over a vertical line, move the contour to the reflected line, collect residues — fails to be routine at exactly two points. First, moving the contour requires control of on horizontal segments between zeros, which is where the classical proof invests most of its work; Mathlib has bounds near but nothing of this shape inside the strip. Second, the sum over zeros must be shown to converge unconditionally, which needs a zero-counting bound of Riemann–von Mangoldt type () that is not in Mathlib either.
For the goal implication, the naive idea — pick a test function whose transform is supported near a hypothetical off-line zero — is unavailable: is entire whenever has compact support, so it cannot be localized. The classical argument instead exploits the symmetry of the zero set and makes the off-line quadruple contribute a negative amount in the limit along a family of test functions.
Conventions the Lean statements commit to. Test functions are -valued on , ContDiff ℝ (⊤ : ℕ∞) (so , not analytic) with HasCompactSupport; the multiplicative group is always written additively. The transform carries the -shift shown above, so the critical line is and are the two pole terms. Zeros are indexed by the subtype and weighted by (analyticOrderAt riemannZeta s).toNat; the trivial zeros are excluded. Integrals are Bochner integrals and sums are tsum, so both take the junk value when the integrand is not integrable or the family is not summable — for that reason the explicit formula is stated as a HasSum, which carries summability, rather than as an equation between tsums. The archimedean term is written with , logDeriv Complex.Gamma, rather than as a principal value, to avoid a second regularization convention.
The goal is not trivially satisfiable: its hypothesis quantifies over a nonempty class (smooth bump functions exist), and its conclusion is RH for , so no vacuous reading is available.
Infrastructure a complete development needs, all reusable beyond this mission: growth bounds for inside the critical strip, a Riemann–von Mangoldt zero-counting bound, Fourier analysis of functions (Paley–Wiener style decay of ), and the Hadamard product / functional equation package for the completed zeta function.
Out of scope, and deliberately so: Connes' operator-theoretic trace formula (equations (41) and (45) of the paper) and the spectral realization theorem of p. 17. Both are statements about traces of operators on Hilbert space, and Mathlib presently has no trace-class operator theory to state them faithfully. The mission therefore formalizes the arithmetic side of the paper's endpoint; contributions that build the missing operator theory, or that extend the statements from to Dirichlet -functions and Hecke -functions with Grössencharakter, are welcome.
namespace ConnesRZ
theorem weil_positivity_implies_RH
(hpos : ∀ g : ℝ → ℂ, IsTest g → 0 ≤ (weilDistribution (conv g (starInv g))).re) :
∀ s : ℂ, IsCriticalZero s → s.re = 1 / 2 := by sorry
end ConnesRZGoal of the mission. Suppose the Weil distribution is positive, i.e. for every smooth compactly supported ,
where is the Weil distribution of the mission's definition bundle and . Then the Riemann hypothesis holds: every zero of with satisfies .
This is the direction of the equivalence asserted on p. 22 of the paper that produces RH, for with trivial Grössencharakter: Connes' chain is "trace formula positivity of the Weil distribution RH", and this statement is its last link. The intended route is the explicit formula, which turns into the sum over the zeros of ; a zero off the critical line comes with its mirror zero , and a suitable family of test functions makes that pair contribute negatively, contradicting the hypothesis.
No open leaves. Every sub-goal is proved or awaiting decomposition.