by smmercuri · Nov 20, 2026 · Mathlib 0df444a (Lean v4.33.1)
digammaexplicit-formulanumber-theorytrace-formula
Let g:R→C be smooth and compactly supported, viewed as a test function on R>0× through u=et, and assume g(0)=0 (the test vanishes at the identity u=1). Write
Then the function x↦(g(x)+g(−x))1−e−2xe−x/2 is integrable on (0,∞), and
W∞(g)=−∫0∞(g(x)+g(−x))1−e−2xe−x/2dx.
This identifies the digamma (spectral) form of the archimedean term with Connes' geometric local term at the real place, ∫R×h(u−1)∣1−u∣−1d×u with h(u)=g(log∣u∣), on the hyperplane of test functions vanishing at 1, where no principal value or constant correction is needed. It converts the explicit formula ConnesRZ.explicit_formula_C2 into the form of the local trace formulas.
Formalization Note The test-function class is ConnesRZ.IsTest (smooth, compactly supported, complex valued on R), and W∞ is ConnesRZ.archTerm, whose bracket is written with logDeriv Complex.Gamma.
Preamble
import Definitions.Def_ConnesRZ_weil_defs
set_option autoImplicit false
open Complex MeasureTheory Set ConnesRZ
Formal statement
theorem ConnesRZ.archTerm_eq_neg_setIntegral_of_apply_zero (g : ℝ → ℂ) (hg : IsTest g)
(hg0 : g 0 = 0) :
IntegrableOn (fun x : ℝ => (g x + g (-x)) *
((Real.exp (-x / 2) / (1 - Real.exp (-2 * x)) : ℝ) : ℂ)) (Ioi 0) ∧
archTerm g = -∫ x in Ioi (0 : ℝ), (g x + g (-x)) *
((Real.exp (-x / 2) / (1 - Real.exp (-2 * x)) : ℝ) : ℂ) := by sorry
Source
A. Connes, Trace formula in noncommutative geometry and the zeros of the Riemann zeta function, Selecta Math. (N.S.) 5 (1999), arXiv:math/9811068v1, §VI eqs. (15)–(16), p. 27, and Appendix, Theorem 6, p. 77 (real place, test functions with h(1)=0); the digamma form is the Gamma-factor term of the Weil explicit formula as encoded in ConnesRZ.archTerm (Connes eq. (12) normalization).