Selberg mass sum bound via τ-weights
Provedgpy_selbergMass_lenumber-theory
For R ≥ 2 and any k and degree, the divisor-weighted Selberg mass sum ∑{D ≤ R} τ{k+1}(D)·|μ(D)(1 − log D/log R)^deg| is at most R·(1 + log R)^k. Each term is at most τ_{k+1}(D), since |μ| ≤ 1 and the cutoff factor lies in [0, 1] on the range, so the bound follows from the higher divisor summatory bound.
Preamble
import Mathlib open Classical
Formal statement
theorem gpy_selbergMass_le {k R deg : ℕ} (hR : 2 ≤ R) :
∑ D ∈ Finset.Icc 1 R,
((((Fintype.piFinset (fun _ : Fin (k + 1) => Finset.Icc 1 D)).filter
(fun d => ∏ i, d i = D)).card : ℕ) : ℝ)
* |(ArithmeticFunction.moebius D : ℝ)
* (1 - Real.log (D : ℝ) / Real.log (R : ℝ)) ^ deg|
≤ (R : ℝ) * (1 + Real.log (R : ℝ)) ^ k := 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)