Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 2.2.1.2.2 — the critical distance policy RnR_nRn​ is optimal for every subsystem

Proved
ServiceParts.UnitDecomp.critical_distance_policy_optimal

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

base-stockinventorymarkov-decision-processp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Consider a single-unit single-customer subsystem over a horizon of NNN periods (0<h<b0<h<b0<h<b, α∈(0,1]\alpha\in(0,1]α∈(0,1]), with critical distance y∗(n,s)y^*(n,s)y∗(n,s). The critical distance policy

Rn(s,y)=Release  ⟺  y≤y∗(n,s)R_n(s,y) = \mathit{Release} \iff y \le y^*(n,s)Rn​(s,y)=Release⟺y≤y∗(n,s)

is optimal: for every period 1≤n≤N1\le n\le N1≤n≤N, every Markov state sss and every configuration (z,y)(z,y)(z,y) of the subsystem with y≥1y\ge 1y≥1 whenever the unit is at the supplier (z=m+1z = m+1z=m+1),

CnR(s,(z,y))=Vn(s,(z,y)).C^{R}_n\big(s,(z,y)\big) = V_n\big(s,(z,y)\big).CnR​(s,(z,y))=Vn​(s,(z,y)).

Together with Theorem 4, this reduces an optimal policy for the whole system to one threshold per period and Markov state.

Formalization Note The policy is the book's, literally: release iff y≤y∗(n,s)y \le y^*(n,s)y≤y∗(n,s), with y∗y^*y∗ possibly ∞\infty∞ (then it always releases). Configurations with the unit at the supplier and the customer at distance 000 are excluded because the book's rule would release there, which is suboptimal; they never occur in a subsystem started with its customer at distance at least 1.

Preamble
import Mathlib
import Definitions.Def_ServiceParts_UnitDecomp_Model
import Definitions.Def_ServiceParts_UnitDecomp_Subsystem
Formal statement
namespace ServiceParts.UnitDecomp

theorem critical_distance_policy_optimal {σ : Type} [Fintype σ] (M : Model σ) (N n : ℕ)
    (hn : 1 ≤ n) (hnN : n ≤ N) (s : σ) (z y : ℕ) (hzy : z = M.m + 1 → 1 ≤ y) :
    M.subCost N (M.criticalPolicy N) n s (z, y) = M.subOpt N n s (z, y) := by sorry

end ServiceParts.UnitDecomp
Source
Muckstadt, Analysis and Algorithms for Service Parts Supply Chains, Springer 2005, DOI 10.1007/b138879, p. 29, Section 2.2.1.2.2 (definition of y*(n, s_n) and the policy R_n; "Policy R_n is an optimal policy for every subsystem")
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