Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The covariance term (13.12) of Var[Qt]\mathrm{Var}[Q_t]Var[Qt​] vanishes

Proved
SupplyChainTheory.bullwhip_cov_term_vanishes

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

bullwhip-effectoperations-researchprobabilitysupply-chain

In the variance decomposition (13.11) of the order QtQ_tQt​, the cross term between the demand part (1+L/m)Dt−1−(L/m)Dt−m−1(1 + L/m)D_{t-1} - (L/m)D_{t-m-1}(1+L/m)Dt−1​−(L/m)Dt−m−1​ and the safety-stock part σ^etL−σ^e,t−1L\hat\sigma^L_{et} - \hat\sigma^L_{e,t-1}σ^etL​−σ^e,t−1L​ is zero: for m≥1m \ge 1m≥1,

Cov[(1+Lm)Dt−1−LmDt−m−1, σ^etL−σ^e,t−1L]  =  0.\mathrm{Cov}\Big[\Big(1 + \frac{L}{m}\Big)D_{t-1} - \frac{L}{m}D_{t-m-1},\ \hat\sigma^L_{et} - \hat\sigma^L_{e,t-1}\Big] \;=\; 0.Cov[(1+mL​)Dt−1​−mL​Dt−m−1​, σ^etL​−σ^e,t−1L​]=0.

The book expands the covariance into four terms (Eq. 13.12): two vanish by Lemma 13.1 directly, and the other two, Cov[Dt−1,σ^e,t−1L]\mathrm{Cov}[D_{t-1}, \hat\sigma^L_{e,t-1}]Cov[Dt−1​,σ^e,t−1L​] and Cov[Dt−m−1,σ^etL]\mathrm{Cov}[D_{t-m-1}, \hat\sigma^L_{et}]Cov[Dt−m−1​,σ^etL​], are reduced to instances of Lemma 13.1 through the recursion (13.1) and the independence of the errors from the demands (the second reduction divides by ρ\rhoρ; both covariances are in fact zero for every ρ\rhoρ by the same symmetry argument that proves the lemma). Without this step the bound of Theorem 13.2 would carry an uncontrolled cross term.

Preamble
import Definitions.Def_SupplyChainTheory_bullwhip
Formal statement
namespace SupplyChainTheory

theorem bullwhip_cov_term_vanishes {Ω : Type*} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω}
    [MeasureTheory.IsProbabilityMeasure P] (X : AR1Demand P) (C : ℝ) (L m : ℕ) (hm : 0 < m)
    (t : ℤ) :
    ProbabilityTheory.covariance
      (fun ω => (1 + (L : ℝ) / m) * X.D (t - 1) ω - ((L : ℝ) / m) * X.D (t - m - 1) ω)
      (fun ω => X.sigmaHat C m t ω - X.sigmaHat C m (t - 1) ω) P = 0 := 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. 545, Sect. 13.2.2, Eq. (13.12) and the derivation ending 'Therefore, we can ignore the Cov[.] term in (13.11)'
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