Corollary 1, p. 292 — monotone sensitivity of the order quantity and the demand level
ProvedPerishablePricing.Backlog.corollary_1In the backlogging model with the standing assumptions of §3 and §4, write the state also as with and , so that raising by raises by for every . Let be the optimal order quantity and the optimal demand level, where is the largest optimal decision pair. For every period and ,
The optimal order quantity decreases in the inventory of each age, more slowly than one for one and more strongly for younger inventory; the optimal demand level (and so the discount offered) increases in the inventory of each age, most strongly for inventory close to expiry.
Formalization Note The chains are stated pairwise: for 0-based indices and largest optimal pairs at , at and at (the -coordinates of and ), and , which is (10)–(11). The largest optimal pairs are hypotheses at the three points compared. The page's "for " covers only the decision periods here, since there is no decision at ; (11) prints for . The §4 assumption is the hypothesis .
import Mathlib import Definitions.Def_PerishablePricing_Backlog_Model
namespace PerishablePricing.Backlog
/-- Corollary 1 (Monotone Sensitivity), p. 292, in the `s`-coordinates. Raising `x_i` by `ω`
(`x_1 = s_1`, `x_i = s_i − s_{i−1}`) raises `s_j` by `ω` for every `j ≥ i`; in 0-based indices this
is `s + ω·1_{≥ i}`. The optimal order quantity is `x̂ = s_{lt} − s_{l−1}` and the demand level is
`d̂ = d_t`. For `i ≤ j` (so `x + ωe_j` lies on the left of `x + ωe_i` in (10)–(11)) and `ω ≥ 0`,
with largest optimal decisions `(S, D)` at `s`, `(S_i, D_i)` at `s + ω·1_{≥ i}` and `(S_j, D_j)` at
`s + ω·1_{≥ j}`:
`−ω ≤ Δ_j x̂ ≤ Δ_i x̂ ≤ 0` and `0 ≤ Δ_j d̂ ≤ Δ_i d̂ ≤ ω`. -/
theorem corollary_1 {L k : ℕ} (M : Model L k) (hc : (1 - M.γ) * M.c ≤ M.hm) (n : ℕ)
(s : Fin L → ℝ) (hs : s ∈ Model.StateSpace L) (ω : ℝ) (hω : 0 ≤ ω) (i j : Fin L)
(hij : i ≤ j) (S D Si Di Sj Dj : ℝ)
(hopt : M.IsLargestOptOrder n s S D)
(hopt_i : M.IsLargestOptOrder n (s + fun m => if i ≤ m then ω else 0) Si Di)
(hopt_j : M.IsLargestOptOrder n (s + fun m => if j ≤ m then ω else 0) Sj Dj) :
let xhat : (Fin L → ℝ) → ℝ → ℝ := fun s' S' => S' - M.sLast s'
let si : Fin L → ℝ := s + fun m => if i ≤ m then ω else 0
let sj : Fin L → ℝ := s + fun m => if j ≤ m then ω else 0
(-ω ≤ xhat sj Sj - xhat s S ∧ xhat sj Sj - xhat s S ≤ xhat si Si - xhat s S ∧
xhat si Si - xhat s S ≤ 0 ∧
0 ≤ Dj - D ∧ Dj - D ≤ Di - D ∧ Di - D ≤ ω) := by sorry
end PerishablePricing.Backlog
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.