Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(9), p. 291 — φₜ is nonincreasing in a beyond s₍ₗ₋ₖ₎ ∨ dₜ, so gₜ = g̃ₜ

Proved
PerishablePricing.Backlog.eq_9

by mikedeng1 · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programminginventoryp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1perishable-inventory

In the backlogging model with the standing assumptions of §3 and §4, fix a period t≤Tt \le Tt≤T, a feasible state s∈Ss \in \mathcal{S}s∈S, an order-up-to level sl≥sl−1s_l \ge s_{l-1}sl​≥sl−1​, a demand level ddd and a noise value ε\varepsilonε, and write dt=d+εd_t = d + \varepsilondt​=d+ε. For depletions a′>a≥sl−k∨dta' > a \ge s_{l-k} \vee d_ta′>a≥sl−k​∨dt​, with δ=a′−a\delta = a' - aδ=a′−a and next states s~\tilde ss~, s~′\tilde s's~′,

ϕt(s,sl,d,a′∣ε)−ϕt(s,sl,d,a∣ε)=−(γc+θ+h−)δ+γ[ft+1(s~′)−ft+1(s~)]≤−(γc+θ+h−)δ+γ(θ+c)δ≤0.\phi_t(s, s_l, d, a' \mid \varepsilon) - \phi_t(s, s_l, d, a \mid \varepsilon) = -(\gamma c + \theta + h^-)\delta + \gamma\big[f_{t+1}(\tilde s') - f_{t+1}(\tilde s)\big] \le -(\gamma c + \theta + h^-)\delta + \gamma(\theta + c)\delta \le 0.ϕt​(s,sl​,d,a′∣ε)−ϕt​(s,sl​,d,a∣ε)=−(γc+θ+h−)δ+γ[ft+1​(s~′)−ft+1​(s~)]≤−(γc+θ+h−)δ+γ(θ+c)δ≤0.

Consequently the upper bound a≤sl−k∨dta \le s_{l-k} \vee d_ta≤sl−k​∨dt​ in (5) can be dropped:

gt(s,sl,d∣ε)=g~t(s,sl,d∣ε)=sup⁡a≥s1∨dtϕt(s,sl,d,a∣ε).g_t(s, s_l, d \mid \varepsilon) = \tilde g_t(s, s_l, d \mid \varepsilon) = \sup_{a \ge s_1 \vee d_t} \phi_t(s, s_l, d, a \mid \varepsilon).gt​(s,sl​,d∣ε)=g~​t​(s,sl​,d∣ε)=a≥s1​∨dt​sup​ϕt​(s,sl​,d,a∣ε).

Formalization Note The page prints "<0< 0<0" at the end of (9). The bound equals −(1−γ)θδ−h−δ-(1 - \gamma)\theta\delta - h^-\delta−(1−γ)θδ−h−δ, which is 000 when h−=0h^- = 0h−=0 and either γ=1\gamma = 1γ=1 or θ=0\theta = 0θ=0, so the strict inequality is replaced by ≤0\le 0≤0; this is all the conclusion gt=g~tg_t = \tilde g_tgt​=g~​t​ needs, and no hypothesis h−>0h^- > 0h−>0 is added. The page writes ϕt(s,sl,a,d)\phi_t(s, s_l, a, d)ϕt​(s,sl​,a,d) with aaa before ddd; the argument order of (6) is used. ddd and ε\varepsilonε 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 c≤h−/(1−γ)c \le h^-/(1-\gamma)c≤h−/(1−γ) is the hypothesis (1−γ)c≤h−(1 - \gamma)c \le h^-(1−γ)c≤h−.

Preamble
import Mathlib
import Definitions.Def_PerishablePricing_Backlog_Model
Formal statement
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
Source
Chen, Pang, Pan, Coordinating Inventory Control and Pricing Strategies for Perishable Products, Oper. Res. 62(2), 2014, eq. (9) and the definition of g̃_t, p. 291 (PDF p. 9)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 14, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me