8 Connection to the Riemann zeta function
The connection with the zeta function has three logically distinct layers. First, standard analytic facts about the completed Riemann zeta function and its finite-prime logarithmic derivative are available in Mathlib and are proved in Lean. Second, Connes–Consani’s published distributional trace formula identifies a geometric counting distribution for the scaling flow. Third, turning the explicit formula into the positivity needed for the Riemann hypothesis remains an open mathematical and formalization frontier. None of these layers should be conflated.
8.1 Analytic statements proved in Lean
The completed Riemann zeta function used by the project is Mathlib’s meromorphically continued function \(\operatorname {completedRiemannZeta}\). Away from the poles of the Gamma factor it agrees with
Using the continued function, rather than a totalized pointwise product, preserves the pole–zero cancellations at non-positive even integers.
The completed zeta function satisfies
In Mathlib’s normalization, the residue at \(s=1\) is \(1\):
with the limit taken off the pole.
The completed zeta function is differentiable at every \(s\ne 0,1\).
Define the finite-place Mellin transform to be the Dirichlet series of the von Mangoldt function,
In Lean this is expressed using Mathlib’s \(L\)-series. This definition records only finite-prime weights; it does not construct a fixed-point distribution on the Arithmetic Site.
If \(\operatorname {Re}(s){\gt}1\), then
This is Mathlib’s Dirichlet-series identity for the von Mangoldt function, rewritten using the project’s definition. The half-plane hypothesis supplies convergence and excludes zeros and the pole from the quotient in question.
The completed analytic counting transform is
where \(\Gamma _{\mathbb {R}}\) is Deligne’s real Gamma factor. This adds the archimedean analytic contribution, but by definition alone it does not construct a counting distribution.
If \(\operatorname {Re}(s){\gt}1\), then
On the right half-plane Lean proves \(\zeta _{\mathbb {Q}}=\Gamma _{\mathbb {R}}\zeta \). The logarithmic derivative of this product, together with Theorem 8.6, gives the identity.
Theorem 8.6 is the finite-place analytic term only; Theorem 8.8 adds the archimedean Gamma contribution and identifies the resulting analytic expression with the completed logarithmic derivative. Neither theorem constructs a distributional trace, a geometric fixed-point count, or the claimed Hasse–Weil interpretation. The functional equation by itself likewise gives no proof of the Riemann hypothesis.
8.2 The published distributional counting formula
Let \(G=\mathbb {A}_{\mathbb {Q}}^\times /\mathbb {Q}^\times \) be the idèle class group and let \(\vartheta _u\xi (x)=\xi (u^{-1}x)\) denote its scaling representation on the relevant quotient of the adèle class space. In the published trace formula, the geometric side is schematically
The prime is essential: the local expression at \(u=1\) is a normalized principal-value distribution, not an ordinary absolutely convergent integral. Haar measures, additive characters, and the normalization of the principal value must be fixed compatibly. The resulting “counting function” \(N(u)\) is therefore a distribution paired with test functions, not a pointwise finite cardinality of fixed points.
With the normalizations of Connes–Consani, the zeta function \(\zeta _N\) associated to the published counting distribution by the prescribed distributional Mellin relation
is the completed Riemann zeta function \(\zeta _{\mathbb {Q}}(s)=\pi ^{-s/2}\Gamma (s/2)\zeta (s)\). The integral notation denotes the distributional pairing and its stated regularization, not an ordinary integral of a pointwise function.
This is the published counting-distribution result summarized as Theorem 2.7 of Connes–Consani (2014), using their preceding distributional trace formula and earlier computation of the counting distribution. Since a logarithmic derivative determines a meromorphic function only up to a nonzero multiplicative constant, the stated exact equality also uses their chosen normalization.
Formalization status. The project has not yet defined \(N\) as a distribution, formalized the principal-value local terms or the global trace formula, or proved that their Mellin transform equals completeRiemannZeta. Thus this published theorem deliberately has no Lean declaration link. Theorem 8.8 is a rigorous analytic bridge, not a construction or identification of the geometric distribution appearing here.
8.3 The Riemann-hypothesis frontier
The project exposes ArithmeticSite.RiemannHypothesis as an alias for Mathlib’s standard proposition asserting that the non-trivial zeros of the Riemann zeta function lie on the critical line. The Lean marker here certifies only that this target proposition is defined; it does not provide a term proving it.
No theorem in this repository proves the Riemann hypothesis, and the published Arithmetic-Site results quoted above do not themselves prove it. The present formal frontier consists of several substantial steps:
prove the classification of flat \(\mathbb {N}^{\times }\)-actions by ordered subgroups and finite adèle classes;
construct reduced correspondences, their cancellative composition, real slopes, and the tangential deformation;
build the relevant distribution spaces, normalized local principal values, and the global trace formula;
identify the resulting counting distribution with the completed zeta function, including the archimedean term and normalization;
establish the positivity statement in the explicit formula (or an adequate cohomological or intersection-theoretic substitute) that is equivalent to the Weil criterion for the Riemann hypothesis.
The current Lean results rigorously reach the tensor Frobenius action, the adèlic subgroup invariance calculations, and the completed analytic logarithmic derivative on \(\operatorname {Re}(s){\gt}1\). The geometric distributional bridge and, above all, the final positivity mechanism remain unformalized and mathematically decisive.