Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7.1 (risk pooling): the centralized system costs no more than the decentralized one, gC∗≤gD∗g^*_C \le g^*_DgC∗​≤gD∗​

Proved
SupplyChainTheory.risk_pooling

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

gaussiannewsvendoroperations-researchrisk-poolingsupply-chain

Theorem 7.1. NNN distribution centers face normally distributed per-period demands Di∼N(μi,σi2)D_i \sim N(\mu_i, \sigma_i^2)Di​∼N(μi​,σi2​) with correlation coefficients ρij\rho_{ij}ρij​, each following a base-stock policy with zero lead time, holding cost h>0h > 0h>0 and backorder cost p>0p > 0p>0 per unit per period. The optimal expected cost of the decentralized system is the sum of the NNN optimal newsvendor costs, gD∗=∑imin⁡Sgi(S)g^*_D = \sum_i \min_S g_i(S)gD∗​=∑i​minS​gi​(S) (Eq. 7.1); the centralized system merges the centers into one facing the total demand, normal with mean ∑iμi\sum_i \mu_i∑i​μi​ and variance ∑i∑jσiσjρij\sum_i \sum_j \sigma_i \sigma_j \rho_{ij}∑i​∑j​σi​σj​ρij​, and its optimal cost is gC∗=min⁡Sg0(S)g^*_C = \min_S g_0(S)gC∗​=minS​g0​(S) (Eq. 7.2). Then

gC∗  ≤  gD∗.g^*_C \;\le\; g^*_D.gC∗​≤gD∗​.

This is the risk-pooling effect (Eppen 1979): pooled demand has a smaller standard deviation than the sum of the individual ones, because variances, not standard deviations, add. The book's proof evaluates both sides in closed form, gC∗=ησ0g^*_C = \eta\sigma_0gC∗​=ησ0​ and gD∗=η∑iσig^*_D = \eta\sum_i\sigma_igD∗​=η∑i​σi​ with η=(p+h)φ(zα)\eta = (p + h)\varphi(z_\alpha)η=(p+h)φ(zα​), and applies the inequality σ0≤∑iσi\sigma_0 \le \sum_i \sigma_iσ0​≤∑i​σi​.

Formalization Note The optimal costs are infima of the newsvendor cost over all base-stock levels; the Gaussian laws are Mathlib's gaussianReal with variance clamped at 000, so a pooled variance that is not positive gives a degenerate demand at the mean. The correlation matrix is assumed symmetric with unit diagonal and entries at most 111.

Preamble
import Definitions.Def_SupplyChainTheory_flexibility
Formal statement
namespace SupplyChainTheory

theorem risk_pooling {N : ℕ} (h p : ℝ) (hh : 0 < h) (hp : 0 < p)
    (mu sig : Fin N → ℝ) (rho : Fin N → Fin N → ℝ)
    (hsig : ∀ i, 0 < sig i) (hrho : ∀ i j, rho i j ≤ 1) (hrho_diag : ∀ i, rho i i = 1)
    (hrho_symm : ∀ i j, rho i j = rho j i) :
    optNvCost h p
        (ProbabilityTheory.gaussianReal (∑ i, mu i) (Real.toNNReal (pooledVariance sig rho)))
      ≤ ∑ i, optNvCost h p
          (ProbabilityTheory.gaussianReal (mu i) (Real.toNNReal ((sig i) ^ 2))) := 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. 232, Sect. 7.2.5, Theorem 7.1; the model is Sect. 7.2.2-7.2.4 pp. 231-232, Eq. (7.1), (7.2); after Eppen (1979)
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