Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(3), p. 8 — for 0 < ε ≤ 1, every q in S^LRS_ε is ε-optimal: S^LRS_ε ⊆ S_ε

Proved
DataDrivenNV.LRS.lrsSet_subset_epsOptimal

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

convexitynewsvendorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1relative-regret

Let DDD have law μ\muμ on R\mathbb RR with E∣D∣<∞\mathbb E|D|<\inftyE∣D∣<∞, let b,h>0b,h>0b,h>0, and let CCC, q∗q^*q∗ and the interval

SϵLRS={q:∂−C(q)≤ϵ3min⁡(b,h) and ∂+C(q)≥−ϵ3min⁡(b,h)}S^{LRS}_\epsilon=\Big\{q:\partial_-C(q)\le\tfrac\epsilon3\min(b,h)\text{ and }\partial_+C(q)\ge-\tfrac\epsilon3\min(b,h)\Big\}SϵLRS​={q:∂−​C(q)≤3ϵ​min(b,h) and ∂+​C(q)≥−3ϵ​min(b,h)}

be as in display (3). Then for 0<ϵ≤10<\epsilon\le10<ϵ≤1,

SϵLRS⊆Sϵ={q:C(q)≤(1+ϵ) C(q∗)}.S^{LRS}_\epsilon\subseteq S_\epsilon=\{q : C(q)\le(1+\epsilon)\,C(q^*)\}.SϵLRS​⊆Sϵ​={q:C(q)≤(1+ϵ)C(q∗)}.

This inclusion, due to Levi, Roundy and Shmoys (2007) and quoted in §2.1, converts a bound on the one-sided derivatives of CCC at a point into a bound on its relative regret. Combined with Proposition EC.1 it yields Theorem 2.

Formalization Note The paper states the inclusion for every ϵ>0\epsilon>0ϵ>0; it is restricted here to ϵ≤1\epsilon\le1ϵ≤1, where it holds. For large ϵ\epsilonϵ it fails: with b=hb=hb=h and ϵ≥3\epsilon\ge3ϵ≥3 both conditions in (3) are vacuous (the derivatives lie in [−b,h][-b,h][−b,h]), so SϵLRS=RS^{LRS}_\epsilon=\mathbb RSϵLRS​=R; for D∈{0,M}D\in\{0,M\}D∈{0,M} with Pr⁡(D=M)=0.005\Pr(D=M)=0.005Pr(D=M)=0.005 one has q∗=0q^*=0q∗=0, C(0)=0.005MC(0)=0.005MC(0)=0.005M and C(M)=0.995MC(M)=0.995MC(M)=0.995M, a relative regret of 199−1=198199-1=198199−1=198. The hypothesis E∣D∣<∞\mathbb E|D|<\inftyE∣D∣<∞ makes CCC a genuine expectation.

Preamble
import Mathlib
import Definitions.Def_DataDrivenNV_LRS_Setting

open MeasureTheory ProbabilityTheory
Formal statement
namespace DataDrivenNV.LRS

/-- Display (3), §2.1, p. 8 (Levi, Roundy & Shmoys 2007): for `0 < ε ≤ 1` every order quantity in
the LRS interval `S^LRS_ε` is `ε`-optimal, `S^LRS_ε ⊆ S_ε`. The restriction `ε ≤ 1` is needed:
for `b = h` and `ε ≥ 3` the interval is all of `ℝ`. -/
theorem lrsSet_subset_epsOptimal (b h : ℝ) (hb : 0 < b) (hh : 0 < h)
    (μ : Measure ℝ) [IsProbabilityMeasure μ] (hμ : Integrable id μ)
    (ε : ℝ) (hε : 0 < ε) (hε1 : ε ≤ 1) :
    lrsSet μ b h ε ⊆ {q | IsEpsOptimal μ b h ε q} := by sorry

end DataDrivenNV.LRS
Source
Levi, Perakis & Uichanco, The Data-Driven Newsvendor Problem: New Bounds and Insights, authors' accepted manuscript (MIT DSpace), p. 8, §2.1, display (3) and the sentence following it (cited from Levi, Roundy & Shmoys 2007)
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