Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

AR(1) moments: Var(Dt)=σ2/(1−ρ2)\mathrm{Var}(D_t) = \sigma^2/(1-\rho^2)Var(Dt​)=σ2/(1−ρ2) and Cov(Dt−1,Dt−p−1)=ρpσ2/(1−ρ2)\mathrm{Cov}(D_{t-1}, D_{t-p-1}) = \rho^p\sigma^2/(1-\rho^2)Cov(Dt−1​,Dt−p−1​)=ρpσ2/(1−ρ2)

Proved
ChenBullwhip.Centralized.ar1_moments

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

bullwhip-effectp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1supply-chaintime-series

Let (Dt)t∈Z(D_t)_{t \in \mathbb Z}(Dt​)t∈Z​ be the steady-state AR(1) demand Dt=μ+ρDt−1+ϵtD_t = \mu + \rho D_{t-1} + \epsilon_tDt​=μ+ρDt−1​+ϵt​ with ∣ρ∣<1|\rho| < 1∣ρ∣<1 and errors i.i.d. from a symmetric distribution with mean 000 and variance σ2\sigma^2σ2. Then for every period ttt and every forecast window p≥1p \ge 1p≥1,

Cov(Dt−1,Dt−p−1)=ρp1−ρ2 σ2andVar(Dt)=σ21−ρ2.\mathrm{Cov}(D_{t-1}, D_{t-p-1}) = \frac{\rho^p}{1-\rho^2}\,\sigma^2 \qquad\text{and}\qquad \mathrm{Var}(D_t) = \frac{\sigma^2}{1-\rho^2}.Cov(Dt−1​,Dt−p−1​)=1−ρ2ρp​σ2andVar(Dt​)=1−ρ2σ2​.

These are the two facts the paper invokes to pass from the first to the second line of the variance computation after Eq. (4): the two demands entering the order, Dt−1D_{t-1}Dt−1​ and Dt−p−1D_{t-p-1}Dt−p−1​, are ppp periods apart, which is where the factor 1−ρp1-\rho^p1−ρp of the bullwhip bound comes from.

Formalization Note The variance formula is the one asserted on p. 437 after Eq. (1); ppp is the positive forecast window used in the covariance formula on p. 438.

Preamble
import Mathlib
import Definitions.Def_ChenBullwhip_Centralized_AR1Demand
import Definitions.Def_ChenBullwhip_Centralized_Policy
Formal statement
namespace ChenBullwhip.Centralized

theorem ar1_moments {Ω : Type*} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω}
    [MeasureTheory.IsProbabilityMeasure P] (X : AR1Demand P) (p : ℕ) (hp : 1 ≤ p) (t : ℤ) :
    ProbabilityTheory.covariance (X.D (t - 1)) (X.D (t - p - 1)) P
        = X.rho ^ p / (1 - X.rho ^ 2) * X.sigma ^ 2
      ∧ ProbabilityTheory.variance (X.D t) P = X.sigma ^ 2 / (1 - X.rho ^ 2) := by sorry

end ChenBullwhip.Centralized
Source
Chen, Drezner, Ryan and Simchi-Levi, Quantifying the Bullwhip Effect in a Simple Supply Chain, Management Science 46 (2000), p. 438, §2.2, the sentence after the display following Eq. (4) (Var(D_t) also asserted on p. 437)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 4, 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