Rosser–Schoenfeld log-product bound (3.29), log form,
OpenTaoFivePrimes.rosser_schoenfeld_product_log_bound_midnumber-theory
For every real with , the logarithmic form of the Rosser–Schoenfeld product bound (3.29) holds:
where is the Euler–Mascheroni constant. Exponentiating recovers on the same range. This is the middle-range leg of the reduction of rosser_schoenfeld_product_bound, complementing the finite verification below and the large-range bound rosser_schoenfeld_product_log_bound_large above .
Preamble
import Mathlib
Formal statement
namespace TaoFivePrimes
theorem rosser_schoenfeld_product_log_bound_mid (x : ℝ) (hx : 700 ≤ x) (hx' : x ≤ 10 ^ 8) :
∑ p ∈ Nat.primesLE ⌊x⌋₊, Real.log ((p : ℝ) / ((p : ℝ) - 1)) <
Real.eulerMascheroniConstant + Real.log (Real.log x) +
Real.log (1 + 1 / (2 * (Real.log x) ^ 2)) := by sorry
end TaoFivePrimesSource
J.B. Rosser, L. Schoenfeld, Approximate formulas for some functions of prime numbers, Illinois J. Math. 6 (1962), 64–94; §8, p. 70, Theorem 8, inequality (3.29). https://doi.org/10.1215/ijm/1255631807