Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3 — if sˉ<sn\bar{s} < s_nsˉ<sn​, the rule (sˉ,Sn)(\bar{s}, S_n)(sˉ,Sn​) in period 1 does at least as well

Proved
VeinottWagnerSS.Bounds.lemma3_sHigh_rule

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

dynamic-programminginventoryp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1ss-policy

Consider the nnn-period inventory model with n≥2n \ge 2n≥2 under the standing assumptions (0≤α≤10 \le \alpha \le 10≤α≤1, K≥0K \ge 0K≥0, φ\varphiφ with finite mean, GαG_\alphaGα​ convex on Z\mathbb ZZ with Gα(y)→∞G_\alpha(y) \to \inftyGα​(y)→∞ as ∣y∣→∞|y| \to \infty∣y∣→∞). Let YnY^nYn be an optimal policy which in period 1 uses the (sn,Sn)(s_n, S_n)(sn​,Sn​) rule, sn≤Sns_n \le S_nsn​≤Sn​. If

sˉ<sn,\bar{s} < s_n,sˉ<sn​,

then there is an admissible policy Y′Y'Y′ that uses the (sˉ,Sn)(\bar{s}, S_n)(sˉ,Sn​) rule in period 1 and satisfies

fn(x∣Y′)≤fn(x∣Yn)for all integers x.f_n(x \mid Y') \le f_n(x \mid Y^n) \qquad \text{for all integers } x.fn​(x∣Y′)≤fn​(x∣Yn)for all integers x.

Consequently Y′Y'Y′ is again optimal, so one may always assume sn≤sˉs_n \le \bar ssn​≤sˉ.

Formalization Note "Policy" means an admissible history-dependent policy of the model definition; fnf_nfn​ is the extended-real cost of Eq. (2).

Preamble
import Mathlib
import Definitions.Def_VeinottWagnerSS_Bounds_Model
import Definitions.Def_VeinottWagnerSS_Bounds_CriticalNumbers

open scoped ENNReal
Formal statement
namespace VeinottWagnerSS.Bounds

/-- Lemma 3, p. 548. Let `Y` (the paper's `Yⁿ`) be an optimal policy for the `n`-period model
(`n ≥ 2`) that uses the `(s_n, S_n)` rule (`s_n ≤ S_n`) in period 1. If `s̄ < s_n`, then there is
an admissible policy `Y'` that uses the `(s̄, S_n)` rule in period 1 and satisfies
`f_n(x | Y') ≤ f_n(x | Y)` for all `x`. -/
theorem lemma3_sHigh_rule (G : ℤ → ℝ) (K α : ℝ) (hα₀ : 0 ≤ α) (hα₁ : α ≤ 1) (hK : 0 ≤ K)
    (hconv : ∀ y : ℤ, G (y + 1) - G y ≤ G (y + 2) - G (y + 1))
    (hG_top : Filter.Tendsto G Filter.atTop Filter.atTop)
    (hG_bot : Filter.Tendsto G Filter.atBot Filter.atTop)
    (φ : PMF ℕ) (hμ : ∑' k : ℕ, (k : ℝ≥0∞) * φ k ≠ ⊤)
    (n : ℕ) (hn : 2 ≤ n)
    (Y : Policy) (sn Sn : ℤ) (hY : IsOptimal φ G K α n Y) (hsS : sn ≤ Sn)
    (hrule : UsesRule Y 0 sn Sn) (hlt : sHigh G K α < sn) :
    ∃ Y' : Policy, Admissible Y' ∧ UsesRule Y' 0 (sHigh G K α) Sn ∧
      ∀ x : ℤ, cost φ G K α n x Y' ≤ cost φ G K α n x Y := by sorry

end VeinottWagnerSS.Bounds
Source
Veinott & Wagner, Computing Optimal (s, S) Inventory Policies, Management Sci. 11 (1965), p. 548, Appendix §2, Lemma 3
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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me