Explicit Mertens sum: (Mawia 2017)
OpenTaoFivePrimes.mawia_reciprocal_sum_boundFor every real ,
where is the Meissel--Mertens constant, written here in the form our other nodes use,
being the Euler--Mascheroni constant. Equivalently, in the notation of the source, , where means the error is bounded in absolute value by the stated quantity.
Source. R. Mawia (R. Vanlalngaia, Ramdinmawia), Explicit Mertens sums, 2017 (zbMATH Zbl 1412.11125), extending Rosser--Schoenfeld (1962) by the method of that paper. The statement above is the first of the three ranges tabulated for this theorem in the TME-EMT explicit-bounds wiki (Explicit bounds on primes, Art01, §2), which quotes it as: for , ; when the can be replaced by , and when by . This node states the first (widest-range, most generous) case, which is the safest reading of the source and is already strong enough for everything that consumes it.
Role. This is the analytic input for the reciprocal-prime bounds and hence for the Mertens product bound (rosser_schoenfeld_product_log_bound_large). It is a quoted external result: no reduction of it is proposed here. It is deliberately stated with the constant over the full range rather than with the sharper constants available for larger , so that any consumer gets a statement whose truth does not depend on the finer cases of the source.
Why it supersedes the earlier plan. A previous route attempted to derive bounds from the published Chebyshev input by Abel summation. That cannot work: the identity turns a error into a error in rather than a one, and the two sides cross at . A Chebyshev estimate with at least two powers of in the denominator is needed instead, which is exactly the content of this node (via Mawia's explicit Mertens sums). See missions/five-primes/A-star-route-audit.md in the project repository.
import Mathlib
namespace TaoFivePrimes
theorem mawia_reciprocal_sum_bound (x : ℝ) (hx : 2 ≤ x) :
|(∑ p ∈ Nat.primesLE ⌊x⌋₊, 1 / (p : ℝ)) - Real.log (Real.log x) -
(Real.eulerMascheroniConstant +
∑' p : Nat.Primes, (Real.log (1 - 1 / (p : ℝ)) + 1 / (p : ℝ)))| ≤
4 / (Real.log x) ^ 3 := by
sorry
end TaoFivePrimes