Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sec. 2.2, p. 7 — an optimal constant order exists, optimal levels are bounded away from E[D], r∞ < E[D]

Proved
LostSalesExpGap.ConstOrder.best_constant_exists

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

argminconstant-order-policylost-salesp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

In the lost-sales model (i.i.d. nonnegative demand DDD with finite mean and strictly positive variance, lead time L≥1L\ge1L≥1, costs h,p>0h,p>0h,p>0, empty initial state), let C(πr)C(\pi_r)C(πr​) be the long-run average cost of the policy ordering rrr every period, and let

A=argmin⁡0≤r≤E[D]C(πr),r∞=inf⁡A.A=\operatorname*{argmin}_{0\le r\le\mathbb E[D]}C(\pi_r),\qquad r_\infty=\inf A .A=0≤r≤E[D]argmin​C(πr​),r∞​=infA.

Then:

  1. AAA is nonempty;
  2. AAA is bounded away from E[D]\mathbb E[D]E[D]: there is δ>0\delta>0δ>0 with r≤E[D]−δr\le\mathbb E[D]-\deltar≤E[D]−δ for all r∈Ar\in Ar∈A;
  3. r∞∈Ar_\infty\in Ar∞​∈A;
  4. in particular r∞<E[D]r_\infty<\mathbb E[D]r∞​<E[D].

This makes the best constant-order policy πr∞\pi_{r_\infty}πr∞​​ well defined and places it in the regime where formula (3) applies.

Formalization Note Costs are compared in [0,∞][0,\infty][0,∞]. Strictly positive variance is encoded as "the demand law is not a point mass" (NonDeterministic). Items 3 and 4 make explicit what the paper uses when it writes r∞∈argmin⁡r_\infty\in\operatorname{argmin}r∞​∈argmin and r∞<E[D]r_\infty<\mathbb E[D]r∞​<E[D].

Preamble
import Mathlib
import Definitions.Def_LostSalesExpGap_ConstOrder_ConstantOrder

open MeasureTheory ProbabilityTheory
open scoped ENNReal NNReal BigOperators
Formal statement
namespace LostSalesExpGap.ConstOrder

/-- Sec. 2.2, p. 7: an optimal constant-order level exists, the set of optimal levels is bounded
away from `E[D]`, and its infimum `r∞` is itself optimal, so `r∞ < E[D]`. -/
theorem best_constant_exists (P : CappedBaseStock.DemandLaw) (c : CappedBaseStock.Parameters)
    (hP : LostSalesConstantOrder.LargeLeadTime.NonDeterministic P) :
    (argminConst P c).Nonempty ∧
      (∃ δ : ℝ, 0 < δ ∧ ∀ r ∈ argminConst P c, r ≤ CappedBaseStock.mean P - δ) ∧
      rInf P c ∈ argminConst P c ∧
      rInf P c < CappedBaseStock.mean P := by sorry

end LostSalesExpGap.ConstOrder
Source
Xin, Goldberg, Optimality gap of constant-order policies decays exponentially in the lead time for lost sales models, arXiv:1409.1499v2, Sec. 2.2, p. 7
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

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