Twisted local orbital trace equals Weil's local -term for tests supported in
ProvedMasulloAudit.twisted_orbital_trace_eq_weil_local_termLet be a smooth complex-valued function with compact support contained in , let be its Mellin transform, and let . Then the series converges absolutely and
The left side is the local orbital trace of Masullo's draft, Theorem 7.4.2.1, eq. (7.4.2.1), at , trivial character and prime , after the twist used in Chapter 11. The right side is the prime- slice of Weil's local term, written in the shape of MasulloRH.primePowerTraceTerm (the part vanishes because of the support). So for test functions supported in , the support condition of Thm 11.3.2.1, the orbital trace reproduces Weil's term exactly.
Formalization Note. Smoothness is ContDiff ℝ ∞, and the support condition is HasCompactSupport φ with tsupport φ ⊆ Ioi 1. The statement allows any real .
import Mathlib.Analysis.MellinTransform import Mathlib.Analysis.Calculus.ContDiff.Defs import Mathlib.Analysis.SpecialFunctions.Log.Basic import Mathlib.Analysis.SpecialFunctions.Pow.Real import Mathlib.Analysis.SpecialFunctions.Sqrt open Real Complex open scoped ContDiff
namespace MasulloAudit
/-- Twisted local orbital trace equals Weil's local `p`-term (Masullo eq. 7.4.2.1 after the
`a = 1/2` twist): for `φ` smooth with compact support in `(1, ∞)` and `p > 1`,
`∑_{k ∈ ℤ} 𝓜φ(2πik / log p − 1/2) = ∑_{n ≥ 1} (log p / √(pⁿ)) · φ(pⁿ)`,
the left side being summable. The summand on the right is the `primePowerTraceTerm` shape
`(log p / √x) · (φ x + φ x⁻¹)` with `x = p^(n+1)`, where `φ x⁻¹ = 0` by the support condition. -/
theorem twisted_orbital_trace_eq_weil_local_term (φ : ℝ → ℂ) (hφ : ContDiff ℝ ∞ φ)
(hc : HasCompactSupport φ) (hsupp : tsupport φ ⊆ Set.Ioi 1) (p : ℝ) (hp : 1 < p) :
Summable (fun k : ℤ => mellin φ (2 * π * I * k / Real.log p - 1 / 2)) ∧
∑' k : ℤ, mellin φ (2 * π * I * k / Real.log p - 1 / 2) =
∑' n : ℕ, ((Real.log p / Real.sqrt (p ^ (n + 1)) : ℝ) : ℂ) * φ (p ^ (n + 1)) := by sorry
end MasulloAudit