Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§3, p. 533 — f(x)=K+f(S)f(x) = K + f(S)f(x)=K+f(S) for x<sx < sx<s

Proved
VeinottWagnerSS.RenewalCost.f_below_s

by mikedeng1 · Sep 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

inventoryp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1ss-policy

Let φ\varphiφ be a demand distribution, 0≤α<10 \le \alpha < 10≤α<1, K≥0K \ge 0K≥0, Gα:Z→RG_\alpha : \mathbb Z \to \mathbb RGα​:Z→R, and integers s≤Ss \le Ss≤S. If the stationary (s,S)(s, S)(s,S) policy is started from stock x<sx < sx<s, its total expected discounted cost is

f(x∣s,S)=K+f(S∣s,S).f(x \mid s, S) = K + f(S \mid s, S).f(x∣s,S)=K+f(S∣s,S).

Below sss the policy orders immediately up to SSS, paying the set-up cost KKK, and thereafter behaves as if started at SSS.

Formalization Note fff is the expected cost of the controlled chain (definition fCost). No convexity or coercivity of GαG_\alphaGα​ is assumed.

Preamble
import Mathlib
import Definitions.Def_VeinottWagnerSS_RenewalCost_Demand
import Definitions.Def_VeinottWagnerSS_RenewalCost_RenewalFunctions
import Definitions.Def_VeinottWagnerSS_RenewalCost_PolicyCost
Formal statement
namespace VeinottWagnerSS.RenewalCost

/-- Veinott & Wagner (1965), §3, p. 533: for `0 ≤ α < 1`, `K ≥ 0` and integers `s ≤ S`, if
`X₁ = x < s` then `f(x) = K + f(S)`. -/
theorem f_below_s (D : DemandDist) (α K : ℝ) (hα0 : 0 ≤ α) (hα1 : α < 1) (hK : 0 ≤ K)
    (G : ℤ → ℝ) (s S : ℤ) (hsS : s ≤ S) (x : ℤ) (hx : x < s) :
    fCost D α K G s S x = K + fCost D α K G s S S := by sorry

end VeinottWagnerSS.RenewalCost
Source
Veinott & Wagner, Computing Optimal (s, S) Inventory Policies, Management Sci. 11 (1965), p. 533, §3, display f(x) = K + f(S), x < s
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me