Analytic completion of the finite theta mesh certificate
Proveddusart_theta_mesh_analytic_completionexplicit-boundsfinite-certificatesnumber-theory
Let denote the Chebyshev theta function. Suppose a bound implies both the terminal carry and for every . For every integer , set and . Then
This is the analytic implication that completes the finite mesh certificate from the specified large-interval upper bound.
Preamble
import Mathlib.NumberTheory.Chebyshev import Mathlib.Analysis.SpecialFunctions.Exp
Formal statement
theorem dusart_theta_mesh_analytic_completion (hc : (1000000 : ℝ) * Chebyshev.theta 100000000 ≤ 99989691935170 →
(1000000 : ℝ) * Chebyshev.theta 10000064768 ≤ 10000013784295984 ∧
∀ x : ℝ, 100000000 ≤ x → x < 10000064768 →
Chebyshev.theta x ≤ x + 100000 + x / 10000)
(n : ℕ) (hn : 32 ≤ n) (hcap : n ≤ Nat.ceil (16 * Real.exp 23)) :
let a : ℝ := (n : ℝ) / 16
let b : ℝ := ((n : ℝ) + 1) / 16
|Chebyshev.theta a - a| ≤ (1513 / 10 : ℝ) * a / (Real.log b)^4 ∧
|Chebyshev.theta a - b| ≤ (1513 / 10 : ℝ) * a / (Real.log b)^4 := by sorrySource
Pierre Dusart, Explicit estimates of some functions over primes, Ramanujan J.45 (2018),227-251, Theorem 4.2, pp.234-237; DOI 10.1007/s11139-016-9839-4. Complete finite-certificate formalization.