A uniform fractional-power bound for the harmonic remainder
ProvedRamareAnalytic.harmonic_floor_error_leLet for , with , and let be the Euler–Mascheroni constant. For every positive real number ,
The estimate includes noninteger arguments and the range , where the harmonic sum vanishes. A uniform bound on this full domain is useful when harmonic sums occur at rescaled arguments in a Dirichlet-convolution estimate, and when extending a finite convolution to a convergent infinite series.
This explicit choice of exponent and constant is an auxiliary estimate for the Ramaré squarefree-totient sum formalization. It is derived here from classical harmonic-number bounds; it is not claimed to be the optimal constant or a formula transcribed from Ramaré's paper. It supplies one analytic input, without asserting the required coefficient moments or the final squarefree-totient bound.
import Mathlib.NumberTheory.Harmonic.EulerMascheroni import Mathlib.Analysis.SpecialFunctions.Pow.Real set_option autoImplicit false
theorem RamareAnalytic.harmonic_floor_error_le (t : ℝ) (ht : 0 < t) :
|(harmonic ⌊t⌋₊ : ℝ) - Real.log t - Real.eulerMascheroniConstant| ≤
(4 / 5 : ℝ) * t ^ (-(2 / 5 : ℝ)) := by sorry