Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§4, pp. 537–538 — the parameters Sˉ\bar{S}Sˉ, s‾\underline{s}s​, sˉ\bar{s}sˉ of (21)–(23) exist

Proved
VeinottWagnerSS.Bounds.critical_numbers_exist

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

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

Let Gα:Z→RG_\alpha : \mathbb Z \to \mathbb RGα​:Z→R be convex on the integers with Gα(y)→∞G_\alpha(y) \to \inftyGα​(y)→∞ as ∣y∣→∞|y| \to \infty∣y∣→∞, let K≥0K \ge 0K≥0 and 0≤α≤10 \le \alpha \le 10≤α≤1, and let S‾\underline{S}S​ be the smallest minimizer of GαG_\alphaGα​. Then:

  1. Sˉ\bar{S}Sˉ is the least integer yyy with y≥S‾y \ge \underline{S}y≥S​ and Gα(y+1)≥Gα(S‾)+αKG_\alpha(y+1) \ge G_\alpha(\underline{S}) + \alpha KGα​(y+1)≥Gα​(S​)+αK;
  2. s‾\underline{s}s​ is the least integer yyy with Gα(y)≤Gα(S‾)+KG_\alpha(y) \le G_\alpha(\underline{S}) + KGα​(y)≤Gα​(S​)+K;
  3. sˉ\bar{s}sˉ is the least integer yyy with Gα(y)≤Gα(S‾)+(1−α)KG_\alpha(y) \le G_\alpha(\underline{S}) + (1-\alpha) KGα​(y)≤Gα​(S​)+(1−α)K.

In particular each of the three sets is nonempty and has a least element, as the paper asserts ("The existence of the above parameters is ensured by the fact that lim⁡∣y∣→∞Gα(y)=∞\lim_{|y|\to\infty} G_\alpha(y) = \inftylim∣y∣→∞​Gα​(y)=∞").

This guarantees that the bounds Sˉ\bar SSˉ, s‾\underline ss​, sˉ\bar ssˉ used in Theorem 4 are well defined.

Formalization Note "Least element" is Mathlib's IsLeast: membership in the set plus being a lower bound of it. SHigh G K α, sLow G K and sHigh G K α are defined as infima of these sets.

Preamble
import Mathlib
import Definitions.Def_VeinottWagnerSS_Bounds_CriticalNumbers
Formal statement
namespace VeinottWagnerSS.Bounds

/-- pp. 537–538: under the standing assumptions, the parameters of (21)–(23) exist:
`S̄ = SHigh G K α` is the smallest integer `y ≥ S̲` with `G_α(y + 1) ≥ G_α(S̲) + αK` (21),
`s̲ = sLow G K` is the smallest integer `y` with `G_α(y) ≤ G_α(S̲) + K` (22), and
`s̄ = sHigh G K α` is the smallest integer `y` with `G_α(y) ≤ G_α(S̲) + (1 − α)K` (23). -/
theorem critical_numbers_exist (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) :
    IsLeast {y : ℤ | SLow G ≤ y ∧ G (SLow G) + α * K ≤ G (y + 1)} (SHigh G K α) ∧
      IsLeast {y : ℤ | G y ≤ G (SLow G) + K} (sLow G K) ∧
      IsLeast {y : ℤ | G y ≤ G (SLow G) + (1 - α) * K} (sHigh G K α) := by sorry

end VeinottWagnerSS.Bounds
Source
Veinott & Wagner, Computing Optimal (s, S) Inventory Policies, Management Sci. 11 (1965), pp. 537-538, Section 4 'Bounds on s* and S*', Eqs. (21)-(23) and the sentence following them
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