Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3, p. 1278 — midpoint lower bound for (1/2δ)∫_{s−δ}^{s+δ} g(u) exp(−λ²/2u(1 − u)) du, log g convex

Proved
MassartDKW.Tight.lemma_3

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

integral-inequalityjensenlog-convexityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let 0<δ<s<1−δ0<\delta<s<1-\delta0<δ<s<1−δ and s′=1−ss'=1-ss′=1−s. Let ggg be a positive function on [s−δ,s+δ][s-\delta,s+\delta][s−δ,s+δ] such that log⁡g\log glogg is convex there. Then for every λ>0\lambda>0λ>0,

12δ∫s−δs+δg(u)exp⁡(−λ22u(1−u))du ≥ g(s)exp⁡(−λ22ss′)exp⁡(−λ2δ26((s(s2−δ2))−1+(s′(s′2−δ2))−1)).\frac1{2\delta}\int_{s-\delta}^{s+\delta}g(u)\exp\Bigl(-\frac{\lambda^2}{2u(1-u)}\Bigr)du\ \ge\ g(s)\exp\Bigl(-\frac{\lambda^2}{2ss'}\Bigr)\exp\Bigl(-\frac{\lambda^2\delta^2}6\Bigl(\bigl(s(s^2-\delta^2)\bigr)^{-1}+\bigl(s'(s'^2-\delta^2)\bigr)^{-1}\Bigr)\Bigr).2δ1​∫s−δs+δ​g(u)exp(−2u(1−u)λ2​)du ≥ g(s)exp(−2ss′λ2​)exp(−6λ2δ2​((s(s2−δ2))−1+(s′(s′2−δ2))−1)).

It converts the pointwise bound of Proposition 1 into a bound by an integral over a cell of width 1/n1/n1/n, so that summing over jjj produces the integrals Ia,b(λ)I_{a,b}(\lambda)Ia,b​(λ) of Lemma 4.

Formalization Note The page assumes 0<δ≤s≤1−δ0<\delta\le s\le1-\delta0<δ≤s≤1−δ. At δ=s\delta=sδ=s or δ=s′\delta=s'δ=s′ the printed lower bound contains (s(s2−δ2))−1=∞(s(s^2-\delta^2))^{-1}=\infty(s(s2−δ2))−1=∞ and is 000, hence trivial; in Lean 0−1=00^{-1}=00−1=0 would instead turn that boundary case into a different, stronger claim. The inequalities are therefore strict, δ<s<1−δ\delta<s<1-\deltaδ<s<1−δ; no case with content is lost. In the application δ=1/(2n)<s\delta=1/(2n)<sδ=1/(2n)<s.

Preamble
import Mathlib
Formal statement
namespace MassartDKW.Tight

theorem lemma_3 (δ s : ℝ) (hδ : 0 < δ) (hδs : δ < s) (hs1 : s < 1 - δ) (g : ℝ → ℝ)
    (hg : ∀ u ∈ Set.Icc (s - δ) (s + δ), 0 < g u)
    (hlog : ConvexOn ℝ (Set.Icc (s - δ) (s + δ)) (fun u => Real.log (g u))) (l : ℝ) (hl : 0 < l) :
    g s * Real.exp (-(l ^ 2) / (2 * s * (1 - s))) *
        Real.exp (-(l ^ 2 * δ ^ 2 / 6) *
          ((s * (s ^ 2 - δ ^ 2))⁻¹ + ((1 - s) * ((1 - s) ^ 2 - δ ^ 2))⁻¹)) ≤
      1 / (2 * δ) * ∫ u in (s - δ)..(s + δ), g u * Real.exp (-(l ^ 2) / (2 * u * (1 - u))) := by sorry

end MassartDKW.Tight
Source
Massart, The tight constant in the Dvoretzky–Kiefer–Wolfowitz inequality, Ann. Probab. 18 (1990), p. 1278, Lemma 3
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me