(9), p. 291 — φₜ is nonincreasing in a beyond s₍ₗ₋ₖ₎ ∨ dₜ, so gₜ = g̃ₜ
ProvedPerishablePricing.Backlog.eq_9In the backlogging model with the standing assumptions of §3 and §4, fix a period , a feasible state , an order-up-to level , a demand level and a noise value , and write . For depletions , with and next states , ,
Consequently the upper bound in (5) can be dropped:
Formalization Note The page prints "" at the end of (9). The bound equals , which is when and either or , so the strict inequality is replaced by ; this is all the conclusion needs, and no hypothesis is added. The page writes with before ; the argument order of (6) is used. and are arbitrary reals, as on the page. Time is counted in periods to go: the continuation of phiN n is f n. The §4 assumption is the hypothesis .
import Mathlib import Definitions.Def_PerishablePricing_Backlog_Model
namespace PerishablePricing.Backlog
/-- (9), p. 291: with `n + 1` periods to go, a feasible state `s`, `s_l ≥ s_{l−1}`, any `d`, `ε`,
and depletions `a′ > a ≥ s_{l−k} ∨ d_t` (`d_t = d + ε`, `δ = a′ − a`),
`φ_t(a′) − φ_t(a) = −(γc + θ + h⁻)δ + γ[f_{t+1}(s̃′) − f_{t+1}(s̃)] ≤ −(γc + θ + h⁻)δ + γ(θ + c)δ ≤ 0`,
and hence `g_t(s, s_l, d | ε) = g̃_t(s, s_l, d | ε)`. The page's strict `< 0` is weakened to `≤ 0`
(the bound equals `−(1 − γ)θδ − h⁻δ`, which is `0` when `h⁻ = 0` and `γ = 1` or `θ = 0`). -/
theorem eq_9 {L k : ℕ} (M : Model L k) (hc : (1 - M.γ) * M.c ≤ M.hm) (n : ℕ)
(s : Fin L → ℝ) (hs : s ∈ Model.StateSpace L) (sl : ℝ) (hsl : M.sLast s ≤ sl) (d ε : ℝ) :
(∀ a a' : ℝ, max (M.netInv s sl) (d + ε) ≤ a → a < a' →
M.phiN n s sl d a' ε - M.phiN n s sl d a ε
= -(M.γ * M.c + M.θ + M.hm) * (a' - a)
+ M.γ * (M.f n (Model.next s sl a') - M.f n (Model.next s sl a)) ∧
M.phiN n s sl d a' ε - M.phiN n s sl d a ε
≤ -(M.γ * M.c + M.θ + M.hm) * (a' - a) + M.γ * (M.θ + M.c) * (a' - a) ∧
-(M.γ * M.c + M.θ + M.hm) * (a' - a) + M.γ * (M.θ + M.c) * (a' - a) ≤ 0) ∧
M.gN n s sl d ε = M.gtildeN n s sl d ε := by sorry
end PerishablePricing.Backlog
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.