A quantitative error bound for finite harmonic convolutions
ProvedRamareAnalytic.harmonic_convolution_error_lenumber-theoryreal-analysis
Let satisfy , , and convergence of both the logarithmic moment and the weighted absolute moment . As in Lean, the zero-index logarithm is totalized to zero and contributes nothing. Write for the Euler–Mascheroni constant and , with . For every positive real ,
The estimate transfers a uniform harmonic remainder bound, valid also for arguments below one, to a finite convolution. The mass and moment conditions are explicit assumptions on the coefficient sequence; their verification for the squarefree-totient correction remains a separate task. The exponent and constant are an auxiliary choice in this formal development, not values transcribed from the paper.
Preamble
import Mathlib.NumberTheory.Harmonic.EulerMascheroni import Mathlib.Analysis.SpecialFunctions.Pow.Real set_option autoImplicit false open scoped BigOperators
Formal statement
theorem RamareAnalytic.harmonic_convolution_error_le (h : ℕ → ℝ) (h0 : h 0 = 0)
(hmass : HasSum h 1)
(hlog : Summable (fun d : ℕ => h d * Real.log (d : ℝ)))
(hweight : Summable (fun d : ℕ => |h d| * (d : ℝ) ^ (2 / 5 : ℝ)))
(N : ℝ) (hN : 0 < N) :
|(∑ d ∈ Finset.Icc 1 ⌊N⌋₊,
h d * (harmonic ⌊N / (d : ℝ)⌋₊ : ℝ)) -
(Real.log N + Real.eulerMascheroniConstant -
∑' d : ℕ, h d * Real.log (d : ℝ))| ≤
(4 / 5 : ℝ) * N ^ (-(2 / 5 : ℝ)) *
∑' d : ℕ, |h d| * (d : ℝ) ^ (2 / 5 : ℝ) := by sorrySource
O. Ramaré, On Shnirelman's constant, Ann. Scuola Norm. Sup. Pisa 22 (1995), 645–706, printed pp.656–659, Lemma 3.2 and equations (3.7)–(3.8). https://www.numdam.org/item/ASNSP_1995_4_22_4_645_0/ . Formal reconstruction supporting the existing large-range target https://prove2.me/theorems/017351d0-907f-4262-b614-6850111f1ff0 . General error-transfer mechanism: Lemma 3.2, pp.656–657. Uses the uniform auxiliary estimate https://prove2.me/theorems/d78a0b00-1390-4efd-a5c6-1b3792b65d72 , re-proved in the submitted source. No new analytic principle or optimality is claimed.