Strict explicit upper bound for the reciprocal prime sum, (R--S 1962, (8.9))
OpenTaoFivePrimes.reciprocal_prime_sum_upper_bound_strictFor every real ,
where is Euler's constant and the series is the usual convergent one over primes. Writing for Mertens' constant the series equals , so this is the strict form of , i.e. the upper half of Lemma 13, inequality (8.9), of Rosser and Schoenfeld, Approximate formulas for some functions of prime numbers, Illinois J. Math. 6 (1962), p. 86, which they state with a strict inequality.
Why both this and the non-strict form. The reduction of TaoFivePrimes.rosser_schoenfeld_product_log_bound_large has a strict conclusion, so at least one of its two inputs must be strict; this node supplies the strictness on the reciprocal side, while TaoFivePrimes.mertens_tail_le_partial_sum only removes the constant, for which a non-strict inequality suffices. The non-strict companion TaoFivePrimes.reciprocal_prime_sum_upper_bound is kept because it is the form in which the bound is usually quoted.
Role. This is the analytic half of the proof of the Mertens product bound: it follows from an explicit upper bound for the Chebyshev function by partial summation, starting from , whose main term is with constant the same . The published input TaoFivePrimes.schoenfeld_psi_error_large already supplies the needed one-sided Chebyshev bound.
Formalization Note Mertens' constant is kept as , so no decimal approximation of is needed anywhere in this reduction.
import Mathlib
namespace TaoFivePrimes
theorem reciprocal_prime_sum_upper_bound_strict (x : ℝ) (hx : 10 ^ 8 ≤ x) :
(∑ p ∈ Nat.primesLE ⌊x⌋₊, 1 / (p : ℝ)) <
Real.log (Real.log x) + Real.eulerMascheroniConstant +
(∑' p : Nat.Primes, (Real.log (1 - 1 / (p : ℝ)) + 1 / (p : ℝ))) +
Real.log (1 + 1 / (2 * (Real.log x) ^ 2)) := by sorry
end TaoFivePrimes