Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Property (a) — order-up-to levels are nondecreasing in the horizon

Proved
ServiceParts.BaseStock.property_a

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

base-stockdynamic-programminginventoryp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1

In the model of Section 2.1 with lead time one period, let n≥2n \ge 2n≥2. If the order-up-to rule with real level sss is optimal in the nnn-period problem and the order-up-to rule with real level s′s's′ is optimal in the (n+1)(n+1)(n+1)-period problem, then

s≤s′.s \le s' .s≤s′.

In the book's notation, sn∗≤sn+1∗s_n^* \le s_{n+1}^*sn∗​≤sn+1∗​: the longer the remaining horizon, the higher the stock level ordered up to.

Formalization Note The book derives (a) from its property (d), fn′≤fn−1′f_n' \le f_{n-1}'fn′​≤fn−1′​, which is false as printed (see the mission description); property (a) itself holds and is stated here for any optimal real levels, so no uniqueness of the level is presupposed.

Preamble
import Mathlib
import Definitions.Def_ServiceParts_BaseStock_Model
import Definitions.Def_ServiceParts_BaseStock_Recursion

open MeasureTheory Set Filter Topology
Formal statement
namespace ServiceParts.BaseStock

/-- Property (a) in the proof of Theorem 2, p. 18 (sₙ* ≥ sₙ₋₁*): for n ≥ 2, if the
order-up-to rule with level s is optimal in the n-period problem and the order-up-to rule
with level s' is optimal in the (n + 1)-period problem, then s ≤ s'. -/
theorem property_a (M : Model) (n : ℕ) (hn : 2 ≤ n) (s s' : ℝ)
    (hs : M.IsOrderUpToOptimal n s) (hs' : M.IsOrderUpToOptimal (n + 1) s') : s ≤ s' := by sorry

end ServiceParts.BaseStock
Source
Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer 2005, DOI 10.1007/b138879, p. 18, Section 2.1, proof of Theorem 2 (property (a)); re-established p. 20
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

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