Lemma 3 (Tsypkin), p. 32 — an iid input through a linear filter g has long-run output variance σ²_x Σ g_t²
ProvedSpeedFactory.BreakEven.lemma_3linear-systemsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1variancez-transform
Let be independent, identically distributed real random variables with finite variance . Let be a real impulse response with . Define the output of the linear system by the convolution (52),
Then for every , , and the long-run variance of the output is
This relation is how the paper turns impulse responses into the inventory and order variances of its linear policies.
Formalization Note Square-summability of is added: without it the long-run variance is infinite. "Long-run variance" is read as the limit of , as in the first line of the printed proof.
Preamble
import Mathlib open MeasureTheory ProbabilityTheory Filter
Formal statement
namespace SpeedFactory.BreakEven
/-- Lemma 3 (Tsypkin [1964]). Boute, Disney, Gijsbrechts, Van Mieghem, Dual Sourcing and Smoothing under Non-Stationary Demand Time Series: Re-shoring with SpeedFactories, accepted manuscript (revised Nov 28, 2020), p. 32, Lemma 3, (52) and (54).
If the input `x_t` of a linear system with impulse response `g_t` is iid with variance
`σ²_x`, the output `y_t = Σ_{i=0}^{t} x_i g_{t−i}` (52) has variance
`σ²_x Σ_{i=0}^{t} g_i²` at every `t`, and its long-run variance is `σ²_y = σ²_x Σ_{t=0}^∞ g_t²`
(54).
**Formalization Note.** "Long-run variance" is `lim_{t→∞} Var(y_t)` (the first line of the
printed proof). Square-summability of `g` is an added hypothesis: without it the long-run
variance is `+∞` and `tsum` would be a junk `0`. The input has a finite second moment
(`MemLp 2`), which "variance `σ²_x`" presupposes. The finite-`t` identity is the proof's
middle line. -/
theorem lemma_3 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(x : ℕ → Ω → ℝ) (hind : iIndepFun x P) (hid : ∀ t, IdentDistrib (x t) (x 0) P P)
(hL2 : MemLp (x 0) 2 P) (σx2 : ℝ) (hσx2 : variance (x 0) P = σx2)
(g : ℕ → ℝ) (hg : Summable fun t => g t ^ 2) :
let y : ℕ → Ω → ℝ := fun t ω => ∑ i ∈ Finset.range (t + 1), x i ω * g (t - i)
(∀ t, variance (y t) P = σx2 * ∑ i ∈ Finset.range (t + 1), g i ^ 2) ∧
Tendsto (fun t => variance (y t) P) atTop (nhds (σx2 * ∑' t, g t ^ 2)) := by sorry
end SpeedFactory.BreakEven
Source
Boute, Disney, Gijsbrechts, Van Mieghem, Dual Sourcing and Smoothing under Non-Stationary Demand Time Series: Re-shoring with SpeedFactories, accepted manuscript (revised Nov 28, 2020), p. 32, Lemma 3, (52), (54)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.