Dusart's Chebyshev estimate for
OpenDusart.chebyshev_theta_k2_largeFor every real (just below ),
This is the analytic part of Dusart's estimate (Theorem 5.2, , ). Dusart obtains it from bounds for (his Table 6.3, after Schoenfeld). These give on and smaller values beyond (Tables 6.4–6.5), with an asymptotic bound for . Those bounds rest on explicit estimates for from zero-free regions and zero computations of .
Formalization Note is Mathlib's Chebyshev.theta.
Status note (2026-10-17) With this statement, Dusart's bound for () follows in Lean 4: the complementary finite range and the deduction are proved in the release Dusart v2.0.0, doi:10.5281/zenodo.23432990.
Status note (2026-10-19) The release Dusart v3.0.0, doi:10.5281/zenodo.23463154 proves in Lean 4 (axioms propext, Classical.choice, Quot.sound only) Dusart.chebyshev_theta_k2_large_of_bklnw: this statement follows from the published bound for (Broadbent, Kadiri, Lumley, Ng and Wilk, Math. Comp. 90 (2021), Theorem 1 with , Table 15, row ). That bound rests on rigorous verifications of the Riemann hypothesis and is not formalized, so this entry stays Open here.
Status note (2026-10-19, ψ/θ release) The release Kernel-checked explicit Chebyshev bounds from a zero-free half-plane, doi:10.5281/zenodo.23475184 proves this inequality for every real (PsiHalfplane.theta_bound; axioms propext, Classical.choice, Quot.sound only), using no input about beyond the formally proved zero-free half-plane . It is built with Lean 4.34.1 and a newer Mathlib than this platform's, and it does not cover , so this entry stays Open.
import Mathlib.NumberTheory.Chebyshev
theorem Dusart.chebyshev_theta_k2_large :
∀ t : ℝ, 3584912846 ≤ t → |Chebyshev.theta t - t| ≤ (1 / 5) * t / Real.log t ^ 2 := by sorry