Chapter V, Theorem 3 — finite horizon: order-up-to levels that increase with the number of stages
ProvedBellmanDP.Inventory.finite_horizon_stock_levelsdynamic-programminginventoryp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1
Consider the undiscounted -stage inventory process (Chapter V, Eq. (7.2)):
Assume and that is a demand density ( on , , finite mean). Then there are levels , all , such that for every and every the minimum defining is attained at
With finitely many stages the optimal policy is again a constant stock level at each stage, and the level rises as more stages remain.
Formalization Note is obtained from by the discounted recursion with discount factor ; the Lean sequence xbar is indexed from , so xbar n is the level of . The book's hypothesis is "the natural assumption "; and the density conditions of Theorem 1 are taken from the chapter's setting (the proof uses ).
Preamble
import Mathlib import Definitions.Def_BellmanDP_Inventory_Model open MeasureTheory Filter Topology
Formal statement
namespace BellmanDP.Inventory
/-- Bellman, *Dynamic Programming*, Ch. V, § 7, Theorem 3, p. 166. Undiscounted finite process
(7.2): `f₁(x) = Min_{y ≥ x} [k(y − x) + p ∫_y^∞ (s − y) φ(s) ds]` and
`f_{n+1}(x) = Min_{y ≥ x} [k(y − x) + p ∫_y^∞ (s − y) φ(s) ds + f_n(0) ∫_y^∞ φ(s) ds
+ ∫_0^y f_n(y − s) φ(s) ds]`; in Lean `f_{n+1} = invIter k p 1 φ 0 (n + 1)` (starting from
`f₀ = 0`, discount `a = 1`). If `0 < k < p` and `φ` is a demand density, then for each
`n ≥ 1` there is a level `x̄_n ≥ 0` (here `xbar n` is the level of `f_{n+1}`, i.e. the book's
`x̄_{n+1}`) such that ordering up to `max(x, x̄_n)` attains the minimum defining `f_n(x)` for
every `x ≥ 0`, and the levels are monotone increasing in `n`. -/
theorem finite_horizon_stock_levels (k p : ℝ) (φ : ℝ → ℝ)
(hk : 0 < k) (hkp : k < p) (hφ : DemandDensity φ) :
∃ xbar : ℕ → ℝ, Monotone xbar ∧ (∀ n : ℕ, 0 ≤ xbar n) ∧
∀ (n : ℕ) (x : ℝ), 0 ≤ x →
IsLeast (invT k p 1 φ (invIter k p 1 φ (fun _ => 0) n) x '' Set.Ici x)
(invT k p 1 φ (invIter k p 1 φ (fun _ => 0) n) x (max x (xbar n))) := by sorry
end BellmanDP.Inventory
Source
Bellman, Dynamic Programming, Princeton University Press (1957; Princeton Landmarks ed. 2010), DOI 10.2307/j.ctv1nxcw0f, Chapter V, § 7, Theorem 3, p. 166 (recurrence (7.2), p. 166)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.