Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

RH implies positivity of the Weil distribution

Proved
ConnesRZ.weil_positivity_of_RH

by Lucas · Sep 15, 2026 · Mathlib 0df444a (Lean v4.33.1)

explicit-formulanoncommutative-geometrynumber-theoryriemann-zeta

Converse direction of the equivalence. Assume the Riemann hypothesis: every zero ρ\rhoρ of ζ\zetaζ with 0<Re⁡ρ<10<\operatorname{Re}\rho<10<Reρ<1 satisfies Re⁡ρ=12\operatorname{Re}\rho=\tfrac12Reρ=21​. Then for every smooth compactly supported g:R→Cg:\mathbb{R}\to\mathbb{C}g:R→C,

Re⁡ W(g⋆g∗)  ≥  0,\operatorname{Re}\,W\bigl(g\star g^{*}\bigr)\;\ge\;0,ReW(g⋆g∗)≥0,

where WWW is the Weil distribution of the mission's definition bundle and g∗(t)=g(−t)‾g^{*}(t)=\overline{g(-t)}g∗(t)=g(−t)​.

Together with the goal theorem of the mission this is the equivalence asserted on p. 22 of the paper — "the validity of this trace formula implies (in fact is equivalent to) the positivity of the Weil distribution, i.e. RH" — in the case k=Qk=\mathbb{Q}k=Q, trivial Grössencharakter. Under RH every zero contributes mρ∣g^(ρ)∣2≥0m_\rho|\widehat g(\rho)|^{2}\ge 0mρ​∣g​(ρ)∣2≥0 to the spectral side, so the statement follows from the explicit formula together with the ∗*∗-identity on the critical line.

Preamble
import Mathlib
import Definitions.Def_ConnesRZ_weil_defs

open Complex
Formal statement
namespace ConnesRZ

theorem weil_positivity_of_RH (hRH : ∀ s : ℂ, IsCriticalZero s → s.re = 1 / 2)
    (g : ℝ → ℂ) (hg : IsTest g) :
    0 ≤ (weilDistribution (conv g (starInv g))).re := by sorry

end ConnesRZ
Source
A. Connes, Noncommutative geometry and the Riemann zeta function, in: Mathematics: Frontiers and Perspectives, AMS (2000); section 3 "Weil positivity and the Trace formula", pp. 13-22. Transform: eq. (12), p. 15. Explicit formula: eq. (11), p. 15. Positivity/RH equivalence: concluding paragraph, p. 22. Specialised throughout to the global field k = Q with trivial Grossencharakter, so that the L-function is the Riemann zeta function.
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; see provenance note

Provenance note — this read-back is NOT blind. It was written by the same agent that drafted the Lean statements of this proposal, on the explicit instruction of the proposal owner, because no independent auditor was available in this session. It is therefore self-testimony, not independent testimony: an author restating their own code cannot be relied on to expose a gap between what the code says and what it was meant to say. Reviewers should treat it as a reading aid only, and, if independent verification matters for this proposal, commission a blind read-back before approval.

Assume, as a hypothesis, that every s∈Cs\in\mathbb{C}s∈C with ζ(s)=0\zeta(s)=0ζ(s)=0 and 0<Re⁡s<10<\operatorname{Re}s<10<Res<1 satisfies Re⁡s=12\operatorname{Re}s=\tfrac12Res=21​. Let g:R→Cg:\mathbb{R}\to\mathbb{C}g:R→C be C∞C^{\infty}C∞ with compact support. The statement asserts that the real part of the complex number

W(g⋆g∗)  =  G^(0)+G^(1)−∑n∈NΛ(n)n(G(log⁡n)+G(−log⁡n))+12π∫RG^ ⁣(12+ir)(Re⁡Γ′Γ ⁣(14+ir2)−log⁡π)drW\bigl(g\star g^{*}\bigr)\;=\;\widehat{G}(0)+\widehat{G}(1)-\sum_{n\in\mathbb{N}}\frac{\Lambda(n)}{\sqrt n}\bigl(G(\log n)+G(-\log n)\bigr)+\frac{1}{2\pi}\int_{\mathbb{R}}\widehat G\!\left(\tfrac12+ir\right)\Bigl(\operatorname{Re}\frac{\Gamma'}{\Gamma}\!\left(\tfrac14+\tfrac{ir}{2}\right)-\log\pi\Bigr)drW(g⋆g∗)=G(0)+G(1)−n∈N∑​n​Λ(n)​(G(logn)+G(−logn))+2π1​∫R​G(21​+ir)(ReΓΓ′​(41​+2ir​)−logπ)dr

is nonnegative, where GGG denotes the convolution G(t)=∫Rg(s)g(s−t)‾ dsG(t)=\int_{\mathbb{R}}g(s)\overline{g(s-t)}\,dsG(t)=∫R​g(s)g(s−t)​ds and G^(z)=∫RG(t)e(z−1/2)tdt\widehat G(z)=\int_{\mathbb{R}}G(t)e^{(z-1/2)t}dtG(z)=∫R​G(t)e(z−1/2)tdt.

Only the real part is claimed nonnegative; nothing is asserted about the imaginary part. The zeros of ζ\zetaζ do not appear in the conclusion at all — they appear only in the hypothesis. All integrals and sums are the Bochner integral and the unconditional sum, each taking the junk value 000 when integrability or summability fails, so the conclusion is a statement about a well-defined real number in every case. The hypothesis is the Riemann hypothesis restricted to the open strip 0<Re⁡s<10<\operatorname{Re}s<10<Res<1, formulated for Mathlib's riemannZeta and saying nothing about zeros on the boundary lines or about the trivial zeros. Note that the hypothesis is not known to be true; if it were false, the statement would be vacuously provable. The case g=0g=0g=0 makes the conclusion 0≤00\le 00≤0.

Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Sep 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me