Dusart theta error through the last tabulated exponent
OpenTaoFivePrimes.dusart_theta_error_log_four_table_rangeexplicit-boundsnumber-theoryprime-number-theorem
For every real with , the Chebyshev theta function satisfies
This is the finite-and-tabulated part of Dusart's Theorem 4.2: direct inspection handles the small range, and Proposition 3.2 together with Table 1 and the Rosser-Schoenfeld bound for handles successive exponential intervals through the final row .
Preamble
import Mathlib.NumberTheory.Chebyshev
Formal statement
namespace TaoFivePrimes
theorem dusart_theta_error_log_four_table_range (x : ℝ)
(hx : 2 ≤ x) (hupper : x ≤ Real.exp 13900) :
|Chebyshev.theta x - x| ≤
(1513 / 10 : ℝ) * x / (Real.log x) ^ 4 := by sorry
end TaoFivePrimesSource
Pierre Dusart, Explicit estimates of some functions over primes, Ramanujan J. 45 (2018), 227-251, Theorem 4.2 and its proof, pp. 234-237; Table 1 through b = 13900 and the large-value argument citing [10, Theorem 1.1]. DOI 10.1007/s11139-016-9839-4. https://piyanit.nl/wp-content/uploads/2020/10/art_10.1007_s11139-016-9839-4.pdf