Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2 (p. 484) — the gₙ of (16) are given by recursion (26) with the augmented cost L̃ + Λ

Proved
ClarkScarf.Serial.theorem2_g_recursion

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programminginventorymulti-echelonp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1

In the two-installation model, suppose that for every n≥3n\ge3n≥3 periods remaining the isolated installation-1 problem (15) has a critical number xˉn\bar x_nxˉn​. Define g1=L~g_1=\tilde Lg1​=L~ and, for n≥2n\ge2n≥2,

gn(x2)=inf⁡z≥0{c(z)+L~(x2)+Λn(x2)+α∫0∞gn−1(x2+z−t)φ(t) dt}(26)g_n(x_2)=\inf_{z\ge0}\Big\{c(z)+\tilde L(x_2)+\Lambda_n(x_2)+\alpha\int_0^\infty g_{n-1}(x_2+z-t)\varphi(t)\,dt\Big\}\qquad(26)gn​(x2​)=z≥0inf​{c(z)+L~(x2​)+Λn​(x2​)+α∫0∞​gn−1​(x2​+z−t)φ(t)dt}(26)

with Λn\Lambda_nΛn​ of (25) (and Λ2≡0\Lambda_2\equiv0Λ2​≡0). Then for every n≥1n\ge1n≥1 and every state with x1+w1≤x2x_1+w_1\le x_2x1​+w1​≤x2​,

Cn(x1,w1,x2)=C^n(x1,w1)+gn(x2).C_n(x_1,w_1,x_2)=\hat C_n(x_1,w_1)+g_n(x_2).Cn​(x1​,w1​,x2​)=C^n​(x1​,w1​)+gn​(x2​).

So the echelon-2 problem is an ordinary single-installation inventory problem whose one-period cost is the natural cost L~\tilde LL~ augmented by Λn\Lambda_nΛn​; solving it yields the optimal system orders.

Formalization Note The paper's (26) writes Λ(x2)\Lambda(x_2)Λ(x2​) for Λn(x2)\Lambda_n(x_2)Λn​(x2​). Rather than asserting that the ggg of Theorem 1 satisfies (26), which would quantify over an object the page constructs, the statement defines gng_ngn​ by (26) (gClark, with g0≡0g_0\equiv0g0​≡0, which gives g1=L~g_1=\tilde Lg1​=L~) and asserts (16) for it. The critical numbers are hypotheses, as in the paper; for n≤2n\le2n≤2 none is needed because no shipment placed then arrives within the horizon.

Preamble
import Mathlib
import Definitions.Def_ClarkScarf_Serial_Model

open MeasureTheory Set
Formal statement
namespace ClarkScarf.Serial

/-- Theorem 2, p. 484: given critical numbers `x̄_{n+1}` of the isolated problem for every
`n + 1 ≥ 3` periods remaining, the functions `g_n` of (26), with `g_1 = L̃` and `Λ` of (25),
satisfy `C_n(x₁, w₁, x₂) = Ĉ_n(x₁, w₁) + g_n(x₂)` for every `n ≥ 1` and `x₁ + w₁ ≤ x₂`. -/
theorem theorem2_g_recursion (M : Model) (xbar : ℕ → ℝ)
    (hxbar : ∀ n : ℕ, 2 ≤ n → M.IsCriticalNumber n (xbar (n + 1))) :
    ∀ n : ℕ, 1 ≤ n → ∀ x₁ w₁ x₂ : ℝ, x₁ + w₁ ≤ x₂ →
      M.sysCost n x₁ w₁ x₂ = M.isoCost n x₁ w₁ + M.gClark xbar n x₂ := by sorry

end ClarkScarf.Serial
Source
Clark and Scarf, Optimal Policies for a Multi-Echelon Inventory Problem, Management Sci. 6(4), 1960, p. 484, Theorem 2, eqs. (25)-(26)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

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