Split orbital traces with twists give the two-sided Weil local -term
ProvedMasulloAudit.split_orbital_traces_eq_weil_local_termLet , where is smooth with compact support in and is smooth with compact support in . This covers exactly the smooth tests vanishing near , with compact support in . Let and let be the Mellin transforms. Then both series below converge absolutely and
The right side is the prime- slice of Weil's local term, in the shape of MasulloRH.primePowerTraceTerm. The left side is a sum of two local orbital traces of Masullo's draft (Thm 7.4.2.1, eq. (7.4.2.1)), with twists applied to the parts of above and below norm .
Thm 11.3.2.1 assumes , while the proof of Thm 12.5.1.1 (p. 520) invokes it for tests that only satisfy . That proof applies it only to primes outside a set chosen so that for all . At those primes both sides vanish, so the mismatch is a gap in the stated hypotheses, not a numerical error. This theorem shows that splitting at norm and applying opposite twists recovers the full two-sided Weil local term. That closes the gap for tests vanishing near .
Formalization Note. enters only through the decomposition . 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
/-- Split orbital traces recover the full two-sided Weil local `p`-term (repair of Masullo
Thm 11.3.2.1 for test functions vanishing near `1`): write `φ = φ₊ + φ₋` with `φ₊` smooth
with compact support in `(1, ∞)` and `φ₋` smooth with compact support in `(0, 1)`. Twisting
the `φ₊` orbital trace by `-1/2` and the `φ₋` orbital trace by `+1/2`, for `p > 1`,
`∑_k 𝓜φ₊(2πik/log p − 1/2) + ∑_k 𝓜φ₋(2πik/log p + 1/2)
= ∑_{n ≥ 1} (log p / √(pⁿ)) · (φ(pⁿ) + φ(p⁻ⁿ))`,
both sums on the left being summable. For prime `p` the right side is that prime's slice of
`primePowerTraceTerm φ`. -/
theorem split_orbital_traces_eq_weil_local_term (φ φp φm : ℝ → ℂ)
(hdec : ∀ x, φ x = φp x + φm x)
(hφp : ContDiff ℝ ∞ φp) (hcp : HasCompactSupport φp) (hsp : tsupport φp ⊆ Set.Ioi 1)
(hφm : ContDiff ℝ ∞ φm) (hcm : HasCompactSupport φm) (hsm : tsupport φm ⊆ Set.Ioo 0 1)
(p : ℝ) (hp : 1 < p) :
Summable (fun k : ℤ => mellin φp (2 * π * I * k / Real.log p - 1 / 2)) ∧
Summable (fun k : ℤ => mellin φm (2 * π * I * k / Real.log p + 1 / 2)) ∧
∑' k : ℤ, mellin φp (2 * π * I * k / Real.log p - 1 / 2) +
∑' k : ℤ, mellin φm (2 * π * I * k / Real.log p + 1 / 2) =
∑' n : ℕ, ((Real.log p / Real.sqrt (p ^ (n + 1)) : ℝ) : ℂ) *
(φ (p ^ (n + 1)) + φ ((p ^ (n + 1))⁻¹)) := by sorry
end MasulloAudit