Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Dynamic Programming

291 missions · 169 completed

Missions

Open122Completed169All291
🏆Completed
Machine LearningReinforcement Learning·Captain: mikedeng1

Foundations of Reinforcement Learning IV: Reinforcement Learning Basics and the UCB-VI AlgorithmTextbook

Motivation

Reinforcement learning (RL) formalizes sequential decision-making under uncertainty: an agent repeatedly observes a state, takes an action, receives a reward, and transitions to a new state, with the goal of maximizing cumulative reward over an unknown environment. It underlies applications from game-playing agents to robotics and adaptive medical treatment. What separates RL from the bandit and contextual bandit problems of earlier chapters in this series is state: the environment carries information forward across time steps, so a good action now can pay off many steps later, and a poor exploration strategy can take exponentially long to discover it. This mission formalizes the foundational results of finite-horizon episodic RL — the Markov Decision Process (MDP) model, the Bellman-optimality principle that makes dynamic programming possible, and the analytical toolkit (the performance-difference and Bellman-residual-decomposition lemmas) used throughout the field's regret analyses — culminating in a polynomial regret guarantee for UCB-VI, the canonical optimism-based algorithm for tabular RL introduced by Azar, Osband, and Munos (Minimax Regret Bounds for Reinforcement Learning, ICML 2017, arXiv:1703.05449).

Setting

A finite-horizon episodic Markov Decision Process M=(S,A,{PhM}h=1H,{RhM}h=1H,d1)M = (S, A, \{P^M_h\}_{h=1}^H, \{R^M_h\}_{h=1}^H, d_1)M=(S,A,{PhM​}h=1H​,{RhM​}h=1H​,d1​) consists of a finite state space SSS, a finite action space AAA, a horizon HHH, per-layer transition kernels PhM:S×A→Δ(S)P^M_h : S\times A \to \Delta(S)PhM​:S×A→Δ(S) and reward distributions RhM:S×A→Δ(R)R^M_h : S\times A \to \Delta(\mathbb R)RhM​:S×A→Δ(R), and an initial state distribution d1∈Δ(S)d_1 \in \Delta(S)d1​∈Δ(S). An episode unrolls for h=1,…,Hh=1,\dots,Hh=1,…,H: the learner selects an action ah∼πh(sh)a_h \sim \pi_h(s_h)ah​∼πh​(sh​) under a randomized non-stationary policy π=(π1,…,πH)∈Πrns\pi = (\pi_1,\dots,\pi_H) \in \Pi^{\mathrm{rns}}π=(π1​,…,πH​)∈Πrns (each πh:S→Δ(A)\pi_h : S \to \Delta(A)πh​:S→Δ(A)), receives reward rh∼RhM(sh,ah)r_h \sim R^M_h(s_h,a_h)rh​∼RhM​(sh​,ah​), and transitions to sh+1∼PhM(sh,ah)s_{h+1}\sim P^M_h(s_h,a_h)sh+1​∼PhM​(sh​,ah​). The value of π\piπ is fM(π):=EM,π[∑hrh]f^M(\pi) := \mathbb E^{M,\pi}[\sum_h r_h]fM(π):=EM,π[∑h​rh​], and the state-action and state value functions QhM,π(s,a)Q^{M,\pi}_h(s,a)QhM,π​(s,a), VhM,π(s)V^{M,\pi}_h(s)VhM,π​(s) are the analogous reward-to-go quantities from layer hhh onward. In the online RL problem, M⋆M^\starM⋆ is unknown, the learner interacts with it for TTT episodes, and the goal is to minimize the regret Reg=∑t=1T(fM⋆(πM⋆)−fM⋆(πt))\mathrm{Reg} = \sum_{t=1}^T \big(f^{M^\star} (\pi^{M^\star}) - f^{M^\star}(\pi^t)\big)Reg=∑t=1T​(fM⋆(πM⋆)−fM⋆(πt)) against the best policy πM⋆∈arg⁡max⁡π∈ΠrnsfM⋆(π)\pi^{M^\star} \in \arg\max_{\pi\in\Pi^{\mathrm{rns}}} f^{M^\star}(\pi)πM⋆∈argmaxπ∈Πrns​fM⋆(π).

Formalization targets

Goal — Theorem 1 (UCB-VI regret)

∃ C>0, ∀ δ∈(0,1],Pr⁡[Reg≤C⋅H⋅S⋅A T⋅log⁡(SAHT/δ)]≥1−δ,\exists\, C>0,\ \forall\, \delta\in(0,1],\quad \Pr\Big[\mathrm{Reg} \le C\cdot H\cdot S\cdot\sqrt{A\,T}\cdot\sqrt{\log(SAHT/\delta)}\Big] \ge 1-\delta,∃C>0, ∀δ∈(0,1],Pr[Reg≤C⋅H⋅S⋅AT​⋅log(SAHT/δ)​]≥1−δ,

for the UCB-VI algorithm run with the explicit bonus bh,δt(s,a)=2log⁡(2SAHT/δ)/nht(s,a)b^t_{h,\delta}(s,a) = 2\sqrt{\log(2SAHT/\delta)/n^t_h(s,a)}bh,δt​(s,a)=2log(2SAHT/δ)/nht​(s,a)​, under Assumption 6 (deterministic, known, [0,1][0,1][0,1]-bounded rewards). This is the weakest stable form of the guarantee: it fixes only the shape of the bound (polynomial in S,A,H,TS,A,H,TS,A,H,T, logarithmic in 1/δ1/\delta1/δ), leaving the exact leading constant — which the book itself does not pin down on this page — outside the formal claim.

Reaching it rests on three structural facts, each formalized as a milestone in attack order:

  • Proposition 25 (Bellman optimality): existence of a single deterministic policy simultaneously optimal at every state, computable by backward induction — the reason dynamic programming solves planning at all.
  • Lemma 13 (Performance difference) and Lemma 14 (Bellman residual decomposition): two "credit assignment" identities decomposing a value gap (between two policies, or one policy under two models) into a sum of per-layer, on-roll-in terms.
  • Lemma 15 (Error decomposition for optimistic policies): the fact that a greedy policy driven by any optimistic value estimate suffers sub-optimality controlled additively — not exponentially — by that estimate's own Bellman residuals, evaluated on-policy.

Significance

The result itself. Theorem 1 is the chapter's headline result: the first guarantee, in this development, that a learning algorithm — one that does not know the environment's transitions in advance — can achieve regret growing only polynomially in the size of the state space, the action space, and the horizon, and only as T\sqrt TT​ in the number of episodes. The chapter's own "combination lock" example (Figure 8) shows this is not automatic: naive exploration strategies (such as ε\varepsilonε-greedy, which suffices for ordinary bandits) incur regret exponential in the horizon on some MDPs with as few as H+2H+2H+2 states. UCB-VI's guarantee is the sample-complexity foundation on which essentially every subsequent result on tabular, linear, and general function-approximation RL in the book is built.

Formalizing it. No part of this chapter's mathematical content already has a faithful counterpart on the platform (see Difficulty, below, and Formalization scope). This mission contributes: (i) a from-scratch Lean formalization of the finite-horizon episodic MDP model and its value functions, faithful to the book's 000/111-indexing and reward-distribution conventions; (ii) faithful statements (drafted with sorry, not yet proved) of Proposition 25 and Lemmas 13–15; and (iii) a faithful statement of Theorem 1 itself, including a from-scratch construction of the finite TTT-episode adaptive interaction process needed to make sense of a high-probability regret guarantee. Proving these — Proposition 25 by backward induction, Lemmas 13–15 by telescoping, and Theorem 1 by combining Lemma 15's optimism bound with a concentration argument bounding the estimation-error and martingale terms of Eqs. (5.30)–(5.33) (omitted here; see Difficulty) — is open work for solvers.

Difficulty

The obvious approach to Theorem 1 — bound the regret episode-by-episode using only the fact that QtQ^tQt is close to QM⋆,⋆Q^{M^\star,\star}QM⋆,⋆ in some fixed sense — fails because QtQ^tQt's error is itself random (it depends on the transitions observed so far) and compounds across HHH layers of dynamic programming. Lemma 15 defuses the compounding: it shows the sub-optimality gap is additive in the per-layer Bellman residuals rather than multiplicative, provided QtQ^tQt is optimistic. Making QtQ^tQt optimistic with high probability, in turn, requires a concentration argument for the empirical transition estimates P^ht\widehat P^t_hPht​ (an application of Freedman's or the Azuma–Hoeffding inequality, not included among this mission's milestones) and a union bound over all (s,a,h,t)(s,a,h,t)(s,a,h,t) — accounting for the SAHTSAHTSAHT inside the bonus's logarithm. The final regret sum further requires bounding ∑t∑h1/nht(sht,aht)\sum_t \sum_h 1/\sqrt{n^t_h(s^t_h,a^t_h)}∑t​∑h​1/nht​(sht​,aht​)​ by a pigeonhole/potential-function argument over the visitation counts, which is where the SATS\sqrt{AT}SAT​ scaling — rather than a naive SATSA\sqrt{T}SAT​ — originates. None of this concentration or counting machinery is included in the current milestones; a solver attempting Theorem 1 needs it as prerequisite lemmas.

Formalization scope

