Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Newsvendor formula attains backorder optimum

Proved
LostSalesOrderUpTo.Asymptotic.newsvendor_optimal

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

backordersinventory-controllost-salesp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let D\mathbf DD have a nonnegative probability distribution with finite mean, and let h,b>0h,b>0h,b>0. Write F(y)=Pr⁡(D≤y)F(y)=\Pr(\mathbf D\le y)F(y)=Pr(D≤y) and define

SB∗(h,b)=inf⁡{y≥0:F(y)≥bb+h}.S^{\mathcal B*}(h,b)=\inf\left\{y\ge0:F(y)\ge\frac{b}{b+h}\right\}.SB∗(h,b)=inf{y≥0:F(y)≥b+hb​}.

This level attains the optimal order-up-to cost:

CB,SB∗(h,b)(h,b)=CB∗(h,b).C^{\mathcal B,S^{\mathcal B*}(h,b)}(h,b)=C^{\mathcal B*}(h,b).CB,SB∗(h,b)(h,b)=CB∗(h,b).

The result identifies the explicit stock level used in the lost-sales policy.

Preamble
import Definitions.Def_LostSalesOrderUpTo_Asymptotic_Backorder

noncomputable section
open MeasureTheory Filter
open scoped ENNReal NNReal BigOperators
Formal statement
namespace LostSalesOrderUpTo.Asymptotic

/-- The newsvendor formula attains the best backorder order-up-to cost. -/
theorem newsvendor_optimal (μ : Measure ℝ≥0) [IsProbabilityMeasure μ]
    (h b : ℝ) (hh : 0 < h) (hb : 0 < b)
    (hmean : Integrable (fun d : ℝ≥0 => (d : ℝ)) μ) :
    backorderCost μ h b (newsvendorLevel μ h b) =
      backorderOptimalCost μ h b := by sorry

end LostSalesOrderUpTo.Asymptotic
Source
Huh, Janakiraman, Muckstadt & Rusmevichientong, Asymptotic Optimality of Order-up-to Policies in Lost Sales Inventory Systems, working paper, December 4, 2006 (preprint of Management Science 55(3), 2009, DOI 10.1287/mnsc.1080.0945), p. 12, §4, proof of Theorem 6 (newsvendor formula)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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