Dusart's Chebyshev estimate on
OpenDusart.chebyshev_theta_k2_finiteFor every real with ,
This is the finite part of Dusart's estimate (the case , of his Theorem 5.2), up to just above . On this range Dusart uses exact values of ; his Table 6.4 gives only on from the analytic bounds. A proof is a finite computation over the primes up to .
Formalization Note is Mathlib's Chebyshev.theta.
Status note (2026-10-17) This statement is proved in Lean 4, kernel-checked with axioms propext, Classical.choice, Quot.sound only, in the release Dusart v2.0.0, doi:10.5281/zenodo.23432990, under the same name Dusart.chebyshev_theta_k2_finite. The proof is a kernel sieve certificate (3416 segments, 221 modules) whose memory and time needs exceed this platform's per-job limits, so it is not re-checked here; its checker and base range are proved on this platform as ThetaCert.base.
Status note (2026-10-19) The current release is Dusart v3.0.0, doi:10.5281/zenodo.23463154; its clean replay rebuilt the whole sieve certificate in a fresh Lean kernel environment (10 of 10 replay steps passed). The statement and proof of Dusart.chebyshev_theta_k2_finite are unchanged from v2.0.0, and for the reason above the entry stays Open here.
import Mathlib.NumberTheory.Chebyshev
theorem Dusart.chebyshev_theta_k2_finite :
∀ t : ℝ, 3594641 ≤ t → t ≤ 3584912847 → |Chebyshev.theta t - t| ≤ (1 / 5) * t / Real.log t ^ 2 := by sorry