MDP and value functions. States and actions are finite types (Fintype); layers are represented 000-indexed throughout the Lean development (the book's layer hhh is h - 1), with the terminal convention V _ _ H _ = 0 matching VH+1≡0V_{H+1}\equiv 0VH+1​≡0. Since every value/expectation formula in this chapter uses the reward distribution Rh(s,a)∈Δ(R)R_h(s,a)\in\Delta(\mathbb R)Rh​(s,a)∈Δ(R) only through its mean, EpisodicMDP.R records that mean directly — equivalent, by linearity of expectation, to carrying the full distribution, and changing no theorem's content. Transition kernels and policies are represented as plain real-valued functions (S → A → ℝ-style) rather than as Mathlib's PMF, with IsPolicy/the EpisodicMDP structure's own proof fields asserting the probability-distribution properties (nonnegativity, summing to 111) where the book requires membership in Πrns\Pi^{\mathrm{rns}}Πrns or a well-formed kernel; this keeps every expectation a finite Finset.sum, needing no measure theory. The optimal value functions Qstar/Vstar are defined as literal suprema over the entire (uncountable, since ∣A∣≥2|A|\ge2∣A∣≥2) policy type — not via a recursive shortcut — which is what rules out the trivializing formalization of Proposition 25: defining Vstar by the very recursion the proposition asserts would make the proposition a tautology, whereas here it is a genuine claim about a supremum over an enormous space of competitor policies.

UCB-VI and Theorem 1. Because SSS, AAA, HHH, and TTT are all finite, the TTT-episode adaptive interaction (in which round ttt's policy is a function of the realized history of the first t−1t-1t−1 episodes) is modeled as a finite probability space: the outcome type Fin T → Trajectory S A H is a Fintype, "probability" is a finite sum over it, and "with probability ≥1−δ\ge 1-\delta≥1−δ" is a plain inequality between two real numbers — no MeasureTheory is used anywhere in this mission. The universal constant CCC in Theorem 1 is existentially quantified (∃ C > 0, …) rather than given as a literal numeral, since its value is not pinned down by the book on this page and this mission does not carry out the (non-milestoned) concentration argument that would derive it; this is the convention adopted throughout for the book's own "≲\lesssim≲" notation. The empirical-transition estimator inside QhtQ^t_hQht​ is defined to be 000 when nht(s,a)=0n^t_h(s,a)=0nht​(s,a)=0 (no data yet collected for that pair) — a boundary case Eq. (5.25) does not address, resolved here by convention rather than proof.

Prior art. The platform's existing BanditAlgorithm.UCRL2Algorithm mission formalizes UCRL2 for the average-reward, infinite-horizon MDP setting with a diameter parameter, and its Bellman-optimality statement is the average-cost optimality equation — genuinely different from this chapter's finite-horizon episodic Bellman recursion, even though both go by the name "Bellman optimality." No reference item was reused; every definition and theorem in this mission is drafted from scratch. Both missions bound regret via optimism over a confidence set of models, but for different objectives (average reward vs. finite-horizon cumulative reward) and different MDP classes.

Reusable infrastructure and open contributions. EpisodicMDP, Policy, V/Q/Qstar/Vstar, and stateDist/stateExp are reusable by any future mission on finite-horizon episodic RL in this book's later chapters. Contributions welcome: proofs of the four milestone lemmas (by backward induction and telescoping, respectively); the concentration lemmas underlying Theorem 1's optimism guarantee (Eqs. (5.30)–(5.33) of the source, not milestoned here); and the final regret proof combining them.

Selected references

  • Foster, D. J. and Rakhlin, A., Foundations of Reinforcement Learning and Interactive Decision Making, 2023. arXiv:2312.16730v1
  • Azar, M. G., Osband, I., and Munos, R., Minimax Regret Bounds for Reinforcement Learning, ICML 2017. arXiv:1703.05449
  • Jaksch, T., Ortner, R., and Auer, P., Near-optimal Regret Bounds for Reinforcement Learning, JMLR 11 (2010).
8 thms4 active users
🏆Completed
Control TheoryOperations ResearchProbability·Captain: Shuze Chen

Dynamic Programming and Optimal Control V: LQG and Certainty EquivalenceTextbook

Motivation

The separation theorem — certainty equivalence for linear-quadratic control with imperfect state information — is one of the celebrated structural results of stochastic control: the optimal controller splits into a least-squares estimator and the deterministic LQR actuator, designed independently. It underlies every LQG autopilot and Kalman-filter-based regulator. Section 5.2 of Bertsekas, Dynamic Programming and Optimal Control, Vol. I (3rd ed., 2005) proves it from the DP algorithm over information vectors, with Lemma 5.2.1 supplying the key fact that the estimation error is beyond the controller's influence. No formal analogue exists in Mathlib.

Setting

Linear dynamics and measurements

xk+1=Akxk+Bkuk+wk,zk=Ckxk+vk,x_{k+1} = A_k x_k + B_k u_k + w_k, \qquad z_k = C_k x_k + v_k,xk+1​=Ak​xk​+Bk​uk​+wk​,zk​=Ck​xk​+vk​,

with quadratic cost E[xN⊤QNxN+∑k<N(xk⊤Qkxk+uk⊤Rkuk)]\mathbb{E}\big[x_N^\top Q_N x_N + \sum_{k<N}(x_k^\top Q_k x_k + u_k^\top R_k u_k)\big]E[xN⊤​QN​xN​+∑k<N​(xk⊤​Qk​xk​+uk⊤​Rk​uk​)], Qk⪰0Q_k \succeq 0Qk​⪰0, Rk≻0R_k \succ 0Rk​≻0. The initial state and the zero-mean disturbances/noises are independent with finite ranges; independence is structural — the sample space is the product of an initial-state coordinate and per-stage noise coordinates (BertsekasLQGModel, BertsekasLQGSample, BertsekasLQGProb). A policy maps the realized measurement history (z0,…,zk)(z_0,\dots,z_k)(z0​,…,zk​) to uku_kuk​; the closed-loop process is BertsekasLQGTraj, the expected cost BertsekasLQGCost. The estimator E[xk∣Ik]\mathbb{E}[x_k \mid I_k]E[xk​∣Ik​] is an explicit conditional average (BertsekasCondExpVec, BertsekasLQGEstimate); the gains LkL_kLk​ come from the time-varying Riccati recursion (BertsekasLQGRiccati, BertsekasLQGGain).

Target

π∗(Ik)=Lk E[xk∣Ik]  along its own trajectories⟹J(π∗)≤J(π)  ∀π,\pi^*(I_k) = L_k\, \mathbb{E}[x_k \mid I_k] \ \text{ along its own trajectories} \quad\Longrightarrow\quad J(\pi^*) \le J(\pi)\ \ \forall \pi,π∗(Ik​)=Lk​E[xk​∣Ik​]  along its own trajectories⟹J(π∗)≤J(π)  ∀π,

— BertsekasDP.lqg_certainty_equivalence (goal). Milestone: Lemma 5.2.1 in pointwise form — the error xk−E[xk∣Ik]x_k - \mathbb{E}[x_k \mid I_k]xk​−E[xk​∣Ik​] is the same under any two policies, outcome by outcome (lqg_estimation_error_policy_independent).

Significance

This is the theorem that justifies designing estimator and controller separately — remove it and the entire LQG methodology loses its warrant. The formalization also yields the first machine-checked instance of the informational decomposition (control-dependent part + policy-independent error) that recurs throughout imperfect-information control. Notably the result needs no Gaussian assumption — only zero mean and independence — and the finite-support model makes that generality exact. The result is classical (Joseph–Tou 1961, Gunckel–Franklin 1963; the book's §5.2); the formal proof is new.

Difficulty

The heart is Lemma 5.2.1: showing the estimation error coincides, sample by sample, with the error of the control-free system — which requires proving that the observation-history σ-events under any policy coincide with those of the control-free system (controls are determined by the history, so they shift observations by a known amount). Then the DP argument over information histories must carry the quadratic decomposition through the backward recursion. Bookkeeping over histories-as-lists is the main formal burden; probability theory stays finite.

Formalization scope

Finite-support randomness (all expectations are finite sums); conditional expectation with the explicit junk value 0 on zero-probability events — the goal's hypothesis is accordingly restricted to outcomes of positive probability. Policies are functions of the measurement list only (equivalent to the book's information vector for deterministic policies, since past controls are recoverable from past measurements). Matrices are time-varying; positive definiteness of RkR_kRk​ makes every matrix inverse in the gains genuine. Measurement noise covariance is not assumed positive definite — the estimator is the abstract conditional expectation, not the Kalman filter (whose recursive form, §5.2.1, would be a natural follow-up mission).

Selected references

  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005. (§5.2, Lemma 5.2.1.) http://www.athenasc.com/dpbook.html
  • P. D. Joseph, J. T. Tou, On linear control theory, Trans. AIEE 80 (1961), 193–196. https://doi.org/10.1109/TAI.1961.6371743
  • T. L. Gunckel, G. F. Franklin, A general solution for linear sampled-data control, J. Basic Eng. 85 (1963), 197–201. https://doi.org/10.1115/1.3656559
5 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

On-Demand Delivery from Stores: Dynamic Dispatching and Routing with Random Demand I: The Approximation APT Bounds the Expected Cost-to-Go from Below and Above and Is Exact in the Last PeriodResearch Paper

Motivation

Retailers and restaurants increasingly deliver orders from their own stores within an hour or less. Orders arrive throughout the day, a fixed pool of drivers is based at the store, and in each dispatch wave the operator must decide how many drivers to send out now and along which routes. Sending many drivers now gives short delivery times for the current orders but leaves few drivers for orders that arrive while those drivers are still on the road. Liu and Luo (arXiv:2107.13058, Manufacturing & Service Operations Management, 2023) model this trade-off as a finite-horizon stochastic dynamic program and propose a rollout policy built on a tractable approximation of its cost-to-go. Their Theorem 1 justifies the approximation: with suitable parameters it lies below the true expected cost-to-go, with other parameters it lies between that cost and the cost of any feasible simple policy, and in the last period it is exact. This mission formalizes that theorem.

Setting

A store (the depot 000) serves a finite set I\mathcal II of customer locations over NNN periods with strictly increasing decision epochs t1<⋯<tNt_1 < \dots < t_Nt1​<⋯<tN​. A fleet of Kˉ\bar KKˉ drivers carries at most QQQ items per trip; travel times τ(i,j)≥0\tau(i,j) \ge 0τ(i,j)≥0, an on-site service time s≥0s \ge 0s≥0 and a delivery target Lmax⁡L_{\max}Lmax​ are given. At epoch tnt_ntn​ the operator observes the demand of period nnn: the set In⊆I\mathcal I^n \subseteq \mathcal IIn⊆I of locations with an order and the quantities qinq^n_iqin​, drawn from a finitely supported law Qn\mathbb Q^nQn, independently across periods.

The driver status ζn=(ζ1n,…,ζNn)\zeta^n = (\zeta^n_1,\dots,\zeta^n_N)ζn=(ζ1n​,…,ζNn​) records how many drivers are still en route in each period n′n'n′ because of earlier dispatches, so Kˉ−ζnn\bar K - \zeta^n_nKˉ−ζnn​ drivers are available at tnt_ntn​. A decision YnY^nYn is a set of depot-to-depot routes 0→i1→⋯→im→00 \to i_1 \to \dots \to i_m \to 00→i1​→⋯→im​→0, one per dispatched driver. It is feasible if it uses at most Kˉ−ζnn\bar K - \zeta^n_nKˉ−ζnn​ drivers, serves every current order exactly once, loads at most QQQ items per route, and delivers every order within Lmax⁡L_{\max}Lmax​. The delivery times are ui1=τ(0,i1)u_{i_1} = \tau(0,i_1)ui1​​=τ(0,i1​) and uik+1=uik+s+τ(ik,ik+1)u_{i_{k+1}} = u_{i_k} + s + \tau(i_k,i_{k+1})uik+1​​=uik​​+s+τ(ik​,ik+1​); the cost of YnY^nYn is ∑i∈Inui(Yn)\sum_{i \in \mathcal I^n} u_i(Y^n)∑i∈In​ui​(Yn). A driver whose route lasts longer than tn′−tnt_{n'} - t_ntn′​−tn​ is counted as en route in period n′n'n′; this is the transition (9) from ζn\zeta^nζn to ζn+1\zeta^{n+1}ζn+1.

The cost-to-go Hn(In,qn,ζn)\mathcal H_n(\mathcal I^n, q^n, \zeta^n)Hn​(In,qn,ζn) is the minimum over feasible YnY^nYn of the period's cost plus EQn+1[Hn+1]\mathbb E_{\mathbb Q^{n+1}}[\mathcal H_{n+1}]EQn+1​[Hn+1​] at the resulting status, with HN\mathcal H_NHN​ the period cost alone ((7)–(8)). The single-period cost Hs(K,In,qn)\mathcal H^s(K, \mathcal I^n, q^n)Hs(K,In,qn) is the minimum cost of serving the demand with at most KKK drivers.

The approximation APTn(ζn)\mathbf{APT}^n(\zeta^n)APTn(ζn) (10) replaces the future by single-period problems coupled only through driver counts:

VAPTn(ζn)=min⁡Kn′∈N∑n′=nNEQn′[Hs(Kn′,In′,qn′)]  s.t.  ∑m=nn′ωmn′(Km)≤Kˉ−ζn′n,  n′=n,…,N,V^n_{APT}(\zeta^n) = \min_{K^{n'} \in \mathbb N} \sum_{n'=n}^{N} \mathbb E_{\mathbb Q^{n'}}\big[\mathcal H^s(K^{n'}, \mathcal I^{n'}, q^{n'})\big] \ \ \text{s.t.}\ \ \sum_{m=n}^{n'} \omega^{n'}_m(K^m) \le \bar K - \zeta^n_{n'},\ \ n' = n,\dots,N,VAPTn​(ζn)=Kn′∈Nmin​n′=n∑N​EQn′​[Hs(Kn′,In′,qn′)]  s.t.  m=n∑n′​ωmn′​(Km)≤Kˉ−ζn′n​,  n′=n,…,N,

where ωn′n′(K)=K\omega^{n'}_{n'}(K) = Kωn′n′​(K)=K and the nonnegative parameters ωmn′(Km)\omega^{n'}_m(K^m)ωmn′​(Km), m<n′m < n'm<n′, estimate how many of the KmK^mKm drivers dispatched in period mmm are still en route in period n′n'n′. A static myopic policy dispatches a state-independent number Kn′,smK^{n',sm}Kn′,sm of drivers in each period and routes them to minimize the single-period cost; it is feasible from (n,ζn)(n,\zeta^n)(n,ζn) if it never asks for more drivers than are available and its single-period problems are always feasible.

Formalization targets

Goal: Theorem 1 (p. 13)

For 1≤n≤N1 \le n \le N1≤n≤N and a status with ζn′n≤Kˉ\zeta^n_{n'} \le \bar Kζn′n​≤Kˉ:

∃ ω: VAPTn(ζn;ω)≤EQn[Hn],∀ πsm feasible ∃ ω: EQn[Hn]≤VAPTn(ζn;ω)≤Jn(πsm),\exists\,\omega:\ V^n_{APT}(\zeta^n;\omega) \le \mathbb E_{\mathbb Q^n}[\mathcal H_n], \qquad \forall\,\pi^{sm}\ \text{feasible}\ \exists\,\omega:\ \mathbb E_{\mathbb Q^n}[\mathcal H_n] \le V^n_{APT}(\zeta^n;\omega) \le J_n(\pi^{sm}),∃ω: VAPTn​(ζn;ω)≤EQn​[Hn​],∀πsm feasible ∃ω: EQn​[Hn​]≤VAPTn​(ζn;ω)≤Jn​(πsm),

and VAPTN(ζ;ω)=EQN[HN(⋅,ζ)]V^N_{APT}(\zeta;\omega) = \mathbb E_{\mathbb Q^N}[\mathcal H_N(\cdot,\zeta)]VAPTN​(ζ;ω)=EQN​[HN​(⋅,ζ)] for every ω\omegaω.

Milestones (Appendix D, pp. 34–35, and Lemma 1, p. 12)

  1. With ωmn′≡0\omega^{n'}_m \equiv 0ωmn′​≡0 for m<n′m < n'm<n′: VAPTn=∑n′E[Hs(Kˉ−ζn′n)]≤E[Hn]V^n_{APT} = \sum_{n'} \mathbb E[\mathcal H^s(\bar K - \zeta^n_{n'})] \le \mathbb E[\mathcal H_n]VAPTn​=∑n′​E[Hs(Kˉ−ζn′n​)]≤E[Hn​].
  2. For n<Nn < Nn<N and a feasible static myopic policy: E[Hn]≤Jn(πsm)\mathbb E[\mathcal H_n] \le J_n(\pi^{sm})E[Hn​]≤Jn​(πsm), and some ω\omegaω gives VAPTn=Jn(πsm)V^n_{APT} = J_n(\pi^{sm})VAPTn​=Jn​(πsm).
  3. At n=Nn = Nn=N: E[HN]=min⁡KN≤Kˉ−ζNNE[Hs(KN,⋅)]\mathbb E[\mathcal H_N] = \min_{K^N \le \bar K - \zeta^N_N} \mathbb E[\mathcal H^s(K^N,\cdot)]E[HN​]=minKN≤Kˉ−ζNN​​E[Hs(KN,⋅)].
  4. Lemma 1: Hn\mathcal H_nHn​ and, for nonnegative ω\omegaω, VAPTnV^n_{APT}VAPTn​ are nondecreasing in ζn\zeta^nζn.

Significance

The rollout policy AJRP of the paper solves, at each epoch, the current routing problem together with APTn+1\mathbf{APT}^{n+1}APTn+1 as a stand-in for the future. Theorem 1 is what connects that stand-in to the dynamic program: it shows that the en route parameters move the approximation between a valid lower bound and the cost of an implementable policy, and its exactness part yields the paper's Corollary 1 (AJRP is optimal for N=2N = 2N=2). Lemma 1 shows the approximation keeps the monotonicity of the true value in the driver status.

The paper's proofs are in its Online Appendix (Appendix D). They are short but informal, and the formal statement here differs from the printed one in three pinned-down respects: the single-period cost is read with at most KKK drivers, as the proofs use it; the upper bound is capped by the policy's cost, since otherwise it is vacuous; and the parameter choice printed for the upper bound has to be corrected in the last period. No part of the result has a machine-checked proof. A formal proof makes these readings definitive, and it produces a reusable Lean model of multi-period dispatching with routes, en route drivers and a Bellman recursion over a random demand.

Difficulty

Every part is a backward induction on the remaining periods, but the inductions run over a state that grows: the status ζn+1\zeta^{n+1}ζn+1 depends on the durations of the routes chosen in period nnn, and the infimum in (7) is over finite lists of routes, not over a finite action set. The lower bound needs that a larger status can only raise the cost; the upper bound needs that a policy which is feasible on its reachable states stays feasible after every realized demand. Exchanging the expectation with the minimum over the driver count in the last period is not a general fact and holds only because the single-period cost is nonincreasing in the number of available drivers. The obvious choice of parameters for the upper bound, the one printed in the proof, does not bound the last period's count and fails.

Formalization scope

Locations are a type with the depot as none; periods are 1-based natural numbers and every statement carries 1≤n≤N1 \le n \le N1≤n≤N. Costs and values lie in [0,∞][0,\infty][0,∞]; every minimum is an infimum, equal to +∞+\infty+∞ on an empty feasible set; expectations are sums against the probability mass function of Qn\mathbb Q^nQn. A decision is a list of nonempty routes covering the current orders exactly once. The parameters ω\omegaω are nonnegative reals by their type, with the diagonal ωn′n′(K)=K\omega^{n'}_{n'}(K) = Kωn′n′​(K)=K written into (10). The available drivers in the dynamic program are Kˉ−ζnn\bar K - \zeta^n_nKˉ−ζnn​ in N\mathbb NN; in APT the right-hand side is the real Kˉ−ζn′n\bar K - \zeta^n_{n'}Kˉ−ζn′n​.

Standing assumptions, shared by every statement: N≥1N \ge 1N≥1; strictly increasing epochs; finitely supported, period-independent demand laws; qin=0q^n_i = 0qin​=0 off In\mathcal I^nIn. Added hypothesis: ζn′n≤Kˉ\zeta^n_{n'} \le \bar Kζn′n​≤Kˉ for n≤n′≤Nn \le n' \le Nn≤n′≤N (the en route drivers belong to the fleet). Disclosed readings: travel times do not depend on the period; delivery times follow the recursion of Appendix C with equality, starting from the depot leg; a policy's expected cost is defined recursively along its decisions.

Ruled out: defining HN\mathcal H_NHN​ or Hs\mathcal H^sHs through the APT objective (exactness would become definitional); decision sets that may leave orders unserved (every cost would vanish); an upper bound without the cap by the policy's cost; negative parameters ω\omegaω.

The development needs the model and its recursion (provided as one definition file), monotonicity of Hs\mathcal H^sHs in KKK, and induction principles for the well-founded recursions. Proofs of the milestones in any order are welcome; Lemma 1 is not used by the paper's proof of Theorem 1 but is a natural first step.

Selected references

  • S. Liu, Z. Luo, On-Demand Delivery from Stores: Dynamic Dispatching and Routing with Random Demand, Manufacturing & Service Operations Management, 2023; preprint arXiv:2107.13058v3, 2022. https://arxiv.org/abs/2107.13058
  • W. B. Powell, Approximate Dynamic Programming: Solving the Curses of Dimensionality, 2nd ed., Wiley, 2011. https://doi.org/10.1002/9781118029176
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 4th ed., Athena Scientific, 2017 (rollout policies, Ch. 6).
7 thms3 active usersReviewed
🏆Completed
Linear OptimizationOperations ResearchOptimization·Captain: mikedeng1

On Solving Multistage Stochastic Programs with Coherent Risk Measures: The Inner-Approximation Policy's Nested Risk-Adjusted Cost Is at Most the Upper Bound yResearch Paper

Motivation

Multistage stochastic linear programs model decisions taken over time under uncertainty: reservoir releases in hydro-thermal scheduling, production and inventory plans, capacity expansion. Their standard solution method, stochastic dual dynamic programming (SDDP, Pereira and Pinto 1991), approximates each stage's cost-to-go function from below by cutting planes. This gives a lower bound on the optimal value and a candidate policy, but no guaranteed upper bound: in the risk-neutral case the policy's expected cost is estimated by Monte Carlo simulation.

Planners who are averse to risk replace the expectation in each stage by a coherent risk measure (Artzner, Delbaen, Eber and Heath 1999), nested stage by stage so that the resulting dynamic risk measure is time consistent (Ruszczyński and Shapiro 2006). Under such a nested objective, simulation no longer estimates the cost of a policy: the nested risk of a policy is not an average over sampled scenarios. Philpott, de Matos and Finardi (2013) address this by an inner approximation of the cost-to-go functions from above, built from convex combinations of finitely many points with known upper bounds. Their Proposition 5 shows that the optimal value yyy of the resulting first-stage problem bounds the nested risk-adjusted cost of the policy defined by the inner approximation. This gives a deterministic upper bound that complements the SDDP lower bound, and they apply it to the Brazilian hydro-thermal system.

Setting

There are T≥2T\ge2T≥2 stages. The decision at stage ttt is xt∈Rnx_t\in\mathbb R^nxt​∈Rn; At,EtA_t,E_tAt​,Et​ are m×nm\times nm×n matrices and ct∈Rnc_t\in\mathbb R^nct​∈Rn. Stage 1 is deterministic: A1x1=b1A_1x_1=b_1A1​x1​=b1​. For t≥2t\ge2t≥2 a random outcome ωt\omega_tωt​ ranges over a finite set Ωt\Omega_tΩt​, independently of earlier stages, and enters through the right-hand side bt(ωt)b_t(\omega_t)bt​(ωt​). The feasible set of stage ttt given the previous decision xt−1x_{t-1}xt−1​ is

Xt(ωt)={xt≥0: Atxt=bt(ωt)−Etxt−1}.\mathcal X_t(\omega_t)=\{x_t\ge0:\ A_tx_t=b_t(\omega_t)-E_tx_{t-1}\}.Xt​(ωt​)={xt​≥0: At​xt​=bt​(ωt​)−Et​xt−1​}.

A coherent risk measure ρ\rhoρ maps random costs Z:Ω→RZ:\Omega\to\mathbb RZ:Ω→R to R\mathbb RR and is subadditive, monotone (Z1≤Z2⇒ρ(Z1)≤ρ(Z2)Z_1\le Z_2\Rightarrow\rho(Z_1)\le\rho(Z_2)Z1​≤Z2​⇒ρ(Z1​)≤ρ(Z2​)), positively homogeneous and translation equivariant (ρ(λ+Z)=λ+ρ(Z)\rho(\lambda+Z)=\lambda+\rho(Z)ρ(λ+Z)=λ+ρ(Z)). Larger is worse: these are costs. Each stage t≥2t\ge2t≥2 carries a one-step coherent risk measure ρt\rho_tρt​ on random costs over Ωt\Omega_tΩt​. It is extended to costs in R∪{+∞}\mathbb R\cup\{+\infty\}R∪{+∞} by ρˉt(Z)=+∞\bar\rho_t(Z)=+\inftyρˉ​t​(Z)=+∞ whenever some outcome has infinite cost.

For s=2,…,Ts=2,\dots,Ts=2,…,T fix points xs−11,…,xs−1Js−1x^1_{s-1},\dots,x^{J_{s-1}}_{s-1}xs−11​,…,xs−1Js−1​​ and numbers qs1,…,qsJs−1q^1_s,\dots,q^{J_{s-1}}_sqs1​,…,qsJs−1​​. The inner approximation is the lower boundary of the convex hull of the pairs (xs−1j,qsj)(x^j_{s-1},q^j_s)(xs−1j​,qsj​):

Q^s(x)=min⁡{∑jλjqsj: ∑jλjxs−1j=x, λ≥0, ∑jλj=1},\hat{\mathcal Q}_s(x)=\min\Big\{\sum_j\lambda^jq^j_s:\ \sum_j\lambda^jx^j_{s-1}=x,\ \lambda\ge0,\ \sum_j\lambda^j=1\Big\},Q^​s​(x)=min{j∑​λjqsj​: j∑​λjxs−1j​=x, λ≥0, j∑​λj=1},

which is +∞+\infty+∞ off the convex hull of the points, with Q^T+1≡0\hat{\mathcal Q}_{T+1}\equiv0Q^​T+1​≡0. The policy's stage problem (13) and the first-stage problem (8) are

qt(xt−1,ωt)=min⁡xt∈Xt(ωt)ct⊤xt+Q^t+1(xt),y=min⁡A1x1=b1c1⊤x1+Q^2(x1).q_t(x_{t-1},\omega_t)=\min_{x_t\in\mathcal X_t(\omega_t)}c_t^\top x_t+\hat{\mathcal Q}_{t+1}(x_t),\qquad y=\min_{A_1x_1=b_1}c_1^\top x_1+\hat{\mathcal Q}_2(x_1).qt​(xt−1​,ωt​)=xt​∈Xt​(ωt​)min​ct⊤​xt​+Q^​t+1​(xt​),y=A1​x1​=b1​min​c1⊤​x1​+Q^​2​(x1​).

The numbers qsjq^j_sqsj​ are upper bounds when qsj≥ρˉs(qs(xs−1j,ωs))q^j_s\ge\bar\rho_s\big(q_s(x^j_{s-1},\omega_s)\big)qsj​≥ρˉ​s​(qs​(xs−1j​,ωs​)) for all sss and jjj. A policy defined by the inner approximation, π^\hat\piπ^, takes at each state xt−1x_{t-1}xt−1​ and outcome ωt\omega_tωt​ an action x^t(xt−1,ωt)\hat x_t(x_{t-1},\omega_t)x^t​(xt−1​,ωt​) solving (13), and a first-stage action x^1\hat x_1x^1​ solving (8). The actual risk-adjusted cost of π^\hat\piπ^ over stages t,…,Tt,\dots,Tt,…,T is

v^t(xt−1,ωt)=ct⊤x^t+ρˉt+1(v^t+1(x^t,ωt+1)),\hat v_t(x_{t-1},\omega_t)=c_t^\top\hat x_t+\bar\rho_{t+1}\big(\hat v_{t+1}(\hat x_t,\omega_{t+1})\big),v^t​(xt−1​,ωt​)=ct⊤​x^t​+ρˉ​t+1​(v^t+1​(x^t​,ωt+1​)),

with no future term at t=Tt=Tt=T. The nested risk-adjusted cost of the policy is v(π^)=c1⊤x^1+ρˉ2(v^2(x^1,ω2))v(\hat\pi)=c_1^\top\hat x_1+\bar\rho_2(\hat v_2(\hat x_1,\omega_2))v(π^)=c1⊤​x^1​+ρˉ​2​(v^2​(x^1​,ω2​)).

Formalization targets

Goal: Proposition 5

v(π^) ≤ y.v(\hat\pi)\ \le\ y.v(π^) ≤ y.

The bound holds for every T≥2T\ge2T≥2, every family of coherent ρt\rho_tρt​, every choice of points satisfying the upper-bound property, and every minimizing selection π^\hat\piπ^.

Milestones

  1. The convexity display of §2: subadditivity and positive homogeneity imply ρ(αZ1+(1−α)Z2)≤αρ(Z1)+(1−α)ρ(Z2)\rho(\alpha Z_1+(1-\alpha)Z_2)\le\alpha\rho(Z_1)+(1-\alpha)\rho(Z_2)ρ(αZ1​+(1−α)Z2​)≤αρ(Z1​)+(1−α)ρ(Z2​).
  2. Q^s\hat{\mathcal Q}_sQ^​s​ is the lower boundary of the convex hull H\mathcal HH of the pairs (xs−1j,qsj)(x^j_{s-1},q^j_s)(xs−1j​,qsj​) (its epigraph is H\mathcal HH plus the vertical half-line), hence convex with Q^s(xs−1j)≤qsj\hat{\mathcal Q}_s(x^j_{s-1})\le q^j_sQ^​s​(xs−1j​)≤qsj​, and every convex function bounded by the qsjq^j_sqsj​ at the points lies below Q^s\hat{\mathcal Q}_sQ^​s​.
  3. qt(⋅,ωt)q_t(\cdot,\omega_t)qt​(⋅,ωt​) is convex in xt−1x_{t-1}xt−1​.
  4. The interpolation bound ρˉt(qt(xt−1,ωt))≤Q^t(xt−1)\bar\rho_t\big(q_t(x_{t-1},\omega_t)\big)\le\hat{\mathcal Q}_t(x_{t-1})ρˉ​t​(qt​(xt−1​,ωt​))≤Q^​t​(xt−1​).
  5. The induction claim ρˉt(v^t(xt−1,ωt))≤Q^t(xt−1)\bar\rho_t\big(\hat v_t(x_{t-1},\omega_t)\big)\le\hat{\mathcal Q}_t(x_{t-1})ρˉ​t​(v^t​(xt−1​,ωt​))≤Q^​t​(xt−1​) for t=2,…,Tt=2,\dots,Tt=2,…,T and every xt−1x_{t-1}xt−1​.

Companions

Proposition 3, the risk-neutral case ρt=E\rho_t=\mathbb Eρt​=E. Proposition 4, the subgradient rule ∑mpmζ~mg(x~,ωm)∈∂xρ(Z(x,ω))\sum_mp_m\tilde\zeta_mg(\tilde x,\omega_m)\in\partial_x\rho(Z(x,\omega))∑m​pm​ζ~​m​g(x~,ωm​)∈∂x​ρ(Z(x,ω)) for ρ\rhoρ given by its dual representation. The existence of a policy π^\hat\piπ^, which shows that the hypotheses of the goal can be met.

Significance

Proposition 5 makes the inner approximation a certificate. Any policy computed by minimizing against Q^t+1\hat{\mathcal Q}_{t+1}Q^​t+1​ has nested risk-adjusted cost at most yyy, a number obtained by solving one linear program. Together with the lower bound zzz from outer approximation it brackets the risk-adjusted optimal value. The gap y−zy-zy−z then measures the quality of a risk-averse SDDP policy without simulation, which the nested objective does not allow. The bound covers every coherent nesting used in practice, such as mixtures of expectation and CVaR.

The results are proved in the paper. None of them is machine-checked. A formalization adds a precise account of the infinite values the paper does not discuss: infeasible stages, points outside the convex hull, and the extension of ρt\rho_tρt​ to +∞+\infty+∞. It also pins down the exact form of the upper-bound hypothesis the induction needs.

Difficulty

The obvious reading of the hypothesis on p. 16, "qt+1jq^j_{t+1}qt+1j​ is an upper bound on ρt+1(Qt+1(xtj,ωt+1))\rho_{t+1}(Q_{t+1}(x^j_t,\omega_{t+1}))ρt+1​(Qt+1​(xtj​,ωt+1​))" with the true value function Qt+1Q_{t+1}Qt+1​, does not support the induction. The policy π^\hat\piπ^ does not act optimally, so its cost can exceed the true value, and the inductive step compares v^t\hat v_tv^t​ with the policy's own stage value qtq_tqt​, not with QtQ_tQt​. The hypothesis that works bounds the risk-adjusted optimal value of the policy's stage problem (13) at the points, which is what the paper's Upper Bound Computation actually computes.

The second difficulty is infinite values, which the paper never discusses. A risk measure is defined on real random costs, yet stage problems can be infeasible, Q^s\hat{\mathcal Q}_sQ^​s​ is +∞+\infty+∞ off a convex hull, and a convex combination may put zero weight on a point whose bound is +∞+\infty+∞. Every inequality of the paper has to be re-read in R∪{+∞}\mathbb R\cup\{+\infty\}R∪{+∞}, and the extended-real arithmetic must not silently produce a value the paper does not intend.

Formalization scope

Vectors are Fin n → ℝ, all stages share nnn and mmm, and costs that may be infinite are EReal. Minima are EReal infima, +∞+\infty+∞ on an empty set. Attainment of a minimum is never built into a definition: the policy is a selection with a minimizing property, required at every state where the stage problem is feasible. Stages are natural numbers. Points and bounds are indexed by the stage sss of the function Q^s\hat{\mathcal Q}_sQ^​s​ they define, so pts s j is xs−1jx^j_{s-1}xs−1j​ and qv s j is qsjq^j_sqsj​. Stagewise independence is built in: ωt\omega_tωt​ ranges over Ωt\Omega_tΩt​ whatever happened before.

Standing assumptions made explicit in the statements:

  • T≥2T\ge2T≥2;
  • ρt\rho_tρt​ coherent for t=2,…,Tt=2,\dots,Tt=2,…,T (all four axioms, though the proof uses only monotonicity and convexity);
  • the terminal convention ρT+1(QT+1)=0\rho_{T+1}(Q_{T+1})=0ρT+1​(QT+1​)=0, so Q^T+1≡0\hat{\mathcal Q}_{T+1}\equiv0Q^​T+1​≡0;
  • (8) without the constraint x1≥0x_1\ge0x1​≥0, as printed;
  • the upper-bound hypothesis in the form above.

The risk measures ρt\rho_tρt​ act on real random costs and are extended by ρˉt(Z)=+∞\bar\rho_t(Z)=+\inftyρˉ​t​(Z)=+∞ when some outcome has infinite cost. In Proposition 4, ρ\rhoρ is given by its dual representation (10); the representation theorem itself is not part of the mission. The existence statement adds solvability of A1x1=b1A_1x_1=b_1A1​x1​=b1​ and boundedness below of the last-stage program, without which (8) or the last stage has no solution.

The goal is not to be trivialized. Its hypotheses mention neither v^t\hat v_tv^t​ nor the induction claim; the policy must minimize at every feasible state, not only along visited states; and the statement is for general TTT and general coherent ρt\rho_tρt​, not the expectation. The bound is trivially true when y=+∞y=+\inftyy=+∞ and is informative when x^1\hat x_1x^1​ lies in the convex hull of the stage-1 points.

A complete development needs:

  • convexity of extended-real linear-programming value functions in their right-hand side;
  • convexity of the convex-hull function Q^\hat{\mathcal Q}Q^​;
  • finite Jensen-type inequalities for monotone convex risk measures;
  • linear-programming attainment, for the existence companion.

The first two are reusable for any SDDP-type development. Proofs of the milestones in any order are welcome.

Selected references

  • A. B. Philpott, V. L. de Matos, E. Finardi, On Solving Multistage Stochastic Programs with Coherent Risk Measures, Operations Research 61(4), 2013. https://doi.org/10.1287/opre.2013.1175
  • P. Artzner, F. Delbaen, J.-M. Eber, D. Heath, Coherent Measures of Risk, Mathematical Finance 9(3), 1999. https://doi.org/10.1111/1467-9965.00068
  • A. Ruszczyński, A. Shapiro, Conditional Risk Mappings, Mathematics of Operations Research 31(3), 2006. https://doi.org/10.1287/moor.1060.0204
  • M. V. F. Pereira, L. M. V. G. Pinto, Multi-stage stochastic optimization applied to energy planning, Mathematical Programming 52, 1991. https://doi.org/10.1007/BF01582895
  • A. Shapiro, Analysis of stochastic dual dynamic programming method, European Journal of Operational Research 209(1), 2011. https://doi.org/10.1016/j.ejor.2010.08.007
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Robust Markov Decision Processes 2: The Affine Reward-to-Go Semidefinite Program Is Exact for One Quadratic Constraint and Conservative for SeveralResearch Paper

Why evaluate a policy against an ambiguous transition kernel

A Markov decision process (MDP) evaluates a policy by its expected discounted reward, which requires the transition probabilities. In practice these are estimated from data, and the optimal policy of the estimated model can perform badly under the true kernel. Robust MDPs replace the kernel by an ambiguity set of kernels and judge a policy by its worst-case expected reward over that set (Satia–Lave 1973; Nilim–El Ghaoui 2005; Iyengar 2005).

Robust evaluation is tractable when the ambiguity set is rectangular, meaning that the kernels of different states (or state–action pairs) can be chosen independently. Many natural ambiguity sets are not rectangular, for example confidence regions for jointly estimated parameters. Wiesemann, Kuhn and Rustem (Math. Oper. Res. 2013) show that for general sets robust policy evaluation is NP-hard even to approximate (their Theorem 2.6). They then give a lower bound computable by semidefinite programming, which is the subject of this mission.

Timeline:

  • 1973: Satia and Lave pose MDPs with uncertain transition probabilities.
  • 2005: Nilim–El Ghaoui and Iyengar solve robust dynamic programming over (s, a)-rectangular sets with deterministic policies.
  • 2011: Kuhn, Wiesemann and Georghiou develop affine (linear) decision rules with S-lemma reformulations in stochastic and robust optimization.
  • 2013: Wiesemann, Kuhn and Rustem treat s-rectangular and non-rectangular ambiguity sets with randomized policies. For the latter they give the affine approximation of their Theorem 3.8.

The robust MDP with an affinely parametrized ambiguity set

There are finitely many states S\mathcal SS and actions A\mathcal AA. Choosing action aaa in state sss and moving to s′s's′ earns a reward r(s,a,s′)≥0r(s,a,s')\ge 0r(s,a,s′)≥0. Rewards are discounted by λ∈(0,1)\lambda\in(0,1)λ∈(0,1), and the initial state has distribution p0p_0p0​ in the probability simplex M(S)\mathcal M(\mathcal S)M(S). An unknown parameter ξ\xiξ lies in

Ξ:={ξ∈Rq:ξ⊤Ol ξ+ol⊤ξ+ωl≥0, l=1,…,L},\Xi := \{\xi\in\mathbb R^q : \xi^\top O_l\,\xi + o_l^\top\xi + \omega_l\ge 0,\ l=1,\dots,L\},Ξ:={ξ∈Rq:ξ⊤Ol​ξ+ol⊤​ξ+ωl​≥0, l=1,…,L},

where each OlO_lOl​ is symmetric with Ol⪯0O_l\preceq 0Ol​⪯0. The set Ξ\XiΞ is bounded and has a Slater point ξˉ\bar\xiξˉ​, at which every constraint is strict. The transition probabilities depend affinely on ξ\xiξ: pξ(⋅∣s,a)=ksa+Ksaξp^\xi(\cdot\mid s,a) = k_{sa}+K_{sa}\xipξ(⋅∣s,a)=ksa​+Ksa​ξ, and this is a probability vector for every ξ∈Ξ\xi\in\Xiξ∈Ξ.

A stationary randomized policy π∈Π\pi\in\Piπ∈Π fixes a distribution π(⋅∣s)\pi(\cdot\mid s)π(⋅∣s) over actions in each state. It induces the transition matrix P^ss′(ξ)=∑aπ(a∣s)pξ(s′∣s,a)\widehat P_{ss'}(\xi)=\sum_a\pi(a\mid s)p^\xi(s'\mid s,a)Pss′​(ξ)=∑a​π(a∣s)pξ(s′∣s,a) and the expected rewards r^s(ξ)=∑aπ(a∣s)∑s′pξ(s′∣s,a)r(s,a,s′)\widehat r_s(\xi)=\sum_a\pi(a\mid s)\sum_{s'}p^\xi(s'\mid s,a)r(s,a,s')rs​(ξ)=∑a​π(a∣s)∑s′​pξ(s′∣s,a)r(s,a,s′). The reward to-go is v(ξ)=∑t≥0[λP^(ξ)]tr^(ξ)v(\xi)=\sum_{t\ge0}[\lambda\widehat P(\xi)]^t\widehat r(\xi)v(ξ)=∑t≥0​[λP(ξ)]tr(ξ). Robust policy evaluation asks for inf⁡ξ∈Ξp0⊤v(ξ)\inf_{\xi\in\Xi}p_0^\top v(\xi)infξ∈Ξ​p0⊤​v(ξ).

Fix π\piπ. The affine approximate policy evaluation problem restricts reward to-go functions to affine maps ϑ(ξ)=w+Wξ\vartheta(\xi)=w+W\xiϑ(ξ)=w+Wξ:

sup⁡w,W{inf⁡ξ∈Ξp0⊤(w+Wξ):w+Wξ≤r^(ξ)+λP^(ξ)(w+Wξ)  ∀ξ∈Ξ}.(19)\sup_{w,W}\Big\{\inf_{\xi\in\Xi}p_0^\top(w+W\xi) : w+W\xi\le\widehat r(\xi)+\lambda\widehat P(\xi)(w+W\xi)\ \ \forall\xi\in\Xi\Big\}. \tag{19}w,Wsup​{ξ∈Ξinf​p0⊤​(w+Wξ):w+Wξ≤r(ξ)+λP(ξ)(w+Wξ)  ∀ξ∈Ξ}.(19)

The semidefinite program (20) maximizes τ\tauτ over (τ,w,W,γ,Γ)(\tau,w,W,\gamma,\Gamma)(τ,w,W,γ,Γ) with γ≥0\gamma\ge0γ≥0 and Γ≥0\Gamma\ge0Γ≥0, subject to (1+q)×(1+q)(1+q)\times(1+q)(1+q)×(1+q) linear matrix inequalities. Constraint (20b) involves p0⊤w−τp_0^\top w-\taup0⊤​w−τ, W⊤p0W^\top p_0W⊤p0​ and the matrices Ql=[ωl12ol⊤12olOl]Q_l=\big[\begin{smallmatrix}\omega_l & \frac12 o_l^\top\\ \frac12 o_l & O_l\end{smallmatrix}\big]Ql​=[ωl​21​ol​​21​ol⊤​Ol​​]. Constraints (20c), one per state, involve ksak_{sa}ksa​, KsaK_{sa}Ksa​, rsa=(r(s,a,s′))s′r_{sa}=(r(s,a,s'))_{s'}rsa​=(r(s,a,s′))s′​, www, WWW and QlQ_lQl​.

Formalization targets

Goal: Theorem 3.8

Let (τ∗,w∗,W∗,γ∗,Γ∗)(\tau^*,w^*,W^*,\gamma^*,\Gamma^*)(τ∗,w∗,W∗,γ∗,Γ∗) be an optimal solution of (20).

  • If L=1L=1L=1, then τ∗\tau^*τ∗ equals the supremum of (19), and ϑ∗(ξ)=w∗+W∗ξ\vartheta^*(\xi)=w^*+W^*\xiϑ∗(ξ)=w∗+W∗ξ is feasible and optimal in (19).
  • If L>1L>1L>1, then ϑ∗\vartheta^*ϑ∗ is feasible in (19), τ∗\tau^*τ∗ is a lower bound on the supremum of (19), and
inf⁡ξ∈Ξp0⊤(w∗+W∗ξ)=τ∗.\inf_{\xi\in\Xi}p_0^\top(w^*+W^*\xi)=\tau^*.ξ∈Ξinf​p0⊤​(w∗+W∗ξ)=τ∗.

The theorem takes an optimal solution of (20) as given; it does not assert that (20) has one.

Milestones

  1. Proposition 3.1 (c): every sub-solution w≤r^(ξ)+λP^(ξ)ww\le\widehat r(\xi)+\lambda\widehat P(\xi)ww≤r(ξ)+λP(ξ)w lies below v(ξ)v(\xi)v(ξ).
  2. Every feasible (w,W)(w,W)(w,W) of (19) satisfies w+Wξ≤rˉe/(1−λ)w+W\xi\le\bar r e/(1-\lambda)w+Wξ≤rˉe/(1−λ) on Ξ\XiΞ, where rˉ=max⁡r\bar r=\max rrˉ=maxr.
  3. Problem (19) is solvable.
  4. Proposition 3.7 (17), the approximate S-lemma: if some γ≥0\gamma\ge 0γ≥0 makes [σ12s⊤12sS]−∑lγlQl⪰0\big[\begin{smallmatrix}\sigma & \frac12 s^\top\\ \frac12 s & S\end{smallmatrix}\big]-\sum_l\gamma_lQ_l\succeq0[σ21​s​21​s⊤S​]−∑l​γl​Ql​⪰0, then ξ⊤Sξ+s⊤ξ+σ≥0\xi^\top S\xi+s^\top\xi+\sigma\ge0ξ⊤Sξ+s⊤ξ+σ≥0 on Ξ\XiΞ.
  5. The reverse implication of 4 when S⪰0S\succeq 0S⪰0.
  6. The reverse implication of 4 when L=1L=1L=1: the published S-procedure, reused here.
  7. The constraint τ≤p0⊤(w+Wξ)\tau\le p_0^\top(w+W\xi)τ≤p0⊤​(w+Wξ) on Ξ\XiΞ is equivalent to (20b).
  8. Constraint (20c) at sss implies the semi-infinite feasibility constraint of (19) at sss, with equivalence when L=1L=1L=1.

Significance

When the ambiguity set is not rectangular, the robust value of a policy cannot be approximated efficiently in general. Theorem 3.8 gives a certified lower bound τ∗\tau^*τ∗ on it, computable by a semidefinite program of size polynomial in ∣S∣|\mathcal S|∣S∣, ∣A∣|\mathcal A|∣A∣, qqq and LLL. Proposition 3.1 (c) makes (19) a restriction of the exact evaluation problem. For L=1L=1L=1, for example an ellipsoidal confidence region for ξ\xiξ, the bound is the best affine one. The paper uses the theorem to compare policies under non-rectangular ambiguity, and in Proposition 3.10 to show that the bound is tight for s-rectangular sets.

On the formal side, the theorems are proved in the paper, and none of them, nor Proposition 3.7, has been formalized before. The platform has the exact S-procedure for one constraint, reused here, and other S-lemma variants in other settings. It has no approximate S-lemma for several concave quadratic constraints, no convex-Farkas argument for S⪰0S\succeq 0S⪰0, and no robust MDP with an affine parametrization. A completed mission would give a machine-checked SDP reformulation of a semi-infinite constraint in a dynamic programming setting.

Difficulty

Each direction rests on a different fact. The step from (20) to (19) is the elementary direction of the S-lemma, applied state by state and then combined with the objective's epigraph constraint. Showing that the bound is attained for L=1L=1L=1 needs four further facts:

  • Problem (19) has an optimal solution. Its feasible region is unbounded (adding a constant c≤0c\le0c≤0 to www preserves feasibility), so attainment needs the uniform bound of milestone 2 and a Slater ball inside Ξ\XiΞ.
  • The objective's epigraph constraint τ≤p0⊤(w+Wξ)\tau\le p_0^\top(w+W\xi)τ≤p0⊤​(w+Wξ) on Ξ\XiΞ and (20b) are exactly equivalent for every LLL, by convex Farkas (milestone 5).
  • (20c) is exact for L=1L=1L=1, by the lossless S-procedure.
  • The lower-right block λKsa⊤W\lambda K_{sa}^\top WλKsa⊤​W of (20c) is not symmetric.

A tempting shortcut is to treat (20c) as an ordinary positive semidefinite constraint on a symmetric matrix. That is wrong here: the matrix is not symmetric, and only its quadratic form carries meaning.

Formalization scope

Everything is finite-dimensional, and no measure theory is used.

  • Types. States and actions are nonempty finite types. A policy is π:S→A→R\pi:\mathcal S\to\mathcal A\to\mathbb Rπ:S→A→R with each π(s)\pi(s)π(s) a probability vector (the published IsPolicy). P^\widehat PP and r^\widehat rr are built from the published InducedTransition and InducedReward.
  • Reward to-go. vvv is defined by the matrix-power series (8). The paper defines it as an expectation (5) and cites that (5) equals (8).
  • The set Ξ\XiΞ. It is the set defined by the data (Ol,ol,ωl)(O_l,o_l,\omega_l)(Ol​,ol​,ωl​), with ωl\omega_lωl​ indexed by lll; the page prints ω\omegaω without the index in (3b). Boundedness, the Slater point and Ol⪯0O_l\preceq0Ol​⪯0 (as PosSemidef of −Ol-O_l−Ol​) are hypotheses.
  • Problem (19). Affine ϑ\varthetaϑ is encoded as (w,W)(w,W)(w,W), the paper's own (21). The objective is an infimum over the subtype Ξ\XiΞ, which is attained because Ξ\XiΞ is nonempty and compact. "The supremum of (19)" is the greatest element, or every upper bound, of the set of feasible objective values.
  • Block matrices. They have index type Unit ⊕ Fin q, with the scalar entry first. "A⪰0A\succeq0A⪰0" means x⊤Ax≥0x^\top Ax\ge0x⊤Ax≥0 for all xxx. This agrees with positive semidefiniteness on symmetric matrices and is the only faithful reading for (20c). Encoding (20c) with Mathlib's PosSemidef would make (20) infeasible and the goal vacuous, which is ruled out here. A verification instance with ∣S∣=2|\mathcal S|=2∣S∣=2, q=L=1q=L=1q=L=1 shows that the standing hypotheses hold and that (0,0,0,0,0)(0,0,0,0,0)(0,0,0,0,0) is feasible in (20).
  • The S-procedure reference. It puts the scalar entry last and uses the opposite sign convention. Applying it to (17) for L=1L=1L=1 takes a permutation congruence and negation.

Welcome contributions include:

  • the approximate S-lemma and the convex Farkas theorem of the alternative for several quadratic constraints, both reusable well beyond this mission;
  • Proposition 3.1 (c) (the comparison principle for discounted Markov reward processes);
  • compactness and attainment arguments for semi-infinite linear programs over Ξ\XiΞ.

Selected references

  • W. Wiesemann, D. Kuhn, B. Rustem, Robust Markov Decision Processes, Mathematics of Operations Research 38(1), 2013; preprint Optimization Online 2610, revision of February 9, 2012. https://doi.org/10.1287/moor.1120.0566
  • A. Nilim, L. El Ghaoui, Robust control of Markov decision processes with uncertain transition matrices, Operations Research 53(5), 2005. https://doi.org/10.1287/opre.1050.0216
  • G. N. Iyengar, Robust dynamic programming, Mathematics of Operations Research 30(2), 2005. https://doi.org/10.1287/moor.1040.0129
  • D. Kuhn, W. Wiesemann, A. Georghiou, Primal and dual linear decision rules in stochastic and robust optimization, Mathematical Programming 130(1), 2011. https://doi.org/10.1007/s10107-009-0331-4
  • I. Pólik, T. Terlaky, A survey of the S-lemma, SIAM Review 49(3), 2007. https://doi.org/10.1137/S003614450444614X
  • L. Vandenberghe, S. Boyd, Semidefinite programming, SIAM Review 38(1), 1996. https://doi.org/10.1137/1038003
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
16 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Algorithms for Scheduling Runway Operations Under Constrained Position Shifting 3: Shortest Paths in the Discrete-Time Network Give Minimum-Cost Schedules Without the Triangle InequalityResearch Paper

Motivation

At a busy airport the runway is the bottleneck, and the order in which aircraft land or take off determines how much of its capacity is used. Wake turbulence forces a minimum time between consecutive operations that depends on the weight classes of the leading and trailing aircraft, so reordering a first-come-first-served (FCFS) queue can increase throughput or reduce delay. Controllers cannot reorder freely: constrained position shifting (CPS), introduced by Dear (1976, MIT Flight Transportation Laboratory Report R76-9), allows each aircraft to move at most kkk positions from its FCFS position, which keeps the sequence fair and predictable.

Balakrishnan and Chandran (Oper. Res. 58(6), 2010) cast CPS scheduling as dynamic programming on a layered network whose paths are the admissible sequences. For makespan and total delay the separations are assumed to satisfy the triangle inequality, which holds for arrivals only or departures only. When arrivals and departures share a runway it fails: in the separation table of the paper, a heavy arrival followed by a departure and then a small arrival needs only 75+60=13575+60=13575+60=135 seconds through the departure, while the direct requirement is 196196196 seconds. Section 6.2 of the paper handles this case for arbitrary per-aircraft cost functions, by expanding the network state. This mission formalizes that construction and its correctness.

Setting

Time is discrete: all data are integer multiples of one period. There are nnn aircraft labelled in FCFS order, a maximum shift kkk, a minimum separation δab∈N\delta_{ab}\in\mathbb Nδab​∈N between a leading aircraft aaa and a trailing aircraft bbb, a time window [ea,la][e_a,l_a][ea​,la​] for each aircraft, a finite set of precedence pairs (x,y)(x,y)(x,y) (xxx lands before yyy), and a cost ca(t)c_a(t)ca​(t) of landing aircraft aaa at period ttt.

A kkk-CPS sequence is a bijection σ\sigmaσ from positions to aircraft with ∣σ(p)−p∣≤k|\sigma(p)-p|\le k∣σ(p)−p∣≤k. A feasible schedule is a kkk-CPS sequence with integer landing times tpt_ptp​ such that precedence pairs are respected, eσ(p)≤tp≤lσ(p)e_{\sigma(p)}\le t_p\le l_{\sigma(p)}eσ(p)​≤tp​≤lσ(p)​, and

tq−tp ≥ δσ(p)σ(q)for all positions p<q.t_q-t_p\ \ge\ \delta_{\sigma(p)\sigma(q)}\qquad\text{for all positions } p<q .tq​−tp​ ≥ δσ(p)σ(q)​for all positions p<q.

Its cost is ∑pcσ(p)(tp)\sum_p c_{\sigma(p)}(t_p)∑p​cσ(p)​(tp​).

The CPS network has stages 1,…,n1,\dots,n1,…,n. A node of stage ppp is a list of min⁡{2k+1,p}\min\{2k+1,p\}min{2k+1,p} distinct aircraft that may occupy positions p−min⁡{2k+1,p}+1,…,pp-\min\{2k+1,p\}+1,\dots,pp−min{2k+1,p}+1,…,p; its last aircraft is the final aircraft fin(i)\mathrm{fin}(i)fin(i). An arc joins consecutive stages when the lists overlap. Removing the nodes that violate a precedence pair gives the network GGG. For a node iii, Γ(i)\Gamma(i)Γ(i) is the set of integer times in the window of fin(i)\mathrm{fin}(i)fin(i).

The modified network of §6.2 has nodes (i,t,d)(i,t,d)(i,t,d): a node iii of GGG, a time t∈Γ(i)t\in\Gamma(i)t∈Γ(i), and a lower bound ddd on the separation between fin(i)\mathrm{fin}(i)fin(i) and its predecessor, with d=0d=0d=0 at stage 111 and otherwise dimin⁡≤d≤dimax⁡d^{\min}_i\le d\le d^{\max}_idimin​≤d≤dimax​, where, for the penultimate and final aircraft a,ba,ba,b of iii,

dimin⁡=δab,dimax⁡=max⁡{max⁡j: i∈P(j)(δa,fin(j)−δb,fin(j)), dimin⁡}.d^{\min}_i=\delta_{ab},\qquad d^{\max}_i=\max\Big\{\max_{j:\,i\in P(j)}\big(\delta_{a,\mathrm{fin}(j)}-\delta_{b,\mathrm{fin}(j)}\big),\ d^{\min}_i\Big\}.dimin​=δab​,dimax​=max{j:i∈P(j)max​(δa,fin(j)​−δb,fin(j)​), dimin​}.

An arc (i,t′,d′)→(j,t′′,d′′)(i,t',d')\to(j,t'',d'')(i,t′,d′)→(j,t′′,d′′) requires an arc (i,j)(i,j)(i,j) of GGG, t′′−t′≥djmin⁡t''-t'\ge d^{\min}_jt′′−t′≥djmin​, d′′=min⁡{t′′−t′,djmax⁡}d''=\min\{t''-t',d^{\max}_j\}d′′=min{t′′−t′,djmax​}, and d′+t′′−t′d'+t''-t'd′+t′′−t′ at least the separation between the penultimate aircraft of iii and fin(j)\mathrm{fin}(j)fin(j). Arcs entering (i,t,d)(i,t,d)(i,t,d) cost cfin(i)(t)c_{\mathrm{fin}(i)}(t)cfin(i)​(t).

Formalization targets

Goal: minimum-cost paths are optimal schedules

Under k≥1k\ge 1k≥1, positive costs, and the polygon inequalities of three or more hops (below):

  1. a feasible schedule exists if and only if the modified network has a source-sink path;
min⁡(σ,t) feasible ∑pcσ(p)(tp)  =  min⁡paths ∑p=1ncfin(ip)(tp),\min_{(\sigma,t)\ \text{feasible}}\ \sum_p c_{\sigma(p)}(t_p)\;=\;\min_{\text{paths}}\ \sum_{p=1}^n c_{\mathrm{fin}(i_p)}(t_p),(σ,t) feasiblemin​ p∑​cσ(p)​(tp​)=pathsmin​ p=1∑n​cfin(ip​)​(tp​),

each minimum existing exactly when the other does; 3. every minimum-cost path represents a feasible, optimal schedule.

Milestones

  • Theorem 1 (with §3.1): the kkk-CPS sequences respecting precedence are exactly the sequences of source-sink paths of GGG.
  • Lemma 5: every source-sink path of the modified network represents a feasible schedule.
  • Lemma 6: every feasible schedule (in particular an optimal one) is represented by a source-sink path.
  • Remark 1: under the triangle inequality, dimin⁡=dimax⁡=δabd^{\min}_i=d^{\max}_i=\delta_{ab}dimin​=dimax​=δab​.
  • Lemma 4: under the triangle inequality, a feasible schedule exists if and only if the simpler discrete-time network of §6.1.2, with nodes (i,t)(i,t)(i,t), has a source-sink path.

Significance

The result turns a scheduling problem with arbitrary separable costs, time windows, precedence and non-metric separations into a shortest-path problem whose size is polynomial in nnn for fixed kkk and in the number of periods. It covers mixed arrival–departure operations, where the triangle inequality genuinely fails, and it is the basis of the paper's §7.1 algorithm for coupled arrivals and departures.

The paper proves Lemmas 5 and 6 in a few paragraphs and omits the proof of Lemma 4. No machine-checked version of the CPS network or of these lemmas exists. A formal development pins down the boundary cases the prose passes over (the first two stages, the last stage where dmax⁡d^{\max}dmax has no successors), and it makes explicit an assumption the prose leaves unstated: Lemma 5 needs the polygon inequalities, not only the two-step check in its proof.

Difficulty

The obvious argument checks separations only between consecutive aircraft, which is what the network of §6.1.2 does. Without the triangle inequality this misses aircraft two positions apart. The state ddd repairs that but is capped at dmax⁡d^{\max}dmax, so one must show that the cap loses nothing: a capped value still certifies the separation to the next aircraft. That uses the definition of dmax⁡d^{\max}dmax over the successors of a node in GGG, so the proof depends on how the network is pruned. Separations three or more positions apart are not tracked at all and rely on the polygon inequalities. Relating network paths to sequences (Theorem 1) requires reasoning about overlapping windows of the sequence and about the precedence pruning rule.

Formalization scope

Aircraft and positions are 000-based (Fin n), stages 111-based, and n≥1n\ge 1n≥1 (NeZero n). Times, windows and separations are natural numbers (periods); ddd, dmin⁡d^{\min}dmin, dmax⁡d^{\max}dmax and time differences are integers, since dmax⁡d^{\max}dmax involves differences of separations that can be negative. Separation is required for all pairs of aircraft, not only consecutive ones. Minima are stated with IsLeast on sets of costs, never with a real infimum.

The following readings of the paper are committed:

  • Polygon inequalities. Lemma 5 and the goal assume that for every chain x0,…,xmx_0,\dots,x_mx0​,…,xm​ of m≥3m\ge 3m≥3 hops between distinct aircraft, δx0xm≤∑iδxixi+1\delta_{x_0x_m}\le\sum_i\delta_{x_ix_{i+1}}δx0​xm​​≤∑i​δxi​xi+1​​. Without this hypothesis Lemma 5 is false: there are small instances violating the quadrilateral inequality whose minimum-cost path is infeasible. §7 of the paper asserts these inequalities for mixed operations; this mission states them as a hypothesis and makes no claim about the paper's Table 1.
  • Γ(i)\Gamma(i)Γ(i) is the full time window, not the narrowed set of §6.1.3, whose justification needs nondecreasing costs. With the full window Lemma 6 holds for every feasible schedule and arbitrary costs; it is stated in that stronger form.
  • k≥1k\ge 1k≥1, so that every node beyond stage 111 has a penultimate aircraft. Arc condition 4 is not imposed on arcs leaving stage 111.
  • Arc cost c(i,t)c(i,t)c(i,t) of the paper is read as cfin(i)(t)c_{\mathrm{fin}(i)}(t)cfin(i)​(t).
  • Precedence pruning uses the printed rule of §3.1; nodes unreachable from the source or the sink are not removed (this does not change the set of source-sink paths).
  • Running times (§6.1.4, §6.3) and the bound λ\lambdaλ of recursion (4) are not formalized.

A trivializing formalization is ruled out: the networks are concrete definitions computed from the instance, not arbitrary graphs pinned by hypotheses, and the goal compares two independently defined minima, so it cannot hold by an empty feasible set or an unconstrained optimum.

A complete development needs basic list combinatorics (windows of a sequence, overlap of consecutive windows), the correspondence between bijections and paths, and finite minimization. The CPS network layer is shared with the other missions of this series and is reusable for any CPS scheduling result. Contributions on Theorem 1 alone are welcome, as it is independent of the time-expanded networks.

Selected references

  • H. Balakrishnan, B. G. Chandran, Algorithms for Scheduling Runway Operations Under Constrained Position Shifting, Operations Research 58(6), 1650–1665, 2010. https://doi.org/10.1287/opre.1100.0869
  • R. G. Dear, The Dynamic Scheduling of Aircraft in the Near Terminal Area, MIT Flight Transportation Laboratory Report R76-9, Massachusetts Institute of Technology, 1976 (as cited in the paper above).
  • H. Lee, Tradeoff Evaluation of Scheduling Algorithms for Terminal-Area Air Traffic Control, Master's thesis, Massachusetts Institute of Technology, 2008 (source of the separation table; as cited in the paper above).
11 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimizationReinforcement Learning·Captain: mikedeng1

Bounded-parameter Markov Decision Processes 2: Interval Policy Evaluation Converges to the Interval Value Function of Every PolicyResearch Paper

Motivation

A Markov decision process (MDP) is evaluated by solving a linear fixed-point equation built from its transition probabilities. In practice those probabilities are rarely known exactly: they are estimated from data, elicited from experts, or obtained by aggregating the states of a larger model, and each estimate comes with an error band. Givan, Leach and Dean (Bounded-parameter Markov decision processes, Artificial Intelligence, 2000) replace each transition probability by a closed interval and ask what can still be said about the value of a policy. Their answer for a fixed policy is an interval value: at each state, the smallest and the largest expected discounted reward the policy can obtain over all exact MDPs consistent with the intervals.

The same model reappears under other names. Robust MDPs with rectangular uncertainty sets (Nilim and El Ghaoui, Operations Research, 2005; Iyengar, Mathematics of Operations Research, 2005) take the pessimistic end of the interval, and optimistic model-based reinforcement learning (for example UCRL-type algorithms) takes the optimistic end over a confidence set. Interval transition models are also used to bound the error of state aggregation. In all of these, the basic computational question is how to evaluate a fixed policy against a whole family of MDPs at once.

Setting

Fix a finite set QQQ of states and a finite nonempty set AAA of actions. An exact MDP M=⟨Q,A,F,R⟩M=\langle Q,A,F,R\rangleM=⟨Q,A,F,R⟩ has transition probabilities Fpq(α)F_{pq}(\alpha)Fpq​(α), each row q↦Fpq(α)q\mapsto F_{pq}(\alpha)q↦Fpq​(α) a probability distribution, a reward R(q)∈RR(q)\in\mathbb RR(q)∈R per state, and a discount rate 0≤γ<10\le\gamma<10≤γ<1. A policy is a map π:Q→A\pi:Q\to Aπ:Q→A. Its value function VM,πV_{M,\pi}VM,π​ is the expected discounted cumulative reward of the Markov chain with transition matrix Fpq(π(p))F_{pq}(\pi(p))Fpq​(π(p)):

VM,π(p)=∑t≥0γt (PπtR)(p),Pπ(p,q)=Fpq(π(p)).V_{M,\pi}(p)=\sum_{t\ge0}\gamma^t\,(P_\pi^tR)(p),\qquad P_\pi(p,q)=F_{pq}(\pi(p)).VM,π​(p)=t≥0∑​γt(Pπt​R)(p),Pπ​(p,q)=Fpq​(π(p)).

On the space V‾\overline VV of value functions v:Q→Rv:Q\to\mathbb Rv:Q→R, with the sup norm ∥v∥=max⁡q∣v(q)∣\|v\|=\max_q|v(q)|∥v∥=maxq​∣v(q)∣, the value-iteration operator is VIM,π(v)(p)=R(p)+γ∑qFpq(π(p)) v(q)VI_{M,\pi}(v)(p)=R(p)+\gamma\sum_{q}F_{pq}(\pi(p))\,v(q)VIM,π​(v)(p)=R(p)+γ∑q​Fpq​(π(p))v(q), and VIM,αVI_{M,\alpha}VIM,α​ is the same with the action α\alphaα in place of π(p)\pi(p)π(p). An operator TTT on V‾\overline VV is a contraction mapping if ∥Tv−Tu∥≤λ∥v−u∥\|Tv-Tu\|\le\lambda\|v-u\|∥Tv−Tu∥≤λ∥v−u∥ for all u,vu,vu,v and some 0≤λ<10\le\lambda<10≤λ<1.

A bounded-parameter MDP (BMDP) M↕M_\updownarrowM↕​ gives intervals [F↓pq(α),F↑pq(α)]⊆[0,1][F_{\downarrow pq}(\alpha),F_{\uparrow pq}(\alpha)]\subseteq[0,1][F↓pq​(α),F↑pq​(α)]⊆[0,1] with ∑qF↓pq(α)≤1≤∑qF↑pq(α)\sum_qF_{\downarrow pq}(\alpha)\le1\le\sum_qF_{\uparrow pq}(\alpha)∑q​F↓pq​(α)≤1≤∑q​F↑pq​(α), a reward RRR and a discount rate γ\gammaγ. An exact MDP belongs to M↕M_\updownarrowM↕​ if it has the same RRR and γ\gammaγ and every transition probability lies in its interval. The interval value of a policy π\piπ (Definition 3) is

V↕π(q)=[V↓π(q),V↑π(q)]=[min⁡M∈M↕VM,π(q), max⁡M∈M↕VM,π(q)].V_{\updownarrow\pi}(q)=\Big[V_{\downarrow\pi}(q),V_{\uparrow\pi}(q)\Big]=\Big[\min_{M\in M_\updownarrow}V_{M,\pi}(q),\ \max_{M\in M_\updownarrow}V_{M,\pi}(q)\Big].V↕π​(q)=[V↓π​(q),V↑π​(q)]=[M∈M↕​min​VM,π​(q), M∈M↕​max​VM,π​(q)].

Interval policy evaluation acts on an interval value function V↕=[V↓,V↑]V_\updownarrow=[V_\downarrow,V_\uparrow]V↕​=[V↓​,V↑​] by

IVI↕π(V↕)(p)=[min⁡M∈M↕VIM,π(V↓)(p), max⁡M∈M↕VIM,π(V↑)(p)],IVI_{\updownarrow\pi}(V_\updownarrow)(p)=\Big[\min_{M\in M_\updownarrow}VI_{M,\pi}(V_\downarrow)(p),\ \max_{M\in M_\updownarrow}VI_{M,\pi}(V_\uparrow)(p)\Big],IVI↕π​(V↕​)(p)=[M∈M↕​min​VIM,π​(V↓​)(p), M∈M↕​max​VIM,π​(V↑​)(p)],

with lower and upper bound maps IVI↓π,IVI↑π:V‾→V‾IVI_{\downarrow\pi},IVI_{\uparrow\pi}:\overline V\to\overline VIVI↓π​,IVI↑π​:V→V.

For the optional part, interval value iteration adds a maximization over actions: IVI↕optIVI_{\updownarrow opt}IVI↕opt​ and IVI↕pesIVI_{\updownarrow pes}IVI↕pes​ take, at each state, the largest of the candidate intervals [min⁡MVIM,α(V↓)(p),max⁡MVIM,α(V↑)(p)]\big[\min_MVI_{M,\alpha}(V_\downarrow)(p),\max_MVI_{M,\alpha}(V_\uparrow)(p)\big][minM​VIM,α​(V↓​)(p),maxM​VIM,α​(V↑​)(p)] for the lexicographic orders ≤opt\le_{opt}≤opt​ (upper end first) and ≤pes\le_{pes}≤pes​ (lower end first). For a value function VVV, ρV(p)\rho_V(p)ρV​(p) and σV(p)\sigma_V(p)σV​(p) are the actions maximizing max⁡MVIM,α(V)(p)\max_MVI_{M,\alpha}(V)(p)maxM​VIM,α​(V)(p) and min⁡MVIM,α(V)(p)\min_MVI_{M,\alpha}(V)(p)minM​VIM,α​(V)(p), and IVI↓opt,V(V′)=IVI↓opt([V′,V])IVI_{\downarrow opt,V}(V')=IVI_{\downarrow opt}([V',V])IVI↓opt,V​(V′)=IVI↓opt​([V′,V]), IVI↑pes,V(V′)=IVI↑pes([V,V′])IVI_{\uparrow pes,V}(V')=IVI_{\uparrow pes}([V,V'])IVI↑pes,V​(V′)=IVI↑pes​([V,V′]).

Formalization targets

Goal: convergence of interval policy evaluation (Section 5.1, p. 22)

For every BMDP, every policy π\piπ, and every interval value function V↕0=[V↓0,V↑0]V_{\updownarrow0}=[V_{\downarrow0},V_{\uparrow0}]V↕0​=[V↓0​,V↑0​] with V↓0≤V↑0V_{\downarrow0}\le V_{\uparrow0}V↓0​≤V↑0​,

lim⁡n→∞IVI↕π n(V↕0)=V↕π.\lim_{n\to\infty}IVI_{\updownarrow\pi}^{\,n}(V_{\updownarrow0})=V_{\updownarrow\pi}.n→∞lim​IVI↕πn​(V↕0​)=V↕π​.

The limit is the interval value of Definition 3, an extremum over infinitely many MDPs; nothing about the starting point is assumed beyond its being an interval value function.

Milestones on the goal's path

  • Theorem 10 (p. 21): IVI↓πIVI_{\downarrow\pi}IVI↓π​ and IVI↑πIVI_{\uparrow\pi}IVI↑π​ are contraction mappings on V‾\overline VV.
  • Theorem 11 (p. 22): IVI↓π(V↓π)=V↓πIVI_{\downarrow\pi}(V_{\downarrow\pi})=V_{\downarrow\pi}IVI↓π​(V↓π​)=V↓π​, IVI↑π(V↑π)=V↑πIVI_{\uparrow\pi}(V_{\uparrow\pi})=V_{\uparrow\pi}IVI↑π​(V↑π​)=V↑π​, and hence IVI↕π(V↕π)=V↕πIVI_{\updownarrow\pi}(V_{\updownarrow\pi})=V_{\updownarrow\pi}IVI↕π​(V↕π​)=V↕π​.

Further results on interval value iteration (Section 5.2)

  • Lemma 4 (p. 25): IVI↓opt,V(V′)(p)=max⁡α∈ρV(p)min⁡MVIM,α(V′)(p)IVI_{\downarrow opt,V}(V')(p)=\max_{\alpha\in\rho_V(p)}\min_{M}VI_{M,\alpha}(V')(p)IVI↓opt,V​(V′)(p)=maxα∈ρV​(p)​minM​VIM,α​(V′)(p) and IVI↑pes,V(V′)(p)=max⁡α∈σV(p)max⁡MVIM,α(V′)(p)IVI_{\uparrow pes,V}(V')(p)=\max_{\alpha\in\sigma_V(p)}\max_{M}VI_{M,\alpha}(V')(p)IVI↑pes,V​(V′)(p)=maxα∈σV​(p)​maxM​VIM,α​(V′)(p).
  • Theorem 13(a) (p. 25): IVI↑optIVI_{\uparrow opt}IVI↑opt​ and IVI↓pesIVI_{\downarrow pes}IVI↓pes​ are contraction mappings.
  • Theorem 13(b) (p. 25): for every value function VVV, IVI↓opt,VIVI_{\downarrow opt,V}IVI↓opt,V​ and IVI↑pes,VIVI_{\uparrow pes,V}IVI↑pes,V​ are contraction mappings.

Significance

The result. The interval value is defined as a minimum and a maximum over a continuum of MDPs, and there is no a priori reason it should be computable by a dynamic program. The goal says it is: one operator, whose per-state step is a small linear program over a box intersected with a simplex, iterated from any start, converges to both ends of the interval simultaneously. The pessimistic end is the robust value of the policy under rectangular uncertainty, so the goal is also a policy-evaluation theorem for interval-rectangular robust MDPs; the optimistic end is the value used by optimism-based exploration. Theorem 11 is the bridge between the "game" definition (nature picks the MDP) and the fixed-point characterization; Theorem 13 is the corresponding first step for the optimal interval values of the companion mission.

Formalizing it. The results are proved in the paper (2000), with Theorem 11 relying on the existence of a single member MDP that is π\piπ-minimizing at every state simultaneously (the paper's Theorem 7). No machine-checked version of the BMDP model or of these results is known. Nearby statements formalized elsewhere concern other models: robust MDPs with costs and general row sets, and optimistic Bellman equations over compact confidence sets. This mission produces the BMDP model and its interval operators, the contraction and fixed-point theorems, and the convergence theorem, all stated against the member-MDP definition of V↕πV_{\updownarrow\pi}V↕π​.

Difficulty

The contraction estimates (Theorems 10 and 13) follow the familiar pattern for Bellman operators, with the extra point that the minimum or maximum over the infinite family M↕M_\updownarrowM↕​ must be attained. The real difficulty is Theorem 11. The obvious argument compares V↓π(q)V_{\downarrow\pi}(q)V↓π​(q) with VIM,π(V↓π)(q)VI_{M,\pi}(V_{\downarrow\pi})(q)VIM,π​(V↓π​)(q) state by state; but V↓π(q)V_{\downarrow\pi}(q)V↓π​(q) is a minimum taken separately at each state, possibly by a different MDP at each state, and V↓πV_{\downarrow\pi}V↓π​ need not a priori be the value function of any single member MDP. Without a member MDP that is minimizing at all states at once, the inequality IVI↓π(V↓π)≥V↓πIVI_{\downarrow\pi}(V_{\downarrow\pi})\ge V_{\downarrow\pi}IVI↓π​(V↓π​)≥V↓π​ does not follow. Establishing that simultaneous minimizer is the central step.

Formalization scope

All statements live in the namespace BoundedParamMDP.IntervalEval. The exact MDP, the BMDP, its member MDPs, VM,πV_{M,\pi}VM,π​, VIM,πVI_{M,\pi}VIM,π​, VIM,αVI_{M,\alpha}VIM,α​ and Definition 3's V↓πV_{\downarrow\pi}V↓π​, V↑πV_{\uparrow\pi}V↑π​ are the shared definitions BoundedParamMDP.Optimal.MDP and BoundedParamMDP.Optimal.BMDP used by the companion mission, so its theorems apply to the same objects. Conventions:

  • QQQ and AAA are finite types, AAA is nonempty; QQQ may be empty (every statement then holds for the paper's own reasons). Policies are deterministic and stationary, Q → A.
  • An exact MDP is a structure with F p α q =Fpq(α)=F_{pq}(\alpha)=Fpq​(α), rows nonnegative and summing to 111, a state reward R, and the discount rate 0≤γ<10\le\gamma<10≤γ<1 as a field. Rewards are tight (the paper's footnote 3): members share the BMDP's R and γ.
  • VM,πV_{M,\pi}VM,π​ is the discounted series ∑tγtPπtR\sum_t\gamma^t P_\pi^tR∑t​γtPπt​R, not a solution chosen from the Bellman equation.
  • Minima and maxima over M↕M_\updownarrowM↕​ are the real infimum and supremum over the nonempty subtype Member B; all quantities are bounded, so these are the genuine values (and attained, by the paper's Lemma 1).
  • An interval value function is a pair (V↓, V↑) of functions Q → ℝ. The operators are defined on all pairs; the goal assumes V↓0≤V↑0V_{\downarrow0}\le V_{\uparrow0}V↓0​≤V↑0​ as the paper's interval notion, though the conclusion does not need it.
  • The norm is Mathlib's norm on Q → ℝ (the sup norm (4)); convergence of pairs is in the product topology. A contraction mapping is "there exists λ∈[0,1)\lambda\in[0,1)λ∈[0,1)", as on p. 6; the modulus is not fixed to γ\gammaγ.
  • max⁡α,≤opt\max_{\alpha,\le_{opt}}maxα,≤opt​​ is the supremum over the finite action set in the lexicographic order on (upper end, lower end); ≤pes\le_{pes}≤pes​ uses (lower end, upper end). ρV(p)\rho_V(p)ρV​(p), σV(p)\sigma_V(p)σV​(p) are sets of actions.
  • Theorem 13(a) is stated for IVI↑optIVI_{\uparrow opt}IVI↑opt​ as the upper end of IVI↕optIVI_{\updownarrow opt}IVI↕opt​ with arbitrary lower inputs on both sides: the bound by λ∥U′−U∥\lambda\|U'-U\|λ∥U′−U∥ includes the independence from the lower input that the paper uses (p. 23) to regard IVI↑optIVI_{\uparrow opt}IVI↑opt​ as a map on V‾\overline VV.
  • Lemma 4's second line is printed with min⁡M\min_{M}minM​; the evident reading max⁡M\max_MmaxM​ (eq. (29), proof of Theorem 13(b), p. 47) is stated.

A trivializing formalization is excluded: the limit in the goal is Definition 3's infimum and supremum over member MDPs, not the fixed point of IVI↕πIVI_{\updownarrow\pi}IVI↕π​, so the goal is not Banach's theorem alone; and the member type is nonempty for every BMDP, so the infima and suprema are not the junk value 000.

The proof of Theorem 11 uses the paper's Lemma 1 (attainment in the order-maximizing family), Theorem 3 (VM,πV_{M,\pi}VM,π​ is the unique fixed point of VIM,πVI_{M,\pi}VIM,π​), Theorem 6 (comparison principle) and Theorem 7 (existence of π\piπ-minimizing and π\piπ-maximizing MDPs). These are milestones of the companion mission Bounded-parameter Markov Decision Processes 1 and are not restated here. The Banach fixed-point theorem is Mathlib's ContractingWith. Contributions welcome: proofs of the milestones, a reusable lemma on the attained minimum of a linear function over a box intersected with the simplex, and the order-maximizing construction itself.

Selected references

  • R. Givan, S. Leach, T. Dean, Bounded-parameter Markov decision processes, Artificial Intelligence 122 (2000). https://doi.org/10.1016/S0004-3702(00)00047-3
  • A. Nilim, L. El Ghaoui, Robust control of Markov decision processes with uncertain transition matrices, Operations Research 53(5), 2005. https://doi.org/10.1287/opre.1050.0216
  • G. N. Iyengar, Robust dynamic programming, Mathematics of Operations Research 30(2), 2005. https://doi.org/10.1287/moor.1040.0129
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
10 thms3 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Old and New Methods for Lost-Sales Inventory Systems 2: The Optimal Discounted Cost Is Nondecreasing in the Lead Time, and System L − 1 Bounds System L Through (6)Research Paper

Motivation

In a periodic-review inventory system, an order placed today arrives only after a lead time of LLL periods. When unmet demand is lost rather than backlogged, the optimal ordering problem is a dynamic program whose state records the stock on hand and every order still in the pipeline. The problem goes back to Karlin and Scarf (1958) and Morton (1969, 1971). It is computationally difficult because the state dimension grows with the lead time, and few structural facts about how the optimal cost depends on the system's parameters are known.

Zipkin (2008), Old and New Methods for Lost-Sales Inventory Systems, states one such fact in its abstract: the optimal cost is increasing in the lead time. Section 5 of the paper makes this precise for the discounted cost by comparing the system with lead time LLL to the one with lead time L−1L-1L−1, and derives from the comparison a lower bound, (6), on the cost of the longer system in terms of the solution of the shorter one. The paper uses that bound to start the computation of system LLL from the solution of system L−1L-1L−1, and reports it in the "Bound" rows of its numerical tables. The paper also remarks that the argument applies to any system with control lag.

Setting

The state of the system with lead time L≥1L \ge 1L≥1 is x=(x0,…,xL−1)x = (x_0, \dots, x_{L-1})x=(x0​,…,xL−1​): x0x_0x0​ is the stock on hand after this period's arrival, and xlx_lxl​ is the order that arrives lll periods from now. With an order z≥0z \ge 0z≥0 and a demand ddd, the next state is

x+=([x0−d]++x1, x2, …, xL−1, z),x_+ = \bigl([x_0 - d]^+ + x_1,\ x_2,\ \dots,\ x_{L-1},\ z\bigr),x+​=([x0​−d]++x1​, x2​, …, xL−1​, z),

and demand in excess of x0x_0x0​ is lost. Demands are independent with a common law DDD on [0,∞)[0,\infty)[0,∞) with finite mean.

The costs are a unit procurement cost c≥0c \ge 0c≥0, a unit holding cost h^≥0\hat h \ge 0h^≥0, a unit lost-sales penalty p≥0p \ge 0p≥0 and a discount factor γ∈[0,1)\gamma \in [0,1)γ∈[0,1). After the paper's standard transformation, the holding cost becomes h=h^−γch = \hat h - \gamma ch=h^−γc and the cost charged to the current order is

q0(y)=cy+hE[[y−d]+]+pE[[y−d]−],ql(xl)=γlE[q0(y+l)],q^0(y) = cy + hE\bigl[[y-d]^+\bigr] + pE\bigl[[y-d]^-\bigr], \qquad q^l(x^l) = \gamma^l E\bigl[q^0(y_{+l})\bigr],q0(y)=cy+hE[[y−d]+]+pE[[y−d]−],ql(xl)=γlE[q0(y+l​)],

where xl=(x0,…,xl)x^l = (x_0,\dots,x_l)xl=(x0​,…,xl​) and y+ly_{+l}y+l​ is the stock on hand lll periods later. The one-period cost of system LLL is q(x,z)=qL(x,z)q(x,z) = q^L(x,z)q(x,z)=qL(x,z). Writing x+l−1=([x0−d]++x1,x2,…,xl)x_+^{l-1} = ([x_0-d]^+ + x_1, x_2, \dots, x_l)x+l−1​=([x0​−d]++x1​,x2​,…,xl​) for the first lll components of the next state, the costs satisfy the recursion ql(xl)=γE[ql−1(x+l−1)]q^l(x^l) = \gamma E[q^{l-1}(x_+^{l-1})]ql(xl)=γE[ql−1(x+l−1​)].

The optimal cost f∗Lf^{*L}f∗L is the limit of the finite-horizon costs of recursion (2),

ft(x)=min⁡z≥0{q(x,z)+γE[ft+1(x+)]},fT+1=0,f_t(x) = \min_{z\ge0}\bigl\{q(x,z) + \gamma E[f_{t+1}(x_+)]\bigr\}, \qquad f_{T+1} = 0,ft​(x)=z≥0min​{q(x,z)+γE[ft+1​(x+​)]},fT+1​=0,

as the horizon TTT grows. It satisfies the optimality equation (3), f(x)=min⁡z≥0{q(x,z)+γE[f(x+)]}f(x) = \min_{z\ge 0}\{q(x,z)+\gamma E[f(x_+)]\}f(x)=minz≥0​{q(x,z)+γE[f(x+​)]}.

Formalization targets

Goal: lead-time comparison and the bound (6)

For L≥2L \ge 2L≥2, every state xL−1≥0x^{L-1} \ge 0xL−1≥0 of system LLL, and xL−2x^{L-2}xL−2 the state of system L−1L-1L−1 obtained by dropping the most recent order,

f∗L−1(xL−2)≤qL−1(xL−1)+f∗L(xL−1)f^{*L-1}(x^{L-2}) \le q^{L-1}(x^{L-1}) + f^{*L}(x^{L-1})f∗L−1(xL−2)≤qL−1(xL−1)+f∗L(xL−1)

and

f∗L(xL−1)≥γE[f∗L−1(x+L−2)].(6)f^{*L}(x^{L-1}) \ge \gamma E\bigl[f^{*L-1}(x_+^{L-2})\bigr]. \tag{6}f∗L(xL−1)≥γE[f∗L−1(x+L−2​)].(6)

The first inequality is the formal content of "the system cost is nondecreasing in LLL" in the discounted case: the systems live on state spaces of different dimension, and system L−1L-1L−1 pays one extra period cost qL−1(xL−1)q^{L-1}(x^{L-1})qL−1(xL−1) before system LLL starts to accumulate costs. The second is the bound the paper uses numerically.

Milestones

  1. The recursion ql(xl)=γE[ql−1(x+l−1)]q^l(x^l) = \gamma E[q^{l-1}(x_+^{l-1})]ql(xl)=γE[ql−1(x+l−1​)] (§2, p. 1257).
  2. The optimal cost satisfies the optimality equation (3) (p. 1257), the minimum over z≥0z \ge 0z≥0 is attained when c>0c > 0c>0 or h^>0\hat h > 0h^>0, and f∗Lf^{*L}f∗L is the least nonnegative solution.

A further statement, not a milestone, records that f∗L(x)<∞f^{*L}(x) < \inftyf∗L(x)<∞ for x≥0x \ge 0x≥0, the discounted analogue of the paper's remark (p. 1256) that the optimal lost-sales cost is bounded when mean demand is finite.

Significance

The result. Monotonicity in the lead time is a basic comparative-statics fact about lost-sales systems that is not obvious from the dynamic program, because the two systems have state spaces of different dimension. Inequality (6) turns it into a computational tool: the solution of system L−1L-1L−1 yields a lower bound for system LLL, which can be used to warm-start value iteration for the larger system and to certify the quality of heuristics.

The formalization. The results are proved in the paper, informally and in a few lines; none of them has a machine-checked proof. A formal development requires making the paper's coupling argument (system L−1L-1L−1 placing, one period ahead, the order system LLL places now) precise as an inequality between value functions on spaces of different dimension. The optimality equation for a dynamic program with a continuous state space and an unbounded action set z≥0z \ge 0z≥0 is a reusable result for other inventory models with the same structure.

Difficulty

The paper's argument constructs a non-Markovian policy for system L−1L-1L−1 from an optimal policy of system LLL. Turned into a statement about value functions, the policy-based argument needs a theory of history-dependent policies and their costs that the definitions here deliberately avoid: the optimal cost is defined through the operator of (2), not as an infimum over policies. Either that theory is built, or the comparison has to be expressed directly between value functions on two state spaces of different dimension, where the extra order of system LLL has no counterpart in system L−1L-1L−1.

The optimality equation (3) is not automatic either. Showing that the limit of value iteration is a fixed point requires interchanging an infimum over the noncompact set z≥0z \ge 0z≥0 with an increasing limit; for a general monotone operator with a noncompact action set the interchange fails, so the lost-sales structure has to be used.

Formalization scope

The Lean development lives in the namespace LostSalesOldNew.LeadTime. Its conventions:

  • States of system LLL are Fin L → ℝ; xL=(x,z)x^L = (x,z)xL=(x,z) is Fin.snoc x z; xL−2x^{L-2}xL−2 is Fin.init x (dropping the most recent order, not the oldest); shift x d is x+l−1x_+^{l-1}x+l−1​ and next x z d is the full transition. The goal is stated with lead times n=L−1≥1n = L-1 \ge 1n=L−1≥1 and n+1n+1n+1, so no natural-number subtraction occurs.
  • Demand is a probability measure D on ℝ with D (Iio 0) = 0 and finite mean (Integrable id D); the demands of several periods have the product law Measure.pi. The paper's i.i.d. assumption is encoded this way.
  • The sign conditions c,h^,p≥0c, \hat h, p \ge 0c,h^,p≥0 and 0≤γ<10 \le \gamma < 10≤γ<1 are fields of the cost structure. The paper leaves the signs implicit; γ<1\gamma < 1γ<1 is its condition for (3).
  • The optimal cost f∗Lf^{*L}f∗L is defined as sup⁡nTn0\sup_n T^n 0supn​Tn0, the limit of the finite-horizon costs of (2). The paper calls f∗f^*f∗ "the solution" of (3) and asserts uniqueness without naming a function class; uniqueness in such a class is not formalized, and the milestone states instead that f∗Lf^{*L}f∗L is the least nonnegative solution. That f∗Lf^{*L}f∗L solves (3) is a milestone, not a definition.
  • Optimal costs take values in [0,∞][0,\infty][0,∞], with expectations of value functions as lower Lebesgue integrals and qqq embedded by ENNReal.ofReal; this is exact on nonnegative states because q≥0q \ge 0q≥0 there under the sign conditions. The paper's min⁡\minmin is an infimum over z≥0z \ge 0z≥0 in the operator, and its attainment is a separate clause of the milestone, stated under c>0c > 0c>0 or h^>0\hat h > 0h^>0 (with c=h^=0c = \hat h = 0c=h^=0 and unbounded demand the minimum is not attained); negative orders are excluded. The first goal inequality is kept in additive form, since subtraction in [0,∞][0,\infty][0,∞] truncates.
  • States satisfy x≥0x \ge 0x≥0 in every theorem.

A trivializing reading is ruled out: the goal is not stated as (6) alone, which would drop the monotonicity claim, and the separate finiteness statement shows that the inequalities compare finite numbers rather than holding because one side is ∞\infty∞.

The average-cost version of §5 is not formalized (it presupposes an average-cost optimal policy), nor is uniqueness in (3) beyond minimality. Related platform formulations of the lost-sales system, such as CappedBaseStock_Model (Xin's capped base-stock analysis), use another state convention, an empty initial pipeline and the average-cost criterion, so they are not referenced. Contributions welcome: the recursion for qlq^lql (a Fubini computation over product measures), the optimality equation, the finiteness bound, and the goal.

Selected references

  • P. Zipkin, Old and New Methods for Lost-Sales Inventory Systems, Operations Research 56(5):1256–1263, 2008. https://doi.org/10.1287/opre.1070.0471
  • S. Karlin, H. Scarf, Inventory models of the Arrow–Harris–Marschak type with time lag, in Studies in the Mathematical Theory of Inventory and Production, Stanford University Press, 1958.
  • T. E. Morton, Bounds on the solution of the lagged optimal inventory equation with no demand backlogging and proportional costs, SIAM Review 11(4):572–596, 1969. https://doi.org/10.1137/1011090
  • T. E. Morton, The near-myopic nature of the lagged-proportional-cost inventory problem with lost sales, Operations Research 19(7):1708–1716, 1971. https://doi.org/10.1287/opre.19.7.1708
  • G. Janakiraman, R. O. Roundy, Lost-sales problems with stochastic lead times: convexity results for base-stock policies, Operations Research 52(5):795–803, 2004. https://doi.org/10.1287/opre.1040.0130
5 thms3 active usersReviewed
🏆Completed
Bandit AlgorithmsOperations ResearchProbability·Captain: mikedeng1

A Short Proof of the Gittins Index Theorem: For Finite-State Semi-Markov Bandits, Every Priority Policy Ordering States by the Index Algorithm's Indices Is OptimalResearch Paper

Motivation

The multi-armed bandit problem with discounted rewards asks how to allocate effort among nnn independent projects, only one of which can be worked on at a time, when the project worked on evolves randomly and the others stay frozen. It models job scheduling, research planning, search, and sequential clinical experimentation. Gittins and Jones showed in 1974 that the problem has an index solution: each state of each project has a number, computed from that project alone, and it is optimal always to work on the project whose current state has the largest number. The result turns an nnn-dimensional dynamic program into nnn one-dimensional computations.

Several proofs followed, each with its own model and its own definition of the index:

  • Gittins and Jones (1974) and Gittins (1979): the original interchange proofs, with the index as a supremum over stopping times of a reward-to-time ratio.
  • Whittle (1980): a proof through the retirement option and the dynamic-programming equation of the multi-armed problem.
  • Varaiya, Walrand and Buyukkoc (1985): the largest-remaining-index algorithm for finite-state Markov bandits, which computes the indices by removing states one at a time.
  • Weber (1992): the "prevailing charge" proof.
  • Tsitsiklis (1994): the short proof formalized here, for semi-Markov bandits with finite state spaces, by induction on the total number of states, with the indices produced by an index algorithm of the largest-remaining-index type.

Setting

There are n≥1n\ge1n≥1 bandit processes. Bandit iii has a finite nonempty state space Xi\mathcal X_iXi​, and X=X1∪⋯∪Xn\mathcal X=\mathcal X_1\cup\cdots\cup\mathcal X_nX=X1​∪⋯∪Xn​ is their disjoint union. When bandit iii at state x∈Xix\in\mathcal X_ix∈Xi​ is played, a random reward R(x)R(x)R(x) is received, the bandit is busy for a random time T(x)≥0T(x)\ge0T(x)≥0, and it then moves to a random state Y(x)∈XiY(x)\in\mathcal X_iY(x)∈Xi​; the other bandits do not move. The joint law of (T(x),R(x),Y(x))(T(x),R(x),Y(x))(T(x),R(x),Y(x)) depends only on xxx, and different plays are independent.

A policy is a map π:X1×⋯×Xn→{1,…,n}\pi:\mathcal X_1\times\cdots\times\mathcal X_n\to\{1,\dots,n\}π:X1​×⋯×Xn​→{1,…,n}: at time zero and at every play completion time it chooses the bandit to play from the current states. With tit_iti​ the start time and RiR_iRi​ the reward of the iii-th play and a discount rate β>0\beta>0β>0, the expected discounted reward from the initial joint state zzz is

Jπ(z)=E[∑i=1∞Rie−βti].J_\pi(z)=\mathbb E\Big[\sum_{i=1}^{\infty}R_i e^{-\beta t_i}\Big].Jπ​(z)=E[i=1∑∞​Ri​e−βti​].

A policy is optimal if it maximizes Jπ(z)J_\pi(z)Jπ​(z) for every initial state zzz. A priority rule is a policy for which some ordering of X\mathcal XX makes it always play the bandit whose current state is ordered highest.

The reward rate of a state is

r(x)=E[R(x)]E[∫0T(x)e−βt dt].(2.1)r(x)=\frac{\mathbb E[R(x)]}{\mathbb E\big[\int_0^{T(x)}e^{-\beta t}\,dt\big]}. \tag{2.1}r(x)=E[∫0T(x)​e−βtdt]E[R(x)]​.(2.1)

Reducing bandit i∗i^*i∗ by removing a state s∗s^*s∗ merges every play that ends in s∗s^*s∗ with the following run of plays at s∗s^*s∗ into one composite play, whose reward rate is r^(x)\hat r(x)r^(x) of (2.3). The index algorithm repeatedly picks a state s∗s^*s∗ of maximal current rate, sets its index γ(s∗)\gamma(s^*)γ(s∗) to that rate, and reduces its bandit by removing s∗s^*s∗ (or removes the bandit if s∗s^*s∗ was its last state).

Formalization targets

Goal: Theorem 2.2

Let γ\gammaγ be the indices of a run of the index algorithm. Then every priority rule whose ordering satisfies

γ(y)<γ(x) ⟹ y is ordered below x\gamma(y)<\gamma(x)\ \Longrightarrow\ y \text{ is ordered below } xγ(y)<γ(x) ⟹ y is ordered below x

is optimal. Ties in γ\gammaγ may be ordered either way, and the run may break ties in its own choices arbitrarily.

Milestones, in the order the proof uses them

  1. (2.2), the interchange inequality E[(1−e−βτ)∫0T(s∗)r(s∗)e−βtdt]≥E[(1−e−βT(s∗))∫0τrˉ(t)e−βtdt]\mathbb E\big[(1-e^{-\beta\tau})\int_0^{T(s^*)}r(s^*)e^{-\beta t}dt\big]\ge\mathbb E\big[(1-e^{-\beta T(s^*)})\int_0^{\tau}\bar r(t)e^{-\beta t}dt\big]E[(1−e−βτ)∫0T(s∗)​r(s∗)e−βtdt]≥E[(1−e−βT(s∗))∫0τ​rˉ(t)e−βtdt] when rˉ≤r(s∗)\bar r\le r(s^*)rˉ≤r(s∗).
  2. Lemma 2.1: if r(s∗)=max⁡xr(x)r(s^*)=\max_{x}r(x)r(s∗)=maxx​r(x), some optimal policy always plays bandit i∗i^*i∗ when it is at s∗s^*s∗.
  3. Reduction step: optimizing within the policies giving s∗s^*s∗ top priority is a bandit problem with one state fewer, the reduced bandit with rates (2.3).
  4. Theorem 2.1: some priority rule is optimal.
  5. Pick-order optimality: a priority rule that orders the states as a run of the index algorithm picks them is optimal.
  6. Index monotonicity: along a run, γ(s∗)≥γ(q∗)\gamma(s^*)\ge\gamma(q^*)γ(s∗)≥γ(q∗) for consecutive picks s∗,q∗s^*,q^*s∗,q∗.
  7. Picked-before characterization: xxx can be picked before yyy (in a run with the same indices) if and only if γ(x)≥γ(y)\gamma(x)\ge\gamma(y)γ(x)≥γ(y).

Significance

The theorem shows that the optimal priority order is determined by numbers that, by the reduction formulas, depend only on the statistics of each bandit separately. It is the basis of index policies in scheduling (the cμc\mucμ rule and its semi-Markov generalizations), of Klimov's problem and of branching bandits, which the paper's Section 3 obtains by modifying the same argument.

The result has been proved many times, but not in this generality on Prove2Me. The platform has a discrete-time Gittins index theorem for arms sharing one transition kernel and one reward function, with the index defined as a stopping-time supremum. This mission adds semi-Markov dynamics with random play durations and continuous discounting, heterogeneous finite bandits, priority rules, and the index algorithm as the definition of the index. A complete development would also give a machine-checked proof of correctness of a state-elimination algorithm for computing Gittins indices.

Difficulty

Lemma 2.1 compares an optimal stationary policy with a modified policy that is not stationary, and closes the gap by the optimality of stationary policies, which itself requires the dynamic-programming theory of discounted semi-Markov decision problems with finite state spaces. The reduction step requires an exact identification of the values of all top-priority policies with values in a different problem whose plays are composite and may never end. Theorem 2.1 is an induction over a family of problems with shrinking state spaces that are no longer raw semi-Markov bandits. Theorem 2.2 adds ties: a priority order compatible with the indices need not be the order of the given run, and one needs another run with the same indices.

Formalization scope

  • Bandits are indexed by Fin n (0,…,n−10,\dots,n-10,…,n−1), with n≥1n\ge1n≥1 and each state type finite and nonempty. X\mathcal XX is the sigma type Σ i, X i, disjoint by construction.
  • The law of (T(x),R(x),Y(x))(T(x),R(x),Y(x))(T(x),R(x),Y(x)) is a probability measure on R×R×Xi\mathbb R\times\mathbb R\times\mathcal X_iR×R×Xi​ with T≥0T\ge0T≥0 almost surely and RRR integrable. The model also assumes P(T(x)>0)>0\mathbb P(T(x)>0)>0P(T(x)>0)>0, which the page leaves implicit: it makes the denominator of (2.1) nonzero.
  • JπJ_\piJπ​ is computed from the moments E[R(x)]\mathbb E[R(x)]E[R(x)] and D(x,y)=E[e−βT(x);Y(x)=y]D(x,y)=\mathbb E[e^{-\beta T(x)};Y(x)=y]D(x,y)=E[e−βT(x);Y(x)=y]: it is the limit of the expected discounted reward of the first kkk plays, given by the first-step recursion. No path space is constructed. The row sums of DDD are below 111, so the limit exists; it never mentions rates, indices or reductions.
  • Policies are the paper's stationary deterministic maps of the current joint state, and optimality is within that class, for every initial state. An ordering of X\mathcal XX is an injective ranking into N\mathbb NN.
  • The reduced bandit is given by explicit formulas for its expected discounted reward, discounted duration and discounted transition data. These make the page's "transition probabilities are suitably modified" concrete, and the reduced rate is (2.3). Removing a bandit is the reduction of its last state.
  • The index is that of any run of the index algorithm, with arbitrary tie choices.

A formalization in which the value of a policy is defined through rates or indices, or in which γ\gammaγ is any function compatible with some order rather than the output of the algorithm, would make the goal trivial or empty; both are excluded by the definitions above.

Needed infrastructure: the convergence of the kkk-play values and the first-step (Bellman) equation for JπJ_\piJπ​; existence of an optimal stationary policy for finite discounted semi-Markov problems; the value identity for composite plays. The last two are reusable for any finite semi-Markov decision problem. Proofs of individual milestones, alternative arguments (Weber's prevailing charge, the retirement formulation), and the separability statement of p. 198 ("the index algorithm can be carried out separately for each different bandit") are welcome.

Selected references

  • J. N. Tsitsiklis, A Short Proof of the Gittins Index Theorem, Annals of Applied Probability 4(1) (1994), 194–199.
  • J. C. Gittins and D. M. Jones, A dynamic allocation index for the sequential design of experiments, in Progress in Statistics (J. Gani et al., eds.), North-Holland, 1974, 241–266.
  • J. C. Gittins, Bandit processes and dynamic allocation indices, J. Roy. Statist. Soc. Ser. B 41 (1979), 148–177. https://doi.org/10.1111/j.2517-6161.1979.tb01068.x
  • P. Whittle, Multi-armed bandits and the Gittins index, J. Roy. Statist. Soc. Ser. B 42 (1980), 143–149. https://doi.org/10.1111/j.2517-6161.1980.tb01111.x
  • P. P. Varaiya, J. C. Walrand and C. Buyukkoc, Extensions of the multiarmed bandit problem: the discounted case, IEEE Trans. Automat. Control 30 (1985), 426–439. https://doi.org/10.1109/TAC.1985.1103989
  • R. Weber, On the Gittins index for multiarmed bandits, Annals of Applied Probability 2(4) (1992), 1024–1033. https://doi.org/10.1214/aoap/1177005588
11 thms3 active usersReviewed
🏆Completed
Markov ChainOperations ResearchStochastic Systems·Captain: mikedeng1

Quality Control under Markovian Deterioration 3: Sufficient Conditions for a Three-Region Optimal Policy and for an Optimal Policy That Never InspectsResearch Paper

Motivation

Inspection and revision cost money, but continued production can allow a deteriorating process to remain in a costly state. A controller therefore needs a rule that converts incomplete information about the process into an action. Ross's two-state model makes that decision precise: the process can be good or bad, the bad state persists until revision, and inspection reveals the current state. The observable state for decision making is a probability rather than the underlying process state. This setup is useful when quality is inferred from occasional inspection and actions must be chosen before the state is known. Ross proved structural results for discounted control in this model, including sufficient conditions for a policy with one inspection interval and for a policy with no inspection at all. Ross (1971)

The conditions in Theorem 3.7 use the model's optimal value itself. They are therefore structural tests for the shape of an optimal rule, rather than parameter-only design formulas. The preceding concavity, monotonicity and Lipschitz estimates explain which features of that value function support the tests. The mission records those estimates alongside the main result, so the target is a coherent part of the paper rather than an isolated inequality. Ross (1971), pp. 589–593

Setting

The belief P∈[0,1]P\in[0,1]P∈[0,1] is the probability that the production process is in the bad state at the beginning of a period. A good process becomes bad during a period with probability π∈[0,1]\pi\in[0,1]π∈[0,1] if it is not revised. A bad process remains bad. Thus producing without inspection changes the next belief to T(P)=P+π−πPT(P)=P+\pi-\pi PT(P)=P+π−πP. The discount factor is β∈(0,1)\beta\in(0,1)β∈(0,1). Producing without inspection has cost 000 in the good state and cost CCC in the bad state, so its expected current cost is CPCPCP. Inspection costs III in either state, and revision costs RRR in either state. The standing order is 0<C<I<R0<C<I<R0<C<I<R. The explicit C>0C>0C>0 records that CCC is a cost and makes the quotient in Theorem 3.7 meaningful.

Write Vβ(P)V_\beta(P)Vβ​(P) for the discounted value starting from belief PPP. Inspection reveals the current state: the next belief is π\piπ after observing a good process and 111 after observing a bad one. Revision resets the next belief to π\piπ. The three current-plus-continuation costs are

qP(P)=CP+βVβ(T(P)),qI(P)=I+βPVβ(1)+β(1−P)Vβ(π),qR(P)=R+βVβ(π).\begin{aligned} q_{\mathrm P}(P)&=CP+\beta V_\beta(T(P)),\\ q_{\mathrm I}(P)&=I+\beta P V_\beta(1)+\beta(1-P)V_\beta(\pi),\\ q_{\mathrm R}(P)&=R+\beta V_\beta(\pi). \end{aligned}qP​(P)qI​(P)qR​(P)​=CP+βVβ​(T(P)),=I+βPVβ​(1)+β(1−P)Vβ​(π),=R+βVβ​(π).​

The Bellman equation is Vβ(P)=min⁡{qP(P),qI(P),qR(P)}V_\beta(P)=\min\{q_{\mathrm P}(P),q_{\mathrm I}(P),q_{\mathrm R}(P)\}Vβ​(P)=min{qP​(P),qI​(P),qR​(P)}. A stationary rule is β\betaβ-optimal here when it chooses an action attaining this minimum at every admissible belief. This is the paper's decision rule criterion associated with equation (3). Ross (1971), p. 590, equation (3)

Formalization targets

The first target is the sufficient condition for an optimal three-region rule. Set Δ=Vβ(1)−Vβ(π)\Delta=V_\beta(1)-V_\beta(\pi)Δ=Vβ​(1)−Vβ​(π). If

(1−β)(R+βVβ(π))C≤R−IβΔ,\frac{(1-\beta)(R+\beta V_\beta(\pi))}{C}\le\frac{R-I}{\beta\Delta},C(1−β)(R+βVβ​(π))​≤βΔR−I​,

there are thresholds π≤P1≤P2\pi\le P_1\le P_2π≤P1​≤P2​ such that an optimal rule produces for P<P1P<P_1P<P1​, inspects for P1≤P<P2P_1\le P<P_2P1​≤P<P2​, and revises for P≥P2P\ge P_2P≥P2​. The revise interval may be empty: if no admissible belief has revision as an optimal action, P2P_2P2​ may exceed 111. If revision is optimal somewhere, the conclusion includes P2≤1P_2\le1P2​≤1. This is a repair to the printed bound in Theorem 3.7(a); the proof on p. 593 explicitly lets a missing threshold be infinite. Ross (1971), pp. 592–593, Theorem 3.7(a)

The second target gives an optimal no-inspection rule. If

I+βΔ≥C1−β(1−π)orR−IβΔ≤RC(1−β(1−π)),I+\beta\Delta\ge\frac{C}{1-\beta(1-\pi)} \quad\text{or}\quad \frac{R-I}{\beta\Delta}\le\frac{R}{C}\bigl(1-\beta(1-\pi)\bigr),I+βΔ≥1−β(1−π)C​orβΔR−I​≤CR​(1−β(1−π)),

then some P1≥πP_1\ge\piP1​≥π gives an optimal rule that produces below P1P_1P1​ and revises from P1P_1P1​ onward. A threshold above 111 is allowed and means that the rule produces throughout the admissible belief interval. Both alternatives in the source's condition are retained. Ross (1971), p. 592, Theorem 3.7(b)

Significance

The theorem identifies two kinds of simple stationary rule that can be optimal despite the value function depending on an unobserved process state. It says more than the existence of an optimal action at each belief: the selected actions can be arranged in belief intervals, and in the second regime inspection can be omitted entirely. These statements provide a compact description of decisions over the full continuum P∈[0,1]P\in[0,1]P∈[0,1]. Ross (1971), Theorem 3.7

The result was proved in the 1971 paper. This mission asks for machine-checked Lean proofs of its two repaired clauses, the value equation, and the stated shape estimates. The definitions and finite-horizon bound can also support later formalizations of related belief-state control models. No proof of this mission's draft theorem is claimed merely by compiling its statement.

Difficulty

The action costs have different shapes as functions of belief: inspection and revision give affine and constant expressions, while the production alternative includes the value at an updated belief. The apparent order of their pairwise crossings does not by itself establish that one selected rule attains the minimum at every belief. Equalities at a threshold also matter, since the rule must be optimal at the boundary points. The printed upper bound on the last threshold fails when revision never minimizes the Bellman equation; imposing it without qualification would make the formal target false.

Formalization scope

Lean represents a belief as a real number and restricts all claims to [0,1][0,1][0,1]. It defines V0=0V^0=0V0=0 and obtains Vn+1V^{n+1}Vn+1 by taking the minimum of the three action costs with continuation VnV^nVn, exactly as in equation (4). The value VβV_\betaVβ​ is the limit of these iterates; convergence and boundedness are part of the equation (3) milestone. This prevents an arbitrary function satisfying a convenient fixed-point hypothesis from replacing the value the paper studies. The rule types are total real-to-action functions, while optimality is checked for every admissible belief, including P=1P=1P=1 and both thresholds.

The paper's general Lemma 2.1 is represented by its scalar two-state instance. The finite-horizon Lipschitz bound and its limiting corollary use P1,P2∈[0,1]P_1,P_2\in[0,1]P1​,P2​∈[0,1]. The last quotient in Corollary 3.6 divides by π\piπ, so that second inequality is stated under π>0\pi>0π>0; the first inequality, and the main theorem, cover π=0\pi=0π=0. If π=1\pi=1π=1, then Δ=0\Delta=0Δ=0. Lean's real division gives a zero quotient in that case; the two implications in Theorem 3.7 remain valid under this convention. The development needs reusable results about convergence of discounted value iteration, concavity and monotonicity on an interval, and elementary estimates for affine belief updates. Contributions establishing those results or proving either sufficient-condition clause are within scope.

Selected references

  • Sheldon M. Ross, Quality Control under Markovian Deterioration, Management Science 17(9), Theory Series, 587–596, 1971. DOI: 10.1287/mnsc.17.9.587
8 thms3 active usersReviewed
🏆Completed
Markov ChainOperations ResearchStochastic Systems·Captain: mikedeng1

Quality Control under Markovian Deterioration 2: Never Inspecting or Revising Is Optimal Exactly When R ≥ C/(1 − β(1 − π))Research Paper

Motivation

A production process can deteriorate without an operator seeing its current condition. Producing a unit, inspecting the process, and revising the process have different immediate costs and different effects on what can be known or controlled next period. The operator therefore needs a rule based on a belief about deterioration, rather than on the hidden physical state. Ross's two-state model asks when the simplest rule, producing every period without inspection, is actually optimal over an unlimited discounted horizon Ross 1971.

The question matters whenever an action has a cost now but may reduce future losses. Paying for inspection only supplies information; paying for revision restores a deteriorated process. The answer depends on the bad-state production cost, the deterioration probability, the revision charge, and the weight assigned to future periods. A comparison of immediate costs alone cannot settle whether revision is worthwhile. Ross's Theorem 3.4 gives an exact boundary between a regime where producing forever is optimal from every initial belief and a regime where revision is forced when deterioration is nearly certain Ross 1971, Theorem 3.4.

Setting

There are two underlying states: good and bad. The current state is hidden, and P∈[0,1]P\in[0,1]P∈[0,1] is the probability that it is bad at the beginning of a period. Producing without inspection costs zero in the good state and CCC in the bad state, so its expected immediate cost is CPCPCP. A good process becomes bad with probability π\piπ in one period; a bad process remains bad until revision. Thus a period of production without inspection changes the belief to T(P)=P+π−πPT(P)=P+\pi-\pi PT(P)=P+π−πP. These are the conventions of the paper's Section 3 Ross 1971, p. 590.

The other actions are inspection, at cost III, and revision, at cost RRR. Inspection reveals the current state: the next belief is 111 when the state was bad and π\piπ when it was good. Revision returns the process to the good state before its next transition, so the next belief is π\piπ. The standing parameter conditions are 0<β<10<\beta<10<β<1, 0≤π≤10\le\pi\le10≤π≤1, and 0<C<I<R0<C<I<R0<C<I<R; β\betaβ is the discount factor. The paper explicitly assumes C<I<RC<I<RC<I<R and a discount factor in (0,1)(0,1)(0,1). Positive CCC states the intended positive bad-state cost and makes the threshold comparison meaningful Ross 1971, pp. 588, 590.

For a future-cost function WWW, the three Bellman alternatives at belief PPP are CP+βW(TP)CP+\beta W(TP)CP+βW(TP), I+βPW(1)+β(1−P)W(π)I+\beta P W(1)+\beta(1-P)W(\pi)I+βPW(1)+β(1−P)W(π), and R+βW(π)R+\beta W(\pi)R+βW(π). Their minimum defines one step of finite-horizon value iteration, beginning with V0=0V^0=0V0=0. The limit Vβ(P)V_\beta(P)Vβ​(P) is the optimal discounted cost. Write R0R^0R0 for the rule that always produces without inspection, and define its cost from the actual discounted series ψ(P)=∑n=0∞βnCTnP\psi(P)=\sum_{n=0}^{\infty}\beta^n C T^nPψ(P)=∑n=0∞​βnCTnP Ross 1971, equations (3)–(5).

Formalization targets

The first target establishes that value iteration converges on [0,1][0,1][0,1], gives a bounded solution to the two-state Bellman equation, and identifies that solution uniquely among bounded functions. The iterated update and Ross's equation (5) then evaluate the cost of R0R^0R0:

TnP=1−(1−P)(1−π)n,ψ(P)=C1−β−C(1−P)1−β(1−π).T^nP=1-(1-P)(1-\pi)^n,\qquad \psi(P)=\frac{C}{1-\beta}-\frac{C(1-P)}{1-\beta(1-\pi)}.TnP=1−(1−P)(1−π)n,ψ(P)=1−βC​−1−β(1−π)C(1−P)​.

The sensitivity milestones retain the exact finite-horizon factor in Lemma 3.5 and the infinite-horizon bound in Corollary 3.6. In particular, for P1,P2∈[0,1]P_1,P_2\in[0,1]P1​,P2​∈[0,1],

∣Vβ(P1)−Vβ(P2)∣≤C∣P1−P2∣1−β(1−π).|V_\beta(P_1)-V_\beta(P_2)|\le \frac{C|P_1-P_2|}{1-\beta(1-\pi)}.∣Vβ​(P1​)−Vβ​(P2​)∣≤1−β(1−π)C∣P1​−P2​∣​.

The mission goal is both clauses of Theorem 3.4. The always-produce rule is optimal from every initial belief exactly at and above the threshold

R≥C1−β(1−π).R\ge\frac{C}{1-\beta(1-\pi)}.R≥1−β(1−π)C​.

Below that threshold, revision is the unique minimizing action for beliefs sufficiently near 111 from the left Ross 1971, pp. 591–592.

Significance

The theorem gives a parameter test for omitting both inspection and revision from an optimal policy in this model. Its second clause adds a local statement when that test fails: near certain deterioration, merely allowing revision as one optimal choice is insufficient; any optimal choice must revise. The sensitivity bounds quantify the effect of imperfect knowledge of the state and supply continuity of the value function used in the paper's treatment of that neighborhood Ross 1971, Theorem 3.4 and Corollary 3.6.

Ross proved these results in 1971. This mission asks for machine-checked proofs of the paper's exact statements in a concrete two-state discounted model. The reusable formal objects are the belief update, the three-action Bellman operator, finite-horizon values, and the always-produce cost series. The goal and milestones here are open formalization targets; their mathematical status as published theorems is distinct from their proof status in Lean.

Difficulty

The cost of always producing can be computed explicitly, but equality with the optimal value is a global assertion about all beliefs and all three available actions. A comparison at one belief does not certify optimality everywhere. The reverse implication also has to recover a parameter inequality from optimality of a policy, rather than from its immediate cost alone. The strict conclusion near P=1P=1P=1 requires control of the value as the belief varies; pointwise action comparison at P=1P=1P=1 does not itself establish an interval Ross 1971, pp. 591–592.

Formalization scope

The Lean model uses real parameters and a real belief restricted to [0,1][0,1][0,1]. It has three explicit actions and the exact right-hand sides of equation (3). Its value is the limit of iteration from V0=0V^0=0V0=0, so V1=min⁡{CP,I,R}V^1=\min\{CP,I,R\}V1=min{CP,I,R} matches the paper. Convergence, boundedness, and Bellman uniqueness are stated as a milestone. The always-produce cost is the infinite series of actual stage costs, with its closed form reserved for a separate milestone. Consequently, defining the cost by equation (5) cannot make that milestone true by definition.

The discounted-optimality claim for R0R^0R0 means ψ(P)=Vβ(P)\psi(P)=V_\beta(P)ψ(P)=Vβ​(P) for every P∈[0,1]P\in[0,1]P∈[0,1]. The phrase “every optimal policy revises” is represented by revision being strictly cheaper in the Bellman equation than both other actions; this expresses a unique minimizing action for a stationary decision at that belief. “Near 111” means a one-sided neighborhood within [0,1][0,1][0,1]. The second inequality in Corollary 3.6 is stated only when π>0\pi>0π>0, because division by π=0\pi=0π=0 has a default value in Lean. The first inequality and Theorem 3.4 retain the π=0\pi=0π=0 case.

The development needs real series, limits, finite-horizon recursion, elementary inequalities, and bounded fixed-point reasoning. Proofs of the model-specific Bellman equation, cost identity, exact sensitivity bounds, and Theorem 3.4 are welcome. General tools for discounted Bellman operators or real-series identities would also be useful beyond this mission. No policy class is smuggled in as an arbitrary hypothesis: the value and the cost of R0R^0R0 are computed from the model data.

Selected references

  • Sheldon M. Ross, Quality Control under Markovian Deterioration, Management Science 17(9), Theory Series, 587–596, 1971. DOI: 10.1287/mnsc.17.9.587.
8 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Dynamic Pricing and Inventory Control of Substitute Products 3: Optimal Dynamic Prices When the Other Variates Keep Fixed PricesResearch Paper

Motivation

A retailer that sells a line of substitutable products — sizes, colours or models of one item — over a short season without replenishment must decide how to price each variate as inventory runs down. Customers substitute: when one variate is expensive or sold out, part of its demand moves to the others. Dong, Kouvelis and Tian (M&SOM 2009) model this with a multinomial logit (MNL) choice model inside a finite-horizon dynamic program and characterize the optimal prices in closed form up to one scalar equation per period.

Retailers often cannot reprice everything. A common arrangement, described in §5.1.3 of the paper, is mixed pricing: products advertised in a printed catalogue keep their catalogue prices for the season, while products sold only online are repriced dynamically. Proposition 2 of the paper gives the optimal dynamic prices in this setting. It is the third of the paper's three optimal-pricing results, after the full dynamic pricing model (Theorem 1) and unified dynamic pricing with one common price (Proposition 1); each is the subject of its own mission in this series.

Setting

There are nnn variates n={1,…,n}\mathfrak n = \{1,\dots,n\}n={1,…,n} and ttt remaining periods; time counts down. In each period one customer arrives with probability λ∈(0,1]\lambda \in (0,1]λ∈(0,1]. Variate iii has a quality index aia_iai​; the no-purchase option has utility u0u_0u0​; μ>0\mu > 0μ>0 is the MNL scale. The inventory is x∈Nnx \in \mathbb N^nx∈Nn, and the in-stock set is S(x)={i:xi>0}S(x) = \{i : x^i > 0\}S(x)={i:xi>0}. A sold-out variate leaves the choice set.

The variates are split into a dynamic-pricing set n1\mathfrak n_1n1​ and a fixed-pricing set n2=n∖n1\mathfrak n_2 = \mathfrak n \setminus \mathfrak n_1n2​=n∖n1​, where j∈n2j \in \mathfrak n_2j∈n2​ is always sold at its fixed price rj≥0r^j \ge 0rj≥0. Write S1(x)=S(x)∩n1S_1(x) = S(x)\cap\mathfrak n_1S1​(x)=S(x)∩n1​ and S2(x)=S(x)∩n2S_2(x) = S(x)\cap\mathfrak n_2S2​(x)=S(x)∩n2​. Given dynamic prices rir^iri (i∈n1i \in \mathfrak n_1i∈n1​), an arriving customer buys an in-stock variate iii with probability

Pi=e(ai−ri)/μ∑j∈S(x)e(aj−rj)/μ+eu0/μ,P^i = \frac{e^{(a_i - r^i)/\mu}}{\sum_{j\in S(x)} e^{(a_j - r^j)/\mu} + e^{u_0/\mu}},Pi=∑j∈S(x)​e(aj​−rj)/μ+eu0​/μe(ai​−ri)/μ​,

and buys nothing with probability P0P^0P0 (numerator eu0/μe^{u_0/\mu}eu0​/μ). The value function πt(x)\pi_t(x)πt​(x) is the maximum expected revenue from ttt periods with inventory xxx: π0≡0\pi_0 \equiv 0π0​≡0 and

πt(x)=max⁡r∈R+n1{λ∑i∈S(x)riPi+λ∑i∈S(x)Pi πt−1(x−ei)+(λP0+1−λ) πt−1(x)}.\pi_t(x) = \max_{r \in \mathbb R^{n_1}_+}\Big\{\lambda\sum_{i\in S(x)} r^i P^i + \lambda\sum_{i\in S(x)} P^i\,\pi_{t-1}(x-e^i) + (\lambda P^0 + 1-\lambda)\,\pi_{t-1}(x)\Big\}.πt​(x)=r∈R+n1​​max​{λi∈S(x)∑​riPi+λi∈S(x)∑​Piπt−1​(x−ei)+(λP0+1−λ)πt−1​(x)}.

The marginal value of a unit of variate iii is Δiπt(x)=πt(x)−πt(x−ei)\Delta^i\pi_t(x) = \pi_t(x) - \pi_t(x-e^i)Δiπt​(x)=πt​(x)−πt​(x−ei). For a fixed-price variate put vj=rj−Δjπt−1(x)v_j = r^j - \Delta^j\pi_{t-1}(x)vj​=rj−Δjπt−1​(x) and uj=aj−rju_j = a_j - r^juj​=aj​−rj; for the outside option v0=0v_0 = 0v0​=0, and S2+(x)=S2(x)∪{0}S_2^+(x) = S_2(x)\cup\{0\}S2+​(x)=S2​(x)∪{0}.

In Lean the model lives in SubstitutePricing.Mixed.Model: S1, S2, P, P0, objM, piM, deltaM, v, uf, lhs15, rhs15, rstarM.

Formalization targets

Goal: Proposition 2

For every t≥1t \ge 1t≥1 and inventory xxx, the margin equation

∑j∈S2+(x)(mt−vjμ−1)e(mt+uj)/μ=∑i∈S1(x)e(ai−Δiπt−1(x))/μ(15)\sum_{j\in S_2^+(x)}\Big(\frac{m_t - v_j}{\mu} - 1\Big)e^{(m_t+u_j)/\mu} = \sum_{i\in S_1(x)} e^{(a_i - \Delta^i\pi_{t-1}(x))/\mu} \tag{15}j∈S2+​(x)∑​(μmt​−vj​​−1)e(mt​+uj​)/μ=i∈S1​(x)∑​e(ai​−Δiπt−1​(x))/μ(15)

has exactly one solution mt(x)m_t(x)mt​(x); the dynamic prices

rti∗(x)=Δiπt−1(x)+mt(x),i∈S1(x),r^{i*}_t(x) = \Delta^i\pi_{t-1}(x) + m_t(x), \qquad i \in S_1(x),rti∗​(x)=Δiπt−1​(x)+mt​(x),i∈S1​(x),

are allowable and attain the maximum in the optimality equation; and

πt(x)=λ∑s=1t[ms(x)−μ].\pi_t(x) = \lambda\sum_{s=1}^t\big[m_s(x) - \mu\big].πt​(x)=λs=1∑t​[ms​(x)−μ].

Milestones

In the order the paper's proof uses them: the optimality equation rewritten as a price objective plus πt−1\pi_{t-1}πt−1​ (29); the no-purchase and fixed-price probabilities as functions of the dynamic ones (30); strict joint concavity of the objective (31) in the dynamic choice probabilities; the form (32)–(34) of an optimal price vector; the equivalence of (15) with (36) and uniqueness of its root; and the one-period recursion πt−πt−1=λ(mt−μ)\pi_t - \pi_{t-1} = \lambda(m_t - \mu)πt​−πt−1​=λ(mt​−μ).

Significance

The result says that, even with part of the line frozen at catalogue prices, the optimal dynamic prices keep the structure of the full model: every repriced variate earns the same margin mtm_tmt​ over its own marginal value, and one scalar equation per period determines that margin. The fixed-price variates enter (15) in exactly the role of the outside option, each weighted by its own net value vjv_jvj​; when n2=∅\mathfrak n_2 = \emptysetn2​=∅, (15) reduces to the margin equation (10) of Theorem 1. One difference from the full model is that the identity mtPt0∗=μm_t P^{0*}_t = \mumt​Pt0∗​=μ fails here, so the margin is not tied to the no-purchase probability alone. The structure reduces each period's n1n_1n1​-dimensional price optimization to a one-dimensional root and supports the paper's comparison of mixed, unified and full dynamic pricing in §5.

The paper gives a complete proof (Appendix A, pp. 337–338). None of it is formalized: Prove2Me and Mathlib have no MNL pricing dynamic program. The mission produces a machine-checked version of the proof, including the step the paper leaves unchecked (below).

Difficulty

The objective is not concave in prices, so a stationary point in price space is not automatically a maximum, and the obvious first-order argument proves nothing by itself. The fixed-price variates make the coupling worse than in the full model: their purchase probabilities move with every dynamic price, and the identity mtPt0∗=μm_t P^{0*}_t = \mumt​Pt0∗​=μ that pins the margin in Theorem 1 is lost.

The second difficulty is a gap. The price set is R+n1\mathbb R^{n_1}_+R+n1​​, and the proof never checks that the prices Δiπt−1(x)+mt\Delta^i\pi_{t-1}(x) + m_tΔiπt−1​(x)+mt​ are nonnegative. In Theorem 1 this follows from mt>μm_t > \mumt​>μ and Δiπt−1≥0\Delta^i\pi_{t-1}\ge 0Δiπt−1​≥0. Here the left side of (15) is negative for m≤μ+min⁡(0,min⁡jvj)m \le \mu + \min(0, \min_j v_j)m≤μ+min(0,minj​vj​), so mt>0m_t > 0mt​>0 follows once every vj≥−μv_j \ge -\muvj​≥−μ; the paper bounds vjv_jvj​ nowhere. Random search over small instances found no negative optimal price, so the goal is posed as printed. A complete formalization of the goal must close this gap.

Formalization scope

  • Variates are Fin n; the dynamic set is a Finset; inventories are Fin n → ℕ; time counts down with π0=0\pi_0 = 0π0​=0 defined by recursion on t : ℕ. Results are stated for t≥1t \ge 1t≥1.
  • The paper's null price ri=∞r^i = \inftyri=∞ for sold-out variates is modelled by removing them from the choice set, so in-stock prices are finite reals.
  • The no-sale term of (3) is counted once, as (5) and the proofs use it.
  • The value function is sSup over {r:ri≥0, i∈n1}\{r : r^i \ge 0,\ i\in\mathfrak n_1\}{r:ri≥0, i∈n1​}; coordinates outside n1\mathfrak n_1n1​ are ignored. Fixed prices are assumed nonnegative. The goal asserts feasibility of the prices, attainment of the maximum, and the value identity, so it never rests on the value of sSup at an unattained or unbounded set.
  • The root of (15) is quantified as "the unique mmm", not chosen inside a definition; the revenue formula takes the roots msm_sms​ for s=1,…,ts = 1,\dots,ts=1,…,t at the same inventory xxx, as the paper specifies.
  • The case S1(x)=∅S_1(x) = \emptysetS1​(x)=∅ is included: the right side of (15) is 000 and the root is μ+∑jθjvj/(1+Θ)\mu + \sum_j\theta_j v_j/(1+\Theta)μ+∑j​θj​vj​/(1+Θ).
  • The printed (36) has Δjπt\Delta^j\pi_tΔjπt​ where (32) and (37) have Δjπt−1\Delta^j\pi_{t-1}Δjπt−1​; the misprint is not copied.
  • Strict concavity (31) is stated on the open probability domain with the coordinates outside S1(x)S_1(x)S1​(x) pinned to 000.
  • The nonnegativity of the optimal prices is asserted as printed (see Difficulty).

A trivializing formalization — relaxing the price set to Rn1\mathbb R^{n_1}Rn1​, stating the value identity without attainment, or adding a hypothesis that bounds mtm_tmt​ from below — would remove the gap rather than prove the theorem, and is ruled out.

The development needs the MNL choice probabilities, the dynamic program, a strict-concavity argument on an open simplex, and a monotonicity-plus-intermediate-value root lemma. The model file is kept identical, up to the mixed-pricing data, to the files of the other two missions in this series so they can be consolidated. Proofs of any milestone, and in particular an argument closing the nonnegativity gap, are welcome.

Selected references

  • L. Dong, P. Kouvelis, Z. Tian, Dynamic Pricing and Inventory Control of Substitute Products, Manufacturing & Service Operations Management 11(2) (2009) 317–339. https://doi.org/10.1287/msom.1080.0221
  • G. Gallego, G. van Ryzin, A multiproduct dynamic pricing problem and its application to network yield management, Operations Research 45(1) (1997) 24–41. https://doi.org/10.1287/opre.45.1.24
  • W. Hanson, K. Martin, Optimizing multinomial logit profit functions, Management Science 42(7) (1996) 992–1003. https://doi.org/10.1287/mnsc.42.7.992
8 thms3 active usersReviewed
🏆Completed
Computational GeometryOperations ResearchOptimization·Captain: mikedeng1

Economic Lot Sizing: An O(n log n) Algorithm That Runs in Linear Time in the Wagner-Whitin Case 1: The Threshold Rule on Efficient Periods Picks an Optimal Next Production PeriodResearch Paper

Motivation

Economic lot sizing asks how to meet a known sequence of demands while deciding when to set up production and how much to carry forward. It is a basic deterministic inventory problem: a setup has a fixed cost, production has a per-unit cost, and inventory may be held for later demand. Recomputing every possible next production period in the standard backward dynamic program takes a quadratic number of candidate comparisons. Wagelmans, Van Hoesel and Kolen use the geometry of cumulative-demand points to identify which candidates can affect the minimum. Their Section 2 gives the threshold rule targeted here. Wagelmans, Van Hoesel and Kolen (1992)

The paper notes independent related work by Aggarwal and Park and by Federgruen and Tzur. The published Prove2Me items for Federgruen and Tzur formalize a forward recursion and its minimal optimal predecessor lists. They address the same planning problem through different state variables; the backward value and efficient periods of this mission are new objects. Wagelmans, Van Hoesel and Kolen (1992), p. S145

Setting

A planning horizon consists of periods 1,…,n1,\dots,n1,…,n, with n≥1n\ge1n≥1, and an extra terminal period n+1n+1n+1. In period iii, a known demand di≥0d_i\ge0di​≥0 must be met without backlogging. The final demand is positive, dn>0d_n>0dn​>0; a trailing zero-demand period could otherwise be deleted. A production setup costs fi≥0f_i\ge0fi​≥0, and every unit produced in that period has a marginal cost ci∈Rc_i\in\mathbb Rci​∈R. The sign of cic_ici​ is unrestricted. Holding costs have been absorbed into these transformed marginal costs, as in Section 1 of the paper. Define the remaining demand D(t)=∑j=tndjD(t)=\sum_{j=t}^{n}d_jD(t)=∑j=tn​dj​, with D(n+1)=0D(n+1)=0D(n+1)=0. If production at iii covers demand until the next production period ttt, then D(i)−D(t)D(i)-D(t)D(i)−D(t) units are produced. Wagelmans, Van Hoesel and Kolen (1992), pp. S146–S147

The backward value G(t)G(t)G(t) starts at G(n+1)=0G(n+1)=0G(n+1)=0 and follows Equation (1). At positive demand, it minimizes fi+ci[D(i)−D(t)]+G(t)f_i+c_i[D(i)-D(t)]+G(t)fi​+ci​[D(i)−D(t)]+G(t) over i<t≤n+1i<t\le n+1i<t≤n+1. When di=0d_i=0di​=0, skipping setup and using G(i+1)G(i+1)G(i+1) is an additional choice. The paper identifies G(t)G(t)G(t) with the optimal cost from ttt onward using the cited zero-inventory property. This mission takes Equation (1) as the definition of GGG; it does not formalize the separate equivalence with the original production-plan formulations. Wagelmans, Van Hoesel and Kolen (1992), p. S147

For a fixed iii, plot the finite points (D(t),G(t))(D(t),G(t))(D(t),G(t)) for i<t≤n+1i<t\le n+1i<t≤n+1. Their lower convex envelope is a piecewise linear graph. Its endpoints and places where its slope changes are breakpoints; the corresponding period indexes form the efficient set EiE_iEi​. Write succ⁡i(t)\operatorname{succ}_i(t)succi​(t) for the next larger index in EiE_iEi​. The consecutive-point ratio is ri(t)=[G(t)−G(succ⁡i(t))]/[D(t)−D(succ⁡i(t))]r_i(t)=[G(t)-G(\operatorname{succ}_i(t))]/[D(t)-D(\operatorname{succ}_i(t))]ri​(t)=[G(t)−G(succi​(t))]/[D(t)−D(succi​(t))]. These objects have no optimization over production policies hidden in their definitions. Wagelmans, Van Hoesel and Kolen (1992), pp. S147–S150

Formalization targets

Efficient candidates

Proposition 1 says every candidate outside EiE_iEi​ can be removed without changing the minimum:

min⁡i<t≤n+1{ci[D(i)−D(t)]+G(t)}=min⁡t∈Ei{ci[D(i)−D(t)]+G(t)}.\min_{i<t\le n+1}\{c_i[D(i)-D(t)]+G(t)\}=\min_{t\in E_i}\{c_i[D(i)-D(t)]+G(t)\}.i<t≤n+1min​{ci​[D(i)−D(t)]+G(t)}=t∈Ei​min​{ci​[D(i)−D(t)]+G(t)}.

The endpoint and slope claims establish the geometry used in this reduction. Proposition 2 compares neighboring efficient periods using ri(t)r_i(t)ri​(t) and cic_ici​. Wagelmans, Van Hoesel and Kolen (1992), pp. S147–S149

Threshold rule and backward value

The selected period is the first efficient index whose ratio falls below the current marginal cost, with the terminal period as fallback:

q(i)=min⁡({n+1}∪{t∈Ei:t<n+1, ri(t)<ci}).q(i)=\min\bigl(\{n+1\}\cup\{t\in E_i:t<n+1,\ r_i(t)<c_i\}\bigr).q(i)=min({n+1}∪{t∈Ei​:t<n+1, ri​(t)<ci​}).

The goal asserts that the full candidate minimum is attained there and that the algorithm's resulting assignment equals G(i)G(i)G(i):

min⁡i<t≤n+1{ci[D(i)−D(t)]+G(t)}=ci[D(i)−D(q(i))]+G(q(i)),\min_{i<t\le n+1}\{c_i[D(i)-D(t)]+G(t)\}=c_i[D(i)-D(q(i))]+G(q(i)),i<t≤n+1min​{ci​[D(i)−D(t)]+G(t)}=ci​[D(i)−D(q(i))]+G(q(i)), G(i)={fi+ci[D(i)−D(q(i))]+G(q(i)),di>0,min⁡{G(i+1),fi+ci[D(i)−D(q(i))]+G(q(i))},di=0.G(i)=\begin{cases}f_i+c_i[D(i)-D(q(i))]+G(q(i)),&d_i>0,\\ \min\{G(i+1),f_i+c_i[D(i)-D(q(i))]+G(q(i))\},&d_i=0.\end{cases}G(i)={fi​+ci​[D(i)−D(q(i))]+G(q(i)),min{G(i+1),fi​+ci​[D(i)−D(q(i))]+G(q(i))},​di​>0,di​=0.​

This states the mathematical choice and value; it does not assert a time bound. Wagelmans, Van Hoesel and Kolen (1992), pp. S149–S150

Significance

The result reduces a finite dynamic-programming minimum to the vertices of a lower envelope and gives an explicit threshold for choosing a minimizing vertex. It explains which future production period the backward recursion may select even when marginal costs are negative or some intermediate demands are zero. The paper uses ordered slopes to implement the selection efficiently; a solver proving the statements here establishes the mathematical correctness of that selection independently of a particular list representation. Wagelmans, Van Hoesel and Kolen (1992), pp. S148–S150

The paper's result is proved in print. The Lean statements are open proof obligations in this proposal. A complete development would add reusable finite lower-envelope facts, including vertex dominance and the order of adjacent slopes, as well as a machine-checked treatment of the zero-demand tie convention. The previously published forward-algorithm items do not supply these backward-recursion facts.

Difficulty

A candidate point can have a smaller value G(t)G(t)G(t) than a neighboring point yet still fail to minimize ci[D(i)−D(t)]+G(t)c_i[D(i)-D(t)]+G(t)ci​[D(i)−D(t)]+G(t) for a given cic_ici​. Comparing raw values alone therefore cannot identify the selected period. The lower envelope must retain exactly the points that can support a line of slope cic_ici​, and their consecutive ratios must be ordered. Zero demand creates repeated abscissae; without a representative rule, a ratio may have denominator zero and the successor is ambiguous. Wagelmans, Van Hoesel and Kolen (1992), pp. S147–S150

Formalization scope

Periods are natural numbers starting at 111; n+1n+1n+1 is the terminal sentinel. Demands, setup costs, marginal costs and values are real numbers. Finite minima use attained Finset.inf', with nonempty domains. The effective score omits the common setup cost fif_ifi​. No sign restriction is imposed on cic_ici​. The efficient set is determined by a finite chord test for lower-envelope vertices: points on a chord are excluded, and at identical abscissa and height the earliest period is retained. This makes explicit the paper's zero-demand replacement convention on p. S150. The successor is used only on nonsentinel efficient periods; there its denominator is positive. Wagelmans, Van Hoesel and Kolen (1992), pp. S147–S150

The algorithm's printed Iterations use d1nd_{1n}d1n​ where dind_{in}din​ is required; the Lean statement uses D(i)−D(q(i))=di,q(i)−1D(i)-D(q(i))=d_{i,q(i)-1}D(i)−D(q(i))=di,q(i)−1​, matching the preceding display and the numerical table. The zero-demand branch explicitly includes skipping setup. The selector is the ratio-threshold rule, rather than an argmin, and the efficient set is the actual lower-envelope vertex set rather than all periods. A finite zero-demand example and Tables I–II are used as verification data. The paper's O(nlog⁡n)O(n\log n)O(nlogn) bound, the binary-search implementation, the amortized list updates, the O(n)O(n)O(n) Wagner–Whitin specialization and the final production-plan construction are outside this mission: they require additional algorithm-state and cost-model statements. Wagelmans, Van Hoesel and Kolen (1992), pp. S149–S152

Selected references

  • A. Wagelmans, S. Van Hoesel and A. Kolen, Economic Lot Sizing: An O(n log n) Algorithm That Runs in Linear Time in the Wagner-Whitin Case, Operations Research 40, Supplement 1 (1992), S145–S156. DOI: 10.1287/opre.40.1.S145
8 thms3 active usersReviewed
🏆Completed
Numerical AnalysisOperations Research·Captain: mikedeng1

Modified Policy Iteration Algorithms for Discounted Markov Decision Problems: From Bv₀ ≥ 0, Order-k Iterates Satisfy ‖v* − v_{n+1}‖ ≤ min{λ, λ(1−λᵏ)/(1−λ)‖P_n − P*‖ + λ^{k+1}}‖v_n − v*‖Research Paper

Motivation

Discounted Markov decision problems are solved in practice by two classical schemes. Value iteration (successive approximations) is cheap per step but contracts the error only by the discount factor λ\lambdaλ per step, which is slow when λ\lambdaλ is close to 111. Policy iteration (Howard, 1960) converges in few steps, but each step solves a linear system for the value of the current policy. Puterman and Brumelle (Mathematics of Operations Research, 1979) showed that policy iteration is Newton's method applied to the optimality equation.

Puterman and Shin (Management Science 24, 1978) interpolated between the two schemes: replace the exact policy evaluation by k+1k+1k+1 steps of successive approximation. This is modified policy iteration of order kkk. For k=0k=0k=0 it is value iteration; as k→∞k\to\inftyk→∞ it approaches policy iteration. The paper proves that every order converges and bounds its rate. The scheme remains a standard algorithm in dynamic programming (Puterman, Markov Decision Processes, Wiley 1994, §6.5), and it appears in reinforcement learning as "optimistic" or "generalized" policy iteration.

Timeline. Howard (1960): policy iteration for finite problems. Puterman–Brumelle (1979, circulated earlier): policy iteration as Newton–Kantorovich iteration, and the support inequality for the optimality operator. van Nunen (1976) and van Nunen–Wessels: convergence of related value-oriented methods in a different framework. Puterman–Shin (1978): convergence of modified policy iteration of every order from a starting point with Bv0≥0Bv_0\ge 0Bv0​≥0, and the rate bound formalized here.

Setting

SSS is a set of states with a σ\sigmaσ-algebra. A family P\mathcal PP of policies is given. Each P∈PP\in\mathcal PP∈P is a transition operator: a Markov kernel assigning to each state sss a probability distribution P(s,⋅)P(s,\cdot)P(s,⋅) on SSS. Each policy also has a one-period reward cP:S→Rc_P:S\to\mathbb RcP​:S→R, and the rewards are uniformly bounded: sup⁡Psup⁡s∣cP(s)∣≤M<∞\sup_P\sup_s|c_P(s)|\le M<\inftysupP​sups​∣cP​(s)∣≤M<∞. The discount rate satisfies 0≤λ<10\le\lambda<10≤λ<1.

VVV is the Banach space of bounded measurable functions v:S→Rv:S\to\mathbb Rv:S→R with ∥v∥=sup⁡s∣v(s)∣\|v\|=\sup_s|v(s)|∥v∥=sups​∣v(s)∣. A kernel acts on VVV by (Pv)(s)=∫v(t) P(s,dt)(Pv)(s)=\int v(t)\,P(s,dt)(Pv)(s)=∫v(t)P(s,dt). For linear AAA on VVV, ∥A∥=sup⁡∥x∥≤1∥Ax∥\|A\|=\sup_{\|x\|\le 1}\|Ax\|∥A∥=sup∥x∥≤1​∥Ax∥.

The optimality equation is

Bv≡max⁡P∈P{cP+(λP−I)v}=0.(1)Bv\equiv\max_{P\in\mathcal P}\{c_P+(\lambda P-I)v\}=0. \tag{1}Bv≡P∈Pmax​{cP​+(λP−I)v}=0.(1)

The paper assumes throughout that the maximum in (1) is attained for every v∈Vv\in Vv∈V, by a single policy PvP_vPv​ at every state.

For k≥0k\ge 0k≥0, the truncated Neumann series is APk=∑i=0k(λP)iA^k_P=\sum_{i=0}^k(\lambda P)^iAPk​=∑i=0k​(λP)i. Modified policy iteration of order kkk runs the recursion

vn+1=vn+APnkBvn,(4)v_{n+1}=v_n+A^k_{P_n}Bv_n, \tag{4}vn+1​=vn​+APn​k​Bvn​,(4)

where PnP_nPn​ attains the maximum in (1) at vnv_nvn​. A solution v∗∈Vv^*\in Vv∗∈V of Bv∗=0Bv^*=0Bv∗=0 exists and is unique. P∗=Pv∗P^*=P_{v^*}P∗=Pv∗​ denotes a policy attaining the maximum at v∗v^*v∗. The proofs also use the operators Ukv=max⁡P{∑i=0k(λP)icP+(λP)k+1v}U^kv=\max_P\{\sum_{i=0}^k(\lambda P)^ic_P+(\lambda P)^{k+1}v\}Ukv=maxP​{∑i=0k​(λP)icP​+(λP)k+1v} and the set VB={v∈V:Bv≥0}V_B=\{v\in V:Bv\ge 0\}VB​={v∈V:Bv≥0}.

Formalization targets

Goal: Theorem 2, bound (8)

If v0∈Vv_0\in Vv0​∈V and Bv0≥0Bv_0\ge 0Bv0​≥0, then for every nnn

∥v∗−vn+1∥ ≤ min⁡{λ, λ[1−λk]1−λ ∥Pn−P∗∥+λk+1} ∥vn−v∗∥.(8)\|v^*-v_{n+1}\|\ \le\ \min\Big\{\lambda,\ \frac{\lambda[1-\lambda^k]}{1-\lambda}\,\|P_n-P^*\|+\lambda^{k+1}\Big\}\,\|v_n-v^*\|. \tag{8}∥v∗−vn+1​∥ ≤ min{λ, 1−λλ[1−λk]​∥Pn​−P∗∥+λk+1}∥vn​−v∗∥.(8)

Milestones

  1. The support inequality (7): Bw≥Bv+(λPv−I)(w−v)Bw\ge Bv+(\lambda P_v-I)(w-v)Bw≥Bv+(λPv​−I)(w−v) for all v,w∈Vv,w\in Vv,w∈V.
  2. Lemma 1: UkU^kUk is a contraction with constant λk+1\lambda^{k+1}λk+1.
  3. Lemma 2: UkU^kUk-iteration converges geometrically to the unique fixed point of UkU^kUk, and this fixed point solves Bu=0Bu=0Bu=0.
  4. Lemma 3: Uku≥(I+AkB)vU^ku\ge(I+A^kB)vUku≥(I+AkB)v for u≥vu\ge vu≥v, and (I+AkB)u≥U0v(I+A^kB)u\ge U^0v(I+AkB)u≥U0v if in addition Bu≥0Bu\ge 0Bu≥0.
  5. Lemma 4: VBV_BVB​ is invariant under I+AkBI+A^kBI+AkB.
  6. Theorem 1: from Bv0≥0Bv_0\ge 0Bv0​≥0, {vn}\{v_n\}{vn​} converges monotonically and in norm to v∗v^*v∗.
  7. Corollary 1: (U0)nv0≤vn≤(Uk)nv0(U^0)^nv_0\le v_n\le (U^k)^nv_0(U0)nv0​≤vn​≤(Uk)nv0​.
  8. The two halves of (8): inequality (9), ∥v∗−vn+1∥≤(λ[1−λk]1−λ∥Pn−P∗∥+λk+1)∥v∗−vn∥\|v^*-v_{n+1}\|\le(\tfrac{\lambda[1-\lambda^k]}{1-\lambda}\|P_n-P^*\|+\lambda^{k+1})\|v^*-v_n\|∥v∗−vn+1​∥≤(1−λλ[1−λk]​∥Pn​−P∗∥+λk+1)∥v∗−vn​∥, and ∥v∗−vn+1∥≤λ∥v∗−vn∥\|v^*-v_{n+1}\|\le\lambda\|v^*-v_n\|∥v∗−vn+1​∥≤λ∥v∗−vn​∥.

The mission also contains four further theorems that are not milestones: Corollary 2 (asymptotic rate at most λk+1\lambda^{k+1}λk+1 when ∥Pn−P∗∥→0\|P_n-P^*\|\to 0∥Pn​−P∗∥→0), Proposition 2 (monotonicity in the order kkk), the representation (6) vn+1=Tnk+1vnv_{n+1}=T_n^{k+1}v_nvn+1​=Tnk+1​vn​, and Proposition 1 (policy iteration as Newton's method).

Significance

The result. Bound (8) gives two guarantees. Every order of modified policy iteration converges at least as fast as value iteration, with factor λ\lambdaλ per step. Once the improving policies stabilize near an optimal one, the factor approaches λk+1\lambda^{k+1}λk+1, the factor of k+1k+1k+1 value-iteration steps. This justifies spending kkk cheap evaluation sweeps per policy improvement instead of solving a linear system. It also underlies the analysis of the many later variants: action elimination, asynchronous and approximate versions, and optimistic policy iteration in reinforcement learning.

Formalizing it. The theorems are proved on paper. As far as the platform's library shows, none of them is machine-checked: existing items cover value iteration and exact policy iteration for finite state spaces. This mission formalizes the whole chain on general measurable state spaces with Markov kernels, including the support inequality and the comparison operators UkU^kUk. Corollary 2 is stated as an upper bound only, because the equality printed on the page fails in degenerate runs (see the item's note).

Difficulty

The obvious route to a rate is the contraction argument for value iteration: U0U^0U0 is monotone and a λ\lambdaλ-contraction, so its iterates converge geometrically. For k≥1k\ge1k≥1 that argument does not transfer to the map vn↦vn+APnkBvnv_n\mapsto v_n+A^k_{P_n}Bv_nvn​↦vn​+APn​k​Bvn​. The truncated series is taken for the policy chosen at the current point, so the map changes with vnv_nvn​, and it is not monotone in general. The van der Wal–van Nunen example on p. 1133 of the paper shows that iterates of a higher order need not dominate those of a lower order from the same start. Moreover, without the condition Bv0≥0Bv_0\ge0Bv0​≥0 the iterates need not even increase. A rate for (4) is therefore not a corollary of a fixed-point theorem for a single operator.

Formally, a second layer of difficulty is the setting itself. Everything happens in the space of bounded measurable functions on a general measurable space. So every operator applied to an iterate must be shown to preserve boundedness and measurability, and the maxima over policies are suprema over an arbitrary index set.

Formalization scope

The Lean development (namespace ModPolicyIter.Conv) represents:

  • the policies as an index type ι\iotaι, policy iii being a Markov kernel P i : Kernel S S with a measurable reward c i, ∣ci∣≤M|c_i|\le M∣ci​∣≤M;
  • VVV by the predicate IsBM (measurable and bounded), with supNorm v = ⨆ s, |v s|;
  • PivP_ivPi​v as the Bochner integral against Pi(s,⋅)P_i(s,\cdot)Pi​(s,⋅);
  • BBB and UkU^kUk as pointwise real suprema over ι\iotaι;
  • ∥Pi−Pj∥\|P_i-P_j\|∥Pi​−Pj​∥ as the supremum of ∥(Pi−Pj)x∥\|(P_i-P_j)x\|∥(Pi​−Pj​)x∥ over the unit ball of VVV.

The standing assumptions of §2 are carried by the model fields; items using a maximizer assume either global attainment (MaxAttained) or an explicit maximizing policy. A run of (4) is a sequence of functions paired with a sequence of policies, each policy a maximizer at the current iterate. Only v0∈Vv_0\in Vv0​∈V is assumed; that later iterates lie in VVV is part of the proofs.

Deviations from the page, all disclosed in the items:

  1. Theorem 2 and its companions assume Bv0≥0Bv_0\ge0Bv0​≥0, the hypothesis of Theorem 1, which the proof of Theorem 2 invokes.
  2. Lemmas 1–2 and Corollary 1 assume that UkU^kUk maps VVV into VVV. This is implicit on the page, and for k=0k=0k=0 it follows from attainment. Lemma 1 states this mapping property alongside the contraction inequality.
  3. The paper's P=∏sPs\mathcal P=\prod_s\mathcal P_sP=∏s​Ps​ is generalized to an arbitrary index set.
  4. Corollary 2 is stated as an upper bound.

The goal must not be trivialized by assuming vn≤v∗v_n\le v^*vn​≤v∗, the support inequality, the sandwich of Corollary 1, or anything about UkU^kUk. These are milestones to be proved, and none of them is a hypothesis of the goal.

Reusable infrastructure includes Markov kernels as operators on bounded measurable functions (positivity, ∥P∥≤1\|P\|\le1∥P∥≤1, measurability of PvPvPv), completeness of VVV, and the Banach fixed point theorem on VVV. The first of these serves any discounted dynamic-programming mission on general state spaces. Contributions of any milestone, or of helper lemmas about these operators, are welcome.

Selected references

  • M. L. Puterman and M. C. Shin, Modified policy iteration algorithms for discounted Markov decision problems, Management Science 24(11):1127–1137, 1978. https://doi.org/10.1287/mnsc.24.11.1127
  • M. L. Puterman and S. L. Brumelle, On the convergence of policy iteration in stationary dynamic programming, Mathematics of Operations Research 4(1):60–69, 1979. https://doi.org/10.1287/moor.4.1.60
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • J. A. E. E. van Nunen, A set of successive approximation methods for discounted Markovian decision problems, Zeitschrift für Operations Research 20:203–208, 1976.
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
12 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Contraction Mappings in the Theory Underlying Dynamic Programming 2: Under N-Stage Contraction and Monotonicity the Optimal Return Is the Unique Fixed Point of the Maximization OperatorResearch Paper

Motivation

Infinite-horizon dynamic programs, including discounted Markov decision processes, stochastic games and semi-Markov models, are usually analysed through a single equation: the optimal return fff solves the optimality equation v=Avv = Avv=Av, where AAA maximizes the one-step return over decisions. Denardo's 1967 paper (SIAM Review 9(2), 165–177) separated the argument from the particular model. It isolated two properties of an abstract return hhh, contraction and monotonicity, and showed that the standard conclusions follow from them alone. The examples of §8 of the paper cover Howard's discounted model, Shapley's stochastic games and Blackwell's, Jewell's and Fox's models.

The plain contraction assumption (each one-step operator shrinks distances by a factor c<1c<1c<1) fails in models where the process stops only from a subset of states, or where discounting acts only after several transitions. §5 of the paper handles these with the N-stage contraction assumption: only NNN steps of a policy need to contract, while one step only needs to be nonexpansive. This mission formalizes that section. Its companion mission (part 1 of the series) formalizes the plain contraction case.

Timeline:

  • 1953: Shapley proves that the value of a discounted stochastic game is the fixed point of a contraction.
  • 1960: Howard introduces policy iteration for finite discounted Markov decision processes.
  • 1962–1965: Blackwell studies discrete and discounted dynamic programming, including the existence of optimal stationary policies.
  • 1967: Denardo, in this paper, states the contraction and monotonicity assumptions for an abstract return and proves Theorems 1–4.
  • 1977: Bertsekas, "Monotone mappings with application in dynamic programming", drops contraction and keeps only monotonicity.

Setting

Let Ω\OmegaΩ be a set of points. Each point xxx has a decision set DxD_xDx​. A policy δ\deltaδ picks a decision δx∈Dx\delta_x\in D_xδx​∈Dx​ at every point, so the policy space is Δ=×x∈ΩDx\Delta=\times_{x\in\Omega}D_xΔ=×x∈Ω​Dx​. Let VVV be the bounded real functions on Ω\OmegaΩ with the metric ρ(u,v)=sup⁡x∣u(x)−v(x)∣\rho(u,v)=\sup_x|u(x)-v(x)|ρ(u,v)=supx​∣u(x)−v(x)∣; VVV is complete. Write u≥vu\ge vu≥v when u(x)≥v(x)u(x)\ge v(x)u(x)≥v(x) for every xxx.

The return hhh assigns a real number h(x,dx,v)h(x,d_x,v)h(x,dx​,v) to each point xxx, decision dx∈Dxd_x\in D_xdx​∈Dx​ and v∈Vv\in Vv∈V. It defines two kinds of operators on VVV:

[Hδv](x)=h(x,δx,v),(Av)(x)=sup⁡dx∈Dxh(x,dx,v),[H_\delta v](x)=h(x,\delta_x,v),\qquad (Av)(x)=\sup_{d_x\in D_x}h(x,d_x,v),[Hδ​v](x)=h(x,δx​,v),(Av)(x)=dx​∈Dx​sup​h(x,dx​,v),

and both are assumed to map VVV into VVV. An operator BBB on VVV has modulus ccc or less when ρ(Bu,Bv)≤c ρ(u,v)\rho(Bu,Bv)\le c\,\rho(u,v)ρ(Bu,Bv)≤cρ(u,v) for all u,vu,vu,v.

  • Monotonicity assumption: if u≥vu\ge vu≥v then Hδu≥HδvH_\delta u\ge H_\delta vHδ​u≥Hδ​v for every δ\deltaδ.
  • N-stage contraction assumption: for a positive integer NNN and a number c<1c<1c<1, both independent of δ\deltaδ, every HδNH_\delta^NHδN​ has modulus ccc or less and every HδH_\deltaHδ​ has modulus 111 or less.

Under these assumptions HδNH_\delta^NHδN​ is a contraction, so it has a unique fixed point vδv_\deltavδ​, the return function of δ\deltaδ. The optimal return is f(x)=sup⁡δvδ(x)f(x)=\sup_\delta v_\delta(x)f(x)=supδ​vδ​(x). The auxiliary operator EEE is (Ev)(x)=sup⁡δ(HδNv)(x)(Ev)(x)=\sup_\delta(H_\delta^Nv)(x)(Ev)(x)=supδ​(HδN​v)(x).

Formalization targets

Goal: Theorem 4 (p. 169)

Under the monotonicity and N-stage contraction assumptions:

(a) Hδvδ=vδ and vδ is the only fixed point of Hδ;(b) ρ(vδ,v)≤ρ(Hδv,v) N1−c;\text{(a) } H_\delta v_\delta=v_\delta \text{ and } v_\delta \text{ is the only fixed point of } H_\delta;\qquad \text{(b) } \rho(v_\delta,v)\le\frac{\rho(H_\delta v,v)\,N}{1-c};(a) Hδ​vδ​=vδ​ and vδ​ is the only fixed point of Hδ​;(b) ρ(vδ​,v)≤1−cρ(Hδ​v,v)N​; (c) E has modulus c or less;(d) f∈V, Ef=f, Af=f,  and f is the only fixed point of E and of A;\text{(c) } E \text{ has modulus } c \text{ or less};\qquad \text{(d) } f\in V,\ Ef=f,\ Af=f,\ \text{ and } f \text{ is the only fixed point of } E \text{ and of } A;(c) E has modulus c or less;(d) f∈V, Ef=f, Af=f,  and f is the only fixed point of E and of A; (e) v≤f ⟹ ρ(ANv,f)≤c ρ(v,f).\text{(e) } v\le f\ \Longrightarrow\ \rho(A^Nv,f)\le c\,\rho(v,f).(e) v≤f ⟹ ρ(ANv,f)≤cρ(v,f).

Milestones

  1. The observation at the end of §3 (p. 168): if every operator in a nonempty family has modulus ccc or less, then their pointwise supremum has modulus ccc or less, provided it maps VVV into VVV.
  2. Lemma 1 (p. 168): under monotonicity, AAA is monotone; Av≥vAv\ge vAv≥v implies that AnvA^nvAnv is nondecreasing in nnn; Hδv≥vH_\delta v\ge vHδ​v≥v implies that HδnvH_\delta^nvHδn​v is nondecreasing in nnn.
  3. Theorem 4 (a)–(c), the part the paper proves in the text of §5 before stating the theorem. This milestone also includes the existence of EEE as an operator on VVV and f∈Vf\in Vf∈V.
  4. Lemma 2 (p. 169): Av≤vAv\le vAv≤v implies v≥fv\ge fv≥f, and Av≥vAv\ge vAv≥v implies v≤fv\le fv≤f; Avδ≥vδAv_\delta\ge v_\deltaAvδ​≥vδ​; Hδv≥vH_\delta v\ge vHδ​v≥v implies vδ≥Hδvv_\delta\ge H_\delta vvδ​≥Hδ​v.

The mission also contains two consequences that are not milestones: fff is optimal for the mathematical programs min⁡v\min vminv s.t. Av≤vAv\le vAv≤v and max⁡v\max vmaxv s.t. Av≥vAv\ge vAv≥v (§6, p. 171), and a policy is optimal exactly when it attains f(x)=h(x,δx,f)f(x)=h(x,\delta_x,f)f(x)=h(x,δx​,f) at every point (§7, p. 173).

Significance

Theorem 4 lets models whose one-step operators are not contractions use the contraction-mapping theory of dynamic programming. Under its hypotheses the optimality equation v=Avv=Avv=Av has exactly one bounded solution, and that solution is the optimal return. Successive approximation converges geometrically from below (part (e)). Lemma 2 shows that fff is the least vvv with Av≤vAv\le vAv≤v and the greatest vvv with Av≥vAv\ge vAv≥v. This gives the linear-programming formulation of finite Markov decision processes (Program I) and the policy-improvement argument of §6. The characterization Δ∗=Δ+\Delta^*=\Delta^+Δ∗=Δ+ reduces the search for optimal policies to the decisions that attain the maximum in the optimality equation.

The results are proved in the paper. The work of this mission is to formalize them, in the abstract form that Mathlib does not have: monotone operators on bounded functions that are contractive only after NNN steps, with suprema taken over arbitrary, possibly infinite, decision and policy sets. No machine-checked proof of Theorem 4 or of Lemma 2 is known. The closest formal statements, Propositions 4.1–4.2 of Bertsekas and Shreve under their Assumption C, concern a different model (extended-real costs, nonstationary policies) and are themselves unproved formally.

Difficulty

The obvious argument would apply the Banach fixed-point theorem to AAA. That does not work: under the N-stage assumption, ANA^NAN need not be a contraction. The paper gives an example (p. 170) with N=2N=2N=2, c=12c=\tfrac12c=21​, where AnA^nAn has modulus 111 for every nnn. The supremum over decisions does not commute with composition, so the contraction of each HδNH_\delta^NHδN​ says nothing directly about ANA^NAN. The paper therefore works through the auxiliary operator EEE, which is a contraction. The hard step is to show that fff, the supremum of the policy returns, is a fixed point of AAA. This is the second half of Lemma 2(a), an ε\varepsilonε-argument that uses both monotonicity and the modulus-111 bound on HδH_\deltaHδ​.

Part (e) holds only for v≤fv\le fv≤f. It is not a contraction property of ANA^NAN on all of VVV.

Formalization scope

  • VVV is lp (fun _ : Ω => ℝ) ⊤ (as BFun Ω), and its dist is ρ\rhoρ. The order is pointwise (PLe).
  • HHH, AAA and EEE are given as functions V→VV\to VV→V, which is the paper's "range contained in VVV". They are tied to hhh by IsPolicyOperator, IsMaxOperator and IsNStageSupOperator. Every supremum, including fff (IsOptimalReturn), is a genuine least upper bound (IsLUB). sSup/⨆ are never used, so no junk value can make a statement trivial.
  • "Modulus ccc or less" is the inequality ModulusLE B c. NStageContractionAssumption H N c holds 0<N0<N0<N, c<1c<1c<1, ModulusLE (H δ)^[N] c and ModulusLE (H δ) 1, with NNN and ccc independent of δ\deltaδ.
  • The return functions are a family v with HδNvδ=vδH_\delta^Nv_\delta=v_\deltaHδN​vδ​=vδ​, the paper's §5 definition. Hδvδ=vδH_\delta v_\delta=v_\deltaHδ​vδ​=vδ​ is the conclusion (a), never a hypothesis.
  • In the goal, EEE is an operator with IsNStageSupOperator H N E. The milestone Theorem 4 (a)–(c) proves that such an operator exists. fff is never defined as a fixed point of AAA or EEE. The goal asserts that the pointwise least upper bound of {vδ(x)}\{v_\delta(x)\}{vδ​(x)} exists in VVV and is the unique fixed point of both.
  • The trivializing formalizations are ruled out explicitly: assuming Hδvδ=vδH_\delta v_\delta=v_\deltaHδ​vδ​=vδ​, defining fff as AAA's fixed point, or dropping v≤fv\le fv≤f from (e) would each change the theorem.

A complete development needs the Banach fixed-point theorem for iterates (Mathlib's ContractingWith, applied to HδNH_\delta^NHδN​), suprema of families of real numbers, and induction on iterates. The §3 observation and Lemma 1 are reusable for any monotone operator family on bounded functions. Contributions to every milestone and to the two §6–§7 consequences are welcome.

Selected references

  • E. V. Denardo, Contraction Mappings in the Theory Underlying Dynamic Programming, SIAM Review 9(2) (1967) 165–177. https://doi.org/10.1137/1009030
  • L. S. Shapley, Stochastic Games, Proc. Nat. Acad. Sci. 39 (1953) 1095–1100. https://doi.org/10.1073/pnas.39.10.1095
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • D. Blackwell, Discounted Dynamic Programming, Ann. Math. Statist. 36 (1965) 226–235. https://doi.org/10.1214/aoms/1177700285
  • D. P. Bertsekas, Monotone Mappings with Application in Dynamic Programming, SIAM J. Control Optim. 15(3) (1977) 438–464. https://doi.org/10.1137/0315031
7 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Coordinating Inventory Control and Pricing Strategies with Random Demand and Fixed Ordering Cost: The Finite Horizon Case 2: General Demand: Sym-k-Concave Profit-to-Go, Optimal (s, S, A, p) PolicyResearch Paper

Motivation

A seller with replenishable inventory must decide how much to order and what price to charge before demand is known. A price that increases current revenue can also change the inventory left for later periods; a fixed charge for placing any positive order adds a discontinuity to the decision. Chen and Simchi-Levi study this coordination problem over a finite horizon with backlogging and random, price-dependent demand. Their general-demand result characterizes an optimal order-and-price policy even when a conventional two-threshold ordering rule can fail. The paper gives explicit counterexamples to ordinary kkk-concavity and to optimality of a standard (s,S,p)(s,S,p)(s,S,p) policy in this setting (Chen and Simchi-Levi, 2004, §4, Lemmas 3–4).

Setting

There are periods t=1,…,Tt=1,\ldots,Tt=1,…,T. At the start of period ttt, the firm has inventory xxx, which may be negative because unmet demand is backlogged. It may order to any level y≥xy\ge xy≥x. If y>xy>xy>x, it pays a fixed ordering cost kkk as well as a variable cost ct(y−x)c_t(y-x)ct​(y−x). After ordering it chooses an expected demand level ddd in a closed interval [d‾t,d‾t][\underline d_t,\overline d_t][d​t​,dt​]. The corresponding price is Pt(d)P_t(d)Pt​(d), the inverse of the period's decreasing demand curve, and expected revenue is Rt(d)=dPt(d)R_t(d)=dP_t(d)Rt​(d)=dPt​(d).

Actual demand is αtd+βt\alpha_t d+\beta_tαt​d+βt​. The random pair (αt,βt)(\alpha_t,\beta_t)(αt​,βt​) has a period-dependent law μt\mu_tμt​, with E[αt]=1\mathbb E[\alpha_t]=1E[αt​]=1 and E[βt]=0\mathbb E[\beta_t]=0E[βt​]=0. No sign restriction is placed on αt\alpha_tαt​ in the paper's general model. The inventory after demand is y−αtd−βty-\alpha_t d-\beta_ty−αt​d−βt​, incurring a convex holding or backlog cost hth_tht​ and entering the next period. The paper assumes the random perturbations are independent across periods. Its Bellman equation uses their individual period laws (Chen and Simchi-Levi, 2004, §2, Assumptions 1–5).

The profit-to-go vt(x)v_t(x)vt​(x) starts with vT+1(x)=0v_{T+1}(x)=0vT+1​(x)=0. For a post-order inventory yyy and expected demand ddd, write

gt(y,d)=Rt(d)−cty+E[−ht(y−αtd−βt)+vt+1(y−αtd−βt)].g_t(y,d)=R_t(d)-c_ty+\mathbb E[-h_t(y-\alpha_t d-\beta_t)+v_{t+1}(y-\alpha_t d-\beta_t)].gt​(y,d)=Rt​(d)−ct​y+E[−ht​(y−αt​d−βt​)+vt+1​(y−αt​d−βt​)].

The firm maximizes gt(y,d)g_t(y,d)gt​(y,d) over admissible ddd and then maximizes the resulting value, less the fixed ordering charge, over y≥xy\ge xy≥x. This defines vt(x)v_t(x)vt​(x) by equation (2) of the paper. A symmetrically kkk-convex real function fff satisfies

f((1−λ)x0+λx1)≤(1−λ)f(x0)+λf(x1)+max⁡{λ,1−λ}kf((1-\lambda)x_0+\lambda x_1)\le(1-\lambda)f(x_0)+\lambda f(x_1)+\max\{\lambda,1-\lambda\}kf((1−λ)x0​+λx1​)≤(1−λ)f(x0​)+λf(x1​)+max{λ,1−λ}k

for every x0,x1∈Rx_0,x_1\in\mathbb Rx0​,x1​∈R and λ∈[0,1]\lambda\in[0,1]λ∈[0,1]. A function is symmetrically kkk-concave when its negative is symmetrically kkk-convex. This is Definition 4.1, equation (8), and preserves the symmetry between the two endpoint inventories (Chen and Simchi-Levi, 2004, p. 891).

Formalization targets

The goal is Theorem 4.1(c)–(d). If Gt(y)=max⁡d∈[d‾t,d‾t]gt(y,d)G_t(y)=\max_{d\in[\underline d_t,\overline d_t]}g_t(y,d)Gt​(y)=maxd∈[d​t​,dt​]​gt​(y,d), then for every period

Gt and vt are symmetrically k-concave.G_t\text{ and }v_t\text{ are symmetrically }k\text{-concave}.Gt​ and vt​ are symmetrically k-concave.

There are thresholds st≤Sts_t\le S_tst​≤St​ and a possibly empty set At⊆[st,(st+St)/2]A_t\subseteq[s_t,(s_t+S_t)/2]At​⊆[st​,(st​+St​)/2]. An optimal policy orders to StS_tSt​ if x<stx<s_tx<st​ or x∈Atx\in A_tx∈At​, and places no order otherwise. It chooses the maximizing expected demand for the resulting post-order level. In particular, all states that order to StS_tSt​ can use the same demand level dt(St)d_t(S_t)dt​(St​) and hence the same price Pt(dt(St))P_t(d_t(S_t))Pt​(dt​(St​)).

The milestones state the preceding polynomial growth and continuity assertions from Theorem 4.1(a)–(b), the threshold structure of Lemma 5(d), and the named steps in the proof on p. 892. The link from the paper's earlier kkk-convexity to symmetric kkk-convexity is also included. These targets preserve the paper's general demand law rather than restricting it to the additive case.

Significance

The theorem describes an optimal decision at every inventory level under random price-dependent demand. The exceptional set AtA_tAt​ records states where ordering to StS_tSt​ is optimal inside the interval where a single reorder threshold need not describe all optimal actions. Thus the result retains a concise policy description while allowing the behavior exhibited by the paper's counterexamples (Chen and Simchi-Levi, 2004, §4).

Formalizing the result requires a reusable account of symmetric kkk-convexity, a fixed-cost ordering envelope, and a finite-horizon Bellman recursion with real-valued expectations. The source proves Theorem 4.1 on paper. This mission poses its statements as Lean goals; the theorem files currently contain sorry and therefore are not machine-checked proofs. The published platform definition BertsekasKConvex supplies the earlier notion from Definition 2.1, so the bridge to Definition 4.1 can be stated without duplicating it.

Difficulty

In the additive-demand case, a maximizing expected-demand choice can be selected so that post-demand inventory changes monotonically with the initial inventory. For general demand αtd+βt\alpha_t d+\beta_tαt​d+βt​, that monotonicity can fail: the random multiplier changes how a pricing choice moves the next inventory state. The earlier ordered-chord kkk-concavity argument therefore does not carry over unchanged. A second issue is the fixed ordering charge. It creates ties between ordering and not ordering, so the policy region can include isolated or noninterval states within [st,(st+St)/2][s_t,(s_t+S_t)/2][st​,(st​+St​)/2]. The statement must assert Bellman optimality at every xxx, including those ties, rather than only the geometry of AtA_tAt​ (Chen and Simchi-Levi, 2004, pp. 891–892).

Formalization scope

The Lean model uses expected demand ddd as the decision variable and obtains price from Pt(d)P_t(d)Pt​(d), matching the paper's reformulation after Assumption 5. The admissible demand interval is nonempty. Periods are natural numbers 1,…,T1,\ldots,T1,…,T, with T>0T>0T>0 and terminal value vT+1=0v_{T+1}=0vT+1​=0. Random demand is integrated against a probability measure on R×R\mathbb R\times\mathbb RR×R. The first moments and the paper's demand moment condition are explicit; holding-cost and continuation integrability prevent a nonintegrable real integral from acquiring Lean's default zero value. The paper's O(∣y∣ρ)O(|y|^\rho)O(∣y∣ρ) statements are encoded by constants multiplying 1+∣y∣ρ1+|y|^\rho1+∣y∣ρ.

The formal assumptions include k≥0k\ge0k≥0 and ct≥0c_t\ge0ct​≥0, and set cT+1=0c_{T+1}=0cT+1​=0 where the paper's Assumption 3 uses that otherwise undefined terminal coefficient. The latter two restrictions make the printed finite-horizon claim valid under its cost interpretation; they are stated rather than silently supplied. The paper assumes temporal independence, while the formal Bellman recursion starts from the marginal laws and so needs no separate joint process. The paper's (y,p)(y,p)(y,p) in Theorem 4.1(b) is expressed as (y,d)(y,d)(y,d) through the continuous one-to-one price–expected-demand correspondence. The model places no positivity condition on αt\alpha_tαt​.

The optimized demand value and ordering value are real suprema. The statements include maximizing choices and Bellman attainment; a proof cannot rely on a default value for an empty or unbounded supremum. The goal requires an actual optimal action for every inventory state. Contributions that establish integrability, continuity, coercivity, symmetric convexity preservation, or the ordering-envelope structure are useful beyond this mission.

Selected references

  • Xin Chen and David Simchi-Levi, Coordinating Inventory Control and Pricing Strategies with Random Demand and Fixed Ordering Cost: The Finite Horizon Case, Operations Research 52(6), 887–896, 2004. DOI: 10.1287/opre.1040.0127.
12 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Contraction Mappings in the Theory Underlying Dynamic Programming 1: Under the Contraction and Monotonicity Assumptions the Solution of the Functional Equation Is the Optimal ReturnResearch Paper

Why this problem arose

Dynamic programming often replaces a search over whole plans with an equation for a value function. That replacement is useful only when solving the equation recovers the value actually available through policies. In his 1967 paper, Eric Denardo isolated conditions on an abstract return function that make this identification possible, without committing to a particular transition law or a finite state space. The framework covers discounted decision models and other examples discussed in the paper, while allowing different decisions at different states. Denardo, 1967.

The mission concerns the paper's first regime: a one-step contraction together with monotonicity. It focuses on the question raised just after equation (4): does the solution of the functional equation equal the supremum of the return functions generated by policies? The paper proves that it does under these assumptions. Its later NNN-stage regime is a separate mission. Denardo, 1967, pp. 167–169.

States, decisions, and returns

Let Ω\OmegaΩ be a set of states. At each x∈Ωx\in\Omegax∈Ω there is a decision set DxD_xDx​. A policy δ\deltaδ selects a decision δx∈Dx\delta_x\in D_xδx​∈Dx​ at every state, so the policy space Δ\DeltaΔ is the full Cartesian product ∏x∈ΩDx\prod_{x\in\Omega}D_x∏x∈Ω​Dx​. Let VVV be the bounded real functions on Ω\OmegaΩ, with the uniform metric ρ(u,v)=sup⁡x∈Ω∣u(x)−v(x)∣\rho(u,v)=\sup_{x\in\Omega}|u(x)-v(x)|ρ(u,v)=supx∈Ω​∣u(x)−v(x)∣. A return function h(x,d,v)h(x,d,v)h(x,d,v) assigns a real return to a state, an available decision, and a continuation value v∈Vv\in Vv∈V. Denardo, 1967, p. 166.

For a policy δ\deltaδ, its policy operator HδH_\deltaHδ​ acts by (Hδv)(x)=h(x,δx,v)(H_\delta v)(x)=h(x,\delta_x,v)(Hδ​v)(x)=h(x,δx​,v). Under the contraction assumption, some ccc satisfies 0≤c<10\le c<10≤c<1 and ∣h(x,d,u)−h(x,d,v)∣≤cρ(u,v)|h(x,d,u)-h(x,d,v)|\le c\rho(u,v)∣h(x,d,u)−h(x,d,v)∣≤cρ(u,v) for all eligible x,d,u,vx,d,u,vx,d,u,v. Each HδH_\deltaHδ​ then has a unique fixed point vδ∈Vv_\delta\in Vvδ​∈V, called that policy's return function. The optimal return function is defined pointwise by f(x)=sup⁡δ∈Δvδ(x)f(x)=\sup_{\delta\in\Delta}v_\delta(x)f(x)=supδ∈Δ​vδ​(x). These are the paper's definitions, rather than a presumed equality between fff and a Bellman fixed point. Denardo, 1967, pp. 166–167.

The maximization operator AAA instead chooses the best decision at each state for a supplied continuation value: (Av)(x)=sup⁡d∈Dxh(x,d,v)(Av)(x)=\sup_{d\in D_x}h(x,d,v)(Av)(x)=supd∈Dx​​h(x,d,v). Denardo assumes that HδvH_\delta vHδ​v and AvAvAv remain bounded, so both operators act on VVV. The monotonicity assumption says that u≥vu\ge vu≥v pointwise implies Hδu≥HδvH_\delta u\ge H_\delta vHδ​u≥Hδ​v for every policy. These are separate conditions: contraction controls distance between value functions, while monotonicity controls their order. Denardo, 1967, pp. 166–168.

Formalization targets

The central target is Theorem 3. Under contraction and monotonicity, the unique bounded solution v∗v^*v∗ of equation (4) is the optimal return:

Av∗=v∗,v∗(x)=f(x)=sup⁡δ∈Δvδ(x)(x∈Ω).Av^*=v^*,\qquad v^*(x)=f(x)=\sup_{\delta\in\Delta}v_\delta(x)\quad(x\in\Omega).Av∗=v∗,v∗(x)=f(x)=δ∈Δsup​vδ​(x)(x∈Ω).

The milestones follow the paper's route to that assertion. Theorem 1 bounds a policy's return by its fixed-point residual, ρ(vδ,w)≤ρ(Hδw,w)/(1−c)\rho(v_\delta,w)\le\rho(H_\delta w,w)/(1-c)ρ(vδ​,w)≤ρ(Hδ​w,w)/(1−c). Theorem 2 says that AAA itself has modulus at most ccc. The text accompanying equation (4) establishes that AAA has exactly one fixed point. Corollary 1 then gives, for each ε>0\varepsilon>0ε>0, a policy with residual at most ε(1−c)\varepsilon(1-c)ε(1−c) at that fixed point and return within ε\varepsilonε of it, together with an exact equality criterion for zero residual. Denardo, 1967, pp. 167–168.

What the result gives

Theorem 3 justifies reading the functional equation as an optimization equation: its solution is the pointwise supremum of returns realized by the paper's policy model. Corollary 1 supplies policy returns arbitrarily close to that solution in the uniform metric. With the compactness and continuity assumptions of Corollary 2, the paper also obtains a policy that attains it, though that optional result is outside this mission's milestone list. Denardo, 1967, pp. 167–168.

The mathematical result was proved in the cited paper. This mission asks for machine-checked proofs of its abstract statements in Lean, including the residual estimate, the maximization operator's contraction, fixed-point existence, and the identification with optimal policy return. The definitions are reusable for decision models whose returns fit Denardo's assumptions; they do not prescribe a probability kernel or a finite action set.

Where the difficulty lies

The fixed-point theorem alone identifies a unique solution of Av=vAv=vAv=v; it does not identify that solution with fff, because fff is defined through the separate fixed points of all HδH_\deltaHδ​. The distinction matters: the paper observes that contraction without monotonicity can leave v∗v^*v∗ different from fff, and gives h(x,d,v)=−v(x)/2h(x,d,v)=-v(x)/2h(x,d,v)=−v(x)/2 as a nonmonotone example. The formal goal therefore retains both definitions and requires monotonicity. Denardo, 1967, pp. 167–168.

There is also a choice issue in Corollary 1. A near-maximizing decision is available separately at every state, while its conclusion asks for one policy choosing all those decisions at once. The full Cartesian policy space is essential to the statement. On an infinite state set, the value functions must remain bounded even after applying AAA or a policy operator; contraction of differences by itself does not provide that range condition. Denardo, 1967, pp. 166–168.

Formalization scope

Lean represents VVV by bounded real functions lp (fun _ : Ω => ℝ) ⊤; its metric is ρ\rhoρ. The state type may be infinite or empty, and decision sets depend on the state. Policies are precisely dependent functions δ:(x:Ω)→Dx\delta:(x:\Omega)\to D_xδ:(x:Ω)→Dx​. The operators HδH_\deltaHδ​ and AAA are maps into VVV supplied with equations fixing their values from hhh. This expresses the bounded-range assumptions on pages 166–167. Pointwise order is explicit because the bounded-function type has no order instance. Denardo, 1967, pp. 166–168.

Every supremum in the mission is a genuine real least upper bound. IsMaxOperator requires it for the decision returns at each state; IsOptimalReturn requires it for the policy returns. These predicates avoid assigning a default value to an empty or unbounded supremum. Where states exist, IsMaxOperator also entails a nonempty decision set. The family vδv_\deltavδ​ is supplied with Hδvδ=vδH_\delta v_\delta=v_\deltaHδ​vδ​=vδ​; contraction ensures each such return exists uniquely. Equation (4) and the main goal explicitly assert existence of the fixed point of AAA, so the goal cannot hold merely because there is no solution to identify. Defining fff from the fixed point of AAA, or defining v∗v^*v∗ from the policy supremum, would erase the paper's substantive claim and is excluded.

The definition layer needs bounded functions, uniform distance, real least upper bounds, and dependent policies. The theorem layer needs fixed-point and order reasoning on these objects. Contributions toward those general operator facts and the paper's four milestone statements are within scope.

Selected references

  • Eric V. Denardo, Contraction Mappings in the Theory Underlying Dynamic Programming, SIAM Review 9(2), 165–177, 1967. DOI: 10.1137/1009030.
6 thms3 active usersReviewed
🏆Completed
Operations ResearchProbability·Captain: mikedeng1

Uniformly Bounded Regret in the Multi-Secretary Problem 1: The Budget-Ratio Policy Has Regret at Most a₁M(ε), Uniformly in the Number of Candidates n and the Budget kResearch Paper

Motivation

The multi-secretary problem is the simplest model of capacity allocation under uncertainty: a decision maker sees nnn candidates one at a time and may hire at most kkk of them, with every decision final. The same structure underlies single-resource revenue management (accepting or rejecting booking requests against a fixed inventory; see Talluri and van Ryzin, The Theory and Practice of Revenue Management, 2004), online knapsack and packing problems, and dynamic assortment of limited stock.

The performance of an online policy is measured against the offline benchmark, the value of the best kkk candidates chosen with full hindsight. The gap between the two is the regret.

  • In the version where the values arrive as a uniform random permutation, Kleinberg (2005) proved that the minimal regret is of order k\sqrt kk​ and gave an algorithm attaining it (as summarized in Remark 1 of the paper below).
  • Arlotto and Gurvich (arXiv:1710.07719, 2017; Stochastic Systems 2019) showed that when the values have a finite support, the optimal online policy, and an explicit simple policy, have regret bounded by a constant that does not depend on nnn or kkk. The constant depends only on the smallest probability mass.

This mission formalizes that upper bound.

Setting

Abilities take values in a finite set A={am<am−1<⋯<a1}\mathcal A=\{a_m<a_{m-1}<\dots<a_1\}A={am​<am−1​<⋯<a1​} of distinct positive reals, with probabilities fj=P(X=aj)>0f_j=\mathbb P(X=a_j)>0fj​=P(X=aj​)>0, ∑jfj=1\sum_j f_j=1∑j​fj​=1. Write Fˉ(aj)=f1+⋯+fj−1\bar F(a_j)=f_1+\dots+f_{j-1}Fˉ(aj​)=f1​+⋯+fj−1​ for the mass strictly above aja_jaj​, and

ϵ=12min⁡{fm,…,f1}.\epsilon=\tfrac12\min\{f_m,\dots,f_1\}.ϵ=21​min{fm​,…,f1​}.

The abilities X1,…,XnX_1,\dots,X_nX1​,…,Xn​ are independent with this distribution. Budget pairs range over the triangle T={(n,k):0≤k≤n}\mathcal T=\{(n,k):0\le k\le n\}T={(n,k):0≤k≤n}.

  • Offline value. Voff∗(n,k)=E[max⁡{∑tXtσt:σ∈{0,1}n, ∑tσt≤k}]V^*_{\mathrm{off}}(n,k)=\mathbb E\big[\max\{\sum_t X_t\sigma_t:\sigma\in\{0,1\}^n,\ \sum_t\sigma_t\le k\}\big]Voff∗​(n,k)=E[max{∑t​Xt​σt​:σ∈{0,1}n, ∑t​σt​≤k}].
  • Online policies. A policy decides σt∈{0,1}\sigma_t\in\{0,1\}σt​∈{0,1} using only X1,…,XtX_1,\dots,X_tX1​,…,Xt​ and must select at most kkk candidates on every realization. Π(n,k)\Pi(n,k)Π(n,k) is the set of such policies, Vonπ(n,k)=E[∑tXtσtπ]V^\pi_{\mathrm{on}}(n,k)=\mathbb E[\sum_t X_t\sigma^\pi_t]Vonπ​(n,k)=E[∑t​Xt​σtπ​], and Von∗(n,k)=max⁡π∈Π(n,k)Vonπ(n,k)V^*_{\mathrm{on}}(n,k)=\max_{\pi\in\Pi(n,k)}V^\pi_{\mathrm{on}}(n,k)Von∗​(n,k)=maxπ∈Π(n,k)​Vonπ​(n,k).
  • Counts. ZjrZ^r_jZjr​ is the number of aja_jaj​-candidates among the first rrr. The offline sort selects Sjr=min⁡{Zjr,(k−∑i<jZir)+}\mathfrak S^r_j=\min\{Z^r_j,(k-\sum_{i<j}Z^r_i)_+\}Sjr​=min{Zjr​,(k−∑i<j​Zir​)+​} of them. Sjπ,rS^{\pi,r}_jSjπ,r​ counts those selected by π\piπ.
  • Action index. j0(n,k)j_0(n,k)j0​(n,k) is the largest jjj with Fˉ(aj)+12fj≤k/n\bar F(a_j)+\tfrac12f_j\le k/nFˉ(aj​)+21​fj​≤k/n, or 111 if there is none.
  • Thresholds. T1=0T_1=0T1​=0, Tj=Fˉ(aj)+12fjT_j=\bar F(a_j)+\tfrac12 f_jTj​=Fˉ(aj​)+21​fj​ for 2≤j≤m2\le j\le m2≤j≤m, and Tm+1=+∞T_{m+1}=+\inftyTm+1​=+∞.
  • Budget-Ratio (BR) policy. With remaining budget KtK_tKt​ (K0=kK_0=kK0​=k), at time t+1t+1t+1 the policy finds jjj with Tj≤Kt/(n−t)<Tj+1T_j\le K_t/(n-t)<T_{j+1}Tj​≤Kt​/(n−t)<Tj+1​. It selects Xt+1X_{t+1}Xt+1​ if and only if Kt>0K_t>0Kt​>0 and Xt+1≥ajX_{t+1}\ge a_jXt+1​≥aj​.
  • Stopping times. For 0<δ<ϵ0<\delta<\epsilon0<δ<ϵ, τ0\tau_0τ0​ is the first time the budget ratio comes within δ/2\delta/2δ/2 of a threshold, or the cut-off n−2δ−1−1n-2\delta^{-1}-1n−2δ−1−1. The time τ\tauτ of (20) is the first later time the ratio leaves the δ\deltaδ-band around that threshold, or the cut-off.

Formalization targets

Goal: Theorem 1 (first display)

For every ϵ>0\epsilon>0ϵ>0 there is a constant MMM such that for every instance with 12min⁡jfj=ϵ\tfrac12\min_jf_j=\epsilon21​minj​fj​=ϵ and all (n,k)∈T(n,k)\in\mathcal T(n,k)∈T, br∈Π(n,k)\mathrm{br}\in\Pi(n,k)br∈Π(n,k) and

Voff∗(n,k)−Von∗(n,k)≤Voff∗(n,k)−Vonbr(n,k)≤a1M.V^*_{\mathrm{off}}(n,k)-V^*_{\mathrm{on}}(n,k)\le V^*_{\mathrm{off}}(n,k)-V^{\mathrm{br}}_{\mathrm{on}}(n,k)\le a_1M.Voff∗​(n,k)−Von∗​(n,k)≤Voff∗​(n,k)−Vonbr​(n,k)≤a1​M.

No constant is fixed. Only the shape is asserted: a bound uniform in nnn, kkk, the support size and the distribution, given ϵ\epsilonϵ.

Milestones, in the order the proof uses them

  • The benchmark inequality Vonπ≤Voff∗V^\pi_{\mathrm{on}}\le V^*_{\mathrm{off}}Vonπ​≤Voff∗​ (p. 5).
  • The sort identity Voff∗=∑jajE[Sjn]V^*_{\mathrm{off}}=\sum_ja_j\mathbb E[\mathfrak S^n_j]Voff∗​=∑j​aj​E[Sjn​] (4).
  • The binomial overshoot bound E[(B−k)+]≤1/(4ε)\mathbb E[(B-k)_+]\le1/(4\varepsilon)E[(B−k)+​]≤1/(4ε) (Lemma 2).
  • The offline decomposition Voff∗=∑i<jaiE[Zin]+ajE[Sjn]+aj+1E[Sj+1n]±a1/(4ϵ)V^*_{\mathrm{off}}=\sum_{i<j}a_i\mathbb E[Z^n_i]+a_j\mathbb E[\mathfrak S^n_j]+a_{j+1}\mathbb E[\mathfrak S^n_{j+1}]\pm a_1/(4\epsilon)Voff∗​=∑i<j​ai​E[Zin​]+aj​E[Sjn​]+aj+1​E[Sj+1n​]±a1​/(4ϵ) (Proposition 1).
  • The sufficient condition: four properties (i)–(iv) of a policy up to a stopping time imply regret at most 3a1M+a1/(4ϵ)3a_1M+a_1/(4\epsilon)3a1​M+a1​/(4ϵ) (Proposition 2).
  • The identification j0(n,k)=jj_0(n,k)=jj0​(n,k)=j on k/n∈[Tj,Tj+1)k/n\in[T_j,T_{j+1})k/n∈[Tj​,Tj+1​) (p. 17).
  • The BR selection probability and the jump bound ∣Kt/(n−t)−Kt+1/(n−t−1)∣≤δ/2|K_t/(n-t)-K_{t+1}/(n-t-1)|\le\delta/2∣Kt​/(n−t)−Kt+1​/(n−t−1)∣≤δ/2 (p. 13).
  • E[τ]≥n−M\mathbb E[\tau]\ge n-ME[τ]≥n−M (Theorem 2).
  • BR and τ\tauτ satisfy (i)–(iv) (Corollary 1).
  • The state-space reduction vℓ(w,κ)=w+gℓ(κ)v_\ell(w,\kappa)=w+g_\ell(\kappa)vℓ​(w,κ)=w+gℓ​(κ) of the Bellman recursion (Proposition 5).

Significance

The result. Bounded regret means that the loss from not knowing the future is a fixed number of candidates' worth of value, however long the horizon and however large the budget. The bound holds uniformly over all distributions with the same ϵ\epsilonϵ. It is attained by an explicit, adaptive, non-randomized rule that compares one ratio with mmm fixed thresholds. The companion result of the same paper shows that every non-adaptive policy suffers regret of order n\sqrt nn​ in the interior regime. Together they quantify the value of adapting to the remaining budget. Lemma 1 of the paper shows the dependence on ϵ\epsilonϵ cannot be removed.

Formalizing it. The result is proved in the paper, but no part of it is machine-checked; there is no multi-secretary or bounded-regret development on the platform. The mission produces several pieces of machinery: a reusable finite model of sequential selection with online policies and the offline benchmark; an explicit online policy with its stopping-time analysis; and a binomial overshoot bound usable elsewhere. The constant MMM is not made explicit in the paper. A formal proof would give one, and sharper constants are welcome.

Difficulty

The offline decomposition and the sufficient condition are bookkeeping with counts and one concentration bound. The hard step is Theorem 2: showing that the budget ratio Kt/(n−t)K_t/(n-t)Kt​/(n−t) stays within δ\deltaδ of its attracting threshold until a bounded expected number of periods before the end. Near the horizon a single selection moves the ratio by about 1/(n−t)1/(n-t)1/(n−t), so the band becomes easy to leave. Equivalently, the target δ(n−τ0−u)\delta(n-\tau_0-u)δ(n−τ0​−u) that the deviation process must exceed shrinks to zero. A standard martingale or drift argument with a fixed band therefore does not give a bound uniform in nnn. The paper combines the mean-reverting drift of the deviation process with an exponential tail bound (its Proposition 4) and a Lyapunov argument. A second subtlety is uniformity: every constant must depend on ϵ\epsilonϵ (and δ\deltaδ) only, never on mmm, the aja_jaj​, nnn or kkk.

Formalization scope

The source is arXiv:1710.07719v2; its printed page numbers equal the PDF page numbers.

Representation.

  • Ability levels are Fin m, with index 0 the largest value a1a_1a1​; Lean index iii is the paper's i+1i+1i+1.
  • Each instance carries aaa strictly decreasing and positive, fff positive with ∑f=1\sum f=1∑f=1.
  • Expectations are finite sums over sequences x:Fin n→Fin mx:\mathrm{Fin}\,n\to\mathrm{Fin}\,mx:Finn→Finm weighted by ∏tf(xt)\prod_tf(x_t)∏t​f(xt​), so no measure theory is needed.
  • Policies are deterministic selection rules σ(x,t)\sigma(x,t)σ(x,t) that are non-anticipating and feasible. Von∗V^*_{\mathrm{on}}Von∗​ is a maximum over this finite set. The paper allows randomized policies; for this finite problem the optimal values coincide (p. 39). In any case, restricting to deterministic policies can only lower Von∗V^*_{\mathrm{on}}Von∗​ and so does not weaken the goal.
  • Voff∗V^*_{\mathrm{off}}Voff∗​ is defined as an expected maximum over selection vectors, not by the sort formula. The sort formula is a milestone.

Quantifiers. The constant MMM in the goal is chosen after ϵ\epsilonϵ and before mmm, the instance, nnn and kkk. A statement with MMM chosen after the instance, or after nnn, is trivial (regret ≤a1n\le a_1n≤a1​n) and is excluded.

Corrections to the printed text, disclosed in the items.

  1. In Theorem 2 and Corollary 1, MMM depends on the auxiliary δ∈(0,ϵ)\delta\in(0,\epsilon)δ∈(0,ϵ) as well, because τ\tauτ does. δ\deltaδ is quantified before MMM. The goal itself is δ\deltaδ-free.
  2. Lemma 2's conditions p+ε≤k/np+\varepsilon\le k/np+ε≤k/n, k/n≤p−εk/n\le p-\varepsilonk/n≤p−ε are stated as (p+ε)n≤k(p+\varepsilon)n\le k(p+ε)n≤k, k≤(p−ε)nk\le(p-\varepsilon)nk≤(p−ε)n, the form used in its proof. This avoids a false case at n=0n=0n=0.
  3. The BR rule is applied at every time t+1∈{1,…,n}t+1\in\{1,\dots,n\}t+1∈{1,…,n}; p. 11 writes {1,…,n−1}\{1,\dots,n-1\}{1,…,n−1}.
  4. τ\tauτ is capped at nnn, which matters only when n=0n=0n=0.
  5. In Proposition 5 the recursions are imposed for κ≥1\kappa\ge1κ≥1 (boundary conditions at κ=0\kappa=0κ=0), and only identity (49) is stated.

Infrastructure. The model definitions (instance, offline value, online policies, counts, thresholds, action index) and the binomial overshoot lemma are reusable for other finite-support online selection and revenue-management results. All of the following are welcome:

  • proofs of individual milestones;
  • an explicit constant;
  • a formal derivation of Von∗(n,k)=vn(0,k)V^*_{\mathrm{on}}(n,k)=v_n(0,k)Von∗​(n,k)=vn​(0,k) connecting Proposition 5 to Von∗V^*_{\mathrm{on}}Von∗​.

Selected references

  • A. Arlotto, I. Gurvich, Uniformly Bounded Regret in the Multi-Secretary Problem, arXiv:1710.07719v2, 2018; Stochastic Systems 9(3), 2019. https://arxiv.org/abs/1710.07719
  • R. Kleinberg, A multiple-choice secretary algorithm with applications to online auctions, SODA 2005. https://dl.acm.org/doi/10.5555/1070432.1070519
  • K. T. Talluri, G. J. van Ryzin, The Theory and Practice of Revenue Management, Springer, 2004. https://doi.org/10.1007/b139000
  • D. P. Bertsekas, S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978.
  • S. Boucheron, G. Lugosi, P. Massart, Concentration Inequalities, Oxford University Press, 2013. https://doi.org/10.1093/acprof:oso/9780199535255.001.0001
14 thms3 active usersReviewed
🏆Completed
Control TheoryOperations ResearchOptimization·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case II: Contraction Models — the Optimal Cost Is the Unique Fixed Point of T in the Closed Set B̄Textbook

Motivation

Discounted dynamic programming with bounded cost per stage is the standard setting in which infinite-horizon sequential decision problems are well posed: the optimal cost exists, satisfies Bellman's equation, and can be computed by iterating the DP operator. Shapley proved this for stochastic games in 1953 (Shapley 1953), Blackwell for discounted Markov decision processes in 1965 (Blackwell 1965), and Denardo observed in 1967 that the arguments use only two properties of the DP operator: monotonicity and contraction in the supremum norm (Denardo 1967). Bertsekas (1975, 1977) and Bertsekas and Shreve (1978) turned this observation into an abstract dynamic programming framework, in which a single mapping HHH encodes stochastic, deterministic, minimax and multiplicative-cost problems at once (Bertsekas 1977).

Chapter 4 of Bertsekas and Shreve, Stochastic Optimal Control: The Discrete-Time Case, is the contraction part of that framework. Its results are the abstract form of what every course on Markov decision processes proves for the discounted case, and they are what later work on abstract DP (Bertsekas, Abstract Dynamic Programming, 2022) and on robust and regularized MDPs builds on.

Setting

A model consists of a state space SSS, a control space CCC, a nonempty constraint set U(x)⊆CU(x)\subseteq CU(x)⊆C for each x∈Sx\in Sx∈S, a mapping H:S×C×F→[−∞,∞]H:S\times C\times F\to[-\infty,\infty]H:S×C×F→[−∞,∞], where FFF is the set of functions S→[−∞,∞]S\to[-\infty,\infty]S→[−∞,∞], and a function J0∈FJ_0\in FJ0​∈F with J0>−∞J_0>-\inftyJ0​>−∞. HHH is monotone: J≤J′J\le J'J≤J′ implies H(x,u,J)≤H(x,u,J′)H(x,u,J)\le H(x,u,J')H(x,u,J)≤H(x,u,J′).

A selector is a function μ:S→C\mu:S\to Cμ:S→C with μ(x)∈U(x)\mu(x)\in U(x)μ(x)∈U(x); MMM is the set of selectors, and a policy is a sequence π=(μ0,μ1,… )\pi=(\mu_0,\mu_1,\dots)π=(μ0​,μ1​,…) in MMM. The operators are

Tμ(J)(x)=H(x,μ(x),J),T(J)(x)=inf⁡u∈U(x)H(x,u,J).T_\mu(J)(x)=H(x,\mu(x),J),\qquad T(J)(x)=\inf_{u\in U(x)}H(x,u,J).Tμ​(J)(x)=H(x,μ(x),J),T(J)(x)=u∈U(x)inf​H(x,u,J).

The cost of π\piπ is Jπ(x)=lim⁡N→∞(Tμ0⋯TμN−1)(J0)(x)J_\pi(x)=\lim_{N\to\infty}(T_{\mu_0}\cdots T_{\mu_{N-1}})(J_0)(x)Jπ​(x)=limN→∞​(Tμ0​​⋯TμN−1​​)(J0​)(x), the optimal cost is J∗(x)=inf⁡πJπ(x)J^*(x)=\inf_{\pi}J_\pi(x)J∗(x)=infπ​Jπ​(x), and JμJ_\muJμ​ is the cost of the stationary policy (μ,μ,… )(\mu,\mu,\dots)(μ,μ,…).

BBB is the Banach space of bounded real functions on SSS with ∥J∥=sup⁡x∣J(x)∣\|J\|=\sup_x|J(x)|∥J∥=supx​∣J(x)∣. Assumption C asks for a closed set Bˉ⊆B\bar B\subseteq BBˉ⊆B containing J0J_0J0​ and invariant under TTT and every TμT_\muTμ​; that every limit defining JπJ_\piJπ​ exist and be real; and that for some integer m≥1m\ge1m≥1 and scalars 0<ρ<10<\rho<10<ρ<1, α>0\alpha>0α>0,

∥Tμ(J)−Tμ(J′)∥≤α∥J−J′∥(J,J′∈B),∥(Tμ0⋯Tμm−1)(J)−(Tμ0⋯Tμm−1)(J′)∥≤ρ∥J−J′∥(J,J′∈Bˉ).\|T_\mu(J)-T_\mu(J')\|\le\alpha\|J-J'\|\quad(J,J'\in B),\qquad \|(T_{\mu_0}\cdots T_{\mu_{m-1}})(J)-(T_{\mu_0}\cdots T_{\mu_{m-1}})(J')\|\le\rho\|J-J'\|\quad(J,J'\in\bar B).∥Tμ​(J)−Tμ​(J′)∥≤α∥J−J′∥(J,J′∈B),∥(Tμ0​​⋯Tμm−1​​)(J)−(Tμ0​​⋯Tμm−1​​)(J′)∥≤ρ∥J−J′∥(J,J′∈Bˉ).

Formalization targets

Goal: Proposition 4.2

Under Assumption C,

J∗∈Bˉ,J∗=T(J∗),J′∈Bˉ, J′=T(J′) ⇒ J′=J∗,J^*\in\bar B,\qquad J^*=T(J^*),\qquad J'\in\bar B,\ J'=T(J')\ \Rightarrow\ J'=J^*,J∗∈Bˉ,J∗=T(J∗),J′∈Bˉ, J′=T(J′) ⇒ J′=J∗,

T(J′)≤J′T(J')\le J'T(J′)≤J′ implies J∗≤J′J^*\le J'J∗≤J′ and J′≤T(J′)J'\le T(J')J′≤T(J′) implies J′≤J∗J'\le J^*J′≤J∗ for J′∈BˉJ'\in\bar BJ′∈Bˉ; each JμJ_\muJμ​ is the unique fixed point of TμT_\muTμ​ in Bˉ\bar BBˉ; and for every J∈BˉJ\in\bar BJ∈Bˉ

lim⁡N→∞∥TN(J)−J∗∥=0,lim⁡N→∞∥TμN(J)−Jμ∥=0.\lim_{N\to\infty}\|T^N(J)-J^*\|=0,\qquad\lim_{N\to\infty}\|T_\mu^N(J)-J_\mu\|=0.N→∞lim​∥TN(J)−J∗∥=0,N→∞lim​∥TμN​(J)−Jμ​∥=0.

The statement carries no constants beyond those of Assumption C.

Milestones

  • Fixed Point Theorem (p. 55): an mmm-step contraction of a nonempty closed subset of a Banach space has a unique fixed point, which attracts every orbit.
  • Proposition 4.1 (p. 53): JπJ_\piJπ​ does not depend on the terminal function in Bˉ\bar BBˉ; inf⁡π(Tμ0⋯TμN−1)(J)=TN(J)\inf_\pi(T_{\mu_0}\cdots T_{\mu_{N-1}})(J)=T^N(J)infπ​(Tμ0​​⋯TμN−1​​)(J)=TN(J); TmT^mTm and TμmT_\mu^mTμm​ are ρ\rhoρ-contractions on Bˉ\bar BBˉ.
  • Proposition 4.3 (p. 56): (μ∗,μ∗,… )(\mu^*,\mu^*,\dots)(μ∗,μ∗,…) is optimal iff Tμ∗(J∗)=T(J∗)T_{\mu^*}(J^*)=T(J^*)Tμ∗​(J∗)=T(J∗); pointwise optimal policies yield a stationary optimal one; stationary ε\varepsilonε-optimal policies exist.
  • Proposition 4.4 (p. 57): compactness of the sets {u∈U(x)∣H[x,u,Tk(Jˉ)]≤λ}\{u\in U(x)\mid H[x,u,T^k(\bar J)]\le\lambda\}{u∈U(x)∣H[x,u,Tk(Jˉ)]≤λ} gives policies attaining the DP infimum, and their accumulation points are optimal stationary policies.
  • Proposition 4.11 (p. 69): the discounted minimax model with 0≤g≤b0\le g\le b0≤g≤b and α<1\alpha<1α<1 satisfies Assumption C with Bˉ=B\bar B=BBˉ=B, m=1m=1m=1, ρ=α\rho=\alphaρ=α.

Further result

  • Proposition 4.5 (p. 59), a draft theorem of this mission that is not a milestone: the error bound J∗≤Jμ≤J∗+(2αε1+ε2)(1+α+⋯+αm−1)/(1−ρ)J^*\le J_\mu\le J^*+(2\alpha\varepsilon_1+\varepsilon_2)(1+\alpha+\cdots+\alpha^{m-1})/(1-\rho)J∗≤Jμ​≤J∗+(2αε1​+ε2​)(1+α+⋯+αm−1)/(1−ρ).

Significance

Proposition 4.2 is the existence-and-uniqueness theorem for Bellman's equation in the contraction regime, together with the convergence of value iteration from an arbitrary start in Bˉ\bar BBˉ. Propositions 4.3 to 4.5 turn it into statements about policies: when a stationary optimal policy exists, how one is found from the DP algorithm, and how much is lost when Bellman's equation is solved only approximately. Proposition 4.11 shows the assumption is met by a concrete class of problems, discounted minimax control, and so certifies that the abstract theorems are not vacuous.

The results are classical and have been proved in print since 1978; none of them is open. What this mission adds is a machine-checked version of the abstract theory itself, rather than of a single model. Mathlib has the Banach fixed point theorem for a contracting map of a complete space (ContractingWith) and a lemma for contracting iterates, but not the version on a closed subset with norm convergence of every orbit, and nothing on abstract DP. The platform has proved the finite-state discounted case for a concrete model (BertsekasDP.discounted_main_theorem); the abstract statements here cover infinite state spaces, minimax problems and mmm-step contractions, and are reused by the later missions of this series (generalized models, Chapter 6) and by papers that cite the book.

Difficulty

The first idea is to apply the contraction mapping principle to TTT and read off J∗J^*J∗ as its fixed point. That gives a fixed point of TTT but says nothing about J∗J^*J∗, which is defined as an infimum over all, generally nonstationary, policies of limits of compositions. The identification of the fixed point with J∗J^*J∗ is the content of the proposition, and it is where the Lipschitz condition (2) on all of BBB, not only on Bˉ\bar BBˉ, enters.

Two further features block a direct appeal to Mathlib. The contraction is only mmm-step, so neither TTT nor TμT_\muTμ​ need be a contraction. And HHH takes extended-real values, so every passage between FFF and the Banach space BBB must be justified by the invariance of Bˉ\bar BBˉ.

Formalization scope

The state and control spaces are arbitrary types. FFF is S → EReal; BBB is Mathlib's lp (fun _ : S => ℝ) ⊤, whose norm is the supremum norm, and toF embeds BBB into FFF. Bˉ\bar BBˉ is an arbitrary closed subset of BBB, not BBB itself, and uniqueness of fixed points is asserted within Bˉ\bar BBˉ. Policies are sequences ℕ → M; (Tμ0⋯TμN−1)(J)(T_{\mu_0}\cdots T_{\mu_{N-1}})(J)(Tμ0​​⋯TμN−1​​)(J) applies TμN−1T_{\mu_{N-1}}TμN−1​​ first. JπJ_\piJπ​ is the pointwise limit (limUnder), which exists and is real under Assumption C; J∗J^*J∗ is the infimum over all policies.

The book computes in [−∞,∞][-\infty,\infty][−∞,∞] with ∞−∞=∞\infty-\infty=\infty∞−∞=∞, whereas Mathlib's EReal has ⊥+⊤=⊥\bot+\top=\bot⊥+⊤=⊥. No statement adds infinities of opposite sign. A norm bound ∥J−J′∥≤c\|J-J'\|\le c∥J−J′∥≤c between functions of FFF is the predicate SupDistLe: both functions are real at every point and differ by at most ccc, which is what the bound means under the book's arithmetic. Condition (2) is imposed on all of BBB, as on p. 53. The scalars m,ρ,αm,\rho,\alpham,ρ,α of Assumption C are explicit parameters, so the constant of Proposition 4.5 is the book's exact expression. The Fixed Point Theorem assumes Bˉ\bar BBˉ nonempty, which the page leaves implicit and without which the statement is false.

Defining J∗J^*J∗ as the fixed point of TTT, or replacing it by the infimum over stationary policies, would make the goal trivial. Neither is done here: J∗J^*J∗ is the infimum of the policy costs, exactly as in Eq. (8) of Chapter 2.

A complete development needs the mmm-step fixed point theorem on closed subsets of a Banach space, which can be reused well beyond dynamic programming; the elementary calculus of SupDistLe and of the embedding of BBB into S → EReal; and the monotone-operator inequalities of Section 2.1. Contributions of any of these, or alternative proofs of the milestones, are welcome.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press 1978; Athena Scientific reprint 1996, Chapter 4. http://web.mit.edu/dimitrib/www/soc.html
  • D. P. Bertsekas, Monotone mappings with application in dynamic programming, SIAM J. Control Optim. 15 (1977) 438–464. https://doi.org/10.1137/0315031
  • E. V. Denardo, Contraction mappings in the theory underlying dynamic programming, SIAM Review 9 (1967) 165–177. https://doi.org/10.1137/1009030
  • D. Blackwell, Discounted dynamic programming, Ann. Math. Statist. 36 (1965) 226–235. https://doi.org/10.1214/aoms/1177700285
  • L. S. Shapley, Stochastic games, Proc. Natl. Acad. Sci. USA 39 (1953) 1095–1100. https://doi.org/10.1073/pnas.39.10.1095
  • D. P. Bertsekas, Abstract Dynamic Programming, 3rd ed., Athena Scientific 2022. https://web.mit.edu/dimitrib/www/abstractdp_MIT.html
8 thms3 active usersReviewed
🏆Completed
AnalysisOperations ResearchOptimization+2·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case VI: Lower Semianalytic Functions — Analytically Measurable ε-Optimal Selectors (Jankov–von Neumann)Textbook

Motivation

Dynamic programming over uncountable state and control spaces needs two things at every stage: the optimal cost-to-go, obtained by minimizing over the control, must be a function that can be integrated against the next stage's transition probabilities, and a policy that nearly attains the minimum must be measurable, so that it defines a stochastic process. With Borel-measurable costs and Borel-measurable policies both requirements fail. Minimizing a Borel function of (x,y)(x,y)(x,y) over yyy produces a function whose level sets are projections of Borel sets, and such projections need not be Borel (Suslin, 1917). The repair, developed by Blackwell, Freedman and Orkin (1974), Shreve and Bertsekas, and set out in Chapter 7 of Bertsekas and Shreve's Stochastic Optimal Control: The Discrete-Time Case (1978), is to enlarge the class of costs to the lower semianalytic functions and the class of policies to the analytically or universally measurable ones. Sections 7.6–7.7 of the book establish that this class is closed under partial minimization and admits measurable ε-optimal selectors. Chapters 8–10 of the book, and much of the later literature on Borel-space Markov decision processes (Hernández-Lerma and Lasserre; Feinberg and coauthors), build on these results.

Timeline:

  • 1917: Suslin shows that projections of Borel sets need not be Borel and introduces analytic sets; Lusin proves that analytic sets are universally measurable.
  • 1941–1949: Jankov and von Neumann independently prove that an analytic subset of a product admits a selector measurable with respect to the σ-algebra generated by analytic sets.
  • 1974: Blackwell, Freedman and Orkin use analytic sets to construct ε-optimal policies in Borel dynamic programming.
  • 1978: Bertsekas and Shreve give the treatment used here (§7.6–7.7), including the selection theorem for lower semianalytic functions, Proposition 7.50.

Setting

A Borel space is a topological space homeomorphic to a Borel subset of a complete separable metric space (Definition 7.7); its Borel σ-algebra is BX\mathscr B_XBX​. The Baire space is N=NN\mathscr N=\mathbb N^{\mathbb N}N=NN with the product topology. A set A⊆XA\subseteq XA⊆X is analytic if it is empty or the image of N\mathscr NN under a continuous map; by Proposition 7.41 this is the book's Definition 7.16 (the Suslin operation applied to closed sets). Every Borel set is analytic, and the converse fails when XXX is uncountable.

Three σ-algebras on XXX are in play. The analytic σ-algebra AX\mathscr A_XAX​ is generated by the analytic sets (Definition 7.19). The universal σ-algebra is UX=⋂pBX(p)\mathscr U_X=\bigcap_{p}\mathscr B_X(p)UX​=⋂p​BX​(p), the intersection over all probability measures ppp on (X,BX)(X,\mathscr B_X)(X,BX​) of the ppp-completions of BX\mathscr B_XBX​ (Definition 7.18). For a function fff from D⊆XD\subseteq XD⊆X into a Borel space YYY, fff is analytically measurable if D∈AXD\in\mathscr A_XD∈AX​ and f−1(B)∈AXf^{-1}(B)\in\mathscr A_Xf−1(B)∈AX​ for every B∈BYB\in\mathscr B_YB∈BY​, and universally measurable if the same holds with UX\mathscr U_XUX​ (Definition 7.20).

Let R∗=[−∞,∞]R^*=[-\infty,\infty]R∗=[−∞,∞]. A function f:D→R∗f:D\to R^*f:D→R∗ is lower semianalytic if DDD is analytic and {x∈D∣f(x)<c}\{x\in D\mid f(x)<c\}{x∈D∣f(x)<c} is analytic for every real ccc (Definition 7.21). For D⊆X×YD\subseteq X\times YD⊆X×Y write Dx={y∣(x,y)∈D}D_x=\{y\mid (x,y)\in D\}Dx​={y∣(x,y)∈D}, projX(D)={x∣Dx≠∅}\mathrm{proj}_X(D)=\{x\mid D_x\neq\emptyset\}projX​(D)={x∣Dx​=∅}, and define the partial infimum

f∗(x)=inf⁡y∈Dxf(x,y),x∈projX(D).f^*(x)=\inf_{y\in D_x}f(x,y),\qquad x\in\mathrm{proj}_X(D).f∗(x)=y∈Dx​inf​f(x,y),x∈projX​(D).

A selector is a function φ:projX(D)→Y\varphi:\mathrm{proj}_X(D)\to Yφ:projX​(D)→Y whose graph Gr(φ)\mathrm{Gr}(\varphi)Gr(φ) lies in DDD.

Formalization targets

Goal: Proposition 7.50

Let X,YX,YX,Y be Borel spaces, D⊆X×YD\subseteq X\times YD⊆X×Y analytic, and f:D→R∗f:D\to R^*f:D→R∗ lower semianalytic.

(a) For every ε>0\varepsilon>0ε>0 there is an analytically measurable selector φ\varphiφ with

f[x,φ(x)]≤{f∗(x)+εif f∗(x)>−∞,−1/εif f∗(x)=−∞.f[x,\varphi(x)]\le\begin{cases}f^*(x)+\varepsilon&\text{if }f^*(x)>-\infty,\\-1/\varepsilon&\text{if }f^*(x)=-\infty.\end{cases}f[x,φ(x)]≤{f∗(x)+ε−1/ε​if f∗(x)>−∞,if f∗(x)=−∞.​

(b) The set III of points where the infimum is attained is universally measurable, and for every ε>0\varepsilon>0ε>0 there is a universally measurable selector φ\varphiφ with f[x,φ(x)]=f∗(x)f[x,\varphi(x)]=f^*(x)f[x,φ(x)]=f∗(x) on III and the bounds of (a) off III.

The goal fixes no constant beyond the book's ε\varepsilonε and −1/ε-1/\varepsilon−1/ε.

Milestones

In attack order: Proposition 7.40 (Borel images and preimages of analytic sets are analytic), Corollary 7.42.1 (AX⊆UX\mathscr A_X\subseteq\mathscr U_XAX​⊆UX​), Corollary 7.44.2 (composites of analytically measurable maps are universally measurable), and Proposition 7.49, the Jankov–von Neumann theorem:

A⊆X×Y analytic ⟹ ∃ φ:projX(A)→Y analytically measurable, Gr(φ)⊆A.A\subseteq X\times Y\text{ analytic}\ \Longrightarrow\ \exists\,\varphi:\mathrm{proj}_X(A)\to Y\ \text{analytically measurable},\ \mathrm{Gr}(\varphi)\subseteq A.A⊆X×Y analytic ⟹ ∃φ:projX​(A)→Y analytically measurable, Gr(φ)⊆A.

Further items of the mission, on the same definitions: Proposition 7.39 (projections of analytic sets are analytic, and every analytic set is a projection of a Borel set), Lemma 7.30(1) (strict and non-strict, real and extended level sets give the same class) and Proposition 7.47 (lower semianalytic functions are exactly partial infima of Borel functions).

Significance

Proposition 7.50 is the selection theorem behind the existence of ε-optimal policies in Borel-space dynamic programming. In the finite-horizon model of Chapter 8 the optimal cost-to-go at each stage is lower semianalytic, by Propositions 7.47 and 7.48. Proposition 7.50 then turns the one-stage minimization into a measurable policy, analytically measurable when only ε-optimality is required and universally measurable when the minimum is attained. Chapters 8–9 of the book (the finite-horizon recursion JK∗=TK(J0)J^*_K=T^K(J_0)JK∗​=TK(J0​) and the optimality equation under (P), (N), (D)) use it at every step. Downstream catalog papers on average-cost and stochastic shortest-path problems over Borel spaces cite these results.

All results here are proved in the book and in the descriptive set theory literature (Kechris, Classical Descriptive Set Theory, §18 and §29). None is formalized on Prove2Me. Mathlib has analytic sets in Polish-type settings, the Lusin separation theorem and Suslin's theorem, but it has no universal σ-algebra, no analytic σ-algebra, no lower semianalytic functions and no Jankov–von Neumann uniformization. The definitions in this mission are reusable by the later missions of the series (Chapters 8–10), which restate them locally until these are published.

Difficulty

The obvious route to a selector is to choose, for each xxx, a minimizing or near-minimizing yyy. The axiom of choice provides such a function, but nothing makes it measurable, and the conclusion of the theorem is exactly that measurability. The Borel route fails too: the set {x∣f∗(x)<c}\{x\mid f^*(x)<c\}{x∣f∗(x)<c} is a projection of a Borel set, which is analytic but in general not Borel, so no Borel-measurable selector exists in general. The Jankov–von Neumann theorem needs a lexicographically least branch of a continuous parametrization of AAA by N\mathscr NN, and an argument that the resulting map is measurable with respect to AX\mathscr A_XAX​, which is generated by sets that are not closed under complementation. Part (b) adds a further obstacle: the composite of two analytically measurable maps need not be analytically measurable, so the exact selector is only universally measurable. Proving that requires Lusin's theorem that analytic sets are measurable for every completed probability measure.

Formalization scope

  • A Borel space is a type with a topology satisfying the class IsBorelSpace (Definition 7.7, the ambient complete separable metric space taken in the same universe), together with Mathlib's [MeasurableSpace X] [BorelSpace X], so measurable sets are exactly the Borel sets. On X×YX\times YX×Y the product σ-algebra is used; it coincides with BX×Y\mathscr B_{X\times Y}BX×Y​ for separable metrizable spaces (Proposition 7.13).
  • Analytic sets are Mathlib's MeasureTheory.AnalyticSet (empty or a continuous image of ℕ → ℕ).
  • R∗R^*R∗ is EReal. The book uses ∞−∞=∞\infty-\infty=\infty∞−∞=∞, and Mathlib's EReal uses ⊥+⊤=⊥\bot+\top=\bot⊥+⊤=⊥. No statement of this mission adds infinities of opposite sign; f∗(x)+εf^*(x)+\varepsilonf∗(x)+ε adds a real number.
  • Functions on DDD and on projX(D)\mathrm{proj}_X(D)projX​(D) are functions on subtypes. The graph condition Gr(φ)⊆D\mathrm{Gr}(\varphi)\subseteq DGr(φ)⊆D is part of every selector statement.
  • Universally measurable means NullMeasurableSet E p for every probability measure p.
  • "Analytically measurable" refers to the σ-algebra generated by analytic sets. Replacing it by the power set, dropping the graph condition, or dropping the −1/ε-1/\varepsilon−1/ε case would make the selection theorems a consequence of the axiom of choice. The statements rule all three out.

Not included: Lusin's theorem in Suslin-scheme form (Proposition 7.42, which needs the Suslin operation as a definition), Proposition 7.43 on P(X)P(X)P(X), the integration results of Propositions 7.46 and 7.48, and Lemma 7.30(2)–(4). None is used in the proof of the goal. Contributions welcome: the bridge between IsBorelSpace and Mathlib's StandardBorelSpace, the universal σ-algebra API, and the Jankov–von Neumann theorem itself.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press 1978; Athena Scientific 1996, §7.6–7.7. https://web.mit.edu/dimitrib/www/soc.html
  • D. Blackwell, D. Freedman and M. Orkin, The optimal reward operator in dynamic programming, Annals of Probability 2 (1974) 926–941. https://doi.org/10.1214/aop/1176996558
  • A. S. Kechris, Classical Descriptive Set Theory, Graduate Texts in Mathematics 156, Springer 1995, §18 (Jankov–von Neumann uniformization), §29 (measurability of analytic sets). https://doi.org/10.1007/978-1-4612-4190-4
  • S. E. Shreve and D. P. Bertsekas, Universally measurable policies in dynamic programming, Mathematics of Operations Research 4 (1979) 15–30. https://doi.org/10.1287/moor.4.1.15
8 thms3 active usersReviewed
🏆Completed
AnalysisOperations ResearchOptimization+2·Captain: mikedeng1

Stochastic Optimal Control: The Discrete-Time Case V: Semicontinuous Functions — a Borel-Measurable Minimizing Selector for Lower Semicontinuous CostsTextbook

Motivation

Every step of the dynamic programming algorithm on a general state space does three things: it takes a conditional expectation of the cost-to-go under a transition kernel, it minimizes the resulting function of state and control over the control, and, if a policy is to be produced, it picks a control for each state that attains or nearly attains that minimum. On a finite or countable state space all three are harmless. On an uncountable state space each can destroy the measurability needed to take the next expectation: the infimum over an uncountable family of measurable functions need not be measurable, and a minimizer chosen state by state need not be a measurable function of the state, so it does not define a policy at all.

Section 7.5 of Bertsekas and Shreve, Stochastic Optimal Control: The Discrete-Time Case (1978; Athena Scientific reprint 1996), settles the three operations for semicontinuous costs and continuous kernels. The results are the topological half of the book's measurability theory; the descriptive set theory half (lower semianalytic functions and analytically measurable selectors, §7.6–7.7) is a separate mission in this series. The semicontinuous results are what Propositions 8.6–8.7 and Corollaries 9.17.2–9.17.3 of the book use to obtain Borel-measurable optimal policies for finite-horizon and infinite-horizon models with lower semicontinuous costs and compact control sets.

Timeline. The exact selection theorem for lower semicontinuous functions (Proposition 7.33 below) is credited by the book's notes to Dubins and Savage, How to Gamble If You Must (1965). The Hausdorff metric on closed sets goes back to Hausdorff's Set Theory. Measurable selection in the closed-valued setting was later systematized by Kuratowski and Ryll-Nardzewski (1965), whose theorem gives a different route to results of this kind.

Setting

Throughout, R∗=[−∞,+∞]R^*=[-\infty,+\infty]R∗=[−∞,+∞] is the extended real line. A function f:X→R∗f:X\to R^*f:X→R∗ on a metrizable space XXX is lower semicontinuous if every sublevel set {x∣f(x)≤c}\{x\mid f(x)\le c\}{x∣f(x)≤c}, c∈Rc\in\mathbb Rc∈R, is closed, and upper semicontinuous if every superlevel set {x∣f(x)≥c}\{x\mid f(x)\ge c\}{x∣f(x)≥c} is closed (Definition 7.13). C(X)C(X)C(X) is the space of bounded continuous real-valued functions on XXX.

For a separable metrizable space YYY, P(Y)P(Y)P(Y) is the set of Borel probability measures on YYY with the weak topology (convergence of integrals of functions in C(Y)C(Y)C(Y)). A stochastic kernel q(dy∣x)q(dy\mid x)q(dy∣x) on YYY given XXX is a map x↦q(dy∣x)x\mapsto q(dy\mid x)x↦q(dy∣x) from XXX to P(Y)P(Y)P(Y), and it is continuous if this map is continuous (Definition 7.12). The integral of a Borel-measurable f:Y→R∗f:Y\to R^*f:Y→R∗ is ∫f dp=∫f+dp−∫f−dp\int f\,dp=\int f^+dp-\int f^-dp∫fdp=∫f+dp−∫f−dp with the convention −∞+∞=+∞−∞=+∞-\infty+\infty=+\infty-\infty=+\infty−∞+∞=+∞−∞=+∞ (Eq. (43) of Chapter 7).

For a compact metric space YYY, 2Y2^Y2Y is the collection of closed subsets of YYY with the topology of the Hausdorff metric (Appendix C). For D⊆X×YD\subseteq X\times YD⊆X×Y, the section at xxx is Dx={y∣(x,y)∈D}D_x=\{y\mid (x,y)\in D\}Dx​={y∣(x,y)∈D}, the projection is projX(D)={x∣Dx≠∅}\mathrm{proj}_X(D)=\{x\mid D_x\neq\emptyset\}projX​(D)={x∣Dx​=∅}, and a function φ:projX(D)→Y\varphi:\mathrm{proj}_X(D)\to Yφ:projX​(D)→Y has its graph in DDD if (x,φ(x))∈D(x,\varphi(x))\in D(x,φ(x))∈D for every x∈projX(D)x\in\mathrm{proj}_X(D)x∈projX​(D). "Borel-measurable" refers to the Borel σ-algebras of the topologies in question; on projX(D)\mathrm{proj}_X(D)projX​(D) this is the Borel σ-algebra of the subspace topology.

Formalization targets

Goal: Proposition 7.33

Let XXX be metrizable, YYY compact metrizable, D⊆X×YD\subseteq X\times YD⊆X×Y closed, and f:D→R∗f:D\to R^*f:D→R∗ lower semicontinuous. Put

f∗(x)=min⁡y∈Dxf(x,y),x∈projX(D).f^*(x)=\min_{y\in D_x}f(x,y),\qquad x\in\mathrm{proj}_X(D).f∗(x)=y∈Dx​min​f(x,y),x∈projX​(D).

Then projX(D)\mathrm{proj}_X(D)projX​(D) is closed, f∗f^*f∗ is lower semicontinuous, and there is a Borel-measurable φ:projX(D)→Y\varphi:\mathrm{proj}_X(D)\to Yφ:projX​(D)→Y with graph in DDD and

f(x,φ(x))=f∗(x)∀x∈projX(D).f\bigl(x,\varphi(x)\bigr)=f^*(x)\qquad\forall x\in\mathrm{proj}_X(D).f(x,φ(x))=f∗(x)∀x∈projX​(D).

Milestones

  • Proposition 7.32: for f∗(x)=inf⁡y∈Yf(x,y)f^*(x)=\inf_{y\in Y}f(x,y)f∗(x)=infy∈Y​f(x,y), lower semicontinuity of fff and compactness of YYY give lower semicontinuity of f∗f^*f∗ and attainment; upper semicontinuity of fff gives upper semicontinuity of f∗f^*f∗.
  • Lemma 7.18: there is a Borel-measurable σ:2Y−{∅}→Y\sigma:2^Y-\{\emptyset\}\to Yσ:2Y−{∅}→Y with σ(A)∈A\sigma(A)\in Aσ(A)∈A.
  • Lemma 7.20: for lower semicontinuous fff on a nonempty compact YYY, the argmin map x↦{y∣f(x,y)≤f∗(x)}x\mapsto\{y\mid f(x,y)\le f^*(x)\}x↦{y∣f(x,y)≤f∗(x)} is Borel-measurable into 2Y2^Y2Y.
  • Lemma 7.14: fff is lower semicontinuous and bounded below iff fn↑ff_n\uparrow ffn​↑f for some fn∈C(X)f_n\in C(X)fn​∈C(X) (and dually).
  • Proposition 7.30: x↦∫f(x,y) q(dy∣x)x\mapsto\int f(x,y)\,q(dy\mid x)x↦∫f(x,y)q(dy∣x) is continuous for f∈C(X×Y)f\in C(X\times Y)f∈C(X×Y) and continuous qqq.
  • Proposition 7.31: the same map is lower (upper) semicontinuous and bounded below (above) when fff is.
  • Lemma 7.21: an open G⊆X×YG\subseteq X\times YG⊆X×Y, YYY separable, has open projection and a Borel-measurable selector with graph in GGG.
  • Proposition 7.34: for open DDD and upper semicontinuous fff, projX(D)\mathrm{proj}_X(D)projX​(D) is open, f∗=inf⁡Dxff^*=\inf_{D_x}ff∗=infDx​​f is upper semicontinuous, and for each ε>0\varepsilon>0ε>0 there is a Borel-measurable φε\varphi_\varepsilonφε​ with graph in DDD and
f(x,φε(x))≤{f∗(x)+εif f∗(x)>−∞,−1/εif f∗(x)=−∞.f\bigl(x,\varphi_\varepsilon(x)\bigr)\le\begin{cases}f^*(x)+\varepsilon&\text{if }f^*(x)>-\infty,\\-1/\varepsilon&\text{if }f^*(x)=-\infty.\end{cases}f(x,φε​(x))≤{f∗(x)+ε−1/ε​if f∗(x)>−∞,if f∗(x)=−∞.​

Significance

The results. Propositions 7.31–7.33 are the closure properties that make the dynamic programming recursion stay inside the class of lower semicontinuous functions bounded below: the expectation step preserves the class (7.31), the minimization step preserves it (7.32, 7.33), and the minimization admits a Borel-measurable exact minimizer (7.33). This is why, in semicontinuous models, the optimal cost functions are lower semicontinuous and optimal policies can be taken Borel-measurable and nonrandomized. Proposition 7.34 gives the weaker, ε\varepsilonε-optimal counterpart for upper semicontinuous costs, where the infimum need not be attained.

Formalizing them. All of these results are proved in the book; none is open. As far as is known, none has a machine-checked proof: Mathlib has semicontinuity, the Hausdorff extended metric on closed and on nonempty compact sets, and the weak topology on probability measures, but no theorem combining them into a measurable selection result of this kind. A formal development would supply measurable selectors for semicontinuous minimization in Lean and the Borel-measurability of set-valued maps into the hyperspace of closed sets, both reusable well beyond dynamic programming.

Difficulty

The obvious attempt at the goal is to pick, for each xxx, some minimizer yyy of f(x,⋅)f(x,\cdot)f(x,⋅) over the compact section DxD_xDx​. The minimizer exists by compactness and lower semicontinuity, but the choice is made pointwise and gives no control on measurability: a minimizer chosen by the axiom of choice need not be Borel-measurable. The argmin sets F∗(x)F^*(x)F∗(x) vary with xxx only semicontinuously: they can jump from a single point to a large set, so a continuous selection generally does not exist, and continuity arguments cannot replace measurability. Lemma 7.18 isolates the hardest part: a choice of a point of each nonempty closed set that is measurable as a function of the set itself.

A second difficulty is bookkeeping at infinity. Values ±∞\pm\infty±∞ are allowed throughout, so sublevel sets, minima, integrals and ε\varepsilonε-bounds must all be handled in R∗R^*R∗; the integral in Proposition 7.31 uses the convention ∞−∞=+∞\infty-\infty=+\infty∞−∞=+∞, which is not Mathlib's.

Formalization scope

  • Extended reals. Values are in EReal. The only place where values of opposite infinite sign are combined is the integral, which is the published definition DupacovaWets.Consistency.expect (reused, not restated): ∫f+−∫f−\int f^+-\int f^-∫f+−∫f− with an explicit case returning +∞+\infty+∞ when ∫f+=∞\int f^+=\infty∫f+=∞, exactly the book's convention (42). The ε\varepsilonε-bound of Proposition 7.34 adds a real ε\varepsilonε to a value different from −∞-\infty−∞, which is safe in EReal.
  • Semicontinuity is Mathlib's LowerSemicontinuous/UpperSemicontinuous, equivalent to Definition 7.13 for EReal-valued functions. Lemma 7.13 of the book (the sequential characterization) is Mathlib's lowerSemicontinuous_iff_le_liminf together with first countability of metrizable spaces, and is not restated here.
  • Functions on DDD. Functions "on DDD" are functions on X×YX\times YX×Y with LowerSemicontinuousOn f D (resp. UpperSemicontinuousOn); values off DDD play no role. projX(D)\mathrm{proj}_X(D)projX​(D) is Prod.fst '' D, selectors are functions on that subtype, and its σ-algebra is the Borel σ-algebra of the subspace topology.
  • Hyperspace. 2Y2^Y2Y is Closeds Y, and 2Y−{∅}2^Y-\{\emptyset\}2Y−{∅} for compact YYY is NonemptyCompacts Y, each with the Hausdorff extended metric and the Borel σ-algebra of its topology. This topology agrees with the book's (the exponential topology of Appendix C, independent of the metric).
  • Boundedness. "Bounded below/above" is by a real constant. BddBelow in EReal would be vacuous and is not used.
  • Edge cases. Proposition 7.32(a)'s attainment clause is stated for nonempty YYY, since for Y=∅Y=\emptysetY=∅ the infimum is +∞+\infty+∞ and nothing attains it.
  • Argmin minimum. Lemma 7.20 assumes nonempty YYY because its defining formula uses a minimum; for empty YYY there is no minimizer.
  • Ruling out trivial readings. The graph condition (x,φ(x))∈D(x,\varphi(x))\in D(x,φ(x))∈D is part of every selection statement; without it the goal would follow from the unconstrained case. The selector must be Borel-measurable on projX(D)\mathrm{proj}_X(D)projX​(D) and must attain the minimum exactly, not up to ε\varepsilonε.

A complete development needs the Borel structure of the hyperspace (measurability of maps into Closeds Y from upper semicontinuity in the sense of Kuratowski, Proposition C.4 of the book), the construction of a measurable choice function on NonemptyCompacts Y, and approximation of semicontinuous functions by monotone sequences in C(X)C(X)C(X). Each of these is reusable on its own; proofs of individual milestones by any route are welcome.

Selected references

  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978; Athena Scientific reprint, 1996, Section 7.5 and Appendix C. https://web.mit.edu/dimitrib/www/soc.html
  • L. E. Dubins and L. J. Savage, How to Gamble If You Must: Inequalities for Stochastic Processes, McGraw-Hill, 1965.
  • K. Kuratowski and C. Ryll-Nardzewski, "A general theorem on selectors," Bull. Acad. Polon. Sci. 13 (1965), 397–403.
  • F. Hausdorff, Set Theory, Chelsea, New York, 1957.
10 thms3 active usersReviewed
🏆Completed
Markov ChainOperations Research·Captain: mikedeng1

Discrete Dynamic Programming 1: Every Finite Markov Decision Problem Has a Stationary Policy That Is Optimal for All Discount Factors Sufficiently Near 1Research Paper

Motivation

A Markov decision problem models a system that is observed once per period and controlled by choosing an action: the action earns an immediate income and determines the probabilities of the next state. Inventory control, machine replacement, queue admission and many reinforcement-learning benchmarks are of this form. With future income discounted by a factor β<1\beta<1β<1, Howard (Dynamic Programming and Markov Processes, 1960) showed how to compute an optimal policy by policy improvement. The undiscounted problem (β=1\beta=1β=1) is harder, because total income is typically infinite.

David Blackwell's Discrete Dynamic Programming (Ann. Math. Statist. 33 (1962) 719–726) treats β=1\beta=1β=1 as a limit of β<1\beta<1β<1. Its Theorem 5 shows that some stationary policy is optimal simultaneously for all discount factors sufficiently close to 111. Such policies are now called Blackwell optimal, and the result is the base of sensitive discount optimality (Veinott, 1969) and of the standard textbook treatment of average-reward problems (Puterman, Markov Decision Processes, 1994, Ch. 10).

Timeline. Howard (1960): policy iteration for discounted and average-reward finite problems. Blackwell (1962): Theorem 5 (Blackwell optimal stationary policies exist) and the characterization of nearly optimal stationary policies (Theorem 4, the subject of the companion mission). Miller and Veinott (Ann. Math. Statist. 40 (1969) 366–370), Veinott (Ann. Math. Statist. 40 (1969) 1635–1660): Laurent expansions of VβV_\betaVβ​ in 1−β1-\beta1−β and nnn-discount optimality.

Setting

There are finitely many states sss and a finite set AAA of actions, every action available in every state. In state sss, action aaa yields income i(s,a)∈Ri(s,a)\in\mathbb Ri(s,a)∈R (any sign) and moves the system to state s′s's′ with probability q(s′∣s,a)q(s'\mid s,a)q(s′∣s,a); each q(⋅∣s,a)q(\cdot\mid s,a)q(⋅∣s,a) is a probability vector.

A decision rule is a function fff from states to actions; FFF is the finite set of decision rules. A policy is a sequence π={fn, n=1,2,… }\pi=\{f_n,\ n=1,2,\dots\}π={fn​, n=1,2,…} in FFF: on day nnn, in state sss, action fn(s)f_n(s)fn​(s) is used. Policies are deterministic and Markov but may change with time. The policy (f,π)(f,\pi)(f,π) uses fff on day 111 and then follows π\piπ; f(∞)f^{(\infty)}f(∞) uses fff every day and is called stationary.

For f∈Ff\in Ff∈F, r(f)r(f)r(f) is the vector (i(s,f(s)))s(i(s,f(s)))_s(i(s,f(s)))s​ and Q(f)Q(f)Q(f) the Markov matrix (q(s′∣s,f(s)))s,s′(q(s'\mid s,f(s)))_{s,s'}(q(s′∣s,f(s)))s,s′​. With Q0(π)=IQ_0(\pi)=IQ0​(π)=I and Qn(π)=Q(f1)⋯Q(fn)Q_n(\pi)=Q(f_1)\cdots Q(f_n)Qn​(π)=Q(f1​)⋯Q(fn​), the return of π\piπ at discount factor 0≤β<10\le\beta<10≤β<1 is

Vβ(π)=∑n=0∞βn Qn(π) r(fn+1),V_\beta(\pi)=\sum_{n=0}^\infty \beta^n\,Q_n(\pi)\,r(f_{n+1}),Vβ​(π)=n=0∑∞​βnQn​(π)r(fn+1​),

a vector indexed by the initial state. Vectors are compared coordinatewise; w1>w2w_1>w_2w1​>w2​ means w1≥w2w_1\ge w_2w1​≥w2​ and w1≠w2w_1\ne w_2w1​=w2​.

A policy π∗\pi^*π∗ is β\betaβ-optimal if Vβ(π∗)≥Vβ(π)V_\beta(\pi^*)\ge V_\beta(\pi)Vβ​(π∗)≥Vβ​(π) for every policy π\piπ. Following §4 of the paper, a policy is optimal if it is β\betaβ-optimal for all β\betaβ sufficiently near 111.

Formalization targets

Goal: Theorem 5

There exist a decision rule fff and β0<1\beta_0<1β0​<1 such that

Vβ(f(∞)) ≥ Vβ(π)for all β∈(β0,1) and all policies π.V_\beta(f^{(\infty)})\ \ge\ V_\beta(\pi)\qquad\text{for all }\beta\in(\beta_0,1)\text{ and all policies }\pi.Vβ​(f(∞)) ≥ Vβ​(π)for all β∈(β0​,1) and all policies π.

One fff and one β0\beta_0β0​ serve every competing policy and every β∈(β0,1)\beta\in(\beta_0,1)β∈(β0​,1).

Milestones

  1. The composition rule Vβ(f,π)=L(f)Vβ(π)V_\beta(f,\pi)=L(f)V_\beta(\pi)Vβ​(f,π)=L(f)Vβ​(π), with L(f)w=r(f)+βQ(f)wL(f)w=r(f)+\beta Q(f)wL(f)w=r(f)+βQ(f)w, and its NNN-fold version (§2).
  2. Theorem 1: if Vβ(f,π∗)≤Vβ(π∗)V_\beta(f,\pi^*)\le V_\beta(\pi^*)Vβ​(f,π∗)≤Vβ​(π∗) for all f∈Ff\in Ff∈F, then π∗\pi^*π∗ is β\betaβ-optimal.
  3. Theorem 2: if Vβ(f,π)>Vβ(π)V_\beta(f,\pi)>V_\beta(\pi)Vβ​(f,π)>Vβ​(π) then Vβ(f(∞))>Vβ(π)V_\beta(f^{(\infty)})>V_\beta(\pi)Vβ​(f(∞))>Vβ​(π).
  4. Theorem 3 (policy improvement): if no action improves f(∞)f^{(\infty)}f(∞) by one step, f(∞)f^{(\infty)}f(∞) is β\betaβ-optimal; otherwise switching to improving actions gives g(∞)>f(∞)g^{(\infty)}>f^{(\infty)}g(∞)>f(∞).
  5. Corollary: for each fixed β∈[0,1)\beta\in[0,1)β∈[0,1) some stationary policy is β\betaβ-optimal.
  6. Each coordinate of Vβ(f(∞))V_\beta(f^{(\infty)})Vβ​(f(∞)) is a rational function of β\betaβ on [0,1)[0,1)[0,1) with nonvanishing denominator.
  7. Some f∗f^*f∗ is β\betaβ-optimal for a set of β\betaβ's having 111 as a limit point.
  8. If Vβ(f∗(∞))≥Vβ(g(∞))V_\beta(f^{*(\infty)})\ge V_\beta(g^{(\infty)})Vβ​(f∗(∞))≥Vβ​(g(∞)) for a set of β\betaβ's accumulating at 111, then it holds for all β\betaβ near 111.

Significance

The result. Theorem 5 shows that the infinitely many discounted problems near β=1\beta=1β=1 share a common optimal stationary policy. Such a policy is also optimal for the long-run average criterion, which settles the existence of average-optimal stationary policies in finite models without any recurrence assumption. It also justifies computing undiscounted solutions as limits of discounted ones, and it is the first case of the sensitive optimality criteria developed later.

Formalizing it. The theorem is classical and proved in the paper and in the textbooks; there is no machine-checked proof of it in Blackwell's model on the platform. A related open item, SennottDP.AvgFinite.prop_6_2_3_blackwell_optimal, states the textbook version for nonnegative costs and randomized history-dependent policies; the present mission is Blackwell's own formulation with incomes of either sign and deterministic Markov policies. A complete development also yields a verified policy improvement theorem (Theorem 3) and the rationality of discounted values in β\betaβ, both reusable for any finite-state discounted model.

Difficulty

The Corollary gives, for each β\betaβ, some optimal stationary policy, and FFF is finite, so one f∗f^*f∗ is β\betaβ-optimal for infinitely many β\betaβ accumulating at 111. The obvious argument stops there: optimality on a sequence of β\betaβ's says nothing about the β\betaβ's in between, and a pointwise limit argument cannot produce a whole interval (β0,1)(\beta_0,1)(β0​,1). The step that fails is passing from "frequently" to "eventually", and it needs structural information about how VβV_\betaVβ​ depends on β\betaβ, not just continuity. A second difficulty is the comparison class: optimality must hold against all time-dependent policies, not only the finitely many stationary ones, so the final step has to bring the Corollary back in for every β\betaβ near 111.

Formalization scope

States and actions are finite nonempty Lean types St, Act; decision rules are functions St → Act and policies are sequences ℕ → St → Act, indexed from 000 (π 0 is Blackwell's f1f_1f1​). Incomes are real-valued with no sign restriction. The law of motion law s a s' =q(s′∣s,a)=q(s'\mid s,a)=q(s′∣s,a) satisfies the published predicate IsTransitionKernel. Qn(π)Q_n(\pi)Qn​(π) is the ordered matrix product and Vβ(π)V_\beta(\pi)Vβ​(π) is the tsum of the series, which converges absolutely for 0≤β<10\le\beta<10≤β<1; every statement at a fixed β\betaβ assumes 0≤β<10\le\beta<10≤β<1, and nothing is stated for β≥1\beta\ge1β≥1. Vector inequalities are coordinatewise, and the strict order is "≥\ge≥ and ≠\ne=", not coordinatewise strict. "β\betaβ sufficiently near 111" is "there is β0<1\beta_0<1β0​<1 such that for every β∈(β0,1)\beta\in(\beta_0,1)β∈(β0​,1)". The paper's §4 phrase Vβ(π)=U(β)V_\beta(\pi)=U(\beta)Vβ​(π)=U(β) is encoded as β\betaβ-optimality, so no supremum over policies appears.

The word "optimal" has two meanings in the paper: at one fixed β\betaβ (§3, the Corollary) and for all β\betaβ near 111 (§4, Theorem 5). The Lean development keeps them apart as IsBetaOptimal β and IsOptimal. A statement of Theorem 5 at a single β\betaβ, with "there exists β\betaβ", for a set of β\betaβ's accumulating at 111, or against stationary policies only would be a different and weaker theorem; the goal rules all of these out.

Needed infrastructure: summation and shifting of the discounted series, Neumann series (I−βQ)−1=∑nβnQn(I-\beta Q)^{-1}=\sum_n\beta^nQ^n(I−βQ)−1=∑n​βnQn for stochastic QQQ, Cramer's rule to express (I−βQ)−1r(I-\beta Q)^{-1}r(I−βQ)−1r as a ratio of polynomials in β\betaβ, and the fact that a nonzero polynomial has finitely many roots. The policy improvement theorem and the rationality lemma are reusable beyond this mission. Proofs of individual milestones are welcome independently.

Selected references

  • D. Blackwell, Discrete Dynamic Programming, Ann. Math. Statist. 33(2):719–726, 1962. https://doi.org/10.1214/aoms/1177704593
  • R. A. Howard, Dynamic Programming and Markov Processes, Technology Press and Wiley, 1960.
  • A. F. Veinott Jr., Discrete Dynamic Programming with Sensitive Discount Optimality Criteria, Ann. Math. Statist. 40(5):1635–1660, 1969. https://doi.org/10.1214/aoms/1177697379
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
  • L. I. Sennott, Stochastic Dynamic Programming and the Control of Queueing Systems, Wiley, 1999 (Proposition 6.2.3, Blackwell optimality for finite models). https://doi.org/10.1002/9780470317037
11 thms3 active usersReviewed
🏆Completed
Machine LearningMarkov ChainReinforcement Learning·Captain: mikedeng1

Reinforcement Learning: An Introduction IX: Average Reward and the Futility of Discounting in Continuing ProblemsTextbook

Motivation

Reinforcement learning formulates control as maximizing reward accumulated over time. For continuing tasks, where interaction never terminates, the standard textbook objective is the discounted return with a discount rate γ<1\gamma < 1γ<1. Chapter 10 of Sutton and Barto, Reinforcement Learning: An Introduction (2nd ed., MIT Press, 2018), argues that once values are approximated by a function of features rather than stored per state, this objective is the wrong one, and it proposes the average-reward setting, long standard in dynamic programming (Puterman, Markov Decision Processes, 1994), as its replacement.

The central piece of evidence is a short calculation printed in the box The Futility of Discounting in Continuing Problems (p. 254). If one tries to rescue discounting by averaging discounted values over the states the policy actually visits, the resulting objective is a constant multiple of the average reward, so the discount rate has no effect on which policy is preferred. This mission formalizes that calculation together with the definitions of §10.3 that it rests on, and the two exercises of §10.3 that illustrate the differential value (10.13).

Setting

A finite MDP has finite state set S\mathcal SS, finite action set A\mathcal AA, finite reward set R⊂R\mathcal R \subset \mathbb RR⊂R and dynamics p(s′,r∣s,a)p(s', r \mid s, a)p(s′,r∣s,a), a probability distribution over next state and reward for each state–action pair (3.2)–(3.3). Write p(s′∣s,a)=∑rp(s′,r∣s,a)p(s' \mid s, a) = \sum_r p(s', r\mid s,a)p(s′∣s,a)=∑r​p(s′,r∣s,a). A policy π(a∣s)\pi(a \mid s)π(a∣s) is a distribution over actions for each state. It turns the MDP into a Markov chain with transition matrix Pπ(s,s′)=∑aπ(a∣s) p(s′∣s,a)P_\pi(s, s') = \sum_a \pi(a\mid s)\, p(s'\mid s,a)Pπ​(s,s′)=∑a​π(a∣s)p(s′∣s,a) and expected one-step reward rπ(s)=∑aπ(a∣s)∑s′,rp(s′,r∣s,a) rr_\pi(s) = \sum_a \pi(a\mid s)\sum_{s',r} p(s',r\mid s,a)\, rrπ​(s)=∑a​π(a∣s)∑s′,r​p(s′,r∣s,a)r, so that Pr⁡{St=s∣S0=s0}=Pπt(s0,s)\Pr\{S_t = s\mid S_0=s_0\} = P_\pi^t(s_0,s)Pr{St​=s∣S0​=s0​}=Pπt​(s0​,s) and E[Rt+1∣S0=s0]=(Pπtrπ)(s0)\mathbb E[R_{t+1}\mid S_0 = s_0] = (P_\pi^t r_\pi)(s_0)E[Rt+1​∣S0​=s0​]=(Pπt​rπ​)(s0​).

A stationary distribution of π\piπ is a probability vector μ\muμ on S\mathcal SS with

∑sμ(s)∑aπ(a∣s) p(s′∣s,a)=μ(s′)for all s′(10.8).\sum_s \mu(s)\sum_a \pi(a\mid s)\,p(s'\mid s,a) = \mu(s') \quad\text{for all } s' \qquad (10.8).s∑​μ(s)a∑​π(a∣s)p(s′∣s,a)=μ(s′)for all s′(10.8).

The average reward of π\piπ is

r(π)=lim⁡h→∞1h∑t=1hE[Rt∣S0,A0:t−1∼π](10.6),r(π)=∑sμπ(s)∑aπ(a∣s)∑s′,rp(s′,r∣s,a) r(10.7),r(\pi) = \lim_{h\to\infty}\frac1h\sum_{t=1}^h \mathbb E[R_t\mid S_0, A_{0:t-1}\sim\pi] \quad (10.6), \qquad r(\pi) = \sum_s \mu_\pi(s)\sum_a\pi(a\mid s)\sum_{s',r}p(s',r\mid s,a)\,r \quad (10.7),r(π)=h→∞lim​h1​t=1∑h​E[Rt​∣S0​,A0:t−1​∼π](10.6),r(π)=s∑​μπ​(s)a∑​π(a∣s)s′,r∑​p(s′,r∣s,a)r(10.7),

the second form holding when the steady-state distribution μπ(s)=lim⁡t→∞Pr⁡{St=s}\mu_\pi(s) = \lim_{t\to\infty}\Pr\{S_t = s\}μπ​(s)=limt→∞​Pr{St​=s} exists and does not depend on S0S_0S0​ (an ergodic MDP).

The discounted value function is vπγ(s)=Eπ[∑k≥0γkRt+k+1∣St=s]v^\gamma_\pi(s) = \mathbb E_\pi\big[\sum_{k\ge0}\gamma^k R_{t+k+1}\mid S_t = s\big]vπγ​(s)=Eπ​[∑k≥0​γkRt+k+1​∣St​=s], and the objective of the box is

J(π)=∑sμπ(s) vπγ(s).J(\pi) = \sum_s \mu_\pi(s)\, v^\gamma_\pi(s).J(π)=s∑​μπ​(s)vπγ​(s).

Finally, the differential value of a state (10.13) is vπ(s)=lim⁡γ→1lim⁡h→∞∑t=0hγt(Eπ[Rt+1∣S0=s]−r(π))v_\pi(s) = \lim_{\gamma\to1}\lim_{h\to\infty}\sum_{t=0}^h\gamma^t\big(\mathbb E_\pi[R_{t+1}\mid S_0 = s] - r(\pi)\big)vπ​(s)=limγ→1​limh→∞​∑t=0h​γt(Eπ​[Rt+1​∣S0​=s]−r(π)).

Formalization targets

Goal: the futility of discounting

For 0≤γ<10 \le \gamma < 10≤γ<1, every policy π\piπ and every stationary distribution μπ\mu_\piμπ​ of π\piπ,

J(π)=∑sμπ(s) vπγ(s)=11−γ r(π),J(\pi) = \sum_s \mu_\pi(s)\, v^\gamma_\pi(s) = \frac{1}{1-\gamma}\, r(\pi),J(π)=s∑​μπ​(s)vπγ​(s)=1−γ1​r(π),

and therefore, for a fixed γ\gammaγ and policies π,π′\pi, \pi'π,π′ with their own stationary distributions,

J(π)≤J(π′)  ⟺  r(π)≤r(π′).J(\pi) \le J(\pi') \iff r(\pi) \le r(\pi').J(π)≤J(π′)⟺r(π)≤r(π′).

Milestones

  1. (10.6)–(10.7): if Pr⁡{St=s∣S0=s0}→μ(s)\Pr\{S_t = s\mid S_0 = s_0\}\to\mu(s)Pr{St​=s∣S0​=s0​}→μ(s) for all s0,ss_0, ss0​,s, then from every start both lim⁡tE[Rt]\lim_t \mathbb E[R_t]limt​E[Rt​] and the Cesàro limit (10.6) exist and equal the μ\muμ-sum.
  2. (10.8): such a limit μ\muμ is a stationary distribution.
  3. (3.14): vπγv^\gamma_\pivπγ​ satisfies the Bellman equation, the step "(Bellman Eq.)" of the box.
  4. Offset invariance (p. 250): the differential Bellman equations for vπ,qπ,v∗,q∗v_\pi, q_\pi, v_*, q_*vπ​,qπ​,v∗​,q∗​ and the differential TD errors (10.10)–(10.11) are unchanged when all values are shifted by a constant.
  5. Exercise 10.6: for expected rewards 1,0,1,0,…1,0,1,0,\dots1,0,1,0,… from A\mathsf AA and 0,1,0,1,…0,1,0,1,\dots0,1,0,1,… from B\mathsf BB, the average reward is 12\tfrac1221​, the limit (10.7) and a steady-state distribution do not exist, and vπ(A)=14v_\pi(\mathsf A) = \tfrac14vπ​(A)=41​, vπ(B)=−14v_\pi(\mathsf B) = -\tfrac14vπ​(B)=−41​.
  6. Exercise 10.7: in the three-state ring with reward +1+1+1 on arrival in A\mathsf AA, the average reward is 13\tfrac1331​ and the differential values are v(A)=−13v(\mathsf A) = -\tfrac13v(A)=−31​, v(B)=0v(\mathsf B) = 0v(B)=0, v(C)=13v(\mathsf C) = \tfrac13v(C)=31​.

The book prints no answers to Exercises 10.6 and 10.7; the values above were computed for this mission.

Significance

The result itself. The identity shows that the discount rate cannot enter the ranking of policies once performance is measured over the on-policy state distribution: any objective of the form "discounted value averaged over where the policy goes" is the average reward up to a positive factor. The book draws from it the conclusion (p. 253) that γ\gammaγ changes from a problem parameter to a solution-method parameter, and that discounting algorithms with function approximation, which do not optimize this averaged objective, are not guaranteed to optimize average reward either. Milestones 1–2 connect the closed form of r(π)r(\pi)r(π) to its definition as a long-run rate; milestone 4 explains why differential methods determine values only up to an offset; the exercises show that (10.13) gives finite differential values in periodic chains where the differential return (10.9) has no limit.

Formalizing it. The results are classical and elementary, but the book's derivation is informal: it takes the Bellman equation for granted, sums a geometric series of equalities, and leaves implicit which distribution μπ\mu_\piμπ​ is meant and when (10.6) and (10.7) agree. This mission fixes each of those points: vπγv^\gamma_\pivπγ​ is defined from returns, the identity is proved for every stationary distribution, and the ergodicity hypothesis is made the exact limit condition the text states. No machine-checked version of these statements is known to exist; the platform's Markov-chain and average-reward libraries (Puterman's unichain optimality equation, Doeblin convergence) state different results.

Difficulty

The box reads as a chain of equalities, and each individual step is short. The one step that is not algebra is "(Bellman Eq.)": with vπγv^\gamma_\pivπγ​ defined as an expected discounted return, the Bellman equation requires exchanging an infinite sum with a finite expectation and shifting the index of a convergent series, which needs absolute convergence for γ<1\gamma < 1γ<1 and bounded rewards. The final line, which unrolls J=r+γJJ = r + \gamma JJ=r+γJ into a geometric series, is only valid because JJJ is finite. For milestone 1, the book's hypothesis is the existence of an S0S_0S0​-independent limiting distribution, not irreducibility or aperiodicity; replacing it by either would change the statement. The exercises require the iterated limit in (10.13) to be computed explicitly: the inner limit is a periodic series summed in closed form, and the outer limit is a removable singularity at γ=1\gamma = 1γ=1.

Formalization scope

The Lean development lives in the namespace SuttonBartoRL.AverageReward. States, actions and rewards are finite; one action set serves every state; the dynamics are the four-argument p(s′,r∣s,a)p(s', r\mid s,a)p(s′,r∣s,a). Probabilities Pr⁡{St=s∣S0=s0}\Pr\{S_t = s\mid S_0 = s_0\}Pr{St​=s∣S0​=s0​} and E[Rt+1∣S0=s0]\mathbb E[R_{t+1}\mid S_0=s_0]E[Rt+1​∣S0​=s0​] are computed from the matrix powers PπtP_\pi^tPπt​. The discounted value vπγv^\gamma_\pivπγ​ is a real series ∑kγk(Pπkrπ)(s)\sum_k \gamma^k (P_\pi^k r_\pi)(s)∑k​γk(Pπk​rπ​)(s); it is not defined as the solution of the Bellman equation, since that definition would reduce the goal to three lines of algebra. The average reward and JJJ take the state distribution μ\muμ as an explicit argument; the goal holds for every stationary distribution of π\piπ and assumes no ergodicity, which is all the box uses (under ergodicity μπ\mu_\piμπ​ is the unique one). γ=0\gamma = 0γ=0 is allowed. The differential value (10.13) is stated as the existence of both limits with the given value, with γ→1\gamma \to 1γ→1 from below, so no default value of a nonexistent limit can make a statement true. The optimality equations use a nonempty action set. The sum ∑t=1hE[Rt]\sum_{t=1}^h \mathbb E[R_t]∑t=1h​E[Rt​] of (10.6) is written with the index shifted to t=0,…,h−1t = 0,\dots,h-1t=0,…,h−1.

The Lean does not formalize a trajectory probability space: expectations and probabilities are the matrix expressions above, which is what they equal for a Markov chain. The Exercise 10.6 hypothesis constrains expected rewards of one policy, which is all the exercise uses.

Reusable parts: the finite-MDP layer duplicates the one drafted for the other missions of this series and is expected to be merged with it; the Cesàro and stationary-distribution lemmas of milestones 1–2 are general facts about finite Markov chains. Contributions welcome: proofs of any milestone, and a proof of the goal from milestone 3.

Selected references

  • R. S. Sutton, A. G. Barto, Reinforcement Learning: An Introduction, 2nd ed., MIT Press, 2018, ISBN 9780262039246, §§10.3–10.4, pp. 249–254. http://incompleteideas.net/book/the-book-2nd.html
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994. https://doi.org/10.1002/9780470316887
  • S. Mahadevan, "Average reward reinforcement learning: foundations, algorithms, and empirical results", Machine Learning 22, 159–195, 1996. https://doi.org/10.1007/BF00114727
11 thms3 active usersReviewed
🏆Completed
Markov ChainOperations ResearchProbability·Captain: mikedeng1

An Inventory Model with Limited Production Capacity and Uncertain Demands I. The Average-Cost Criterion: With Finite Storage a Modified Base-Stock Policy Is Strongly Average-Cost OptimalResearch Paper

Motivation

A manufacturer that makes one product to stock faces random demand, can produce at most bbb units per period, and can store at most UUU units. The classical result without the production limit is that a base-stock policy is optimal: raise inventory to a fixed level yˉ\bar yyˉ​ each period. With a production limit, the natural modification is to produce up to yˉ\bar yyˉ​ when that is possible and to produce at full capacity otherwise. Federgruen and Zipkin (1986) proved that this modified base-stock (critical-number) policy is optimal under the long-run average-cost criterion, for discrete demand with a general convex cost. Production-capacity models of this type are standard in operations management texts, and the result underlies the computational and comparative-static work that followed, starting with Part II of the same paper, which treats discounted costs.

Timeline.

  • 1950s–60s: optimality of base-stock (critical-number) policies for uncapacitated periodic-review models; see Heyman and Sobel's Stochastic Models in Operations Research, Vol. II (1984).
  • 1986: Federgruen and Zipkin, Part I (average cost, MOR 11(2):193–207) and Part II (discounted cost, MOR 11(2):208–215) establish the capacitated case. Part I handles the unbounded state space with a general average-cost theory for countable-state Markov decision processes by Federgruen, Schweitzer and Tijms (1983).

Setting

Time is divided into periods t=0,1,…t = 0, 1, \dotst=0,1,…. The demands D0,D1,…D_0, D_1, \dotsD0​,D1​,… are independent copies of a random variable DDD with values in {0,1,2,… }\{0, 1, 2, \dots\}{0,1,2,…} and probability mass function p(j)p(j)p(j); write μ=E(D)\mu = E(D)μ=E(D) and P(j)=Pr⁡{D≤j}P(j) = \Pr\{D \le j\}P(j)=Pr{D≤j}. At the start of period ttt the inventory is an integer xtx_txt​ (negative values are backorders). The decision maker raises it to

yt∈Y(xt)={y∈Z:xt≤y≤xt+b, y≤U},y_t \in Y(x_t) = \{y \in \mathbb Z : x_t \le y \le x_t + b,\ y \le U\},yt​∈Y(xt​)={y∈Z:xt​≤y≤xt​+b, y≤U},

pays the expected one-period cost G(yt)G(y_t)G(yt​), and demand is subtracted: xt+1=yt−Dtx_{t+1} = y_t - D_txt+1​=yt​−Dt​. The order cost per unit is set to zero, as in the paper; this loses no generality because every policy with finite average cost has the same average order cost.

The standing assumptions are: G≥0G \ge 0G≥0 is convex and G(y)→∞G(y) \to \inftyG(y)→∞ as ∣y∣→∞|y| \to \infty∣y∣→∞ (Assumption 1); the characteristic function of DDD is analytic at the origin (Assumption 2), and 0<μ0 < \mu0<μ; G(y)≤A+B∣y∣ρG(y) \le A + B|y|^\rhoG(y)≤A+B∣y∣ρ for some positive integer ρ\rhoρ (Assumption 3); b>μb > \mub>μ and P(b)<1P(b) < 1P(b)<1 (Assumption 4). The smallest global minimizer of GGG is yˉ∞\bar y^\inftyyˉ​∞, and U≥yˉ∞U \ge \bar y^\inftyU≥yˉ​∞.

A Markov policy is a sequence π=(π0,π1,… )\pi = (\pi_0, \pi_1, \dots)π=(π0​,π1​,…) of maps with πt(x)∈Y(x)\pi_t(x) \in Y(x)πt​(x)∈Y(x). The critical-number policy with critical number yˉ\bar yyˉ​ is δ[yˉ](x)=max⁡(x,min⁡(yˉ,x+b))\delta[\bar y](x) = \max(x, \min(\bar y, x + b))δ[yˉ​](x)=max(x,min(yˉ​,x+b)). A stationary policy δ\deltaδ is strongly optimal with average cost ggg if, from every initial state x≤Ux \le Ux≤U, its average cost t−1E{∑i<tG(yi)}t^{-1}E\{\sum_{i<t} G(y_i)\}t−1E{∑i<t​G(yi​)} converges to ggg, while every Markov policy has lim-inf average cost at least ggg from every initial state.

The analysis uses the operators Rv(y)=G(y)+E v(y−D)Rv(y) = G(y) + E\,v(y - D)Rv(y)=G(y)+Ev(y−D) and Sv(x)=min⁡y∈Y(x)Rv(y)Sv(x) = \min_{y \in Y(x)} Rv(y)Sv(x)=miny∈Y(x)​Rv(y), and the optimality equation

g+v(x)=Sv(x),x≤U.(6)g + v(x) = Sv(x),\qquad x \le U. \tag{6}g+v(x)=Sv(x),x≤U.(6)

For an interval ι=[l,u]\iota = [l, u]ι=[l,u], Hιv(x)H_\iota v(x)Hι​v(x) is the largest expected sum of v(yt)v(y_t)v(yt​), over policies forced to produce at capacity below lll and to produce nothing above uuu, until the inventory first returns to ι\iotaι.

Formalization targets

Goal: Theorem 1 (p. 202)

There exist g∗g^*g∗, v∗v^*v∗ and y∗≥yˉ∞y^* \ge \bar y^\inftyy∗≥yˉ​∞ such that (g∗,v∗)(g^*, v^*)(g∗,v∗) solves (6), v∗v^*v∗ is convex with global minimizer y∗y^*y∗, and

δ∗=δ[y∗] is strongly optimal with average cost g∗.\delta^* = \delta[y^*] \text{ is strongly optimal with average cost } g^*.δ∗=δ[y∗] is strongly optimal with average cost g∗.

The y∗y^*y∗ in the optimality claim is the minimizer constructed in part (a).

Milestones

  • Lemma 2(a)–(c) (pp. 196–197): a normal-tail inequality and two series estimates.
  • Lemma 3 (p. 198): if v(x)=O(∣x∣q)v(x) = O(|x|^q)v(x)=O(∣x∣q) then Hιv(x)=O(∣x∣q+3)H_\iota v(x) = O(|x|^{q+3})Hι​v(x)=O(∣x∣q+3).
  • Corollary 1 (p. 200): Hι1=O(∣x∣3)H_\iota 1 = O(|x|^3)Hι​1=O(∣x∣3) and HιG=O(∣x∣ρ+3)H_\iota G = O(|x|^{\rho+3})Hι​G=O(∣x∣ρ+3), both finite.
  • Corollary 2 (p. 201): (t+1)−1P[δ0t]⋯P[δtt](Hι1+HιG)(x)→0(t+1)^{-1}P[\delta_{0t}]\cdots P[\delta_{tt}](H_\iota 1 + H_\iota G)(x) \to 0(t+1)−1P[δ0t​]⋯P[δtt​](Hι​1+Hι​G)(x)→0.
  • Lemma 4 (p. 201): reachability of every state in [L,U−D−][L, U - D_-][L,U−D−​] under some policy that produces at capacity below LLL.
  • Lemma 5 (p. 202): SSS and QQQ preserve the class VVV of convex functions of growth O(∣x∣ρ+3)O(|x|^{\rho+3})O(∣x∣ρ+3) that are nonincreasing below yˉ∞\bar y^\inftyyˉ​∞.

Significance

The result. Theorem 1 reduces an infinite-state average-cost control problem to a one-parameter search over critical numbers. The paper then evaluates the average cost of δ[yˉ]\delta[\bar y]δ[yˉ​] by a renewal formula, proves it convex in yˉ\bar yyˉ​ (Theorem 2), and in §5 extends optimality to unlimited storage. The strong form of optimality matters: it compares with every Markov policy from every starting state, and it compares lim-infs, not only lim-sups.

Formalizing it. The theorem has a published proof, but no machine-checked one, and its proof relies on external results that are themselves unformalized: the countable-state average-cost theory of Federgruen, Schweitzer and Tijms, a fixed-point theorem on a compact convex subset of a product space, and a large-deviation estimate quoted from Feller. A formal development produces reusable infrastructure: expected first-passage sums for integer-valued random walks with a reflecting control, polynomial moment bounds for them, and the convexity-preservation argument for capacitated value iteration.

Difficulty

The state space is unbounded below, so the finite-state theory of average-cost Markov decision processes does not apply, and the one-period cost is unbounded. The obvious approach, letting the discount factor tend to one in the discounted problem, needs uniform bounds on relative value functions. Those bounds come from the expected cost until the inventory returns to a fixed interval, and with capacity limits that expectation must be controlled with growth O(∣x∣ρ+3)O(|x|^{\rho+3})O(∣x∣ρ+3) uniformly over a class of policies. This is the content of Lemma 3, whose proof combines a large-deviation estimate for the demand sums with a renewal-type recursion. A second obstacle is strong optimality: comparing with policies whose lim-inf average cost is smaller requires that the relative value function grows sublinearly along every admissible trajectory (Corollary 2).

Formalization scope

All objects are in the namespace FedergruenZipkin.AvgCost, defined in one file. States x,yx, yx,y and the capacity UUU are integers; demands are natural numbers with a real probability mass function p; bbb is a positive natural number. Convexity on Z\mathbb ZZ is the second-difference inequality. Expectations of a real function are series ∑jp(j) v(y−j)\sum_j p(j)\,v(y-j)∑j​p(j)v(y−j); expected policy costs and hitting sums are [0,∞][0,\infty][0,∞]-valued and need no integrability side condition. Feasibility and all properties of value functions are required only on states x≤Ux \le Ux≤U, which are the only states visited. Assumption 2 is stated literally, as real-analyticity of θ↦∑jp(j)eiθj\theta \mapsto \sum_j p(j)e^{i\theta j}θ↦∑j​p(j)eiθj at 000. The order cost is zero, as in the paper. yˉ∞\bar y^\inftyyˉ​∞ is a parameter characterised as the least minimizer of GGG, not an infimum.

"Strongly optimal" has no displayed definition in the paper; it is read from eq. (7) in the proof of Theorem 1(b): convergence of the average cost of δ∗\delta^*δ∗ to g∗g^*g∗ from every state, together with a lim-inf lower bound for every Markov (memoryless, possibly nonstationary) policy from every state. The class is neither widened to history-dependent policies nor narrowed to stationary ones. The goal additionally records that E v∗(y−D)E\,v^*(y-D)Ev∗(y−D) converges, that v∗v^*v∗ has growth O(∣x∣ρ+3)O(|x|^{\rho+3})O(∣x∣ρ+3), and that g∗≥0g^* \ge 0g∗≥0; all three follow from the paper's proof.

A trivializing reading is ruled out: the existence of ggg, vvv and y∗y^*y∗ is one existential, so y∗y^*y∗ cannot be decoupled from the solution of (6), and strong optimality includes the convergence of δ∗\delta^*δ∗'s own average cost to g∗g^*g∗, so g=0g = 0g=0 does not satisfy it vacuously.

Not posed: Lemma 1 (quoted from Feller, and replaceable by a Chernoff bound); the renewal formulas (10)–(11) and Theorem 2; and §5 (unlimited storage). Useful contributions include a formal theory of expected hitting sums for skip-free-upward random walks, and a proof of Lemma 3 by any route.

Selected references

  • A. Federgruen and P. Zipkin, An Inventory Model with Limited Production Capacity and Uncertain Demands I. The Average-Cost Criterion, Mathematics of Operations Research 11(2):193–207, 1986. https://doi.org/10.1287/moor.11.2.193
  • A. Federgruen and P. Zipkin, An Inventory Model with Limited Production Capacity and Uncertain Demands II. The Discounted-Cost Criterion, Mathematics of Operations Research 11(2):208–215, 1986. https://doi.org/10.1287/moor.11.2.208
  • A. Federgruen, P. J. Schweitzer and H. C. Tijms, Denumerable Undiscounted Semi-Markov Decision Processes with Unbounded Rewards, Mathematics of Operations Research 8(2):298–314, 1983. https://doi.org/10.1287/moor.8.2.298
  • D. P. Heyman and M. J. Sobel, Stochastic Models in Operations Research, Vol. II, McGraw-Hill, 1984.
  • W. Feller, An Introduction to Probability Theory and Its Applications, Vol. II, 2nd ed., Wiley, 1971.
10 thms3 active usersReviewed
🏆Completed
Machine LearningReinforcement Learning·Captain: mikedeng1

Reinforcement Learning: An Introduction IV: Policy Iteration for ε-Soft PoliciesTextbook

Motivation

Policy iteration alternates two steps: evaluate the current policy, then replace it by a policy that is greedy with respect to the evaluated action values. The policy improvement theorem guarantees that each greedy step does not make the policy worse, and that the process stops only at an optimal policy. When the action values are estimated from experience rather than computed from a model, as in Monte Carlo control, a greedy policy is a problem: it never tries the actions it does not currently prefer, so their values are never re-estimated. Sutton and Barto, Reinforcement Learning: An Introduction (2nd ed., 2018), §5.4, resolve this without the unrealistic assumption of exploring starts by moving the policy only toward a greedy one, to an ε-greedy policy that keeps every action's probability at least ε/|A|.

The question this mission formalizes is whether policy iteration still works under that restriction. The book's answer (pp. 101–102) is yes, in a precise sense: an ε-greedy step never makes an ε-soft policy worse, and it fails to make it strictly better only when the policy is already the best among all ε-soft policies. This is the dynamic-programming fact that justifies on-policy first-visit Monte Carlo control for ε-soft policies, and more broadly every ε-greedy on-policy control scheme that is analysed with exact action values.

Setting

A finite Markov decision process has a finite state set S, a finite nonempty action set A used in every state, a finite reward set R ⊂ ℝ and dynamics p(s′, r | s, a) ≥ 0 with ∑s′,rp(s′,r∣s,a)=1\sum_{s', r} p(s', r \mid s, a) = 1∑s′,r​p(s′,r∣s,a)=1. A policy π gives, for each state s, a probability distribution π(· | s) on A. With a discount rate 0≤γ<10 \le \gamma < 10≤γ<1, the state value vπ(s)v_\pi(s)vπ​(s) is the expected discounted return Eπ[∑k≥0γkRt+k+1∣St=s]\mathbb E_\pi[\sum_{k \ge 0} \gamma^k R_{t+k+1} \mid S_t = s]Eπ​[∑k≥0​γkRt+k+1​∣St​=s], and the action value is

qπ(s,a)=∑s′,rp(s′,r∣s,a) [r+γvπ(s′)].q_\pi(s, a) = \sum_{s', r} p(s', r \mid s, a)\,[r + \gamma v_\pi(s')].qπ​(s,a)=s′,r∑​p(s′,r∣s,a)[r+γvπ​(s′)].

For ε > 0, a policy is ε-soft if π(a∣s)≥ε/∣A∣\pi(a \mid s) \ge \varepsilon/|A|π(a∣s)≥ε/∣A∣ for all s and a. A policy π′ is ε-greedy with respect to qπq_\piqπ​ if at each state some maximizer A∗(s)A^*(s)A∗(s) of qπ(s,⋅)q_\pi(s, \cdot)qπ​(s,⋅) receives probability 1−ε+ε/∣A∣1 - \varepsilon + \varepsilon/|A|1−ε+ε/∣A∣ and every other action receives ε/∣A∣\varepsilon/|A|ε/∣A∣; ties among maximizers are broken arbitrarily. A policy π is optimal among the ε-soft policies if it is ε-soft and vπ′′(s)≤vπ(s)v_{\pi''}(s) \le v_\pi(s)vπ′′​(s)≤vπ​(s) for every ε-soft π″ and every state s.

The book's analysis uses a new environment with the same states, actions and rewards, in which with probability 1 − ε the chosen action is executed and with probability ε a uniformly random action replaces it:

p~(s′,r∣s,a)=(1−ε) p(s′,r∣s,a)+∑a′ε∣A∣ p(s′,r∣s,a′).\tilde p(s', r \mid s, a) = (1 - \varepsilon)\, p(s', r \mid s, a) + \sum_{a'} \frac{\varepsilon}{|A|}\, p(s', r \mid s, a').p~​(s′,r∣s,a)=(1−ε)p(s′,r∣s,a)+a′∑​∣A∣ε​p(s′,r∣s,a′).

Its optimal value function is written v~∗\tilde v_*v~∗​.

Formalization targets

Goal: ε-greedy improvement with the equality case

For 0≤γ<10 \le \gamma < 10≤γ<1, 0<ε≤10 < \varepsilon \le 10<ε≤1, an ε-soft policy π and any ε-greedy policy π′ with respect to qπq_\piqπ​,

vπ′(s)≥vπ(s)for all s,andvπ′=vπ  ⟹  π,π′ are optimal among the ε-soft policies.v_{\pi'}(s) \ge v_\pi(s) \quad \text{for all } s, \qquad \text{and} \qquad v_{\pi'} = v_\pi \;\Longrightarrow\; \pi, \pi' \text{ are optimal among the ε-soft policies}.vπ′​(s)≥vπ​(s)for all s,andvπ′​=vπ​⟹π,π′ are optimal among the ε-soft policies.

The goal is stated in terms of the original MDP and ε-soft policies only; the new environment appears only in the milestones.

Milestones

  1. Policy improvement theorem for stochastic policies (4.7)–(4.8), p. 78: ∑aπ′(a∣s)qπ(s,a)≥vπ(s)\sum_a \pi'(a \mid s) q_\pi(s, a) \ge v_\pi(s)∑a​π′(a∣s)qπ​(s,a)≥vπ​(s) for all s implies vπ′≥vπv_{\pi'} \ge v_\pivπ′​≥vπ​, strictly at every state where the hypothesis is strict.
  2. Eq. (5.2), pp. 101–102: ∑aπ′(a∣s)qπ(s,a)=ε∣A∣∑aqπ(s,a)+(1−ε)max⁡aqπ(s,a)≥vπ(s)\sum_a \pi'(a \mid s) q_\pi(s, a) = \frac{\varepsilon}{|A|}\sum_a q_\pi(s, a) + (1-\varepsilon)\max_a q_\pi(s, a) \ge v_\pi(s)∑a​π′(a∣s)qπ​(s,a)=∣A∣ε​∑a​qπ​(s,a)+(1−ε)maxa​qπ​(s,a)≥vπ​(s).
  3. Characterization, p. 102: an ε-soft π is optimal among ε-soft policies if and only if vπ=v~∗v_\pi = \tilde v_*vπ​=v~∗​.
  4. Uniqueness, p. 102: v~∗\tilde v_*v~∗​ is the unique solution of the Bellman optimality equation with the altered transition probabilities p~\tilde pp~​, and that equation splits as (1−ε)max⁡a(⋅)+ε∣A∣∑a(⋅)(1-\varepsilon)\max_a(\cdot) + \frac{\varepsilon}{|A|}\sum_a(\cdot)(1−ε)maxa​(⋅)+∣A∣ε​∑a​(⋅).
  5. Fixed-point equation, p. 102: if vπ′=vπv_{\pi'} = v_\pivπ′​=vπ​, then vπ(s)=(1−ε)max⁡aqπ(s,a)+ε∣A∣∑aqπ(s,a)v_\pi(s) = (1-\varepsilon)\max_a q_\pi(s, a) + \frac{\varepsilon}{|A|}\sum_a q_\pi(s, a)vπ​(s)=(1−ε)maxa​qπ​(s,a)+∣A∣ε​∑a​qπ​(s,a).

Significance

The result is what makes ε-greedy on-policy control a form of generalized policy iteration: monotone improvement at every step, and a characterization of where the process can stop. It also locates precisely what is lost by exploring, namely that the fixed point is optimal among ε-soft policies, not among all policies. The value v~∗\tilde v_*v~∗​ of the new environment is the benchmark against which ε-greedy methods converge when action values are exact.

The book presents the argument informally and states the stochastic policy improvement theorem without proof ("we will not go through the details", p. 79). A formalization supplies the missing proof of the stochastic case, the identification of the best ε-soft policy value with the optimal value of a modified MDP, and the uniqueness of that value. As far as a search of the platform shows, no statement about ε-soft or ε-greedy policies has been formalized there; existing finite-MDP results (Bellman optimality in the Foundations of Machine Learning and Bertsekas series) use different reward models and do not cover the modified environment.

Difficulty

The improvement half follows from (5.2) and the policy improvement theorem, but both need work in the return-based model: the theorem requires comparing infinite discounted sums under two different Markov chains, and (5.2) uses the identity vπ(s)=∑aπ(a∣s)qπ(s,a)v_\pi(s) = \sum_a \pi(a \mid s) q_\pi(s, a)vπ​(s)=∑a​π(a∣s)qπ​(s,a), which is a theorem about returns, not a definition. The equality half is where the obvious argument fails. The deterministic-policy argument of Chapter 4 shows that an unimproved greedy policy satisfies the ordinary Bellman optimality equation; here the unimproved policy satisfies a different equation, and nothing in the original MDP identifies its solution with the best ε-soft value. That identification needs two further facts: every policy of the new environment corresponds to an ε-soft policy of the original one with the same values, and conversely (at ε = 1 only the uniform policy is ε-soft); and the altered optimality equation has exactly one solution.

Formalization scope

Everything is stated in the namespace SuttonBartoRL.EpsSoft on a finite MDP with four-argument dynamics, one finite nonempty action set for all states (so ∣A(s)∣=∣A∣|A(s)| = |A|∣A(s)∣=∣A∣, the book's footnote 3, p. 48), and a finite reward set. The conventions are:

  • vπv_\pivπ​ is defined from expected discounted returns as ∑kγk(Pπkrπ)(s)\sum_k \gamma^k (P_\pi^k r_\pi)(s)∑k​γk(Pπk​rπ​)(s) with 0≤γ<10 \le \gamma < 10≤γ<1; Bellman equations are theorems, never definitions. qπq_\piqπ​ is the one-step lookahead (4.6) on this vπv_\pivπ​.
  • v~∗\tilde v_*v~∗​ is the supremum of the new environment's policy values over all stochastic policies, a bounded family for γ<1\gamma < 1γ<1.
  • ε ranges over (0, 1]: the book requires ε > 0, and for ε > 1 no ε-soft policy exists. The equality in (5.2) is stated without the book's intermediate division by 1 − ε, so the case ε = 1 is included.
  • "Any ε-greedy policy" is encoded by quantifying over every choice of maximizer at every state.
  • "Optimal among ε-soft policies" means ε-soft and pointwise at least as good as every ε-soft policy.

Defining vπv_\pivπ​ as the solution of the Bellman expectation equation, or v~∗\tilde v_*v~∗​ as the solution of the altered optimality equation, would make milestones 3–5 and the goal's equality half hold by definition; the formalization does neither. The goal is not the statement "vπ′≥vπv_{\pi'} \ge v_\pivπ′​≥vπ​" alone: the equality case is part of the book's claim and part of the goal.

The finite-MDP definitions duplicate those of other missions in this series and are expected to be merged later. Useful contributions include the Neumann-series identity vπ=(I−γPπ)−1rπv_\pi = (I - \gamma P_\pi)^{-1} r_\pivπ​=(I−γPπ​)−1rπ​, the Bellman expectation equation, the contraction property of Bellman operators, and the correspondence between policies of the new environment and ε-soft policies of the original one; these are reusable for the other finite-MDP missions of the series.

Selected references

  • R. S. Sutton and A. G. Barto, Reinforcement Learning: An Introduction, 2nd ed., MIT Press, 2018, ISBN 9780262039246, §4.2 (pp. 76–79) and §5.4 (pp. 100–103). http://incompleteideas.net/book/the-book-2nd.html
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960 (policy iteration).
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994, doi:10.1002/9780470316887.
11 thms3 active usersReviewed
PreviousPage 2 of 7Next

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me