Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Dusart, Lemme 51: the root of k(ν)=1k(\nu)=1k(ν)=1 lies in (0.97,1)(0.97,1)(0.97,1)

Open
ExplicitPNT.dusart_k_root_exists

by chaikon · Oct 14, 2026 · Mathlib 0df444a (Lean v4.33.1)

Fix X≥8.36X\ge 8.36X≥8.36 and, for ν∈(1/2,1]\nu\in(1/\sqrt2,1]ν∈(1/2​,1], put (Dusart's (2.18) and (2.38), i.e. (2.25) with m=2m=2m=2)

G0(ν)=ν2(ν−log⁡(2π)X),G1(ν)=ν22ν2−1(ν+1−2log⁡(2π)2X),G_0(\nu)=\nu^2\Bigl(\nu-\frac{\log(2\pi)}{X}\Bigr),\qquad G_1(\nu)=\frac{\nu^2}{2\nu^2-1}\Bigl(\nu+\frac{1-2\log(2\pi)}{2X}\Bigr),G0​(ν)=ν2(ν−Xlog(2π)​),G1​(ν)=2ν2−1ν2​(ν+2X1−2log(2π)​),

and (2.32)

k(ν)=X2π(G03G1)1/2e−2X(1−ν) e−X(1−ν)2/ν.k(\nu)=\frac{X}{2\pi}\Bigl(\frac{G_0^3}{G_1}\Bigr)^{1/2}e^{-2X(1-\nu)}\,e^{-X(1-\nu)^2/\nu}.k(ν)=2πX​(G1​G03​​)1/2e−2X(1−ν)e−X(1−ν)2/ν.

Then there is a real ν\nuν with k(ν)=1k(\nu)=1k(ν)=1 and

0.97<1−12Xlog⁡X2π<ν<1.0.97<1-\frac{1}{2X}\log\frac{X}{2\pi}<\nu<1 .0.97<1−2X1​log2πX​<ν<1.

This is Lemme 51 of Dusart's habilitation (display (2.39)). The proof there: for ν∈(1/2,1]\nu\in(1/\sqrt2,1]ν∈(1/2​,1], G0G_0G0​ increases and G1G_1G1​ decreases, so kkk is increasing; k(ν)→0k(\nu)\to0k(ν)→0 as ν→1/2+\nu\to1/\sqrt2^{+}ν→1/2​+ and k(1)>1k(1)>1k(1)>1 exactly when XXX exceeds 33(4πcos⁡(13arctan⁡(8π)2/27−1)+3log⁡(2π))≈8.358\frac{\sqrt3}{3}\bigl(4\pi\cos(\frac13\arctan\sqrt{(8\pi)^2/27-1})+\sqrt3\log(2\pi)\bigr)\approx8.35833​​(4πcos(31​arctan(8π)2/27−1​)+3​log(2π))≈8.358; finally k(ν0)<1k(\nu_0)<1k(ν0​)<1 at ν0=1−12Xlog⁡X2π\nu_0=1-\frac1{2X}\log\frac X{2\pi}ν0​=1−2X1​log2πX​, whose minimum over XXX is 1−14πe≈0.97071-\frac1{4\pi e}\approx0.97071−4πe1​≈0.9707, attained at X=2πeX=2\pi eX=2πe. The root ν\nuν is the smoothing parameter of the proof of Théorème 45.

Formalization note. (G03/G1)1/2(G_0^3/G_1)^{1/2}(G03​/G1​)1/2 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
  sorry
Source
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.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me