Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4, p. 14 — coupled lost-sales processes: V^ζ_α(x) − V^ζ_α(x′) ≤ h⁻(x′−x) − I{x′−x ≥ C}h′(x′−x) ≤ h⁻C

Proved
PartialLostSales.ACOI.lemma_4

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

couplingdiscounted-costinventorylost-salesp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Fix the lost-sales model under its standing assumptions. Consider two inventory processes xtx_txt​ and xt′x'_txt′​ with initial levels x′≥x≥0x'\ge x\ge0x′≥x≥0. They are driven by the same i.i.d. demands Dt∼DD_t\sim DDt​∼D and the same order amounts ζt∈[0,K]\zeta_t\in[0,K]ζt​∈[0,K], given by an arbitrary control rule ζ\zetaζ, which may depend on the past or even the future. The dynamics are xt+1=(xt+ζt−Dt)+x_{t+1}=(x_t+\zeta_t-D_t)^+xt+1​=(xt​+ζt​−Dt​)+. Let Vαζ(x)V^\zeta_\alpha(x)Vαζ​(x) be the expected total discounted cost, holding plus lost-sales penalty, of the process started at xxx.

Then there are constants C>0C>0C>0, α∗∈(0,1)\alpha_*\in(0,1)α∗​∈(0,1) and h′>h−h'>h^-h′>h− such that, uniformly in α∈[α∗,1)\alpha\in[\alpha_*,1)α∈[α∗​,1), in x′≥x≥0x'\ge x\ge0x′≥x≥0 and in all control rules ζ\zetaζ,

Vαζ(x)−Vαζ(x′) ≤ h−(x′−x)−1{x′−x≥C} h′(x′−x) ≤ Cˉ:=h−C<∞,V^\zeta_\alpha(x)-V^\zeta_\alpha(x')\ \le\ h^-(x'-x)-\mathbf 1\{x'-x\ge C\}\,h'(x'-x)\ \le\ \bar C:=h^-C<\infty,Vαζ​(x)−Vαζ​(x′) ≤ h−(x′−x)−1{x′−x≥C}h′(x′−x) ≤ Cˉ:=h−C<∞,

as long as Vαζ(x′)<∞V^\zeta_\alpha(x')<\inftyVαζ​(x′)<∞.

So a lower starting inventory can save at most h−h^-h− per unit of the gap in discounted cost. When the gap is at least CCC it is in fact worse by a margin, since the extra holding cost of the higher process outweighs the lost sales it avoids. Lemma 4 is the key estimate in the proof of display (12).

Formalization Note. The constants are chosen before α\alphaα, the initial levels, the probability space, the demands and the control rule; they depend only on the model. The first inequality is stated in the rearranged form

Vαζ(x)+1{x′−x≥C}h′(x′−x)≤Vαζ(x′)+h−(x′−x)V^\zeta_\alpha(x)+\mathbf 1\{x'-x\ge C\}h'(x'-x)\le V^\zeta_\alpha(x')+h^-(x'-x)Vαζ​(x)+1{x′−x≥C}h′(x′−x)≤Vαζ​(x′)+h−(x′−x)

in [0,∞][0,\infty][0,∞], which is equivalent to it because Vαζ(x′)<∞V^\zeta_\alpha(x')<\inftyVαζ​(x′)<∞.

Demands are measurable, mutually independent and distributed as DDD. Measurability of each order amount ζt\zeta_tζt​ is added, so that the expectation is defined. Adaptedness is not required. Costs are realized period costs, discounted by αt\alpha^tαt from period 000. Probability spaces range over Type.

Preamble
import Mathlib
import Definitions.Def_FeinbergLiang_ACOE_MDP
import Definitions.Def_PartialLostSales_ACOI_Model

open MeasureTheory ProbabilityTheory Filter Topology FeinbergLiang.ACOE
open scoped ENNReal NNReal
Formal statement
namespace PartialLostSales.ACOI

/-- Lemma 4, p. 14: there are constants `C > 0`, `α* ∈ (0, 1)` and `h' > h⁻` such that, uniformly
in `α ∈ [α*, 1)`, in initial inventory levels `x' ≥ x ≥ 0` and in all control rules `ζ` (order
amounts in `[0, K]`, possibly anticipating), the two inventory processes started at `x` and `x'`
and driven by the same i.i.d. demands and the same orders satisfy
`V^ζ_α(x) − V^ζ_α(x') ≤ h⁻(x' − x) − 𝟙{x' − x ≥ C} h'(x' − x) ≤ h⁻ C` whenever `V^ζ_α(x') < ∞`.
The first inequality is stated in the rearranged form
`V^ζ_α(x) + 𝟙{x' − x ≥ C} h'(x' − x) ≤ V^ζ_α(x') + h⁻(x' − x)`. -/
theorem lemma_4 (P : Params) (hP : Standing P) :
    ∃ C : ℝ, 0 < C ∧ ∃ αstar ∈ Set.Ioo (0 : ℝ) 1, ∃ h' : ℝ, P.hminus < h' ∧
      ∀ α ∈ Set.Ico αstar 1, ∀ x x' : ℝ, 0 ≤ x → x ≤ x' →
      ∀ (Ω : Type) [MeasurableSpace Ω] (μ : Measure Ω), IsProbabilityMeasure μ →
      ∀ D ζ : ℕ → Ω → ℝ,
        (∀ t, Measurable (D t)) → iIndepFun D μ → (∀ t, μ.map (D t) = P.demand) →
        (∀ t, Measurable (ζ t)) → (∀ t ω, ζ t ω ∈ Set.Icc (0 : ℝ) P.K) →
        Vζ P μ α x' ζ D ≠ ⊤ →
        Vζ P μ α x ζ D + ENNReal.ofReal (if C ≤ x' - x then h' * (x' - x) else 0) ≤
            Vζ P μ α x' ζ D + ENNReal.ofReal (P.hminus * (x' - x)) ∧
          P.hminus * (x' - x) - (if C ≤ x' - x then h' * (x' - x) else 0) ≤
            P.hminus * C := by sorry

end PartialLostSales.ACOI
Source
Bai, Chen & Stolyar, Average Cost Optimality in Partially Observed Lost-Sales Inventory Systems, SSRN preprint 3865728, p. 14, Lemma 4, display (13)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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