Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7.2: transshipments raise the type-1 service level by ∣∂E[Yji]/∂Si∣|\partial \mathbb{E}[Y_{ji}]/\partial S_i|∣∂E[Yji​]/∂Si​∣

Proved
SupplyChainTheory.transshipment_type1_service

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

operations-researchprobabilityservice-levelsupply-chaintransshipments

Theorem 7.2. Two retailers with base-stock levels Si,SjS_i, S_jSi​,Sj​ face independent demands Di,DjD_i, D_jDi​,Dj​ with continuous distributions and finite means, and transship under complete pooling: after demand is observed, Yji=min⁡{Sj−Dj,Di−Si}Y_{ji} = \min\{S_j - D_j, D_i - S_i\}Yji​=min{Sj​−Dj​,Di​−Si​} units move from jjj to iii when jjj has a surplus and iii a shortage. Then transshipments increase the type-1 service level at iii by the marginal decrease in the expected transshipment quantity for a unit increase in the base-stock level:

αi(S)  =  αi0(S)+∣∂ E[Yji]∂Si∣,\alpha_i(S) \;=\; \alpha^0_i(S) + \left|\frac{\partial\,\mathbb{E}[Y_{ji}]}{\partial S_i}\right|,αi​(S)=αi0​(S)+​∂Si​∂E[Yji​]​​,

where αi0(S)=Pr⁡[Di≤Si]\alpha^0_i(S) = \Pr[D_i \le S_i]αi0​(S)=Pr[Di​≤Si​] is the service level without transshipments and αi(S)\alpha_i(S)αi​(S) is the probability that the shortage at iii is covered. The derivative exists and is nonpositive (Eq. 7.15): raising SiS_iSi​ reduces what iii needs from jjj, and by exactly the probability that a transshipment covers the shortage.

Formalization Note The book differentiates the density formula (7.8) by Leibniz's rule; the statement here assumes only that the two laws have no atoms and finite means, which is what makes E[Yji]\mathbb{E}[Y_{ji}]E[Yji​] differentiable in SiS_iSi​ with the stated derivative.

Preamble
import Definitions.Def_SupplyChainTheory_flexibility
Formal statement
namespace SupplyChainTheory

theorem transshipment_type1_service (Sj Si : ℝ) (Dj Di : MeasureTheory.Measure ℝ)
    [MeasureTheory.IsProbabilityMeasure Dj] [MeasureTheory.IsProbabilityMeasure Di]
    [MeasureTheory.NullSingletonClass Dj] [MeasureTheory.NullSingletonClass Di]
    (hj : MeasureTheory.Integrable (fun x => x) Dj)
    (hi : MeasureTheory.Integrable (fun x => x) Di) :
    ∃ dY : ℝ, HasDerivAt (fun s => expTransship Sj s Dj Di) dY Si ∧ dY ≤ 0
      ∧ type1Trans Sj Si Dj Di = type1NoTrans Si Di + |dY| := by sorry

end SupplyChainTheory
Source
Lawrence V. Snyder and Zuo-Jun Max Shen, Fundamentals of Supply Chain Theory, 2nd ed., Wiley 2019, DOI 10.1002/9781119584445, p. 242, Sect. 7.4.4, Theorem 7.2 and its proof, Eq. (7.12)-(7.16); the model is Sect. 7.4.2 pp. 237-239; after Tagaras (1989)
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