Dusart, Lemme 51: the root of lies in
OpenExplicitPNT.dusart_k_root_existsFix and, for , put (Dusart's (2.18) and (2.38), i.e. (2.25) with )
and (2.32)
Then there is a real with and
This is Lemme 51 of Dusart's habilitation (display (2.39)). The proof there: for , increases and decreases, so is increasing; as and exactly when exceeds ; finally at , whose minimum over is , attained at . The root is the smoothing parameter of the proof of Théorème 45.
Formalization note. is Real.sqrt of the quotient, which is positive in the relevant range. The statement only needs existence; uniqueness, also proved in the source, is not asserted.
Preamble
import Mathlib.Analysis.SpecialFunctions.Pow.Real
Formal statement
theorem ExplicitPNT.dusart_k_root_exists (X : ℝ) (hX : (836 / 100 : ℝ) ≤ X) :
∃ ν : ℝ,
(97 / 100 : ℝ) < 1 - Real.log (X / (2 * Real.pi)) / (2 * X) ∧
1 - Real.log (X / (2 * Real.pi)) / (2 * X) < ν ∧ ν < 1 ∧
X / (2 * Real.pi) *
Real.sqrt ((ν ^ 2 * (ν - Real.log (2 * Real.pi) / X)) ^ 3 /
(ν ^ 2 / (2 * ν ^ 2 - 1) *
(ν + (1 - 2 * Real.log (2 * Real.pi)) / (2 * X)))) *
Real.exp (-(2 * X * (1 - ν))) * Real.exp (-(X * (1 - ν) ^ 2 / ν)) = 1 := by
sorrySource
P. Dusart, Estimations explicites en Théorie Analytique des Nombres (HDR, 2022), Lemme 51, display (2.39), printed p. 43 (PDF p. 53), with k, G0, G1 from (2.18), (2.32), (2.38) on printed pp. 38-43; https://www.unilim.fr/pages_perso/pierre.dusart/Documents/HDR_Dusart.pdf . Same argument as Dusart, Math. Comp. 85 (2016), 875-888, and Schoenfeld, Math. Comp. 30 (1976), (7.27) p. 345.