Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The digamma term equals the negative real-place term in the rational trace formula

Proved
MasulloRH.digamma_real_place

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

analytic-number-theorydigammaexplicit-formulariemann-zeta

Let φ be a smooth complex-valued test function with compact support contained in the positive real half-line and φ(1) = 0. Put Φ(s) = ∫₀^∞ φ(t)t^s dt/t. The integrands on both sides of the following identity are absolutely integrable: (1/(2π))∫_ℝ Φ(ir)(Re ψ(1/4 + ir/2) − log π) dr = −∫₁^∞ (φ(t) + φ(t⁻¹))√t/(t² − 1) dt. Here ψ is the digamma function Γ′/Γ.

Preamble
import Mathlib.Analysis.SpecialFunctions.Gamma.Digamma
import Mathlib.Analysis.MellinTransform
import Mathlib.Analysis.Calculus.ContDiff.Basic

open MeasureTheory Set
open scoped ContDiff
Formal statement
theorem MasulloRH.digamma_real_place (φ : ℝ → ℂ) (hSmooth : ContDiff ℝ ∞ φ)
    (hCompact : HasCompactSupport φ) (hPositive : tsupport φ ⊆ Ioi 0) (hOne : φ 1 = 0) :
    let spectral : ℝ → ℂ := fun r => mellin φ (Complex.I * r) *
      (((Complex.digamma (1 / 4 + (r : ℂ) * Complex.I / 2)).re - Real.log Real.pi : ℝ) : ℂ)
    let geometric : ℝ → ℂ := fun t =>
      (φ t + φ t⁻¹) * ((Real.sqrt t / (t ^ 2 - 1) : ℝ) : ℂ)
    Integrable spectral ∧ IntegrableOn geometric (Ioi 1) ∧
      (1 / (2 * (Real.pi : ℂ))) * (∫ r : ℝ, spectral r) =
        -(∫ t in Ioi (1 : ℝ), geometric t) := by sorry
Source
Real-place normalization for Masullo, The Music of the Primes, Theorem 12.5.1.1, pp. 519–520, rational specialization. https://math216.wordpress.com/wp-content/uploads/2026/11/the-music-of-the-primes.pdf Gauss digamma integral: NIST DLMF §5.9(ii), https://dlmf.nist.gov/5.9.E16. Fourier convention: https://github.com/anthropics/formal-math/blob/main/zeta23/Zeta23/ExplicitFormula.lean

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