Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition EC.1, p. ec5 — Pr(∂₋C(Q̂_N) ≤ γ and ∂₊C(Q̂_N) ≥ −γ) ≥ 1 − 2exp(−3Nγ²/(6bh + 8γ(b+h)))

Proved
DataDrivenNV.LRS.propEC1_derivatives_near_zero

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

concentration-inequalitynewsvendorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1sample-average-approximation

Let DDD have law μ\muμ on R\mathbb RR with cdf FFF, let b,h>0b,h>0b,h>0, and let Q^N\hat Q_NQ^​N​ be the b/(b+h)b/(b+h)b/(b+h) quantile of an i.i.d. sample D1,…,DND^1,\dots,D^ND1,…,DN (N≥1N\ge1N≥1) from μ\muμ. Let ∂+C(q)=−b+(b+h)F(q)\partial_+C(q)=-b+(b+h)F(q)∂+​C(q)=−b+(b+h)F(q) and ∂−C(q)=−b+(b+h)Pr⁡(D<q)\partial_-C(q)=-b+(b+h)\Pr(D<q)∂−​C(q)=−b+(b+h)Pr(D<q). Then for every γ>0\gamma>0γ>0,

Pr⁡(∂−C(Q^N)≤γ and ∂+C(Q^N)≥−γ) ≥ 1−2exp⁡(−3Nγ26bh+8γ(b+h)).\Pr\big(\partial_-C(\hat Q_N)\le\gamma \text{ and } \partial_+C(\hat Q_N)\ge-\gamma\big) \ \ge\ 1-2\exp\Big(\frac{-3N\gamma^2}{6bh+8\gamma(b+h)}\Big).Pr(∂−​C(Q^​N​)≤γ and ∂+​C(Q^​N​)≥−γ) ≥ 1−2exp(6bh+8γ(b+h)−3Nγ2​).

The result holds for every demand distribution, with no density, continuity or moment assumption. It says that the sample quantile lands, with high probability, where both one-sided derivatives of the expected cost are close to zero, i.e. near the true critical quantile.

Formalization Note The statement bounds the probability of the complementary (failure) event under the product measure μ⊗N\mu^{\otimes N}μ⊗N by 2exp⁡(⋅)2\exp(\cdot)2exp(⋅). The derivatives enter through their formulas in terms of FFF and Pr⁡(D<⋅)\Pr(D<\cdot)Pr(D<⋅), so no integrability of DDD is assumed.

Preamble
import Mathlib
import Definitions.Def_DataDrivenNV_LRS_Setting

open MeasureTheory ProbabilityTheory
Formal statement
namespace DataDrivenNV.LRS

/-- Proposition EC.1, p. ec5. For an i.i.d. sample of size `N ≥ 1` from the demand law `μ` and
every `γ > 0`, the SAA quantile `Q̂_N` satisfies `∂₋C(Q̂_N) ≤ γ` and `∂₊C(Q̂_N) ≥ -γ` except on
an event of probability at most `2 exp(-3Nγ² / (6bh + 8γ(b + h)))`. -/
theorem propEC1_derivatives_near_zero (b h : ℝ) (hb : 0 < b) (hh : 0 < h)
    (μ : Measure ℝ) [IsProbabilityMeasure μ] (N : ℕ) (hN : 1 ≤ N) (γ : ℝ) (hγ : 0 < γ) :
    (Measure.pi fun _ : Fin N => μ)
        {x : Fin N → ℝ | ¬ (dMinus μ b h (saaQuantile b h x) ≤ γ ∧
          -γ ≤ dPlus μ b h (saaQuantile b h x))} ≤
      ENNReal.ofReal
        (2 * Real.exp (-(3 * (N : ℝ) * γ ^ 2) / (6 * b * h + 8 * γ * (b + h)))) := by sorry

end DataDrivenNV.LRS
Source
Levi, Perakis & Uichanco, The Data-Driven Newsvendor Problem: New Bounds and Insights, authors' accepted manuscript (MIT DSpace), p. ec5, Proposition EC.1 (proof pp. ec5–ec6)
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