Proof of P1, p. 53, first display — x_t = x_0 − Σ_{j=t+1−L}^{t} d_j + LF_{t+1−L}
ProvedGravesIMA.Stages.p1_lead_time_formThroughout, time is indexed by the integers, , and is the single-stage system of Graves (1999, §2) driven by a shock sequence : demand , for ; the exponentially weighted moving-average forecast , ; orders for and for with lead time ; inventory for , with the initial inventory free.
Then for every period with and ,
The inventory equals the initial inventory minus the demand over the last periods, corrected by the forecast of lead-time demand made periods ago. It is the first step of the proof of property P1.
Formalization Note The statement is pathwise: it holds for every real shock sequence, so no probability is involved. The system is the predicate IsStage μ α L ε d F q x of GravesIMA.Stages.Model; all sequences are functions . The standing assumption of §2 is kept as a hypothesis although the identity does not need it. The paper writes "for "; the hypothesis is kept as well because periods start at (it only matters when , where the sums are empty and the claim is ).
import Mathlib import Definitions.Def_GravesIMA_Stages_Model
namespace GravesIMA.Stages
theorem p1_lead_time_form (μ α : ℝ) (hα0 : 0 ≤ α) (hα1 : α ≤ 1) (L : ℕ)
(ε d F q x : ℤ → ℝ) (h : IsStage μ α L ε d F q x) (t : ℤ) (ht1 : 1 ≤ t) (htL : (L : ℤ) ≤ t) :
x t = x 0 - ∑ j ∈ Finset.Icc (t + 1 - (L : ℤ)) t, d j + (L : ℝ) * F (t + 1 - (L : ℤ)) ∧
x t = x 0 - ∑ j ∈ Finset.Icc (t + 1 - (L : ℤ)) t, (d j - F (t + 1 - (L : ℤ))) := by sorry
end GravesIMA.Stages
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.