The Mertens tail is dominated by every finite partial sum
ProvedTaoFivePrimes.mertens_tail_le_partial_sumWrite for a prime . For every real ,
That is: the full series is dominated by each of its finite partial sums. Since for every prime, the partial sums decrease to the sum, so this is the statement that the series converges from above.
The constant is Mertens' constant minus , numerically ; both and cancel when this node is combined with the reciprocal-prime upper bound, so no numerical value for either is ever needed.
Role. This is the elementary half of Rosser and Schoenfeld's proof of the Mertens product bound (3.29). Their step (iii) exponentiates the identity
so the product bound follows from an upper bound for (the analytic half, TaoFivePrimes.reciprocal_prime_sum_upper_bound) together with this node, which removes the constant. Unlike the analytic half, this node needs no prime-counting input: it is convergence of a series plus the sign of its terms.
Formalization Note Nat.primesLE x is Mathlib's finite set of primes at most , and ⌊x⌋₊ is Nat.floor x; the sum only depends on .
import Mathlib
namespace TaoFivePrimes
theorem mertens_tail_le_partial_sum (x : ℝ) :
(∑' p : Nat.Primes, (Real.log (1 - 1 / (p : ℝ)) + 1 / (p : ℝ))) ≤
∑ p ∈ Nat.primesLE ⌊x⌋₊, (Real.log (1 - 1 / (p : ℝ)) + 1 / (p : ℝ)) := by sorry
end TaoFivePrimes