Selberg λ-mass bound via τ-moments
Provedgpy_lambdaMass_le_taunumber-theory
For tuple size k+1, level R ≥ 2, and any degree, the total Selberg λ-mass Λ = ∑_{d,e} |λ_d λ_e| over the tuple support is at most (R·(1 + log R)^k)². This replaces the crude bound Λ ≤ R^{2k+2} obtained from the support size alone, saving roughly a factor R^{2k}; it follows from the exact τ-weighted identity for Λ and the Selberg mass sum bound.
Preamble
import Mathlib open Classical
Formal statement
theorem gpy_lambdaMass_le_tau {k R deg : ℕ} (hR : 2 ≤ R) :
(∑ d ∈ (Fintype.piFinset (fun _ : Fin (k + 1) => Finset.Icc 1 R)).filter
(fun d => ∏ i, d i ≤ R),
∑ e ∈ (Fintype.piFinset (fun _ : Fin (k + 1) => Finset.Icc 1 R)).filter
(fun d => ∏ i, d i ≤ R),
|(if ∏ i, d i ≤ R then
(ArithmeticFunction.moebius (∏ i, d i) : ℝ)
* (1 - Real.log ((∏ i, d i : ℕ) : ℝ) / Real.log (R : ℝ)) ^ deg
else 0)
* (if ∏ i, e i ≤ R then
(ArithmeticFunction.moebius (∏ i, e i) : ℝ)
* (1 - Real.log ((∏ i, e i : ℕ) : ℝ) / Real.log (R : ℝ)) ^ deg
else 0)|)
≤ ((R : ℝ) * (1 + Real.log (R : ℝ)) ^ k) ^ 2 := by sorrySource
GPY τ-moment / divisor-sum estimates for Selberg weights, formalized from Mathlib (divisor double count, harmonic bound, divisor convolution, and the τ-weighted λ-mass identity)