Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Finite-cap construction: average inventory bound

Proved
CappedBaseStock.finite_cap_inventory_bound

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

capped-base-stockinventorylost-salesmoment-boundoperations-research

Consider the canonical periodic-review lost-sales model with i.i.d. nonnegative demand of finite positive mean, positive integer lead time, and positive holding and penalty rates. Begin with zero on-hand inventory and an empty pipeline. Fix a feasible certificate pair:

0≤r≤μ,z≥0,E ⁣[(Irm+∑i=1m(Di−r)−z)+]≤m(μ−r)(m=L,L+1),0\le r\le\mu,\qquad z\ge0,\qquad \mathbb E\!\left[\left(I_r^m+\sum_{i=1}^m(D_i-r)-z\right)^+\right]\le m(\mu-r) \quad (m=L,L+1),0≤r≤μ,z≥0,E[(Irm​+i=1∑m​(Di​−r)−z)+]≤m(μ−r)(m=L,L+1),

where the finite maximum includes the empty sum:

Irm=max⁡0≤k≤m∑i=1k(r−Di).I_r^m=\max_{0\le k\le m}\sum_{i=1}^k(r-D_i).Irm​=0≤k≤mmax​i=1∑k​(r−Di​).

Run the capped base-stock policy with finite parameters

S=(L+1)r+z,order cap=r.S=(L+1)r+z,\qquad \text{order cap}=r.S=(L+1)r+z,order cap=r.

The expected Cesàro average of post-demand inventory satisfies

lim sup⁡T→∞1T+1∑t=0TE[It+1]≤z.\limsup_{T\to\infty}\frac{1}{T+1} \sum_{t=0}^{T}\mathbb E[I_{t+1}]\le z.T→∞limsup​T+11​t=0∑T​E[It+1​]≤z.

The upper limit is taken in the extended nonnegative reals. This is an inventory-moment bound, with no holding-cost coefficient. It requires neither an invariant initial distribution nor convergence to a unique stationary law, and it includes zero cap and zero certificate inventory.

This moment estimate isolates the inventory component of Proposition 2 and can be reused with any positive holding-cost rate. It is the zero-initial-state, long-run formulation of the inventory estimate in the manuscript’s finite-cap argument.

Preamble
import Definitions.Def_CappedBaseStock_Model

open scoped ENNReal
Formal statement
namespace CappedBaseStock

theorem finite_cap_inventory_bound (P : DemandLaw) (c : Parameters) (r z : ℝ)
    (feasible : CertificateFeasible P c r z) :
    averageCost P (fun t ω =>
      ((cbsRun c (Real.toNNReal (((c.L : ℝ) + 1) * r + z))
        (Real.toNNReal r) ω (t + 1)).1 : ℝ≥0∞)) ≤ ENNReal.ofReal z := by sorry

end CappedBaseStock
Source
Linwei Xin, Capped Base-Stock Policies: A 2.33-Approximation, author-supplied LaTeX manuscript; public listing https://papers.ssrn.com/sol3/papers.cfm?abstract_id=7134538 . Source SHA-256 f353793c255e1ebed5f3ec541037284bd926183e3e5b71941f13e79c2d67cb7a. Finite-cap construction: inventory envelope `eq-I-upper-envelope`, lines 379–402, and its expectation bound in the proof of Proposition 2, lines 459–464. Derived zero-start Cesàro formulation; the source states the corresponding stationary moment argument.

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