Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

An average lost-sales bound controls ordinary base-stock cost

Proved
CappedBaseStock.base_stock_cost_of_loss_bound

by StellaXin · Sep 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

capped-base-stockinventorylost-salesoperations-research

Consider the zero-start lost-sales inventory model with i.i.d. nonnegative demand of finite positive mean μ\muμ, lead time L≥1L\ge1L≥1, and holding and lost-sales rates h,p>0h,p>0h,p>0. Fix any ordinary base-stock level S≥0S\ge0S≥0. Let ℓt\ell_tℓt​ denote lost sales, and let C(πS)C(\pi_S)C(πS​) be the upper limit of expected average period costs from the empty initial state.

For every finite real ℓ≥0\ell\ge0ℓ≥0 satisfying

lim sup⁡N→∞1N∑t=0N−1E[ℓt]≤ℓ,\limsup_{N\to\infty}\frac1N\sum_{t=0}^{N-1}\mathbb E[\ell_t]\le\ell,N→∞limsup​N1​t=0∑N−1​E[ℓt​]≤ℓ,

the cost satisfies

C(πS)≤[h(S−(L+1)μ)+(p+h(L+1))ℓ]+.C(\pi_S)\le\left[h(S-(L+1)\mu)+(p+h(L+1))\ell\right]^+.C(πS​)≤[h(S−(L+1)μ)+(p+h(L+1))ℓ]+.

This transfers any bound on average lost sales to a total-cost bound at the same stock level. Both averages use the actual zero-start trajectory; no stationary convergence hypothesis is included. The positive-part notation is the exact embedding of the real expression into the model's extended nonnegative cost space.

Formalization Note The real affine expression is formed before applying ENNReal.ofReal. Its intercept h(S−(L+1)μ)h(S-(L+1)\mu)h(S−(L+1)μ) can be negative and is not separately truncated.

Preamble
import Definitions.Def_CappedBaseStock_BaseStockAnalysis

open scoped ENNReal NNReal
Formal statement
namespace CappedBaseStock

theorem base_stock_cost_of_loss_bound (P : DemandLaw) (c : Parameters)
    (S : ℝ≥0) (ell : ℝ) (hell : 0 ≤ ell)
    (hloss : baseStockAverageLoss P c S ≤ ENNReal.ofReal ell) :
    baseStockCost P c S ≤ ENNReal.ofReal
      (c.h * ((S : ℝ) - ((c.L : ℝ) + 1) * mean P) +
        (c.p + c.h * ((c.L : ℝ) + 1)) * ell) := by sorry

end CappedBaseStock
Source
Linwei Xin, Capped Base-Stock Policies: A 2.33-Approximation, author-supplied LaTeX manuscript (756 lines), SHA-256 f353793c255e1ebed5f3ec541037284bd926183e3e5b71941f13e79c2d67cb7a. Public paper listing: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7134538. Proof of Proposition 3 (`prop-base-stock-bound`), lines 627–645, especially the inventory-position and expected-cost identities at lines 628–642; order identity `eq-base-stock-order`, lines 493–496. This helper states the zero-start Cesaro cost-transfer consequence, requiring finite-horizon inventory accounting rather than assuming the source stationary identity at startup.

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me