Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (10.4)-(10.5): reallocating −h2y1-h_2y_1−h2​y1​ to stage 1 does not change the total cost

Proved
InventoryControl.cs_cost_reallocation

by naimengye · Sep 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

clark-scarfinventory-controlmulti-echelonoperations-research

For every echelon position y2y_2y2​ of installation 2 and realized position y1y_1y1​ of installation 1, the sum of the period costs (10.2) and (10.3),

h2 (y2−μ2′)−h2 y1  +  h1 (y1−μ1′′)+(h1+b1) E(y1−D(L1+1))−,h_2\,(y_2 - \mu_2') - h_2\,y_1 \;+\; h_1\,(y_1 - \mu_1'') + (h_1 + b_1)\,\mathbb{E}\big(y_1 - D(L_1+1)\big)^{-},h2​(y2​−μ2′​)−h2​y1​+h1​(y1​−μ1′′​)+(h1​+b1​)E(y1​−D(L1​+1))−,

equals the sum of the reallocated costs C~2(y2)=h2(y2−μ2′)\tilde C_2(y_2) = h_2(y_2 - \mu_2')C~2​(y2​)=h2​(y2​−μ2′​) and C~1(y1)=e1y1−h1μ1′′+(h1+b1) E(y1−D(L1+1))−\tilde C_1(y_1) = e_1y_1 - h_1\mu_1'' + (h_1 + b_1)\,\mathbb{E}(y_1 - D(L_1+1))^{-}C~1​(y1​)=e1​y1​−h1​μ1′′​+(h1​+b1​)E(y1​−D(L1​+1))−, because h1−h2=e1h_1 - h_2 = e_1h1​−h2​=e1​.

The reallocation is what decouples the two installations: C~2\tilde C_2C~2​ no longer depends on y1y_1y1​, and C~1\tilde C_1C~1​ depends on y2y_2y2​ only through the constraint y1≤y2−D(L2)y_1 \le y_2 - D(L_2)y1​≤y2​−D(L2​). The book remarks that the transferred term is normally negative, so C~1\tilde C_1C~1​ may be negative, as it is in Example 10.1.

Preamble
import Definitions.Def_InventoryControl_clarkScarf
Formal statement
namespace InventoryControl

theorem cs_cost_reallocation (e1 e2 b1 mu sigma : ℝ) (hs : 0 < sigma) (L1 L2 : ℕ) (y2 y1 : ℝ) :
    csPeriodCost e1 e2 b1 mu sigma L1 L2 y2 y1
      = csStage2Cost e2 mu L2 y2 + csStage1Cost e1 e2 b1 mu sigma L1 y1 := by sorry

end InventoryControl
Source
Sven Axsäter, Inventory Control, 3rd ed., Springer 2015, DOI 10.1007/978-3-319-15729-0, p. 195, Sect. 10.1.1, Eq. (10.4), Eq. (10.5) and 'Of course this reallocation does not affect the total costs'
Human review
  • Endorsed by Shuze Chen · Sep 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by naimengye · Sep 25, 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