Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 13.1: Cov[Dt−i,σ^etL]=0\mathrm{Cov}[D_{t-i}, \hat\sigma^L_{et}] = 0Cov[Dt−i​,σ^etL​]=0 for i=1,…,mi = 1, \dots, mi=1,…,m

Proved
SupplyChainTheory.bullwhip_lemma_13_1

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

bullwhip-effectgaussianoperations-researchprobabilitysupply-chain

Lemma 13.1. For the stationary Gaussian AR(1) demand and the forecast-error estimate σ^etL=C∑i=1met−i2/m\hat\sigma^L_{et} = C\sqrt{\sum_{i=1}^m e_{t-i}^2/m}σ^etL​=C∑i=1m​et−i2​/m​ of Eq. (13.8), with m≥1m \ge 1m≥1,

Cov[Dt−i, σ^etL]  =  0for all i=1,…,m.\mathrm{Cov}\big[D_{t-i},\ \hat\sigma^L_{et}\big] \;=\; 0 \qquad\text{for all } i = 1, \dots, m.Cov[Dt−i​, σ^etL​]=0for all i=1,…,m.

The book omits the proof and cites Ryan (1997). The reason is symmetry: the forecast errors et−1,…,et−me_{t-1}, \dots, e_{t-m}et−1​,…,et−m​ are linear functions of the demands, hence jointly Gaussian with mean zero, σ^etL\hat\sigma^L_{et}σ^etL​ is an even function of them, and the regression of any demand on the error vector is an odd function of it, so the covariance is the expectation of an odd function of a centred Gaussian vector. The lemma is what removes the cross terms between the demand part and the safety-stock part of QtQ_tQt​ in the variance computation of Theorem 13.2.

Formalization Note The estimate is stated with the book's unspecified constant CLρC_{L\rho}CLρ​ as a free parameter CCC; the covariance does not depend on it.

Preamble
import Definitions.Def_SupplyChainTheory_bullwhip
Formal statement
namespace SupplyChainTheory

theorem bullwhip_lemma_13_1 {Ω : Type*} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω}
    [MeasureTheory.IsProbabilityMeasure P] (X : AR1Demand P) (C : ℝ) (m : ℕ) (hm : 0 < m)
    (t : ℤ) (i : ℕ) (hi1 : 1 ≤ i) (him : i ≤ m) :
    ProbabilityTheory.covariance (X.D (t - i)) (X.sigmaHat C m t) 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, Lemma 13.1: 'Cov[Dt-i, sigma-hat] = 0 for all i = 1, ..., m. Proof. Omitted; see Ryan (1997)'
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