Certified upper bound for the Ramaré logarithmic constant
ProvedRamareAnalytic.global_logarithmic_constant_leThe prime logarithmic series converges unconditionally, and its sum together with the Euler–Mascheroni constant satisfies
No analytic or numerical certificate is a premise. The proof bounds the actual finite prime sum up to 1000 by 943/1250, bounds gamma by 233/400 using a harmonic sum and a certified logarithm, and controls all primes above 1000 through a Chebyshev–Abel tail estimate. The finite prime set is covered by an exact certificate; individual logarithms use rational upper bounds. Infinite-series convergence is part of the conclusion.
This is a deliberately conservative bound for the center of the Ramaré squarefree reciprocal-totient asymptotic. The separate bound on the weighted correction moment is still needed for the final finite-N inequality. The formal sum is indexed by all natural numbers with a prime indicator; nonprime indices, including zero and one, contribute zero.
import Mathlib.NumberTheory.Harmonic.EulerMascheroni import Mathlib.Topology.Algebra.InfiniteSum.Real set_option autoImplicit false open scoped BigOperators
theorem RamareAnalytic.global_logarithmic_constant_le :
Summable (fun p : ℕ =>
if p.Prime then Real.log (p : ℝ) / ((p : ℝ) * ((p : ℝ) - 1)) else 0) ∧
Real.eulerMascheroniConstant +
(∑' p : ℕ, if p.Prime then
Real.log (p : ℝ) / ((p : ℝ) * ((p : ℝ) - 1)) else 0) ≤ (67 : ℝ) / 50 := by sorry