Exact logarithmic moment of Ramaré’s multiplicative correction
ProvedRamareAnalytic.coefficient_logarithmic_momentLet be a real multiplicative arithmetic function with
for every prime . Then the prime series converges unconditionally and its sum is the negative logarithmic moment of :
Convergence of the coefficient moments is derived from the prime-power values, not assumed. The proof first identifies the logarithmic moment on numbers supported by each finite set of primes, and then passes to the limit using absolute convergence. It does not differentiate an infinite Euler product. Arithmetic functions vanish at zero; the zero-index logarithmic term consequently vanishes under the library's totalized logarithm convention.
This identity supplies the center of the harmonic-convolution asymptotic for the squarefree reciprocal-totient sum. Numerical estimates for that center and the weighted error moment are separate obligations.
import Mathlib.NumberTheory.EulerProduct.Basic import Mathlib.Analysis.SpecialFunctions.Log.Basic set_option autoImplicit false open scoped BigOperators
theorem RamareAnalytic.coefficient_logarithmic_moment
(h : ArithmeticFunction ℝ) (hmul : h.IsMultiplicative)
(hpv : ∀ p : ℕ, Nat.Prime p →
h p = 1 / ((p : ℝ) * ((p : ℝ) - 1)) ∧
h (p ^ 2) = -(1 / ((p : ℝ) * ((p : ℝ) - 1))))
(hpz : ∀ p k : ℕ, Nat.Prime p → 3 ≤ k → h (p ^ k) = 0) :
HasSum (fun p : Nat.Primes =>
Real.log (p : ℝ) / ((p : ℝ) * ((p : ℝ) - 1)))
(-(∑' n : ℕ, h n * Real.log (n : ℝ))) := by sorry