Variance display after Eq. (4):
ProvedChenBullwhip.Centralized.order_varianceUnder the assumptions of Lemma 2.1 (steady-state AR(1) demand with i.i.d. symmetric errors of mean and variance ), for the retailer's order with window , lead-time parameter , safety factor and constant , and for every period ,
where is the common variance of the demands.
This is the final equality of the display following Eq. (4). It is true as stated, but not through the printed intermediate line: expanding from Eq. (4) also produces the cross terms and , which lie outside the lags of Lemma 2.1. Like every covariance between a demand and the estimate , they vanish by the symmetry of the error distribution. Together with Lemma 2.1, the identity yields Theorem 2.2.
Formalization Note is written , for the same as the order. Only the final equality of the display is formalized, because the printed first line drops cross terms.
import Mathlib import Definitions.Def_ChenBullwhip_Centralized_AR1Demand import Definitions.Def_ChenBullwhip_Centralized_Policy
namespace ChenBullwhip.Centralized
theorem order_variance {Ω : Type*} [MeasurableSpace Ω] {P : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure P] (X : AR1Demand P) (C z : ℝ) (L p : ℕ) (hp : 1 ≤ p)
(t : ℤ) :
ProbabilityTheory.variance (X.order C z L p t) P
= (1 + (2 * (L : ℝ) / p + 2 * (L : ℝ) ^ 2 / (p : ℝ) ^ 2) * (1 - X.rho ^ p))
* ProbabilityTheory.variance (X.D t) P
+ 2 * z * (1 + 2 * (L : ℝ) / p)
* ProbabilityTheory.covariance (X.D (t - 1)) (X.sigmaHat C p t) P
+ z ^ 2 * ProbabilityTheory.variance
(fun ω => X.sigmaHat C p t ω - X.sigmaHat C p (t - 1) ω) P := by sorry
end ChenBullwhip.Centralized
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.