Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 2, p. 16 — the AMS of f̃ at q equals z*_{q,γ₀,γ₁} (case γ₁ ≠ 0, open range)

Proved
DataDrivenNV.WMS.zStar_eq_ams_tildeF

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

closed-formmean-spreadnewsvendorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let b,h,γ0>0b,h,\gamma_0>0b,h,γ0​>0, q∈Rq\in\mathbb Rq∈R and γ1≠0\gamma_1\neq0γ1​=0 with −b+hh<γ1γ0<b+hb-\frac{b+h}{h}<\frac{\gamma_1}{\gamma_0}<\frac{b+h}{b}−hb+h​<γ0​γ1​​<bb+h​, and let f~\tilde ff~​ be the truncated exponential density (12). Then its absolute mean spread at qqq is

Δf~(q)=γ0γ12[(b+hh+γ1γ0)log⁡(1+γ1γ0hb+h)+(b+hb−γ1γ0)log⁡(1−γ1γ0bb+h)]=zq,γ0,γ1∗.\Delta_{\tilde f}(q)=\frac{\gamma_0}{\gamma_1^2}\Big[\Big(\frac{b+h}{h}+\frac{\gamma_1}{\gamma_0}\Big)\log\Big(1+\frac{\gamma_1}{\gamma_0}\frac{h}{b+h}\Big)+\Big(\frac{b+h}{b}-\frac{\gamma_1}{\gamma_0}\Big)\log\Big(1-\frac{\gamma_1}{\gamma_0}\frac{b}{b+h}\Big)\Big]=z^*_{q,\gamma_0,\gamma_1}.Δf~​​(q)=γ12​γ0​​[(hb+h​+γ0​γ1​​)log(1+γ0​γ1​​b+hh​)+(bb+h​−γ0​γ1​​)log(1−γ0​γ1​​b+hb​)]=zq,γ0​,γ1​∗​.

With Proposition 1 this is the optimal value of problem (11) in the interior case; Lemma 4 then bounds it below by 1γ0min⁡(b,h)b+h\frac1{\gamma_0}\frac{\min(b,h)}{b+h}γ0​1​b+hmin(b,h)​.

Formalization Note The paper states this formula as the first of three cases in the proof of Proposition 2; the boundary cases γ1/γ0=(b+h)/b\gamma_1/\gamma_0=(b+h)/bγ1​/γ0​=(b+h)/b and γ1/γ0=−(b+h)/h\gamma_1/\gamma_0=-(b+h)/hγ1​/γ0​=−(b+h)/h (and γ1=0\gamma_1=0γ1​=0) are not part of this statement.

Preamble
import Mathlib
import Definitions.Def_LogConcaveOn
import Definitions.Def_DataDrivenNV_WMS_Setting
Formal statement
namespace DataDrivenNV.WMS

open MeasureTheory

/-- **Optimal value of (11)** (proof of Proposition 2, p. 16), case
`γ₁/γ₀ ∈ (−(b+h)/h, (b+h)/b)`, `γ₁ ≠ 0`: the AMS at `q` of the extremal density (12) equals
`z* = (γ₀/γ₁²)[((b+h)/h + γ₁/γ₀) log(1 + (γ₁/γ₀)(h/(b+h))) + ((b+h)/b − γ₁/γ₀) log(1 − (γ₁/γ₀)(b/(b+h)))]`. -/
theorem zStar_eq_ams_tildeF (b h : ℝ) (hb : 0 < b) (hh : 0 < h)
    (q γ₀ γ₁ : ℝ) (hγ₀ : 0 < γ₀) (hγ₁ : γ₁ ≠ 0)
    (hlo : -((b + h) / h) < γ₁ / γ₀) (hhi : γ₁ / γ₀ < (b + h) / b) :
    ams (tildeF b h q γ₀ γ₁) q = zStar b h γ₀ γ₁ := by sorry

end DataDrivenNV.WMS
Source
Levi, Perakis & Uichanco, The Data-Driven Newsvendor Problem: New Bounds and Insights, authors' accepted manuscript (MIT DSpace), p. 16, proof of Proposition 2, first case
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