Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The long-run average of g(yt′)g(y_t')g(yt′​) is gˉ(R)/Q\bar g(R)/Qgˉ​(R)/Q

Proved
InventoryControl.reduced_cost_average

by naimengye · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

ergodic-theoryinventory-controloperations-researchstochastic-processes

In the setting of Proposition 6.1 (compound Poisson demand with the aperiodicity assumption, batch quantity Q≥1Q \ge 1Q≥1, reorder point RRR, initial position y0y_0y0​, lead-time L≥0L \ge 0L≥0), let yt′y_t'yt′​ be the reduction modulo QQQ of y0−SN(t)y_0 - S_{N(t)}y0​−SN(t)​ into {R+1,…,R+Q}\{R+1, \dots, R+Q\}{R+1,…,R+Q} and let ggg be the cost rate of the discrete lead-time demand. Then almost surely

1T∫0Tg(yt−L′) dt  ⟶  gˉ(R)Q  =  1Q∑j=1Qg(R+j)(T→∞),\frac{1}{T}\int_0^T g\big(y'_{t-L}\big)\,\mathrm{d}t \;\longrightarrow\; \frac{\bar g(R)}{Q} \;=\; \frac{1}{Q}\sum_{j=1}^{Q} g(R + j) \qquad (T \to \infty),T1​∫0T​g(yt−L′​)dt⟶Qgˉ​(R)​=Q1​j=1∑Q​g(R+j)(T→∞),

with ys′=y0y'_s = y_0ys′​=y0​ for s<0s < 0s<0.

It is the uniform occupation of the band applied to the bounded function ggg on it, together with the observation that the lead-time shift and the initial segment before time 000 do not affect a long-run average. The book states it in one sentence and it is the number that every policy's cost is compared against.

Preamble
import Definitions.Def_InventoryControl_rqPolicy
Formal statement
namespace InventoryControl

theorem reduced_cost_average {Ω : Type*} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω}
    [MeasureTheory.IsProbabilityMeasure P] (X : CompoundPoissonDemand P) (D : DiscreteDemand)
    (h b1 L : ℝ) (hL : 0 ≤ L) (R : ℤ) (Q : ℕ) (hQ : 0 < Q) (y0 : ℤ) :
    ∀ᵐ ω ∂P, Filter.Tendsto
      (fun T : ℝ => (1 / T) * ∫ t in (0 : ℝ)..T,
          sPolicyCost D h b1 (if t < L then y0
            else reduceToBand R Q (y0 - (X.cumDemand (X.count (t - L) ω) ω : ℤ))))
      Filter.atTop (nhds (windowCost D h b1 Q R / Q)) := by sorry

end InventoryControl
Source
Sven Axsäter, Inventory Control, 3rd ed., Springer 2015, DOI 10.1007/978-3-319-15729-0, p. 115, Sect. 6.2.1: 'The long-run average value of g(y't) is therefore g-bar(R)/Q'
Human review
  • Endorsed by Shuze Chen · Sep 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by naimengye · Sep 25, 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