Eqs. (A7)–(A8) — one improving step for binds the -th constraint without raising the objective
ProvedGravesWillems.Serial.transfer_step_improvesLet be a probability space carrying a random demand path with integrable for every , let , and let be nondecreasing with . Let be holding costs with nonnegative echelon holding costs for .
Let be feasible for and , such that the first constraints of (A3) are binding and the -th is strict:
Put
and let equal except , . Then
- is feasible for ;
- satisfies the first constraints of (A3) with equality;
- for every period , the objective of at is at most its value at .
Item 3 combines (A7) with (A8). Iterating this step is the core of the proof of the Result.
Formalization Note "The echelon holding costs are nonnegative" is read, for this step, as for (only enter the objective). is the paper's convention (§2, p. 70) and is used at , where the empty sum gives . The objective is evaluated at a fixed period .
import Mathlib import Definitions.Def_GravesWillems_Serial_backlog import Definitions.Def_GravesWillems_Serial_programP open MeasureTheory
namespace GravesWillems.Serial
/-- Eqs. (A7)–(A8) of Graves–Willems 2000 (Appendix, pp. 81–82): let `B*` be feasible for `P*`,
`1 ≤ k < N`, the constraints (A3) with index `1, …, k − 1` binding and the `k`-th strict. With
`Δ = B*_k − D(Σ_{i=1}^k Tᵢ) + D(Σ_{i=1}^{k−1} Tᵢ)`, the vector `B**` obtained by moving `Δ` from
stage `k` to stage `k + 1` is feasible, binds the constraints `1, …, k`, and, when `D(0) = 0`,
`D` is nondecreasing and the echelon holding costs `e_i = hᵢ − h_{i+1}` (`1 ≤ i < N`) are
nonnegative, has objective value no greater than that of `B*` at every period `t`. -/
theorem transfer_step_improves {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω)
[IsProbabilityMeasure μ] (d : Ω → ℤ → ℝ) (hd : ∀ τ : ℤ, Integrable (fun ω => d ω τ) μ)
(N : ℕ) (T : ℕ → ℕ) (D : ℕ → ℝ) (hD0 : D 0 = 0) (hD : Monotone D)
(h : ℕ → ℝ) (he : ∀ i ∈ Finset.Ico 1 N, 0 ≤ h i - h (i + 1))
(B : ℕ → ℝ) (hB : Feasible N T D B) (k : ℕ) (hk1 : 1 ≤ k) (hkN : k + 1 ≤ N)
(hbind : ∀ i ∈ Finset.Ico 1 k,
∑ m ∈ Finset.Icc 1 i, B m = D (∑ m ∈ Finset.Icc 1 i, T m))
(hstrict : D (∑ m ∈ Finset.Icc 1 k, T m) < ∑ m ∈ Finset.Icc 1 k, B m) :
Feasible N T D (transfer B k (B k - D (∑ m ∈ Finset.Icc 1 k, T m)
+ D (∑ m ∈ Finset.Icc 1 (k - 1), T m))) ∧
(∀ i ∈ Finset.Icc 1 k,
∑ m ∈ Finset.Icc 1 i, transfer B k (B k - D (∑ m ∈ Finset.Icc 1 k, T m)
+ D (∑ m ∈ Finset.Icc 1 (k - 1), T m)) m
= D (∑ m ∈ Finset.Icc 1 i, T m)) ∧
∀ t : ℤ,
objective μ d N T h (transfer B k (B k - D (∑ m ∈ Finset.Icc 1 k, T m)
+ D (∑ m ∈ Finset.Icc 1 (k - 1), T m))) t
≤ objective μ d N T h B t := by sorry
end GravesWillems.Serial
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setup. The statement takes:
- a measurable space with a probability measure ;
- a random demand path such that each is -integrable;
- any and any lead times .
Hypotheses.
- Demand bound : with and nondecreasing.
- Holding costs: with for every . There is no sign assumption on or on the themselves.
- Feasible : is feasible, meaning:
- for every , and
- for every .
- Stage : and , so .
- Binding constraints before : for every . This set is empty when .
- Strict constraint at : .
The transferred vector. Set
When , the last term is . Let equal except and .
Claims. Under all the hypotheses together:
- is feasible in the sense above.
- for every .
- For every , , where
Here is the backlog for , for , with . The integrals are Bochner integrals, equal to if not integrable.
Degenerate cases.
- : no satisfies the hypotheses, so the statement is vacuous.
- : there are no binding hypotheses, and .
- Zero lead times: is allowed.
- Sign of : the statement does not itself assert that .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.