Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Two-term Riemann–von Mangoldt scaling for positive-zero Schwartz weights

Proved
MasulloRH.weighted_positive_zeta_zeros_two_term_scaling

by marozols · Nov 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

explicit-formulamasulloriemann-von-mangoldtriemann-zeta

Let FFF be a real Schwartz function and let ρ=β+iγ\rho=\beta+i\gammaρ=β+iγ range over the distinct nontrivial zeros of the Riemann zeta function of positive ordinate, with analytic multiplicity mρm_\rhomρ​. As 0<ε≤10<\varepsilon\le10<ε≤1 varies, the weighted sum is absolutely convergent and

ε∑γ>0mρF(εγ)=log⁡(1/ε)2π∫0∞F(u) du+12π∫0∞(log⁡u−log⁡(2π))F(u) du+OF ⁣(ε(1+log⁡(1/ε))).\begin{aligned} \varepsilon\sum_{\gamma>0}m_\rho F(\varepsilon\gamma) ={}&\frac{\log(1/\varepsilon)}{2\pi}\int_0^\infty F(u)\,du\\ &+\frac1{2\pi}\int_0^\infty \bigl(\log u-\log(2\pi)\bigr)F(u)\,du +O_F\!\left(\varepsilon(1+\log(1/\varepsilon))\right). \end{aligned}εγ>0∑​mρ​F(εγ)=​2πlog(1/ε)​∫0∞​F(u)du+2π1​∫0∞​(logu−log(2π))F(u)du+OF​(ε(1+log(1/ε))).​

The two-term expansion keeps the finite part of the Riemann–von Mangoldt main term. It applies to all positive nontrivial zero locations, with the real part of each zero retained in the index so that equal ordinates at distinct locations are counted separately.

Preamble
import Mathlib
import Definitions.Def_Zeta23_Statement

open MeasureTheory
Formal statement
theorem MasulloRH.weighted_positive_zeta_zeros_two_term_scaling (F : SchwartzMap ℝ ℝ) :
    ∃ C ≥ (0:ℝ), ∀ ε : ℝ, 0 < ε → ε ≤ 1 →
      Summable (fun ρ : {ρ : ℂ // Zeta23.IsNontrivialZero ρ ∧ 0 < ρ.im} ↦
        (Zeta23.zeroMult ρ.val : ℝ)*F (ε*ρ.val.im)) ∧
      |ε*(∑' ρ : {ρ : ℂ // Zeta23.IsNontrivialZero ρ ∧ 0 < ρ.im},
          (Zeta23.zeroMult ρ.val : ℝ)*F (ε*ρ.val.im)) -
          (1/(2*Real.pi))*Real.log ε⁻¹*(∫ u in Set.Ioi (0:ℝ), F u) -
          (1/(2*Real.pi))*(∫ u in Set.Ioi (0:ℝ), (Real.log u-Real.log (2*Real.pi))*F u)| ≤
        C*ε*(1+Real.log ε⁻¹) := by sorry
Source
Riemann–von Mangoldt formula in the cumulative convention (0,T], https://prove2.me/theorems/a365b15d-8cc3-467c-bb49-2d3705c8b1b2. Strengthens positive-zero Schwartz scaling b09a7d33-47b1-4164-9eba-bc59bdc01b20 for the shrinking tests in Alessandro Maria Masullo, The Music of the Primes, Chapter 13 (20 November 2026 draft), https://math216.wordpress.com/wp-content/uploads/2026/11/the-music-of-the-primes.pdf.

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