Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Collections

Markov Decision Processes

Bäuerle and Rieder's Markov Decision Processes with Applications to Finance: Bellman equations, optimal policies, partial observation, and optimal stopping.

15 completed missions

Missions

1–15 of 15
OpenCompletedAll
🏆Completed
Dynamic ProgrammingOperations ResearchProbability·Captain: naimengye

Markov Decision Processes III: The Average Reward Optimality Equation for Unichain ModelsTextbook

Motivation

When a system is controlled indefinitely and decisions are frequent — a router admitting packets, a queue accepting jobs, a machine being maintained — discounting future rewards is often unjustified, and what matters is the long-run average reward per period. Puterman's Chapter 8 (doi:10.1002/9780470316887) develops the theory of this criterion, and its central object is a single equation, the average reward optimality equation 0=max⁡a∈As{r(s,a)−g+∑jp(j∣s,a)h(j)−h(s)}0=\max_{a\in A_s}\{r(s,a)-g+\sum_jp(j\mid s,a)h(j)-h(s)\}0=maxa∈As​​{r(s,a)−g+∑j​p(j∣s,a)h(j)−h(s)}, whose unknowns are a scalar gain ggg and a bias function hhh. For unichain models, in which every stationary policy generates a Markov chain with one recurrent class, this equation determines the optimal gain and an optimal stationary policy. The results go back to Howard (Dynamic Programming and Markov Processes, MIT Press, 1960) for the recurrent case and to Blackwell (Discrete dynamic programming, Annals of Mathematical Statistics 33, 1962, doi:10.1214/aoms/1177704593) and Derman for the general finite case; Puterman's Section 8.4 proves them through the discounted theory of mission II, by letting the discount factor tend to one.

Setting

The model is stationary (Assumption 8.0.1): a finite set SSS of states, for each sss a finite nonempty set AsA_sAs​ of actions, a reward r(s,a)r(s,a)r(s,a) and transition probabilities p(j∣s,a)p(j\mid s,a)p(j∣s,a), none depending on the decision epoch. A policy π∈ΠHR\pi\in\Pi^{HR}π∈ΠHR may randomize and may depend on the whole history; the deterministic stationary policy d∞d^\inftyd∞ applies the decision rule d:S→Ad:S\to Ad:S→A at every epoch. Its transition matrix is Pd(i,j)=p(j∣i,d(i))P_d(i,j)=p(j\mid i,d(i))Pd​(i,j)=p(j∣i,d(i)).

For a policy π\piπ, vN+1π(s)=Esπ[∑t=1Nr(Xt,Yt)]v^\pi_{N+1}(s)=\mathbb E^\pi_s[\sum_{t=1}^Nr(X_t,Y_t)]vN+1π​(s)=Esπ​[∑t=1N​r(Xt​,Yt​)] is the expected reward over NNN epochs. Since the limit of N−1vN+1π(s)N^{-1}v^\pi_{N+1}(s)N−1vN+1π​(s) need not exist (Example 8.1.1), the chapter works with the lim sup and lim inf average rewards g+π(s)g^\pi_+(s)g+π​(s) and g−π(s)g^\pi_-(s)g−π​(s), and with g±∗(s)=sup⁡πg±π(s)g^*_\pm(s)=\sup_{\pi}g^\pi_\pm(s)g±∗​(s)=supπ​g±π​(s). A policy π∗\pi^*π∗ is average optimal when g−π∗(s)≥g+π(s)g^{\pi^*}_-(s)\ge g^\pi_+(s)g−π∗​(s)≥g+π​(s) for all sss and π\piπ, the strongest of the three criteria of Section 8.1.2.

The optimality residual is B(g,h)(s)=max⁡a∈As{r(s,a)−g+∑jp(j∣s,a)h(j)−h(s)}B(g,h)(s)=\max_{a\in A_s}\{r(s,a)-g+\sum_jp(j\mid s,a)h(j)-h(s)\}B(g,h)(s)=maxa∈As​​{r(s,a)−g+∑j​p(j∣s,a)h(j)−h(s)}, and the optimality equation is B(g,h)=0B(g,h)=0B(g,h)=0. A decision rule is hhh-improving when it attains max⁡a∈As{r(s,a)+∑jp(j∣s,a)h(j)}\max_{a\in A_s}\{r(s,a)+\sum_jp(j\mid s,a)h(j)\}maxa∈As​​{r(s,a)+∑j​p(j∣s,a)h(j)} at every state. A transition matrix is unichain when it consists of a single recurrent class plus a possibly empty set of transient states, and the MDP is unichain when PdP_dPd​ is unichain for every deterministic decision rule.

Formalization targets

Goal — Theorem 8.4.5 (printed p. 361)

For a finite unichain model: (a) some deterministic stationary policy is average optimal; (b) the optimality equation B(g∗,h∗)=0B(g^*,h^*)=0B(g∗,h∗)=0 has a solution, and (d) its scalar satisfies g+∗(s)=g−∗(s)=g∗g^*_+(s)=g^*_-(s)=g^*g+∗​(s)=g−∗​(s)=g∗ for every sss; (c) for every solution, every h∗h^*h∗-improving decision rule gives an average optimal stationary policy.

Theorem 8.4.1 (printed p. 356)

If B(g,h)≤0B(g,h)\le 0B(g,h)≤0 then g≥g+∗g\ge g^*_+g≥g+∗​; if B(g,h)≥0B(g,h)\ge 0B(g,h)≥0 then g≤sup⁡dg−d∞≤g−∗g\le\sup_{d}g^{d^\infty}_-\le g^*_-g≤supd​g−d∞​≤g−∗​; if B(g,h)=0B(g,h)=0B(g,h)=0 then g+∗=g−∗=gg^*_+=g^*_-=gg+∗​=g−∗​=g.

Theorem 8.4.3 (printed p. 358)

In a finite unichain model B(g,h)=0B(g,h)=0B(g,h)=0 has a solution, and every solution has the same ggg.

Theorem 8.4.4 (printed p. 361)

If B(g∗,h∗)=0B(g^*,h^*)=0B(g∗,h∗)=0 and d∗d^*d∗ is h∗h^*h∗-improving, then (d∗)∞(d^*)^\infty(d∗)∞ is average optimal.

Significance

Theorem 8.4.1(c) is what the source calls "one of the most important results for average reward models": a solution of the optimality equation with constant ggg pins down the optimal gain under every criterion at once, so that in finite unichain models the three optimality criteria of Section 8.1.2 coincide. Theorem 8.4.3 guarantees such a solution exists, and Theorem 8.4.4 reads an optimal policy off it. Together, Theorem 8.4.5 reduces the infinite-horizon average reward problem over all history-dependent randomized policies to a finite system of equations in (g,h)(g,h)(g,h), which is what policy iteration, value iteration and linear programming solve in Sections 8.5 to 8.8.

The results are classical and proved. Formalizing them fixes the chain-structure hypothesis in a checkable form and pins down which criterion "average optimal" means, two places where the literature is loose. The platform's MarkovDecisionProcesses series has the finite-horizon (mission I) and discounted (mission II) models; this mission adds the undiscounted stationary model, the gains, and the unichain classification, on which Chapter 9's multichain optimality equations and Chapter 10's sensitive discount optimality can be built.

Difficulty

The obvious argument for Theorem 8.4.3 is to take the discounted optimal value vλ∗v^*_\lambdavλ∗​ of mission II and let λ↑1\lambda\uparrow 1λ↑1. It fails as stated because vλ∗v^*_\lambdavλ∗​ blows up like (1−λ)−1(1-\lambda)^{-1}(1−λ)−1; what converges is the Laurent expansion vλd∞=(1−λ)−1ge+h+o(1)v^{d^\infty}_\lambda=(1-\lambda)^{-1}ge+h+o(1)vλd∞​=(1−λ)−1ge+h+o(1) of the value of a fixed stationary policy, Corollary 8.2.4, and that expansion needs the limiting matrix Pd∗P_d^*Pd∗​ and the deviation matrix HPdH_{P_d}HPd​​ of a unichain chain. So the proof must first develop the Markov chain theory of Section 8.2 and Appendix A, choose a subsequence of discount factors along which one policy is discount optimal (possible because DMDD^{MD}DMD is finite), and only then pass to the limit in the discounted optimality equation.

Theorem 8.4.1 looks elementary and hides the analytic step: iterating ge≥rd+(Pd−I)hge\ge r_d+(P_d-I)hge≥rd​+(Pd​−I)h along an arbitrary history-dependent policy and dividing by NNN requires the telescoping term N−1(PNπ−I)hN^{-1}(P^\pi_N-I)hN−1(PNπ​−I)h to vanish, which uses boundedness of hhh, and requires the reduction from history-dependent randomized to Markov randomized policies (Theorem 8.1.2). For Theorem 8.4.4 the step is Corollary 8.2.7, that rd−ge+(Pd−I)h=0r_d-ge+(P_d-I)h=0rd​−ge+(Pd​−I)h=0 forces the gain of d∞d^\inftyd∞ to be ggg, which is the multiplication by Pd∗P_d^*Pd∗​ that annihilates (Pd−I)(P_d-I)(Pd​−I).

The traps are in the definitions. Recurrence and the unichain property must be stated so that the source's Example 8.4.3 comes out as the book says — the policy using a1,1a_{1,1}a1,1​ has the absorbing state s2s_2s2​ as its single recurrent class — and the optimality residual must use the lim sup / lim inf gains, since a definition through a limit that need not exist would be a junk value on the policies of Example 8.1.1.

Formalization scope

State and action spaces are Fintypes and admissible actions are nonempty Finsets, as in missions I and II; the stationary model is a new structure because mission II's DiscountedMDP bundles a discount factor, and carries the same data otherwise. Policies are history-dependent and randomized, so "average optimal" has its full strength; a stationary policy is the deterministic one built from a decision rule. Expected total reward is defined by the policy evaluation recursion, as in the earlier missions, rather than through a measure on trajectories.

Gains are Filter.limsup and Filter.liminf of N−1vN+1π(s)N^{-1}v^\pi_{N+1}(s)N−1vN+1π​(s) on R\mathbb RR; these are the source's because the sequence is bounded by max⁡∣r∣\max|r|max∣r∣, and the suprema g±∗g^*_\pmg±∗​ over the nonempty family of policies are genuine real suprema for the same reason. The residual B(g,h)B(g,h)B(g,h) is a Finset.sup' over the admissible actions. Recurrence is "every state reachable from iii reaches iii" and unichain is "any two recurrent states communicate", the definitions of Appendix A for finite chains, applied to PdP_dPd​ for every admissible deterministic decision rule.

Restrictions relative to the printed text, all noted in the items: Theorem 8.4.1 is stated for finite SSS where the source says countable, since the chapter's standing assumption and the model are finite; the gain gd∞g^{d^\infty}gd∞ of a stationary policy in (8.4.5) is written as its lim inf gain, which equals it; and the chain ge=g∗=g+∗=g−∗ge=g^*=g^*_+=g^*_-ge=g∗=g+∗​=g−∗​ of (8.4.6) is stated through g+∗g^*_+g+∗​ and g−∗g^*_-g−∗​, since g∗g^*g∗ presupposes existing limits. Nothing is trivialized: the existential in Theorem 8.4.5(a) has to produce a decision rule, and B(g,h)=0B(g,h)=0B(g,h)=0 with a junk maximum is impossible since every AsA_sAs​ is nonempty. Welcome contributions beyond the milestones: Theorem 8.1.2 (reduction to Markov policies), Corollary 8.2.7 (the gain of a stationary policy from the evaluation equations), and the equivalence of the three optimality criteria in finite models.

Selected references

  • Martin L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994, Chapter 8. doi:10.1002/9780470316887
  • Ronald A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960.
  • David Blackwell, Discrete dynamic programming, Annals of Mathematical Statistics 33 (1962). doi:10.1214/aoms/1177704593
  • Cyrus Derman, Finite State Markovian Decision Processes, Academic Press, 1970.
  • Paul J. Schweitzer and Awi Federgruen, The functional equations of undiscounted Markov renewal programming, Mathematics of Operations Research 3 (1978). doi:10.1287/moor.3.4.308
5 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes I: Markov Decision Models and the Bellman EquationTextbook

Motivation

A Markov Decision Model (MDM) formalizes sequential decision-making under uncertainty: a controller observes the current state of a system, chooses an action, receives a reward, and the system moves to a new (random) state whose law depends on the current state and action. This framework underlies dynamic programming across operations research, economics, and engineering — inventory control, sequential portfolio choice, queueing control, and reinforcement learning are all instances of it. The finite-horizon theory developed here is the foundation on which every later chapter of Bäuerle and Rieder's Markov Decision Processes with Applications to Finance (Springer, 2011) builds, including the infinite-horizon, partially observed, and optimal-stopping variants treated later in the book.

The classical treatment of dynamic programming for finite state and action spaces goes back to Bellman (1957) and is standard textbook material (see e.g. Puterman, Markov Decision Processes, 1994). The generalization to Borel state and action spaces — needed as soon as a state variable is continuous, as in almost every financial application — requires genuine measure-theoretic care: suprema over an infinite (even uncountable) action set need not be attained, and the resulting value function need not be measurable. Bertsekas and Shreve's Stochastic Optimal Control: The Discrete Time Case (1978) is the classical reference for this general theory; Bäuerle and Rieder's treatment isolates the exact abstract hypothesis — the Structure Assumption (SAN) below — under which the finite-horizon theory goes through cleanly, separating the recursive (Bellman) machinery from the case-by-case verification of when it applies.

Setting

A Markov Decision Model with planning horizon N∈NN \in \mathbb{N}N∈N consists of a state space EEE and action space AAA (measurable spaces), and, for each stage n=0,…,N−1n = 0,\dots,N-1n=0,…,N−1: a measurable set Dn⊆E×AD_n \subseteq E \times ADn​⊆E×A of admissible state-action pairs (containing the graph of some measurable selection E→AE \to AE→A); a stochastic transition kernel Qn(⋅∣x,a)Q_n(\cdot \mid x,a)Qn​(⋅∣x,a) giving the law of the next state; a measurable one-stage reward rn:Dn→Rr_n : D_n \to \mathbb{R}rn​:Dn​→R; and a terminal reward gN:E→Rg_N : E \to \mathbb{R}gN​:E→R.

A decision rule at time nnn is a measurable fn:E→Af_n : E \to Afn​:E→A with fn(x)∈Dn(x):={a:(x,a)∈Dn}f_n(x) \in D_n(x) := \{a : (x,a) \in D_n\}fn​(x)∈Dn​(x):={a:(x,a)∈Dn​} for every xxx; an NNN-stage policy π=(f0,…,fN−1)\pi = (f_0,\dots,f_{N-1})π=(f0​,…,fN−1​) is a sequence of such rules. Given π\piπ and an initial state xxx at time nnn, the process evolves as a (non-stationary) Markov chain, and the value of π\piπ is the expected total reward

Vnπ(x):=En,xπ ⁣[∑k=nN−1rk(Xk,fk(Xk))+gN(XN)],V_n^\pi(x) := \mathbb{E}^\pi_{n,x}\!\left[\sum_{k=n}^{N-1} r_k\bigl(X_k, f_k(X_k)\bigr) + g_N(X_N)\right],Vnπ​(x):=En,xπ​[k=n∑N−1​rk​(Xk​,fk​(Xk​))+gN​(XN​)],

with value function Vn(x):=sup⁡πVnπ(x)V_n(x) := \sup_\pi V_n^\pi(x)Vn​(x):=supπ​Vnπ​(x), the best attainable expected reward. A policy is optimal if V0π=V0V_0^\pi = V_0V0π​=V0​. Write IM(E)\mathrm{IM}(E)IM(E) for the measurable functions E→[−∞,∞)E \to [-\infty,\infty)E→[−∞,∞) (never +∞+\infty+∞), and define, for v∈IM(E)v \in \mathrm{IM}(E)v∈IM(E), the one-step operators Lnv(x,a):=rn(x,a)+∫v(x′) Qn(dx′∣x,a)L_n v(x,a) := r_n(x,a) + \int v(x')\, Q_n(dx' \mid x,a)Ln​v(x,a):=rn​(x,a)+∫v(x′)Qn​(dx′∣x,a), Tnfv(x):=Lnv(x,f(x))T_n^f v(x) := L_n v(x, f(x))Tnf​v(x):=Ln​v(x,f(x)), and Tnv(x):=sup⁡a∈Dn(x)Lnv(x,a)T_n v(x) := \sup_{a \in D_n(x)} L_n v(x,a)Tn​v(x):=supa∈Dn​(x)​Ln​v(x,a). A decision rule fff is a maximizer of vvv at time nnn if Tnfv=TnvT_n^f v = T_n vTnf​v=Tn​v.

Formalization targets

Goal: Theorem 2.3.8 (the Structure Theorem)

Under the Structure Assumption (SAN) — the existence of sets IMn⊆IM(E)\mathrm{IM}_n \subseteq \mathrm{IM}(E)IMn​⊆IM(E), Δn⊆Fn\Delta_n \subseteq F_nΔn​⊆Fn​ with gN∈IMNg_N \in \mathrm{IM}_NgN​∈IMN​, TnT_nTn​ mapping IMn+1\mathrm{IM}_{n+1}IMn+1​ into IMn\mathrm{IM}_nIMn​, and every v∈IMn+1v \in \mathrm{IM}_{n+1}v∈IMn+1​ admitting a maximizer in Δn\Delta_nΔn​ — the value function satisfies the Bellman equation Vn=TnVn+1V_n = T_n V_{n+1}Vn​=Tn​Vn+1​ (with Vn∈IMnV_n \in \mathrm{IM}_nVn​∈IMn​), and every sequence of maximizers of V1,…,VNV_1,\dots,V_NV1​,…,VN​ defines an optimal policy. This is the weakest level at which the theorem holds: it names an abstract structural hypothesis rather than a specific sufficient condition (e.g. compactness plus semicontinuity, treated in a later mission), so any future refinement of sufficient conditions for (SAN) leaves this statement untouched.

Significance

Reducing an NNN-stage optimization over an infinite-dimensional policy space to NNN one-stage optimizations — literally the content of the Bellman equation — is what makes dynamic programming computationally and theoretically tractable at all. For finite state and action spaces this reduction is elementary (a supremum over a finite set is always attained); the content of the Structure Theorem is doing this correctly when EEE, AAA are general Borel spaces, where existence of the supremum and of a measurable maximizing selection are not automatic and must be assumed abstractly.

Formalizing this theorem produces machine-checked statements of the finite-horizon Bellman equation and verification theorem in the generality actually used throughout the book's finance applications (wealth is real-valued, portfolios are vector-valued — never finite sets). The statement, proof, and every hypothesis are original to this textbook chapter; no formalized version of this general-Borel-space theory exists on the platform. The closest prior art, finite state-and-action-space Bellman equations and verification theorems (e.g. discounted infinite-horizon and stochastic-shortest-path theorems for finite MDPs), is a strictly weaker special case in which the Structure Assumption's existence-of-maximizer clause is automatic; this mission's goal is not restated as a reference to that prior art; the generalization is exactly the mission's content.

Difficulty

The obvious first attempt — prove Vn=TnVn+1V_n = T_n V_{n+1}Vn​=Tn​Vn+1​ directly from the definitions of VnV_nVn​ and VnπV_n^\piVnπ​ — runs into two separate obstructions that (SAN) is built to bypass simultaneously. First, sup⁡πVnπ(x)\sup_\pi V_n^\pi(x)supπ​Vnπ​(x) and sup⁡a∈Dn(x)LnVn+1(x,a)\sup_{a \in D_n(x)} L_n V_{n+1}(x,a)supa∈Dn​(x)​Ln​Vn+1​(x,a) are a priori different suprema (over policies versus over actions), and showing they agree requires that the pointwise supremum over decision rules f∈Fnf \in F_nf∈Fn​ of LnVn+1(x,f(x))L_n V_{n+1}(x, f(x))Ln​Vn+1​(x,f(x)) equals the supremum over bare actions a∈Dn(x)a \in D_n(x)a∈Dn​(x) — which needs a measurable selection achieving (or approaching) the action-wise optimum, not just its existence pointwise. Second, Vn+1V_{n+1}Vn+1​ itself must be shown measurable — an a priori supremum of measurable functions over an uncountable index set (all policies) need not be measurable — before the integral ∫Vn+1 dQn\int V_{n+1}\, dQ_n∫Vn+1​dQn​ even makes sense. (SAN)'s three clauses are exactly what supplies both a well-behaved measurability class IMn\mathrm{IM}_nIMn​ closed under TnT_nTn​ and a measurable maximizing selection at every stage, letting a backward induction on nnn establish both facts together.

Formalization scope

State and action spaces are arbitrary measurable spaces (MeasurableSpace E, MeasurableSpace A type classes), not restricted to Borel subsets of Polish spaces, since none of this mission's statements use topology. Time is indexed by ℕ rather than Fin N, with n < N as an explicit side condition throughout (documented in MODERATION_NOTES.md); this changes no content but avoids Fin-cast noise in the several backward recursions the chapter's operators require. Extended-real values (EReal) are used throughout for value functions, restricted by hypothesis to never equal +∞+\infty+∞, matching IM(E):={v:E→[−∞,∞)}\mathrm{IM}(E) := \{v : E \to [-\infty,\infty)\}IM(E):={v:E→[−∞,∞)} exactly; a formalization using plain ℝ-valued value functions would be a strictly stronger — and unfaithful — claim, since it silently assumes no policy can drive the expected reward to −∞-\infty−∞.

The mission does not construct the canonical path measure on the full trajectory space via the Ionescu–Tulcea theorem; the value of a policy is instead built as an explicit backward accumulator recursion over the model's one-step kernels, which computes the same quantity by the tower property of conditional expectation. Definitions 2.1.1, 2.1.5, 2.2.2, 2.3.1, and 2.3.6 — the Markov Decision Model, (Markov and history-dependent) policies, and the operators — are restated from scratch in this mission's own namespace, since drafts in this series cannot import one another; later missions in the same series restate the same vocabulary independently. A trivializing formalization of the goal would state VnV_nVn​ as an unspecified object merely postulated to satisfy the Bellman equation (Theorem 2.3.7's weaker claim) rather than as the supremum-over-policies value function fixed before the theorem — this mission states the latter.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete Time Case, Academic Press, 1978.
  • K. Hinderer, Foundations of Non-stationary Dynamical Programming with Discrete Time Parameter, Lecture Notes in Operations Research and Mathematical Systems 33, Springer, 1970.
  • M. L. Puterman, Markov Decision Processes: Discrete Stochastic Dynamic Programming, Wiley, 1994.
13 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes III: Monotonicity and Convexity of the Value FunctionTextbook

Motivation

Once a finite-horizon Markov Decision Model (MDM) is known to admit an optimal policy — the existence theory of continuity/compactness models — a natural next question is qualitative: does the optimal value function inherit structural properties (monotonicity, concavity, convexity) of the model's own data, and are the resulting optimal actions themselves monotone in the state? These questions matter beyond aesthetics. A value function known in advance to be concave in wealth, say, restricts the search for an optimizer to a much smaller, better-behaved class of candidates, simplifies numerical solution (dynamic programming over convex functions can exploit shape-preserving approximation schemes), and is often the only handle available for comparative-statics questions — e.g. "if the model's transition mechanism becomes riskier, does the decision-maker's value go down?" — the kind of question that drives applications in inventory theory, insurance, and portfolio choice. The general theory traces to Topkis's lattice-programming approach to comparative statics (Topkis, Supermodularity and Complementarity, Princeton University Press, 1998) and to the stochastic-orders literature (Müller and Stoyan, Comparison Methods for Stochastic Models and Risks, Wiley, 2002); Bäuerle and Rieder's Chapter 2, §2.4.4-2.4.5 specializes both to the Borel-space finite-horizon Markov Decision Model of their own Definition 2.1.1.

Setting

Fix a (non-stationary) Markov Decision Model (E,A,Dn,Qn,rn,gN)n=0,…,N−1(E, A, D_n, Q_n, r_n, g_N)_{n=0,\dots,N-1}(E,A,Dn​,Qn​,rn​,gN​)n=0,…,N−1​ as in Definition 2.1.1: EEE, AAA measurable spaces, Dn⊆E×AD_n \subseteq E \times ADn​⊆E×A the admissible state-action pairs, Qn(⋅∣x,a)Q_n(\cdot\mid x,a)Qn​(⋅∣x,a) the transition kernel, rnr_nrn​ the one-stage reward, gNg_NgN​ the terminal reward. Write Dn(x):={a∈A:(x,a)∈Dn}D_n(x) := \{a \in A : (x,a) \in D_n\}Dn​(x):={a∈A:(x,a)∈Dn​}. An upper bounding function b:E→R≥0b : E \to \mathbb{R}_{\geq 0}b:E→R≥0​ (Definition 2.4.1) is a measurable function for which constants cr,cg,αb≥0c_r, c_g, \alpha_b \geq 0cr​,cg​,αb​≥0 exist with rn+(x,a)≤cr b(x)r_n^+(x,a) \leq c_r\, b(x)rn+​(x,a)≤cr​b(x), gN+(x)≤cg b(x)g_N^+(x) \leq c_g\, b(x)gN+​(x)≤cg​b(x), and ∫b(x′) Qn(dx′∣x,a)≤αb b(x)\int b(x')\,Q_n(dx'\mid x,a) \leq \alpha_b\, b(x)∫b(x′)Qn​(dx′∣x,a)≤αb​b(x) for all admissible (x,a)(x,a)(x,a) and all nnn; I ⁣Bb+\mathbb{I\!B}_b^+IBb+​ is the set of measurable v:E→[−∞,∞)v : E \to [-\infty,\infty)v:E→[−∞,∞) with v+≤c bv^+ \leq c\, bv+≤cb for some c≥0c \geq 0c≥0. The two central operators are (Lnv)(x,a):=rn(x,a)+∫v(x′) Qn(dx′∣x,a)(L_n v)(x,a) := r_n(x,a) + \int v(x')\,Q_n(dx'\mid x,a)(Ln​v)(x,a):=rn​(x,a)+∫v(x′)Qn​(dx′∣x,a) and (Tnv)(x):=sup⁡a∈Dn(x)(Lnv)(x,a)(T_n v)(x) := \sup_{a \in D_n(x)} (L_n v)(x,a)(Tn​v)(x):=supa∈Dn​(x)​(Ln​v)(x,a); a decision rule fnf_nfn​ is a maximizer of vvv at time nnn if (Lnv)(x,fn(x))=(Tnv)(x)(L_n v)(x, f_n(x)) = (T_n v)(x)(Ln​v)(x,fn​(x))=(Tn​v)(x) for every xxx. The Structure Assumption (SAN) on families (I ⁣Mn)n≤N⊆I ⁣M(E)(\mathrm{I\!M}_n)_{n \leq N} \subseteq \mathrm{I\!M}(E)(IMn​)n≤N​⊆IM(E) and (Δn)n<N(\Delta_n)_{n<N}(Δn​)n<N​ of decision rules says: gN∈I ⁣MNg_N \in \mathrm{I\!M}_NgN​∈IMN​; v∈I ⁣Mn+1v \in \mathrm{I\!M}_{n+1}v∈IMn+1​ implies Tnv∈I ⁣MnT_n v \in \mathrm{I\!M}_nTn​v∈IMn​; and every v∈I ⁣Mn+1v \in \mathrm{I\!M}_{n+1}v∈IMn+1​ has a maximizer in Δn\Delta_nΔn​. It is the single hypothesis from which the whole finite-horizon theory — a well-defined Bellman recursion, an optimal policy built rule-by-rule — follows (established elsewhere in this mission series).

For this section only, E⊆RdE \subseteq \mathbb{R}^dE⊆Rd and A⊆RmA \subseteq \mathbb{R}^mA⊆Rm carry the usual componentwise order, and the same spaces are given a real vector-space structure when convexity statements are in play; I ⁣Mn⋄\mathbb{I\!M}_n^{\diamond}IMn⋄​ denotes {v∈I ⁣Bb+:v\{v \in \mathbb{I\!B}_b^+ : v{v∈IBb+​:v has property ⋄}\diamond\}⋄} for ⋄∈{increasing,concave,convex}\diamond \in \{\text{increasing}, \text{concave}, \text{convex}\}⋄∈{increasing,concave,convex}. A set D⊆E×AD \subseteq E \times AD⊆E×A is completely monotone (Definition 2.4.15) if (x,a′),(x′,a)∈D(x,a'), (x',a) \in D(x,a′),(x′,a)∈D with x≤x′x \leq x'x≤x′, a≤a′a \leq a'a≤a′ forces (x,a),(x′,a′)∈D(x,a), (x',a') \in D(x,a),(x′,a′)∈D. A function fff on a lattice is supermodular (Definition A.3.1) if f(x)+f(y)≤f(x∧y)+f(x∨y)f(x) + f(y) \leq f(x \wedge y) + f(x \vee y)f(x)+f(y)≤f(x∧y)+f(x∨y) for all x,yx,yx,y. The comparison theorem below additionally uses three orders between probability measures: the usual stochastic order μ≤stν\mu \leq_{\mathrm{st}} \nuμ≤st​ν (∫f dμ≤∫f dν\int f\,d\mu \leq \int f\,d\nu∫fdμ≤∫fdν for every bounded increasing fff, Definition B.3.2/Theorem B.3.3(ii)), the convex order μ≤cxν\mu \leq_{\mathrm{cx}} \nuμ≤cx​ν (same, for convex fff, Definition B.3.9a), and its concave-function dual μ≤cvν\mu \leq_{\mathrm{cv}} \nuμ≤cv​ν (matching I ⁣Mncv\mathrm{I\!M}_n^{\mathrm{cv}}IMncv​; see the Formalization scope section on how the book's own, non-monotone "cv" differs from the increasing-concave order ≤icv\leq_{\mathrm{icv}}≤icv​ it also uses elsewhere, e.g. in Definition B.3.9c).

Formalization targets

Goal — Theorem 2.4.22 (the convex structure theorem)

If E is convex,Dn=E×A, and for every n:(ii) x↦∫v(x′) Qn(dx′∣x,a) is convex for every convex v∈I ⁣Bb+,a∈A,(iii) x↦rn(x,a) is convex for every a,(iv) gN convex,(v) every convex v∈I ⁣Bb+ has a maximizer in Δn,then (I ⁣Mncx)n≤N and (Δn)n<N satisfy (SAN).\begin{aligned} &\text{If } E \text{ is convex}, D_n = E \times A, \text{ and for every } n: \\ &\quad\text{(ii) } x \mapsto \textstyle\int v(x')\,Q_n(dx'\mid x,a) \text{ is convex for every convex } v \in \mathbb{I\!B}_b^+, a \in A,\\ &\quad\text{(iii) } x \mapsto r_n(x,a) \text{ is convex for every } a, \quad \text{(iv) } g_N \text{ convex},\\ &\quad\text{(v) every convex } v \in \mathbb{I\!B}_b^+ \text{ has a maximizer in } \Delta_n,\\ &\text{then } \bigl(\mathrm{I\!M}_n^{\mathrm{cx}}\bigr)_{n \leq N} \text{ and } (\Delta_n)_{n<N} \text{ satisfy (SAN).} \end{aligned}​If E is convex,Dn​=E×A, and for every n:(ii) x↦∫v(x′)Qn​(dx′∣x,a) is convex for every convex v∈IBb+​,a∈A,(iii) x↦rn​(x,a) is convex for every a,(iv) gN​ convex,(v) every convex v∈IBb+​ has a maximizer in Δn​,then (IMncx​)n≤N​ and (Δn​)n<N​ satisfy (SAN).​

This is the weakest stable statement: it names exactly the compatibility conditions between the kernel, reward, and terminal payoff that propagate convexity through TnT_nTn​, without committing to any particular model beyond them.

Six further results of the same section are formalized as milestones on the way to, or alongside, the goal: the monotone (increasing) analogue (Theorem 2.4.14), the accompanying result that a largest maximizer under a supermodular LnvL_n vLn​v on a completely monotone DnD_nDn​ is itself weakly increasing (Proposition 2.4.16), the concavity-preservation step for TnT_nTn​ and its structure theorem (Proposition 2.4.18, Theorem 2.4.19), the convexity-preservation step together with the existence of a bang-bang maximizer when AAA is a polytope (Proposition 2.4.21), and the comparison theorem for two models whose kernels are ordered (Theorem 2.4.23).

Significance

Theorems 2.4.14/2.4.19/2.4.22 give three parallel, reusable templates: once a modeler checks three or four structural conditions on DnD_nDn​, QnQ_nQn​, rnr_nrn​, gNg_NgN​ individually — never on the recursively-defined value function itself, which is usually inaccessible in closed form — the corresponding shape of the value function is guaranteed for every horizon, with no further induction needed by the modeler. This is what makes results like the concavity of the optimal consumption-investment value function (used in later chapters of this book) checkable from the market model alone. Proposition 2.4.16's comparative-statics conclusion (optimal actions inherit monotonicity in the state) is the Markov-decision-process incarnation of Topkis's monotone comparative statics, and Theorem 2.4.23 formalizes the intuitive but non-trivial fact that making the transition mechanism "worse" in a precise stochastic-order sense can only lower the optimal value — a comparison that requires the compatibility between the order and the very shape (monotonicity/concavity/convexity) the Structure Assumption already pins down.

All of these results, including the goal, are unformalized on the platform prior to this mission: no result matching "supermodular", "completely monotone", "comparative statics", or a Borel-space convex Markov decision model was found in a platform search at drafting time. The proofs themselves are short (Bäuerle and Rieder give complete, self-contained arguments for every result in this section), so what this mission contributes is the formal statement — getting the exact quantifiers and hypothesis set right in a general Borel/vector-space setting — rather than a technically deep proof; the sorry-free companion proofs are left as the formalization task.

Difficulty

The obvious first idea for the goal is to prove convexity of TnvT_n vTn​v by convexity of a supremum of convex functions — true only when Dn(x)D_n(x)Dn​(x) does not itself depend on xxx in a way that mixes domains under a convex combination. The book's own hypothesis (i), Dn:=E×AD_n := E \times ADn​:=E×A (constant), is exactly what rules out the general case and makes the argument work: for a genuinely xxx-dependent Dn(x)D_n(x)Dn​(x), a convex combination α(x,a)+(1−α)(x′,a′)\alpha(x,a) + (1-\alpha)(x',a')α(x,a)+(1−α)(x′,a′) need not even have its action component available at the combined state, so "supremum of convex functions is convex" does not apply termwise. A second trap is treating I ⁣Mncv\mathrm{I\!M}_n^{\mathrm{cv}}IMncv​ (closed under concave, not-necessarily-increasing vvv) as if it required the stronger increasing-concave order ≤icv\leq_{\mathrm{icv}}≤icv​ that the appendix's Definition B.3.9c actually names — the two are different relations, and only the plain "concave-test-function" order is compatible with I ⁣Mncv\mathrm{I\!M}_n^{\mathrm{cv}}IMncv​ as stated (see Formalization scope).

Formalization scope

Because Mathlib's ConvexOn/ConcaveOn require a Module ℝ structure on the codomain, and EReal (needed for value functions that may equal −∞-\infty−∞) carries no such structure, this mission introduces ConvexOnEReal/ConcaveOnEReal: the same defining inequality with the real convex-combination coefficients cast into EReal and multiplied there (EReal does carry a Mul). Real-valued convexity/concavity of rnr_nrn​ and gNg_NgN​ uses Mathlib's own ConvexOn/ ConcaveOn directly. "Vertex of a polytope" (Proposition 2.4.21) is formalized via Mathlib's Set.extremePoints, and "AAA is a polytope" as compact, convex, with finitely many extreme points. The comparison theorem's order ≤cv\leq_{\mathrm{cv}}≤cv​ has no verbatim numbered definition in the book: Appendix B.3 defines the stochastic order ≤st\leq_{\mathrm{st}}≤st​ (Definition B.3.2, via CDFs, with the increasing-test-function characterization given as an equivalent condition, Theorem B.3.3(ii)) and the convex order ≤cx\leq_{\mathrm{cx}}≤cx​ (Definition B.3.9a, directly via Ef(X)≤Ef(Y)\mathbb{E}f(X) \leq \mathbb{E}f(Y)Ef(X)≤Ef(Y) for convex fff), but never a bare "≤cv\leq_{\mathrm{cv}}≤cv​" — only the increasing-concave order ≤icv\leq_{\mathrm{icv}}≤icv​ (Definition B.3.9c). This mission defines ≤cv\leq_{\mathrm{cv}}≤cv​ as the direct concave-test-function analogue of ≤cx\leq_{\mathrm{cx}}≤cx​ (Ef(X)≤Ef(Y)\mathbb{E}f(X) \leq \mathbb{E}f(Y)Ef(X)≤Ef(Y) for every concave fff), matching the book's own I ⁣Mncv\mathrm{I\!M}_n^{\mathrm{cv}}IMncv​ (plain concavity, not required to be increasing) and consistent with the standard "st/cv/cx" triple of Müller and Stoyan (2002), the reference the book cites for this whole appendix section. Likewise ≤st\leq_{\mathrm{st}}≤st​ is formalized directly via Theorem B.3.3(ii)'s functional characterization (bounded increasing test functions) rather than the CDF definition, since Theorem 2.4.23 compares kernels on a general E⊆RdE \subseteq \mathbb{R}^dE⊆Rd rather than real-valued random variables. The value function VnV_nVn​ used only in the comparison theorem is given by its recursive characterization (VN=gNV_N = g_NVN​=gN​, Vn=TnVn+1V_n = T_n V_{n+1}Vn​=Tn​Vn+1​, established as this series' Theorem 2.3.8) rather than by re-deriving the sup-over-policies primitive definition and its supporting history/policy machinery, which is not otherwise needed in this mission.

A trivializing formalization is ruled out: taking E:=RE := \mathbb{R}E:=R throughout would make hypothesis (i) ("EEE is convex") vacuously true and hide the genuinely restrictive role Dn=E×AD_n = E \times ADn​=E×A plays in the proof; this mission keeps EEE (and AAA) as general real vector spaces (with a Preorder added only where monotonicity, rather than convexity, is at stake), so the convexity hypotheses carry their full content. Reusable infrastructure: ConvexOnEReal/ConcaveOnEReal (any later chunk needing shape-preservation results for EReal-valued value functions can reuse the same pattern, restated per this series' convention), and the LEStochasticOrder/LEConcaveOrder/LEConvexOrder triple (reused, restated, by mission 04b's Theorems 4.4.4-4.4.5 and mission 05b's Definition 5.4.9, which need the same or a closely related order). sorry-free proofs of the milestones (all short in the book) are welcome contributions.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. https://doi.org/10.1007/978-3-642-18324-9
  • D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 1998.
  • A. Müller and D. Stoyan, Comparison Methods for Stochastic Models and Risks, Wiley, 2002.
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete Time Case, Academic Press, 1978.
18 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes IV: Stationary Markov Decision Models and Three Worked ExamplesTextbook

Motivation

Most concrete applications of Markov Decision Theory — inventory control, cash management, linear-quadratic regulation, sequential games — have data that does not change from one period to the next: the same state space, action space, transition mechanism and reward apply at every stage, only discounted by a fixed factor β\betaβ per period. Bäuerle and Rieder's Chapter 2, §2.5 specializes the general finite-horizon theory of the previous sections to this stationary case, and §2.6 shows the specialization at work on three classical models: a card game with a famously boring answer, a firm's cash-management problem, and stochastic linear-quadratic control. Together they demonstrate the payoff of the abstract theory: once the Structure Assumption is checked for a stationary model, the general machinery (the Forward Induction Algorithm) produces the concrete optimal policy — a critical-level (s,S)(s,S)(s,S)-type control for cash management, a linear feedback law for LQ control — with no further case-specific argument.

Setting

A stationary Markov Decision Model is a Markov Decision Model (E,A,D,Q,r,g)(E,A,D,Q,r,g)(E,A,D,Q,r,g) (Definition 2.1.1) whose data does not depend on the stage: the reward at absolute time nnn is βnr\beta^n rβnr and the terminal reward at time NNN is βNg\beta^N gβNg, for a fixed discount β∈(0,1]\beta \in (0,1]β∈(0,1]. For a policy sequence π=(f0,…,fn−1)∈Fn\pi = (f_0,\dots,f_{n-1}) \in F^nπ=(f0​,…,fn−1​)∈Fn (each fkf_kfk​ a decision rule E→AE \to AE→A with fk(x)∈D(x)f_k(x) \in D(x)fk​(x)∈D(x)), the reward-to-go is Jnπ(x):=Exπ[∑k=0n−1βkr(Xk,fk(Xk))+βng(Xn)]J_n^\pi(x) := \mathbb{E}^\pi_x\bigl[\sum_{k=0}^{n-1} \beta^k r(X_k,f_k(X_k)) + \beta^n g(X_n)\bigr]Jnπ​(x):=Exπ​[∑k=0n−1​βkr(Xk​,fk​(Xk​))+βng(Xn​)] and the value function is Jn(x):=sup⁡π∈FnJnπ(x)J_n(x) := \sup_{\pi \in F^n} J_n^\pi(x)Jn​(x):=supπ∈Fn​Jnπ​(x). The operators (Lv)(x,a):=r(x,a)+β∫v(x′) Q(dx′∣x,a)(Lv)(x,a) := r(x,a) + \beta\int v(x')\,Q(dx'\mid x,a)(Lv)(x,a):=r(x,a)+β∫v(x′)Q(dx′∣x,a), (Tv)(x):=sup⁡a∈D(x)(Lv)(x,a)(Tv)(x) := \sup_{a \in D(x)} (Lv)(x,a)(Tv)(x):=supa∈D(x)​(Lv)(x,a), (Tfv)(x):=(Lv)(x,f(x))(T^f v)(x) := (Lv)(x,f(x))(Tfv)(x):=(Lv)(x,f(x)) are the stationary counterparts of §2.3's non-stationary operators. The (stationary) Structure Assumption (SAN) asks for sets I ⁣M⊆I ⁣M(E)\mathrm{I\!M} \subseteq \mathrm{I\!M}(E)IM⊆IM(E), Δ⊆F\Delta \subseteq FΔ⊆F with g∈I ⁣Mg \in \mathrm{I\!M}g∈IM, v∈I ⁣M⇒Tv∈I ⁣Mv \in \mathrm{I\!M} \Rightarrow Tv \in \mathrm{I\!M}v∈IM⇒Tv∈IM, and every v∈I ⁣Mv \in \mathrm{I\!M}v∈IM having a maximizer in Δ\DeltaΔ.

Formalization targets

Goal — Theorem 2.6.2 (the cash balance problem)

A firm's cash level x∈Rx \in \mathbb{R}x∈R moves under i.i.d. shocks; each period the firm transfers to a new level aaa at linear cost c(a−x)=cu(a−x)++cd(a−x)−c(a-x) = c_u(a-x)^+ + c_d(a-x)^-c(a−x)=cu​(a−x)++cd​(a−x)−, pays a convex, coercive holding cost L(a)L(a)L(a) (L(0)=0L(0)=0L(0)=0), and the level becomes a−Zn+1a - Z_{n+1}a−Zn+1​. Modeled as a stationary MDM with E=A=RE=A=\mathbb{R}E=A=R, r(x,a)=−c(a−x)−L(a)r(x,a) = -c(a-x) - L(a)r(x,a)=−c(a−x)−L(a), g≡0g \equiv 0g≡0:

∃ Sn−≤Sn+ (depending on n):Jn(x)={(Sn−−x)cu+L(Sn−)+β E[Jn−1(Sn−−Z)]x<Sn−L(x)+β E[Jn−1(x−Z)]Sn−≤x≤Sn+(x−Sn+)cd+L(Sn+)+β E[Jn−1(Sn+−Z)]x>Sn+,\exists\, S_n^- \le S_n^+ \ \text{(depending on $n$)}: \quad J_n(x) = \begin{cases} (S_n^- - x)c_u + L(S_n^-) + \beta\,\mathbb{E}[J_{n-1}(S_n^- - Z)] & x < S_n^- \\ L(x) + \beta\,\mathbb{E}[J_{n-1}(x-Z)] & S_n^- \le x \le S_n^+ \\ (x-S_n^+)c_d + L(S_n^+) + \beta\,\mathbb{E}[J_{n-1}(S_n^+ - Z)] & x > S_n^+, \end{cases}∃Sn−​≤Sn+​ (depending on n):Jn​(x)=⎩⎨⎧​(Sn−​−x)cu​+L(Sn−​)+βE[Jn−1​(Sn−​−Z)]L(x)+βE[Jn−1​(x−Z)](x−Sn+​)cd​+L(Sn+​)+βE[Jn−1​(Sn+​−Z)]​x<Sn−​Sn−​≤x≤Sn+​x>Sn+​,​

with J0≡0J_0 \equiv 0J0​≡0, and the optimal policy transfers up to Sn−S_n^-Sn−​ below it, down to Sn+S_n^+Sn+​ above it, and does nothing in between. This is the weakest stable statement: it asserts the existence of critical levels with the stated recursive characterization, not any closed form for Sn±S_n^\pmSn±​ itself (which depends on LLL's exact shape and is not computable in general).

Three milestones build toward and alongside it: the Reward Iteration theorem and stationary Structure Theorem (Theorems 2.5.3-2.5.4, the general machinery instantiated), the trivial-but- sharp red-and-black card game (Theorem 2.6.1), and the stochastic linear-quadratic problem (Theorem 2.6.3, a Riccati-type recursion with random coefficients).

Significance

Theorem 2.6.2 is the textbook derivation of (s,S)(s,S)(s,S)-type control, the dominant policy structure in inventory theory and cash management: a firm should act only when its state leaves a band, and should act to bring it exactly to the band's edge, never further. Its proof pattern — verify (SAN) with I ⁣M\mathrm{I\!M}IM the convex functions of at most linear growth, extract the critical levels from the derivative conditions of a one-stage minimization — is the template used across the inventory-control literature for essentially every variant of this problem. Theorem 2.6.1's answer ("no strategy beats stopping immediately") is a genuine, if minimal, comparative-statics fact: a positive-content instance of I ⁣M\mathrm{I\!M}IM collapsing to functions constant on the game's absorbing set, forcing every action to be a maximizer. Theorem 2.6.3's Riccati-type recursion, with random transition coefficients, generalizes the classical deterministic-coefficient LQR (linear-quadratic regulator) of control theory; the recursion governs mean-variance and quadratic-hedging problems return to in later chapters of this book (Chapters 4 and 6).

None of the three examples' specific results were found on the platform (searched for "comparative statics", "convex Markov decision", the exact model names, and "bang-bang"/"LQR" adjacent terms). BertsekasDP.riccati_completion_of_square is the platform's one close relative to Theorem 2.6.3: it solves the deterministic-coefficient LQR by a completion-of-squares argument, not the random-coefficient recursion here, so it is cited as related work rather than reused. The proofs themselves are complete and self-contained in the book (a few pages each, using only single-variable convex analysis and elementary linear algebra); this mission contributes the formal statement of each, in its full generality (general convex LLL, general random (A,B)(A,B)(A,B) coefficient pairs), as the task for a sorry-free proof.

Difficulty

The cash-balance proof's central step is showing the minimizer of the one-stage problem is of critical-level form for every vvv in the candidate class I ⁣M\mathrm{I\!M}IM — not just for the particular sequence J0,J1,…J_0, J_1, \dotsJ0​,J1​,… that eventually arises. The obvious shortcut, guessing the form of JnJ_nJn​ directly and verifying it solves the Bellman equation by substitution, fails because Sn−,Sn+S_n^-, S_n^+Sn−​,Sn+​ are themselves defined only implicitly, via one-sided derivative conditions on L(x)+βE[v(x−Z)]L(x) + \beta\mathbb{E}[v(x-Z)]L(x)+βE[v(x−Z)]; there is no closed form to substitute except in degenerate special cases (e.g. LLL quadratic). The genuine content is the general argument (convexity of the one-stage objective forces a unique critical-level minimizer structure, and this structure is preserved under TTT) that lets the induction go through for an arbitrary convex, coercive LLL. For Theorem 2.6.3, the natural first attempt — solve the deterministic LQR recursion and substitute expected coefficient matrices for the random ones — is not obviously valid, since E[B⊤QB]≠(E[B])⊤Q E[B]\mathbb{E}[B^\top Q B] \ne (\mathbb{E}[B])^\top Q\,\mathbb{E}[B]E[B⊤QB]=(E[B])⊤QE[B] in general; the correct recursion genuinely involves the joint second moments of (A,B)(A,B)(A,B), which is exactly what the standing positive-definiteness assumption on E[B⊤QB]\mathbb{E}[B^\top Q B]E[B⊤QB] (not on E[B]\mathbb{E}[B]E[B] itself) is there to make precise.

Formalization scope

The stationary vocabulary (StationaryMarkovDecisionModel, its operators, J, (SAN)) is restated independently of chunk 02a's non-stationary vocabulary — drafts in this series cannot import one another, and the book itself keeps the two notationally separate (JnJ_nJn​ vs. VnV_nVn​, related by Vn(x)=βnJN−n(x)V_n(x) = \beta^n J_{N-n}(x)Vn​(x)=βnJN−n​(x), a relation this mission does not separately formalize since no listed result needs it). Theorem 2.6.3's stochastic LQ problem is explicitly non-stationary in the book's own text, so a second, NS-prefixed restatement of the non- stationary model and value function (via the Bellman recursion established as Theorem 2.3.8, not the sup-over-policies primitive — the same simplification chunk 02c makes for its own V) is introduced solely for that one theorem. The card game (Theorem 2.6.1) is formalized on the concrete state space N×N\mathbb{N} \times \mathbb{N}N×N and action space Bool, with the model's exact transition density, reward and terminal reward given as hypotheses on an abstract StationaryMarkovDecisionModel, matching the book's own discrete-density notation q(x′∣x,a):=Q({x′}∣x,a)q(x'\mid x,a) := Q(\{x'\}\mid x,a)q(x′∣x,a):=Q({x′}∣x,a) (introduced in the text following Theorem 2.5.4) rather than built from an explicit PMF/Kernel construction — a lighter-weight but equally precise formalization, since the density equations pin the kernel exactly. The stochastic LQ problem uses Matrix (Fin m) (Fin m) ℝ and needs a MeasurableSpace (Matrix m n α) instance Mathlib does not provide (Matrix is a non-reducible def for m → n → α); this mission supplies it by transport across the definitional equality. Random matrix moments E[F(A,B)]\mathbb{E}[F(A,B)]E[F(A,B)] are computed entrywise as ordinary Bochner integrals against the joint law of (A,B)(A,B)(A,B).

A trivializing formalization is ruled out on two fronts: the cash-balance critical levels Sn−,Sn+S_n^-, S_n^+Sn−​,Sn+​ are existentially quantified as functions of nnn, not fixed constants (dropping the index would silently claim a single band works for every horizon length, which is false in general); and the card game's "every strategy is optimal" is stated as a universally-quantified claim over all policy sequences, not weakened to mere existence of an optimal one. Reusable infrastructure: the jointMatMean/xQx helpers and the MeasurableSpace (Matrix m n α) instance are generic and available to any later chunk needing random-matrix moments (none of the remaining chunks' briefs currently list one, but Chapter 4's mean-variance and LQ-flavored missions may). sorry-free proofs of all five items are welcome contributions; Theorem 2.5.3's short inductive proof (unwinding the accumulator definition against the operator-composition recursion) is likely the easiest entry point.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. https://doi.org/10.1007/978-3-642-18324-9
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Athena Scientific, 2005 (the classical deterministic-coefficient LQR, BertsekasDP.riccati_completion_of_square on the platform).
13 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes V: No-Arbitrage in Discrete-Time Financial MarketsTextbook

Motivation

Every financial application in the rest of this book — terminal wealth maximization, portfolio choice with consumption, index tracking, hedging — takes as given that the underlying market admits no risk-free profit: an arbitrage opportunity. Ruling this out is not a modeling nicety but a structural necessity, since a market with arbitrage has no sensible notion of a fair price at all. Bäuerle and Rieder's Chapter 3 fixes the discrete- and continuous-time market vocabulary the rest of the book builds on, and proves the one structural fact about no-arbitrage that the later chapters actually invoke: that the whole-horizon, global absence of arbitrage is equivalent to a much simpler one-period condition, checked separately at each stage. This reduction — not the deeper fundamental theorem of asset pricing (existence of an equivalent martingale measure), which the book does not prove in this section — is what turns a statement about strategies over the whole time horizon into something checkable stage by stage, exactly the form needed to embed a no-arbitrage assumption into a dynamic-programming argument.

Setting

An NNN-period financial market with ddd risky assets consists of a probability space (Ω,F,P)(\Omega,\mathcal{F},\mathbb{P})(Ω,F,P) with filtration (Fn)n=0N(\mathcal{F}_n)_{n=0}^N(Fn​)n=0N​, F0\mathcal{F}_0F0​ trivial; a riskless bond with deterministic interest rate ini_nin​ on [n−1,n)[n-1,n)[n−1,n) (so Sn0=Sn−10(1+in)S^0_n = S^0_{n-1}(1+i_n)Sn0​=Sn−10​(1+in​)); and ddd risky assets with relative price changes R~n=(R~n1,…,R~nd)\tilde R_n = (\tilde R^1_n,\dots,\tilde R^d_n)R~n​=(R~n1​,…,R~nd​), Fn\mathcal{F}_nFn​-measurable and a.s. strictly positive (Snk=Sn−1kR~nkS^k_n = S^k_{n-1}\tilde R^k_nSnk​=Sn−1k​R~nk​). A portfolio (trading strategy) is an (Fn)(\mathcal{F}_n)(Fn​)-adapted process φ=(φn0,φn)\varphi = (\varphi^0_n,\varphi_n)φ=(φn0​,φn​), φn0∈R\varphi^0_n \in \mathbb{R}φn0​∈R, φn∈Rd\varphi_n \in \mathbb{R}^dφn​∈Rd; φnk\varphi^k_nφnk​ is the money invested in asset kkk on [n,n+1)[n,n+1)[n,n+1). Its value before/after trading at time nnn is Xn−:=φn−10(1+in)+φn−1⋅R~nX_n^- := \varphi^0_{n-1}(1+i_n) + \varphi_{n-1}\cdot\tilde R_nXn−​:=φn−10​(1+in​)+φn−1​⋅R~n​, Xn+:=φn0+φn⋅eX_n^+ := \varphi^0_n + \varphi_n\cdot eXn+​:=φn0​+φn​⋅e; φ\varphiφ is self-financing if Xn−=Xn+X_n^- = X_n^+Xn−​=Xn+​ a.s. for every interior nnn. An arbitrage opportunity is a self-financing φ\varphiφ with X0φ=0X_0^\varphi = 0X0φ​=0, XNφ≥0X_N^\varphi \geq 0XNφ​≥0 a.s., XNφ>0X_N^\varphi > 0XNφ​>0 with positive probability. The relative risk process Rnk:=R~nk/(1+in)−1R_n^k := \tilde R_n^k/(1+i_n) - 1Rnk​:=R~nk​/(1+in​)−1 is the excess return of asset kkk over the riskless rate.

Formalization targets

Goal — Theorem 3.1.5

No arbitrage  ⟺  ∀ n<N, ∀ Fn-measurable φn∈Rd:φn⋅Rn+1≥0 a.s.  ⟹  φn⋅Rn+1=0 a.s.\text{No arbitrage} \iff \forall\, n < N,\ \forall\, \mathcal{F}_n\text{-measurable } \varphi_n \in \mathbb{R}^d: \quad \varphi_n \cdot R_{n+1} \geq 0 \text{ a.s.} \implies \varphi_n \cdot R_{n+1} = 0 \text{ a.s.}No arbitrage⟺∀n<N, ∀Fn​-measurable φn​∈Rd:φn​⋅Rn+1​≥0 a.s.⟹φn​⋅Rn+1​=0 a.s.

This is the weakest stable statement that captures the reduction: it asserts the equivalence of the global, whole-horizon absence of arbitrage strategies with a one-period static condition on the relative risk vector, without asserting the stronger (and here unproved) existence of a martingale measure.

No further milestone is formalized in this mission: this chapter's only other theorem, Theorem 3.3.1 (binomial-tree weak convergence to Black-Scholes), needs the Skorokhod topology on the space of càdlàg paths, absent from Mathlib and out of scope to construct here — see the Formalization scope section and HARD.md.

Significance

Theorem 3.1.5 is the tool that lets every later chapter's "assume the market has no arbitrage" hypothesis be checked and used one period at a time rather than as a global existential statement over an intractably large space of strategies. It is also the precise, minimal claim this section proves: contrasted with the full fundamental theorem of asset pricing (no arbitrage   ⟺  \iff⟺ existence of an equivalent martingale measure, due to Harrison–Kreps 1979 and Dalang–Morton–Willinger 1990 in this discrete-time generality), Theorem 3.1.5 is a strictly weaker, purely measure-theoretic reduction that requires no separating-hyperplane or martingale-measure construction to state (only to prove). The definitions this chunk formalizes alongside it — portfolios, self-financing, arbitrage, and utility functions with the Arrow-Pratt risk-aversion coefficient — are the vocabulary every financial mission of this book (Chapters 4, 6, 9, 11) is built from.

Formalizing it contributes the exact discrete-time, filtration-indexed statement of the reduction — a result absent from the platform (searched "arbitrage", "self-financing", "martingale measure", "utility function"; the one related hit, LinearOptimization.no_arbitrage_iff_state_prices, is a static single-period linear-programming duality statement — no-arbitrage iff nonnegative state prices exist for a fixed return matrix — a different equivalence for a different, non-stochastic model, not reused here).

Difficulty

The direction "local no-free-lunch at every stage ⇒\Rightarrow⇒ no arbitrage" is the easy one: an arbitrage strategy, unwound via the recursive wealth formula, forces a violation of the local condition at some stage by a stopping-time argument on the first period where the wealth increment is a.s. nonnegative and not a.s. zero. The converse, "an arbitrage opportunity forces the local condition to fail somewhere," is the direction that needs the reduction of the whole-horizon problem to a single period: the natural first attempt (induct forward from n=0n=0n=0) does not directly work, because whether a strategy is an arbitrage is a statement about the terminal wealth XNX_NXN​, and a violation at an early stage does not obviously propagate; the book's proof instead identifies, from an arbitrage strategy, the last stage at which the one-period condition fails and constructs a genuinely one-period arbitrage there — an argument that needs care with the a.s.-qualifiers at every step (the difference between "X≥0X \geq 0X≥0 a.s." failing to imply "X<0X < 0X<0 with positive probability" only up to null sets is exactly where the measure-theoretic bookkeeping matters).

Formalization scope

The market is represented via DiscreteFinancialMarket, bundling the probability space, filtration, and the two primitives (iii, R~\tilde RR~) actually used; price processes S0,SkS^0, S^kS0,Sk are not separately represented, since they would only be running products of these two primitives with no further role once the relative risk process RRR is derived. Filtration is represented directly as a monotone family of sub-σ\sigmaσ-algebras with a trivial Fam 0, not via Mathlib's Filtration structure, to avoid instance-juggling that would add no content here. Adaptedness/predictability and the a.s. conditions of every definition are exactly the book's own. Definitions 3.2.1-3.2.2 (the continuous-time portfolio and its self-financing condition, needed by chunk 09b's jump-market model) use an abstract StochasticIntegral operator taken as given data, since Mathlib has no general theory of integration against an arbitrary càdlàg semimartingale (only specific constructions such as Itô integration against Brownian motion); this is a deliberate infrastructure gap flagged for whoever eventually needs to instantiate it, not a hidden simplification of the definition's own content, which states the self-financing equation exactly as the book writes it.

Theorem 3.3.1 is not formalized in this mission and is recorded in HARD.md. The theorem asserts weak convergence of the whole path of the binomial-tree price process to the Black-Scholes-Merton stock price on the Skorokhod space D[0,T]D[0,T]D[0,T] of càdlàg functions with the Skorokhod topology — a materially stronger and more setup-heavy claim than finite-dimensional convergence in distribution, and the book explicitly names this topology (it is not left implicit). Mathlib has no formalization of D[0,T]D[0,T]D[0,T] or the Skorokhod topology, and building either from scratch (the space of càdlàg functions, the Skorokhod metric via time-warpings, the tightness criteria needed for Donsker-type invariance principles) is a substantial undertaking outside the scope of a single milestone; weakening the claim to convergence of finite-dimensional distributions, or silently substituting an unnamed alternative topology (e.g. uniform convergence, under which the claim would in fact be false, since the discretized paths have jumps the limit does not), would misstate the theorem rather than state a smaller piece of it faithfully. A general-purpose Skorokhod-space/Skorokhod-topology formalization in Mathlib — reusable well beyond this book — is the prerequisite contribution that would unlock this result.

No trivializing formalization: NoArbitrage quantifies over all self-financing portfolios (Portfolio M, an unrestricted adapted process, not a finite or parametrized family), and the one-period condition of part b) quantifies over all Fn\mathcal{F}_nFn​-measurable φn∈Rd\varphi_n \in \mathbb{R}^dφn​∈Rd — narrowing either quantifier (e.g. to strategies with bounded positions) would state a weaker, easier claim than the book's own theorem.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. https://doi.org/10.1007/978-3-642-18324-9
  • J. M. Harrison and D. M. Kreps, "Martingales and arbitrage in multiperiod securities markets", Journal of Economic Theory, 1979 (the discrete-time fundamental theorem of asset pricing this chapter's Theorem 3.1.5 is a structural lemma toward, not itself proved in this section).
6 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes VIII: Transaction Costs and the Dynamic Mean-Variance ProblemTextbook

Motivation

Two of the oldest simplifying assumptions in portfolio theory are that trading is frictionless and that risk means variance. Neither survives contact with practice: every real market charges a transaction cost proportional to the size of a trade, and variance penalizes upside deviations exactly as much as downside ones, which is not what an investor actually fears. Bäuerle and Rieder's §4.5 reopens the multiperiod terminal-wealth problem of chunk 04a with proportional transaction costs added to every trade, and finds that the qualitative shape of the solution survives — a buy/hold/sell rule with explicit thresholds, still obtained from the Structure Theorem of chunk 02a. Their §4.6 then leaves expected-utility maximization altogether and solves the classical Markowitz mean-variance problem in its genuinely dynamic, multiperiod form: choose a self-financing trading strategy that attains a target expected terminal wealth μ\muμ while minimizing the variance of that terminal wealth. This is Markowitz's one-period portfolio selection problem (H. Markowitz, Portfolio Selection, Journal of Finance, 1952) transplanted into a stage-by-stage trading horizon, and it earns its own solution technique: the objective is not linear in the underlying probability measure, so no direct Bellman equation applies, and the chapter instead builds a Lagrangian-embedding argument from scratch. Section §4.7 closes the chapter by replacing variance with the Average-Value-at-Risk, an axiomatically better-behaved risk measure (P. Artzner, F. Delbaen, J.-M. Eber, D. Heath, Coherent Measures of Risk, Mathematical Finance, 1999), and solves the resulting mean-risk problem in the binomial model by the same Lagrangian route.

Setting

The transaction-cost model (§4.5): state (x0,x1)∈E:=R≥02(x_0,x_1)\in E:=\mathbb{R}_{\ge0}^2(x0​,x1​)∈E:=R≥02​ (bond and stock holdings), action a∈[0,x1+x0/(1+c)]a\in[0,x_1+x_0/(1+c)]a∈[0,x1​+x0​/(1+c)] (the stock holding chosen after the trade), bond holding after the trade h(x0,x1,a):=x0+(1−c)(x1−a)h(x_0,x_1,a) := x_0+(1-c)(x_1-a)h(x0​,x1​,a):=x0​+(1−c)(x1​−a) if a≤x1a\le x_1a≤x1​ and x0+(1+c)(x1−a)x_0+(1+c)(x_1-a)x0​+(1+c)(x1​−a) if a>x1a>x_1a>x1​, for a proportional cost rate c∈[0,1)c\in[0,1)c∈[0,1); transition Tn((x0,x1),a,z):=(h(x0,x1,a)(1+in+1), az)T_n((x_0,x_1),a,z) := (h(x_0,x_1,a)(1+i_{n+1}),\,az)Tn​((x0​,x1​),a,z):=(h(x0​,x1​,a)(1+in+1​),az); terminal reward U(x0+x1)U(x_0+x_1)U(x0​+x1​) for a utility UUU homogeneous of degree γ\gammaγ.

The mean-variance model (§4.6): state E:=RE:=\mathbb{R}E:=R (wealth), action A:=RdA:=\mathbb{R}^dA:=Rd (amounts invested in ddd risky assets, short-selling allowed), transition Tn(x,a,z):=(1+in+1)(x+a⋅z)T_n(x,a,z) := (1+i_{n+1})(x+a\cdot z)Tn​(x,a,z):=(1+in+1​)(x+a⋅z). Writing XNX_NXN​ for the terminal wealth reached from x0x_0x0​ under a strategy π\piπ, the problem is

(MV)Varx0π[XN]→min⁡subject toEx0π[XN]≥μ,  π admissible.\mathrm{(MV)}\qquad \mathrm{Var}_{x_0}^\pi[X_N] \to \min \quad\text{subject to}\quad \mathbb{E}_{x_0}^\pi[X_N] \ge \mu, \ \ \pi \text{ admissible.}(MV)Varx0​π​[XN​]→minsubject toEx0​π​[XN​]≥μ,  π admissible.

Because Var\mathrm{Var}Var is not linear in the law of XNX_NXN​, (MV) is solved via the Lagrangian Lx0(π,λ):=Varx0π[XN]+2λ(μ−Ex0π[XN])L_{x_0}(\pi,\lambda) := \mathrm{Var}_{x_0}^\pi[X_N] + 2\lambda(\mu-\mathbb{E}_{x_0}^\pi[X_N])Lx0​​(π,λ):=Varx0​π​[XN​]+2λ(μ−Ex0​π​[XN​]), whose saddle points give (MV)'s value and optimizer, reduced in turn to the tractable auxiliary quadratic problem QP(b)QP(b)QP(b): minimize Ex0π[(XN−b)2]\mathbb{E}_{x_0}^\pi[(X_N-b)^2]Ex0​π​[(XN​−b)2], a stochastic linear-quadratic control problem.

The mean-risk model (§4.7): the binomial (Cox–Ross–Rubinstein) market with one bond (interest rate 000) and one stock with relative return u−1u-1u−1 w.p. ppp or d−1d-1d−1 w.p. 1−p1-p1−p; the Average-Value-at-Risk at level γ\gammaγ, AVaRγ(X):=inf⁡b∈R[b+11−γE[(X+b)−]]\mathrm{AVaR}_\gamma(X) := \inf_{b\in\mathbb{R}} [b+\frac{1}{1-\gamma}\mathbb{E}[(X+b)^-]]AVaRγ​(X):=infb∈R​[b+1−γ1​E[(X+b)−]]; the problem (MR):AVaRγ(XN)→min⁡\mathrm{(MR)}: \mathrm{AVaR}_\gamma(X_N)\to\min(MR):AVaRγ​(XN​)→min subject to Ex0π[XN]≥μ\mathbb{E}_{x_0}^\pi[X_N]\ge\muEx0​π​[XN​]≥μ, solved via the same Lagrangian route through an auxiliary problem P(λ,b)P(\lambda,b)P(λ,b).

Formalization targets

Goal — Theorem 4.6.6 (the mean-variance problem)

Varx0π∗[XN]=d01−d0(Ex0π∗[XN]−x0SN0)2,Ex0π∗[XN]=μ,\mathrm{Var}_{x_0}^{\pi^*}[X_N] = \frac{d_0}{1-d_0}\big(\mathbb{E}_{x_0}^{\pi^*}[X_N] - x_0S^0_N\big)^2, \qquad \mathbb{E}_{x_0}^{\pi^*}[X_N] = \mu,Varx0​π∗​[XN​]=1−d0​d0​​(Ex0​π∗​[XN​]−x0​SN0​)2,Ex0​π∗​[XN​]=μ, fn∗(x)=(μ−d0x0SN01−d0⋅Sn0SN0−x) Cn+1−1 E[Rn+1],f_n^*(x) = \Big(\frac{\mu-d_0x_0S^0_N}{1-d_0}\cdot\frac{S^0_n}{S^0_N} - x\Big)\, C_{n+1}^{-1}\,\mathbb{E}[R_{n+1}],fn∗​(x)=(1−d0​μ−d0​x0​SN0​​⋅SN0​Sn0​​−x)Cn+1−1​E[Rn+1​],

where (dn)(d_n)(dn​) is a recursively-defined sequence in (0,1)(0,1)(0,1) (Lemma 4.6.4) built from the one-period return moments Cn,E[Rn]C_n,\mathbb{E}[R_n]Cn​,E[Rn​]. This closes the loop the chapter opens: it is the exact value and optimal strategy of the dynamic mean-variance problem, obtained by specializing the auxiliary problem QP(b)QP(b)QP(b)'s closed-form solution (Theorem 4.6.5) at the Lagrange multiplier that Lemma 4.6.2's saddle-point argument selects.

Supporting milestones

The Lagrangian route itself: the equivalence of (MV) and its equality-constrained form (Lemma 4.6.1), the saddle-point value identity (Lemma 4.6.2), the reduction of the Lagrange problem P(λ)P(\lambda)P(λ) to QP(b)QP(b)QP(b) (Lemma 4.6.3), the boundedness of (dn)(d_n)(dn​) (Lemma 4.6.4), and QP(b)QP(b)QP(b)'s own explicit solution (Theorem 4.6.5) — the four-step argument the goal theorem is the payoff of. Upstream of §4.6: the transaction-cost model's upper bounding function (Proposition 4.5.1), its Structure Assumption via buy/hold/sell decision rules (Proposition 4.5.2), and the resulting explicit three-region optimal policy (Theorem 4.5.4). Downstream: the Two-Fund Theorem (Corollary 4.6.7), and the parallel mean-risk development — the auxiliary problem P(λ,b)P(\lambda,b)P(λ,b)'s solution (Theorem 4.7.1), the binomial value of P(λ)P(\lambda)P(λ) (Proposition 4.7.2), and the mean-risk problem's own explicit solution in both orderings of ppp and qqq (Theorems 4.7.3 and 4.7.4).

Significance

Theorem 4.6.6 is the multiperiod extension of the single most-used result in portfolio theory: the mean-variance efficient frontier, here derived stage by stage rather than assumed static, and it recovers the classical Two-Fund Theorem (every investor holds the same risky portfolio, scaled by wealth) as an immediate corollary rather than a separate argument. The transaction-cost results answer a standing objection to frictionless portfolio theory by showing that its qualitative conclusions — a threshold trading rule derived from a value function via the same abstract Structure Theorem — survive costs, with the thresholds now depending on the current value function rather than being fixed. The mean-risk results extend the whole technique to a risk measure that, unlike variance, is coherent in the sense of Artzner et al., showing the Lagrangian-embedding method is not an accident of the quadratic case.

None of this chapter's results have machine-checked proofs on Prove2Me at the time of writing (the platform's saddle-point sufficiency results, VectorSpaceOpt.lagrangian_saddle_sufficient_pointed and ConvexOptimization.lagrangian_saddle_iff_strong_duality, are stated over a closed convex cone in a normed vector space, not over the finite-horizon admissible-policy space FNF^NFN that Lemma 4.6.2 needs, and were checked and ruled out as reusable for this mission). Formalizing this chapter means building the Lagrangian-embedding argument for a dynamic (rather than static) optimization problem from scratch: no existing platform infrastructure covers a saddle point of a Lagrangian defined over a sequence of Markov policies.

Difficulty

The obvious first attempt at (MV) is to apply the Structure Theorem of chunk 02a directly to the variance objective, exactly as chunk 04a does for expected utility. This fails outright: Varx0π[XN]=Ex0π[XN2]−(Ex0π[XN])2\mathrm{Var}_{x_0}^\pi[X_N] = \mathbb{E}_{x_0}^\pi[X_N^2] - (\mathbb{E}_{x_0}^\pi[X_N])^2Varx0​π​[XN​]=Ex0​π​[XN2​]−(Ex0​π​[XN​])2 is not additive over time and has no Bellman recursion of the usual form, because the square of an expectation over the whole horizon cannot be decomposed into a sum of one-period rewards. The chapter's actual route — Lagrangian relaxation to P(λ)P(\lambda)P(λ), then a further reduction to the quadratic (and hence tractable) QP(b)QP(b)QP(b) — is not a shortcut around this obstacle but the only way the mean-variance problem admits a Markov Decision Process reformulation at all. A correct formalization of the goal theorem must go through this exact chain (saddle_point_value, plambda_implies_qp, qp_solution), not around it.

Formalization scope

The financial market and the four named optimization problems (MV), (MV=), P(λ)P(\lambda)P(λ), QP(b)QP(b)QP(b) are formalized as explicit structures and Prop-valued predicates in MDPFinance.MeanVariance (none of them is a numbered definition in the book — each is introduced only in prose — so each gets its own precise Lean definition rather than being left implicit). Wealth is real-valued, policies are sequences of measurable Markov maps N→R→(Fin d→R)\mathbb{N}\to\mathbb{R}\to(\mathrm{Fin}\ d\to \mathbb{R})N→R→(Fin d→R), and values that can be ±∞\pm\infty±∞ in the book (the value of P(λ,b)P(\lambda,b)P(λ,b), of P(λ)P(\lambda)P(λ), and of (MR) itself) are typed EReal rather than ℝ, matching the book's own use of infinite values as legitimate outcomes rather than failure states. A formalization that solved the goal theorem by first proving a Bellman equation for Varx0π[XN]\mathrm{Var}_{x_0}^\pi[X_N]Varx0​π​[XN​] directly would not be proving Theorem 4.6.6 — no such recursion exists — and the goal statement is phrased purely in terms of IsOptimalMV, varXN, and meanXN, independent of any intermediate value function, precisely so that only the actual saddle-point argument can discharge it. The transaction-cost model's buy/hold/sell threshold functions q−(Vn+1),q+(Vn+1)q^-(V_{n+1}),q^+(V_{n+1})q−(Vn+1​),q+(Vn+1​) are represented by their defining maximizing property rather than a closed form, since the book itself only pins them down as an argmax. Reusable beyond this mission: the MVMarket/ MeanRiskMarket structures and the Lagrangian-saddle-point machinery are natural substrate for any later mission that needs a dynamic risk-constrained portfolio problem. Contributions completing any milestone's sorry are welcome, particularly a sorry-free proof of Lemma 4.6.2 (the saddle-point value identity), since it is the one genuinely general technique this mission introduces.

Selected references

  • H. Markowitz, Portfolio Selection, The Journal of Finance 7(1), 1952, https://doi.org/10.2307/2975974
  • 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
  • N. Bäuerle, U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011, https://doi.org/10.1007/978-3-642-18324-9, Chapter 4, §§4.5-4.7
23 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes IX: Index Tracking and Utility Indifference PricingTextbook

Motivation

Two more portfolio problems round out Bäuerle and Rieder's finance chapter, each raising a question the earlier sections do not. First: a fund manager is mandated to track an index — replicate its value as closely as possible — but the index itself is often built from assets the fund cannot trade directly (a broad benchmark, a proprietary basket). This is the multiperiod, statistical analogue of index-fund management, and it turns out to be a classical linear-quadratic control problem (R. E. Kalman, A New Approach to Linear Filtering and Prediction Problems, 1960, for the deterministic-coefficient case that Bäuerle and Rieder's §2.6.3 first generalizes to random coefficients) rather than requiring a new dynamic-programming argument at all. Second: how should a contingent claim be priced when it depends on an asset that cannot be traded, so that perfect replication is simply impossible? This is the market-incompleteness question at the heart of mathematical finance since the 1970s options-pricing literature, and §4.9 develops the utility indifference pricing approach (M. H. A. Davis, Option Pricing in Incomplete Markets, in Mathematics of Derivative Securities, 1997; also traceable to the zero-utility premium principle of classical insurance mathematics): price a claim at the amount that leaves an expected-utility-maximizing investor indifferent between holding it and not.

Setting

Index tracking (§4.8): state (x,s^)∈E:=R×R(x,\hat s)\in E:=\mathbb{R}\times\mathbb{R}(x,s^)∈E:=R×R (wealth, value of the non-traded index S^\hat SS^), action a∈A:=Rda\in A:=\mathbb{R}^da∈A:=Rd (amounts in ddd traded assets), transition Tn((x,s^),a,(z1,z2)):=((1+in+1)(x+a⋅z1), s^ z2)T_n((x,\hat s),a,(z_1,z_2)) := ((1+i_{n+1})(x+a\cdot z_1),\ \hat s\,z_2)Tn​((x,s^),a,(z1​,z2​)):=((1+in+1​)(x+a⋅z1​), s^z2​). The objective is Vn(x,s^):=inf⁡πE[∑k=nN(Xk−S^k)2]V_n(x,\hat s) := \inf_\pi \mathbb{E}[\sum_{k=n}^N (X_k-\hat S_k)^2]Vn​(x,s^):=infπ​E[∑k=nN​(Xk​−S^k​)2] (Eq. (4.36)): minimize the expected sum of squared tracking errors. Chapter 2's stochastic linear-quadratic theory (§2.6.3, Theorem 2.6.3) already solves any problem of this shape — linear dynamics with random coefficient matrices An+1,Bn+1A_{n+1},B_{n+1}An+1​,Bn+1​, quadratic cost with fixed matrix QQQ — via a backward Riccati-type recursion Q~N:=QN\tilde Q_N:=Q_NQ~​N​:=QN​, Q~n:=Qn+E[An+1⊤Q~n+1An+1]−E[An+1⊤Q~n+1Bn+1](E[Bn+1⊤Q~n+1Bn+1])−1E[Bn+1⊤Q~n+1An+1]\tilde Q_n := Q_n + \mathbb{E}[A_{n+1}^\top \tilde Q_{n+1}A_{n+1}] - \mathbb{E}[A_{n+1}^\top\tilde Q_{n+1}B_{n+1}](\mathbb{E}[B_{n+1}^\top \tilde Q_{n+1}B_{n+1}])^{-1}\mathbb{E}[B_{n+1}^\top\tilde Q_{n+1}A_{n+1}]Q~​n​:=Qn​+E[An+1⊤​Q~​n+1​An+1​]−E[An+1⊤​Q~​n+1​Bn+1​](E[Bn+1⊤​Q~​n+1​Bn+1​])−1E[Bn+1⊤​Q~​n+1​An+1​], so §4.8's content is identifying this problem's own An+1,Bn+1,QA_{n+1},B_{n+1},QAn+1​,Bn+1​,Q.

Indifference pricing (§4.9): a one-period market with a traded asset SSS and an untradeable asset S^\hat SS^, four states of the world with probabilities p1,…,p4p_1,\dots,p_4p1​,…,p4​, relative returns (R~,R^)∈{(u,u^),(u,d^),(d,u^),(d,d^)}(\tilde R,\hat R)\in\{(u,\hat u),(u,\hat d),(d,\hat u),(d,\hat d)\}(R~,R^)∈{(u,u^),(u,d^),(d,u^),(d,d^)}, an exponential-utility investor U(x)=−e−γxU(x)=-e^{-\gamma x}U(x)=−e−γx, and a claim H=h(S1,S^1)H=h(S_1,\hat S_1)H=h(S1​,S^1​). The investor's value with the claim sold short is V0H(x,s,s^):=sup⁡aE[−e−γx−γa(R~−1)+γH]V_0^H(x,s,\hat s) := \sup_a \mathbb{E}[-e^{-\gamma x-\gamma a(\tilde R-1)+\gamma H}]V0H​(x,s,s^):=supa​E[−e−γx−γa(R~−1)+γH] (Eq. (4.37)); Definition 4.9.1 sets the indifference price v0(H,s,s^)v_0(H,s,\hat s)v0​(H,s,s^) as the amount solving V00(x,s,s^)=V0H(x+v0,s,s^)V_0^0(x,s,\hat s) = V_0^H(x+v_0,s,\hat s)V00​(x,s,s^)=V0H​(x+v0​,s,s^) for every wealth xxx. The multiperiod extension (unnumbered display, p. 138) replaces the one period by NNN i.i.d. periods and defines vn(H,s,s^)v_n(H,s,\hat s)vn​(H,s,s^) at every time nnn the same way, now for VnHV_n^HVnH​ a genuine dynamic value function.

Formalization targets

Goal — Theorem 4.9.4

VnH(x,s,s^)=−e−γxdn(s,s^),dN(s,s^):=eγh(s,s^),dn(s,s^):=inf⁡aE[e−γa(R~n+1−1) dn+1(sR~n+1,s^R^n+1)],V_n^H(x,s,\hat s) = -e^{-\gamma x}d_n(s,\hat s), \qquad d_N(s,\hat s):=e^{\gamma h(s,\hat s)}, \qquad d_n(s,\hat s) := \inf_{a} \mathbb{E}\big[e^{-\gamma a(\tilde R_{n+1}-1)}\,d_{n+1}(s\tilde R_{n+1},\hat s\hat R_{n+1})\big],VnH​(x,s,s^)=−e−γxdn​(s,s^),dN​(s,s^):=eγh(s,s^),dn​(s,s^):=ainf​E[e−γa(R~n+1​−1)dn+1​(sR~n+1​,s^R^n+1​)], vn(H,s,s^)=1γlog⁡(dn(s,s^)vN−n),vn(vn+1(H,sR~n+1,s^R^n+1),s,s^)=vn(H,s,s^),v_n(H,s,\hat s) = \frac{1}{\gamma}\log\Big(\frac{d_n(s,\hat s)}{v^{N-n}}\Big), \qquad v_n\big(v_{n+1}(H,s\tilde R_{n+1},\hat s\hat R_{n+1}),s,\hat s\big) = v_n(H,s,\hat s),vn​(H,s,s^)=γ1​log(vN−ndn​(s,s^)​),vn​(vn+1​(H,sR~n+1​,s^R^n+1​),s,s^)=vn​(H,s,s^),

where v:=inf⁡aE[e−γa(R~1−1)]v:=\inf_a\mathbb{E}[e^{-\gamma a(\tilde R_1-1)}]v:=infa​E[e−γa(R~1​−1)] (Eq. (4.39)). This is the genuine multiperiod solution: no closed form is available in general (unlike the one-period case), only this explicit backward recursion for dnd_ndn​, obtained by folding the claim's payoff into the terminal reward of the exponential-utility Bellman recursion (Theorem 4.2.15). The consistency condition (part c) says the indifference-pricing operator is itself "time-consistent": pricing at time nnn a claim whose payoff at n+1n+1n+1 is the already-computed time-(n+1)(n+1)(n+1) price of HHH recovers HHH's own time-nnn price directly.

Milestones

Theorem 4.8.1 (index-tracking's explicit LQ solution: quadratic value functions via the Riccati recursion, linear optimal policy) and Theorem 4.9.2 (the one-period special case of the goal, with a genuinely closed-form price, obtained by directly minimizing a convex one-variable objective). Definition 4.9.1 (the indifference price's defining equation) is needed by both and is a formalization target in its own right, but — being a definition, not a numbered theorem — is never a milestone.

Significance

Theorem 4.8.1 shows that a statistically-motivated portfolio criterion (tracking error, the industry-standard measure of an index fund's fidelity) reduces exactly to a textbook control problem, so every qualitative feature of LQ control — the value function's quadratic form, the policy's linearity in the state, off-line computability of the feedback gain — transfers immediately; the content is the reduction, not a new proof technique. The indifference-pricing results answer a question ordinary arbitrage-free pricing cannot: when a claim's payoff depends on an asset that literally cannot be traded, no replicating portfolio exists, so the no-arbitrage pricing theory of Chapter 3 gives no unique price at all. Theorem 4.9.4 shows the utility-based alternative is nonetheless computable to the same degree of explicitness as ordinary dynamic programming allows: a backward recursion, not a closed form, but a genuine algorithm.

None of these results have machine-checked proofs on Prove2Me at the time of writing. The platform's BertsekasDP.riccati_completion_of_square and related Riccati-family theorems were checked and are not reusable for Theorem 4.8.1: their system matrices are deterministic, with no expectation anywhere in the statement, while this chapter's An+1,Bn+1A_{n+1},B_{n+1}An+1​,Bn+1​ are random and every term of the recursion is an expectation — a genuinely more general result that happens to specialize to the deterministic case, not an instance of it. No substrate at all exists for utility indifference pricing.

Difficulty

For index tracking, the obstacle is not mathematical but representational: recognizing that (x−s^)2(x-\hat s)^2(x−s^)2 is a quadratic form (x,s^)Q(x,s^)⊤(x,\hat s)Q(x,\hat s)^\top(x,s^)Q(x,s^)⊤ in the augmented state that includes the untradeable index's own value, and that the transition is linear in this augmented state with coefficient matrices that are random only through next period's returns — once this identification is made, Theorem 2.6.3 is already proved and there is nothing further to argue. For indifference pricing, the obstacle is conceptual: Definition 4.9.1 characterizes v0v_0v0​ implicitly, by an equation relating two suprema, not by a formula, so nothing prevents a formalization from simply asserting the closed-form answer as the definition and making the theorem vacuous. A faithful formalization must keep the two apart, proving that the printed formula is a solution of the defining equation rather than building the formula into what "indifference price" means.

Formalization scope

The index-tracking Riccati recursion is restated locally in this chunk's namespace (per the project's rule against importing another chunk's machinery), instantiated to this problem's own 2×22\times22×2 cost matrix and random 2×22\times22×2/2×d2\times d2×d system matrices, using Mathlib's general Matrix inverse (Bᵀ Q B is inverted directly; positive-definiteness making the inverse genuine is not separately hypothesized in the Riccati recursion's own statement, matching how the book treats it as automatic under Assumption (FM)). The one-period and multiperiod indifference-pricing markets are formalized as separate structures (the one-period model's four-atom probability space is pinned down by explicit measure equations on the pair (R~,R^)(\tilde R,\hat R)(R~,R^), not by an assumed Fin 4 state space, matching the pattern used for the binomial model in chunk 04c). The multiperiod value function VHAt carries an explicit maturity argument distinct from the model's own horizon NNN, needed only to state the goal's consistency condition (part c), which prices a claim maturing one period early. A formalization that defines the indifference price directly as a closed-form expression, rather than as the solution of Definition 4.9.1's equation, would be a trivializing formalization of Theorem 4.9.2 and 4.9.4(b) and is explicitly ruled out. Reusable beyond this mission: the local Riccati-recursion definitions are natural substrate for any later mission needing a stochastic LQ argument with random coefficients (the book's own §2.6.3 general theorem is a natural target for a future chunk). Contributions completing either milestone's sorry, or the goal's, are welcome.

Selected references

  • R. E. Kalman, A New Approach to Linear Filtering and Prediction Problems, Journal of Basic Engineering 82(1), 1960, https://doi.org/10.1115/1.3662552
  • M. H. A. Davis, Option Pricing in Incomplete Markets, in M. A. H. Dempster, S. R. Pliska (eds.), Mathematics of Derivative Securities, Cambridge University Press, 1997
  • N. Bäuerle, U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011, https://doi.org/10.1007/978-3-642-18324-9, Chapter 4, §§4.8-4.9
7 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes X: Partially Observable Markov Decision Processes and FilteringTextbook

Motivation

Every model in Chapters 2-4 assumed the controller sees the whole state before acting. Real control problems rarely offer that: a machine's true wear level, a customer's private valuation, a hidden regime driving asset returns — these are exactly the situations a decision-maker must act on despite never observing them directly, learning about them only through their effect on what is observed. This is the subject of Partially Observable Markov Decision Processes (POMDPs), introduced independently in operations research (K. J. Åström, Optimal Control of Markov Processes with Incomplete State Information, 1965) and studied extensively since as the right model for sequential decisions under hidden state. The central difficulty such a process raises is structural, not just computational: the state includes a component the controller never sees, so the very theory built in Chapter 2 — which assumes the controller's policies can depend on the full current state — does not apply. Bäuerle and Rieder's Chapter 5 resolves this by an idea with a long pedigree in stochastic control (Bayesian filtering, going back to R. E. Kalman and R. S. Bucy's filtering theory, and D. Blackwell's 1965 discounted-dynamic-programming treatment of the "state of information"): replace the unobservable state by the controller's own belief about it — a probability distribution, updated at every step by Bayes' rule — and show the resulting belief-state process is once again an ordinary, fully observed Markov Decision Model.

Setting

A Partially Observable Markov Decision Model (Definition 5.1.1) has data (EX×EY,A,D,Q,Q0,r,g,β)(E_X\times E_Y, A, D, Q, Q_0, r, g, \beta)(EX​×EY​,A,D,Q,Q0​,r,g,β): state (x,y)∈EX×EY(x,y)\in E_X\times E_Y(x,y)∈EX​×EY​ with xxx observable and yyy unobservable; feasible actions D(x)D(x)D(x) depending only on xxx; a stochastic kernel QQQ giving the joint law of the next state; initial law Q0Q_0Q0​ of Y0Y_0Y0​; rewards r,gr,gr,g; discount β\betaβ. A policy π=(f0,…,fN−1)∈ΠN\pi=(f_0,\dots,f_{N-1})\in\Pi_Nπ=(f0​,…,fN−1​)∈ΠN​ (Definition 5.1.3) is a sequence of decision rules fn:Hn→Af_n:H_n\to Afn​:Hn​→A, each depending only on the observable history Hn=(x0,a0,…,xn)H_n=(x_0,a_0,\dots,x_n)Hn​=(x0​,a0​,…,xn​) — never on any yky_kyk​. The objective

JNπ(x):=∫Exyπ[∑n=0N−1βnr(Xn,Yn,An)+βNg(XN,YN)]Q0(dy),JN(x):=sup⁡π∈ΠNJNπ(x)J_N^\pi(x) := \int \mathbb{E}_{xy}^\pi\Big[\sum_{n=0}^{N-1}\beta^n r(X_n,Y_n,A_n) + \beta^N g(X_N,Y_N)\Big] Q_0(dy), \qquad J_N(x):=\sup_{\pi\in\Pi_N} J_N^\pi(x)JNπ​(x):=∫Exyπ​[n=0∑N−1​βnr(Xn​,Yn​,An​)+βNg(XN​,YN​)]Q0​(dy),JN​(x):=π∈ΠN​sup​JNπ​(x)

(Equation (5.2)) carries an extra expectation over the unknown Y0Y_0Y0​ that Chapter 2's objective never had.

Assuming QQQ has a density qqq against reference measures, the Bayes operator Φ\PhiΦ and the filter recursion μ0:=Q0\mu_0:=Q_0μ0​:=Q0​, μn+1(⋅∣hn,an,xn+1):=Φ(xn,μn(⋅∣hn),an,xn+1)\mu_{n+1}(\cdot\mid h_n,a_n,x_{n+1}):=\Phi(x_n,\mu_n(\cdot\mid h_n),a_n,x_{n+1})μn+1​(⋅∣hn​,an​,xn+1​):=Φ(xn​,μn​(⋅∣hn​),an​,xn+1​) (Equations (5.3)-(5.4)) compute the posterior law of YnY_nYn​ given everything observed, purely from the observable history. Theorem 5.2.1 confirms μn\mu_nμn​ is genuinely this conditional law. The filtered Markov Decision Model (Definition 5.3.1) then treats (x,μn)∈E:=EX×P(EY)(x,\mu_n)\in E:=E_X\times\mathbb{P}(E_Y)(x,μn​)∈E:=EX​×P(EY​) as an ordinary, fully-observed state, with its own kernel Q′Q'Q′ (built from Φ\PhiΦ and the marginal QXQ^XQX), reward r′(x,ρ,a):=∫r(x,y,a)ρ(dy)r'(x,\rho,a):=\int r(x,y,a)\rho (dy)r′(x,ρ,a):=∫r(x,y,a)ρ(dy), and terminal reward g′(x,ρ):=∫g(x,y)ρ(dy)g'(x,\rho):=\int g(x,y)\rho(dy)g′(x,ρ):=∫g(x,y)ρ(dy).

Formalization targets

Goal — Theorem 5.3.3

J0′(x,ρ)=g′(x,ρ),Jn′(x,ρ)=sup⁡a∈D(x)[r′(x,ρ,a)+β∫Jn−1′(x′,ρ′) Q′(d(x′,ρ′)∣x,ρ,a)](1≤n≤N),J_0'(x,\rho) = g'(x,\rho), \qquad J_n'(x,\rho) = \sup_{a\in D(x)}\Big[r'(x,\rho,a) + \beta\int J_{n-1}'(x',\rho')\,Q'(d(x',\rho')\mid x,\rho,a)\Big] \quad (1\le n\le N),J0′​(x,ρ)=g′(x,ρ),Jn′​(x,ρ)=a∈D(x)sup​[r′(x,ρ,a)+β∫Jn−1′​(x′,ρ′)Q′(d(x′,ρ′)∣x,ρ,a)](1≤n≤N),

under the Structure Assumption of Theorem 2.3.8; and if fn′f_n'fn′​ maximizes Jn−1′J_{n-1}'Jn−1′​ for each nnn, then fn∗(hn):=fN−n′(xn,μn(⋅∣hn))f_n^*(h_n):=f_{N-n}'(x_n,\mu_n(\cdot\mid h_n))fn∗​(hn​):=fN−n′​(xn​,μn​(⋅∣hn​)) defines a policy optimal for the original NNN-stage POMDP. This is where the reduction pays off: an ordinary Bellman equation, of exactly the form Chapter 2 already solves, for a problem that had no Bellman equation at all in its original, partially-observed form.

Milestones

Lemma 5.2.2 (the filter-recursion identity, the technical engine behind everything that follows), Theorem 5.2.1 (the filter is truly the conditional law — without this, μn\mu_nμn​ would be merely a formula, not a meaningful belief), and Theorem 5.3.2 (the value of the filtered model exactly equals the value of the original POMDP, policy for policy — without this, solving the filtered model would solve a different problem).

Significance

Theorem 5.3.3 is the standard justification, made precise, for the single most common technique in applied sequential decision-making under uncertainty: replace an unknown parameter or hidden state by a running Bayesian estimate, and optimize as if that estimate were the true state. This technique underlies applications from inventory control with unknown demand to adaptive clinical trial design, and Chapter 5's own closing application (two-armed Bernoulli bandits, taken up in chunk 05b) is a direct instance. The reduction also has real content beyond convenience: it shows the value is unchanged (Theorem 5.3.2), not merely that a good heuristic policy exists — the filtered model's optimum is the true POMDP optimum, not an approximation to it.

No result of this chapter has a machine-checked proof on Prove2Me at the time of writing, and no substrate exists for POMDPs, filtering, or Bayes-operator constructions on the platform. Formalizing this mission means building, from Mathlib's general kernel and probability-measure infrastructure, the first POMDP/filtering vocabulary on the platform: a policy class restricted to observable histories, a recursively-computable posterior, and the value-equality between a partially and a fully observed reformulation.

Difficulty

The obstacle is not any single hard inequality but a representational one: an admissible policy for the original problem is a function of a growing observable history, not of a fixed-size state, so the value function JNπJ_N^\piJNπ​ cannot be written as a simple recursion over a Markov chain the way every earlier chapter's could. The chapter's insight is that the belief μn\mu_nμn​ — even though it is a probability-measure-valued object, not a point in a fixed Euclidean space — is itself Markov: μn+1\mu_{n+1}μn+1​ depends on the observable history only through (xn,μn)(x_n,\mu_n)(xn​,μn​), never on more of the past. Recognizing this, and giving P(EY)\mathbb{P}(E_Y)P(EY​) the right measurable structure to serve as a genuine Borel state space, is what makes Definition 5.3.1's reformulation a legitimate Markov Decision Model rather than an informal analogy. A formalization that let μn\mu_nμn​'s type be an unstructured "distribution object" with no Borel structure, or that quietly assumed the value functions of the filtered model already satisfy the Bellman equation, would miss this content entirely.

Formalization scope

EX,EY,AE_X,E_Y,AEX​,EY​,A are abstract measurable spaces; the transition kernel QQQ is a genuine MeasureTheory.Kernel, not assumed to arise from an i.i.d.-noise-driven transition function (the form every earlier finance chapter's market used) — the chapter's own examples (Hidden Markov Models, Bayesian models) do not have that special form in general. Observable histories are represented as (junk-padded) sequences N→EX\mathbb{N}\to E_XN→EX​, N→A\mathbb{N}\to AN→A rather than dependent finite tuples, with a decision rule's dependence on only the first n+1n{+}1n+1/nnn coordinates stated as an explicit locality condition; this avoids Fin-indexed-tuple bookkeeping while remaining exactly equivalent to the book's own Hn→AH_n\to AHn​→A typing. The belief state ρ\rhoρ is MeasureTheory.ProbabilityMeasure E_Y, giving EX×P(EY)E_X\times\mathbb{P}(E_Y)EX​×P(EY​) a genuine measurable structure via its standard weak-topology Borel σ-algebra — the formalization scope this chunk's own pitfall demands, ruling out an ad hoc encoding of "the space of distributions." The Bayes operator Φ\PhiΦ and the filtered kernel Q′Q'Q′ are carried as data (functions landing genuinely in ProbabilityMeasure/Kernel types) characterized by their defining ratio-of-integrals or pushforward formulas, rather than constructed by normalizing a raw measure inline — proving that normalization is a routine Fubini calculation the book itself does not spell out, and would be proof content misplaced in a definition. Theorem 5.2.1's conditional-probability statement is formalized via the book's own Equation (5.5) test-function identity rather than Mathlib's conditional-expectation-with-respect-to-a-sub-σ-algebra machinery, since the two are equivalent by the standard characterization of conditional expectation and the test-function form is what the book's own proofs actually use. The Structure Assumption of Theorem 2.3.8 is restated locally (existential value-function and decision-rule classes with its three defining clauses), per this project's rule against importing another chunk's copy of shared machinery. Reusable beyond this mission: the kernel-based expectation recursion (Ex/Vpi) is natural substrate for any later mission needing a Markov Decision Process driven by a genuinely abstract stochastic kernel rather than an i.i.d.-noise transition function. Contributions completing any milestone's sorry, or the goal's, are welcome.

Selected references

  • K. J. Åström, Optimal Control of Markov Processes with Incomplete State Information, Journal of Mathematical Analysis and Applications 10(1), 1965, https://doi.org/10.1016/0022-247X(65)90154-X
  • D. Blackwell, Discounted Dynamic Programming, Annals of Mathematical Statistics 36(1), 1965, https://doi.org/10.1214/aoms/1177700285
  • R. E. Kalman, R. S. Bucy, New Results in Linear Filtering and Prediction Theory, Journal of Basic Engineering 83(1), 1961, https://doi.org/10.1115/1.3658902
  • N. Bäuerle, U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011, https://doi.org/10.1007/978-3-642-18324-9, Chapter 5, §§5.1-5.3
9 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XI: Bayesian Decision Models and Finite-Horizon BanditsTextbook

Motivation

A decision maker who does not know the true parameters of the system they are controlling — the success probability of a slot machine, the drift of an asset, the failure rate of a machine — faces a genuinely different problem from one who knows them: every action taken has two effects, an immediate payoff and a change in what is known. Formalizing this "explore versus exploit" tension precisely is the subject of Bayesian sequential decision theory, whose best-known instance is the multi-armed bandit problem (Robbins, 1952; Gittins and Jones, 1974). Bäuerle and Rieder's treatment (Markov Decision Processes with Applications to Finance, Springer, 2011, Chapter 5) gives the finite-horizon Bayesian theory its cleanest general form: rather than analyzing each bandit variant from scratch, it builds one reduction — from a Markov Decision Model with an unknown parameter to an ordinary, fully observed Markov Decision Model on an enlarged "information state" — and one structural theorem that turns primitive monotonicity hypotheses on the original ingredients into monotonicity of the optimal policy in the information state. Two classical finite-horizon bandit results (Theorems 5.5.1, 5.5.2) then follow as applications, not separate proofs.

Setting

A Bayesian Model is a Markov Decision Model whose unobservable component is a single, never-changing, unknown parameter θ\thetaθ, drawn once from a prior distribution Q0Q_0Q0​ on a parameter space Θ\ThetaΘ. Concretely: an observable state space EXE_XEX​, an action space AAA, a disturbance space ZZZ with reference measure ν\nuν, a feasible set D⊆EX×AD \subseteq E_X \times AD⊆EX​×A, a deterministic transition TX:EX×A×Z→EXT^X : E_X \times A \times Z \to E_XTX:EX​×A×Z→EX​, a disturbance density qZ(x,θ,a,z)q_Z(x,\theta,a,z)qZ​(x,θ,a,z), a reward r(x,θ,a)r(x,\theta,a)r(x,θ,a), a terminal reward g(x,θ)g(x,\theta)g(x,θ), and a discount β∈(0,1]\beta \in (0,1]β∈(0,1].

Because θ\thetaθ is never observed directly, the decision maker's state of knowledge at stage nnn is the posterior μn(⋅∣h~n)\mu_n(\cdot \mid \tilde h_n)μn​(⋅∣h~n​), the conditional law of θ\thetaθ given the full observable history h~n=(x0,a0,z1,…,xn)\tilde h_n = (x_0,a_0,z_1,\dots,x_n)h~n​=(x0​,a0​,z1​,…,xn​). Bayes' rule updates this posterior one disturbance at a time; unrolling the update gives μn\mu_nμn​ an explicit closed form as a product of likelihoods against the prior (Lemma 5.4.1), and the process μn(C∣⋅)\mu_n(C\mid \cdot)μn​(C∣⋅), for any fixed event CCC, is a martingale (Lemma 5.4.2) — it is, after all, a sequence of conditional expectations of the same random variable 1θ∈C\mathbf 1_{\theta \in C}1θ∈C​ against a refining amount of information.

Often the whole posterior is not needed to act optimally: a sufficient statistic tnt_ntn​ compresses h~n\tilde h_nh~n​ into a value in some space III from which μn\mu_nμn​ can still be recovered, and it is sequential if tn+1t_{n+1}tn+1​ updates from only (xn,tn,an,zn+1)(x_n, t_n, a_n, z_{n+1})(xn​,tn​,an​,zn+1​). Given a sequential sufficient statistic, the information-based Markov Decision Model replaces the never-observed θ\thetaθ by the always-computable tnt_ntn​ as the second state coordinate, giving an ordinary Markov Decision Model on EX×IE_X \times IEX​×I whose reward, terminal reward, and transition law are the original ones averaged against the current posterior μ^(⋅∣i)\hat\mu(\cdot\mid i)μ^​(⋅∣i).

Formalization targets

Theorem 5.4.10.Given: D(⋅) increasing; qZ(⋅∣θ,a)≤lrqZ(⋅∣θ′,a) for θ≤θ′; (x,z)↦TX(x,a,z),(θ,x)↦r(θ,x,a), (θ,x)↦g(θ,x) increasing; every increasing v∈IBb+ has a maximizer in Δ.Then: IM:={v∈IBb+∣v increasing} and Δ satisfy the Structure Assumption.\textbf{Theorem 5.4.10.} \quad \begin{aligned} &\text{Given: } D(\cdot) \text{ increasing; } q_Z(\cdot\mid\theta,a) \le_{lr} q_Z(\cdot\mid\theta',a) \text{ for } \theta \le \theta'\text{; } (x,z)\mapsto T^X(x,a,z),\\ &(\theta,x)\mapsto r(\theta,x,a),\ (\theta,x)\mapsto g(\theta,x) \text{ increasing; every increasing } v \in IB_b^+ \text{ has a maximizer in } \Delta.\\ &\text{Then: } IM := \{v \in IB_b^+ \mid v \text{ increasing}\} \text{ and } \Delta \text{ satisfy the Structure Assumption.} \end{aligned}Theorem 5.4.10.​Given: D(⋅) increasing; qZ​(⋅∣θ,a)≤lr​qZ​(⋅∣θ′,a) for θ≤θ′; (x,z)↦TX(x,a,z),(θ,x)↦r(θ,x,a), (θ,x)↦g(θ,x) increasing; every increasing v∈IBb+​ has a maximizer in Δ.Then: IM:={v∈IBb+​∣v increasing} and Δ satisfy the Structure Assumption.​

This is the weakest, most reusable form of the result: it names exactly the primitive hypotheses on the original model's ingredients under which the reduced model's Bellman equation holds and its value function and an optimal policy are monotone in the information state — without fixing which bandit or estimation problem those ingredients come from. Theorems 5.5.1 and 5.5.2 are downstream applications kept as milestones, not additional goals: proving the general theorem subsumes verifying its hypotheses in each concrete case.

Significance

Every one of the classical finite-horizon two-armed-bandit results — "switch to the arm with higher posterior mean once the advantage function is nonnegative," "never abandon a winning arm," "once you commit to the known arm, never leave it" — is, in this book's organization, a one-page corollary of Theorem 5.4.10 plus a routine (if occasionally fiddly) check of its five hypotheses on a two- or four-dimensional concrete state space. The theorem is what makes the qualitative behavior of an optimal bandit policy provable in general, rather than re-derived by induction for each new bandit variant.

Formalizing it also isolates, in one place, exactly which comparison of distributions (likelihood-ratio order, not the weaker stochastic order) makes the reduction go through, and exactly which practically checkable joint-density condition (MTP2) implies it (Lemma 5.4.9) — a genuinely reusable piece of probability theory beyond Markov decision theory.

Difficulty

The obvious first idea — "the information state's order is defined via the likelihood ratio order on posteriors, so just check the transition kernel is stochastically monotone and invoke the general increasing-model theorem of Chapter 2" — hides the actual difficulty: the state space of the reduced model is EX×IE_X \times IEX​×I, and III is itself a space of posterior distributions, so "the transition kernel is monotone" is a statement about how the whole posterior moves when a new observation arrives, not a fact about EXE_XEX​ alone. The crux is showing that the sequential-sufficient-statistic update Φ^\hat\PhiΦ^ is jointly increasing in the current information state and the new disturbance — and this is exactly where Lemma 5.4.9's MTP2 characterization does the real work: MTP2 of the disturbance density in (z,θ)(z,\theta)(z,θ) is what turns "a good disturbance is more likely under a good θ\thetaθ" into "an increasing information state produces an increasing posterior update," without which the hypotheses on DDD, TXT^XTX, rrr, ggg alone would not propagate to the enlarged state space at all.

Formalization scope

The Bayesian Model, its posterior, and the information-based model are formalized as they are introduced in the book: BayesModel bundles the primitive data (disturbance density, prior, reward, discount); Posterior bundles the filter (μn)(\mu_n)(μn​) as data satisfying its defining one-step Bayes update, rather than constructed from a canonical probability space, matching how MDPFinance.POMDP.FilterData (chunk 05a) treats the general Bayes operator; the Structure Assumption, Bellman operators, and bounding-function machinery of Chapter 2 are restated specialized to the stationary form the information-based model needs. "Θ,Z⊆R\Theta, Z \subseteq \mathbb RΘ,Z⊆R" and "qZq_ZqZ​ independent of xxx" (the "Monotonicity Results" subsection's own standing simplifications) are carried as explicit hypotheses of Lemma 5.4.9 and the goal, not silently dropped. A formalization that merely assumed the reduced model's disturbance kernel monotone, rather than deriving it via Lemma 5.4.9 from the checkable hypothesis on qZq_ZqZ​, would trivialize the theorem; this one keeps hypothesis (ii) exactly as the book states it. The two bandit applications (Theorems 5.5.1, 5.5.2) are formalized as self-contained concrete finite (countable-state, finite-action) Markov Decision Models, since the book itself reduces them to explicit recursions before stating the results — no general measure-theoretic machinery is needed there. Reusable beyond this mission: the likelihood-ratio order and MTP2 definitions (LikelihoodRatioOrder, IsMTP2), applicable to any Bayesian comparison result.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • H. Robbins, "Some aspects of the sequential design of experiments," Bulletin of the American Mathematical Society, 58(5), 1952, 527-535.
  • J. C. Gittins and D. M. Jones, "A dynamic allocation index for the sequential design of experiments," in Progress in Statistics, 1974.
  • A. Müller and D. Stoyan, Comparison Methods for Stochastic Models and Risks, Wiley, 2002 (the book's own reference for the likelihood-ratio order and MTP2 functions, Appendices A.3, B.3).
21 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XII: Terminal Wealth and Mean-Variance under Partial ObservationTextbook

Motivation

Every portfolio-choice model treated so far in this series assumes the investor knows the exact law governing the market's returns. Real investors do not: the drift of a stock, the regime a market is in, or the probability of an up-move in a simplified binomial model is itself uncertain and must be learned from the very prices being observed. Bäuerle and Rieder's Chapter 6 (Markov Decision Processes with Applications to Finance, Springer, 2011) is the book's synthesis of two threads developed separately earlier: Chapter 5's reduction of a partially observable decision problem to an ordinary one on an enlarged "belief" state space, and Chapter 4's classical solutions of terminal-wealth utility maximization and dynamic mean-variance portfolio choice. Combining them answers a natural question with no simple a priori answer: how does not knowing which market you are in change the qualitatively optimal way to invest, and can the closed-form solutions of the fully-observed theory be recovered, term for term, once the unknown factor is replaced by a belief about it?

Setting

The market has an unobservable factor Y (state space E_Y) driving the vector of relative risks Z ∈ ℝ^d of d risky assets: given Y_n = y, the next return Z_{n+1} has a density q_R(y,\cdot), and Y itself evolves via its own transition density q_Y(y,\cdot), jointly — crucially, this joint law depends only on y, never on wealth or the action taken. An investor observes only the stock prices (equivalently, the return history), never Y itself. Bayes' rule turns this into a filtering problem: the investor's belief ρ_n \in \mathbb P(E_Y) about the current factor is updated one return at a time by an operator Φ(ρ,z) that depends only on the current belief and the newly observed return — a genuine simplification of Chapter 5's general Bayes operator, forced by the market's own structure. The pair (x_n,ρ_n) — observable wealth and current belief — is then an ordinary, fully observed state for an ordinary Markov Decision Model, and every value function and optimal policy of this chapter lives on that enlarged state space.

Formalization targets

The goal, Theorem 6.2.3, solves the dynamic mean-variance problem (MV): minimize the variance of terminal wealth X_N subject to a target expectation \mathbb E[X_N] \ge \mu, under partial observation. It is reached by a Lagrangian embedding into an auxiliary quadratic-loss problem QP(b), solved explicitly in Theorem 6.2.2, whose value function factors as ((xS^0_N/S^0_n)-b)^2 d_n(\rho) for a belief-only sequence (d_n) satisfying the backward recursion (6.7); Lemma 6.2.1 shows this sequence always lies strictly between 0 and 1, which is exactly what makes the final variance formula and Lagrange multiplier well-posed. The remaining milestones develop the parallel terminal-wealth theory of §6.1: the general structure theorem (Theorem 6.1.1), its power- and logarithmic-utility closed forms (Theorems 6.1.2, 6.1.7), and — for the specific binomial market with an unknown up-probability — a likelihood-ratio monotonicity result for the filter update (Lemma 6.1.4) and a comparison between the partially and completely observed optimal investment fractions (Theorem 6.1.5).

Significance

The chapter's organizing insight is that partial observation does not require a new theory: once the belief is added as a state coordinate, every general result already proved for fully observed Markov Decision Models — the Bellman equation, the existence of optimal Markov policies, the Lagrangian embedding technique for mean-variance problems — applies unchanged. What is genuinely new, and genuinely non-trivial, is checking that the reduced model inherits the structural hypotheses (monotonicity, boundedness, positive-definiteness of covariance matrices) those general theorems require, expressed now as conditions on the belief-indexed quantities Φ(ρ,z), d_n(\rho), \ell_n(\rho), C_n(\rho) rather than on the original, unobserved factor. Theorem 6.1.5's comparison result is a genuinely new phenomenon with no fully-observed analogue at all: it quantifies, in the two opposite directions dictated by the sign of the risk-aversion parameter γ, how residual uncertainty about the market itself changes the qualitatively optimal amount to invest — the discrete-time analogue of a continuous-time result in the literature this book cites (Sass and Haussmann 2004).

Difficulty

The recurring difficulty across every result in this mission is that the reduced model's state space E_X \times \mathbb P(E_Y) includes a space of probability measures as one coordinate, and every quantity that must be shown well-defined, monotone, or bounded is a functional on that space, not a function on a concrete Euclidean set. Formalizing the mean-variance recursion (6.7) in particular is a three-way mutual computation — a scalar d_n(\rho), a vector \ell_n(\rho), and a matrix C_n(\rho), each an integral against the same belief-dependent predictive law of the next return, each feeding the next stage's version of all three — where Lemma 6.2.1's strict-inequality bound is not a bookkeeping detail but exactly the fact that keeps C_n(\rho) invertible and the whole construction from breaking down. Theorem 6.2.3 itself is the hardest single step: verifying that the specific constant b^* the Lagrangian method selects makes the mean constraint bind at exact equality, and that the resulting variance is the true constrained minimum (not merely a feasible value), is exactly the non-trivial content a superficial restatement of Theorem 6.2.2 at an unspecified b would silently discard.

Formalization scope

Every value function of this chapter — the terminal-wealth maximization of §6.1, the quadratic loss QP(b) and the mean-variance problem (MV) of §6.2 — is built from one shared history-dependent value-function scaffold, parametrized by its terminal payoff (the utility U, a quadratic loss, or the raw first/second moment), its rate sequence (constant in §6.1, non-stationary in §6.2), and its feasible-action correspondence, rather than four separately re-derived constructions. Optimal fractions in the binomial sub-model (Lemma 6.1.4, Theorem 6.1.5) are characterized as any maximizer of the relevant one-step concave problem rather than through the closed-form solution the book's own proof derives via machinery from a different, unavailable chunk (Lemma 4.2.9) — the comparison and monotonicity results proved here are facts about any such maximizer, not about that specific formula. A formalization that assumed the reduced model's filter update or covariance structure directly, rather than deriving it from the market's own return and factor densities via the Bayes operator Φ, would trivialize every result in this mission; none of the items here take that shortcut.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • R. Sass and U. G. Haussmann, "Optimizing trading strategies with respect to drawdown in the hidden Markov model," Statistics & Decisions, 2004.
  • N. Bäuerle and U. Rieder, "Portfolio optimization with unobservable Markov-modulated drift process," Journal of Applied Probability, 2007.
  • V. Runggaldier, W. Trivellato, and T. Vargiolu, "A Bayesian adaptive control approach to parameter estimation and optimal portfolio selection," in Mathematical Finance, Trends in Mathematics, Birkhäuser, 2002 (the binomial-market source this chapter's §6.1 example specializes).
14 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XIII: Contracting Infinite-Horizon Markov Decision ModelsTextbook

Motivation

Every mission in this series so far has treated a finite-horizon decision problem: an investor or planner with a fixed, known number of periods left. Many of the most important applications — perpetual investment, an infinitely-repeated inventory or maintenance problem, a firm that never stops operating — have no natural end date at all. Chapter 7 of Bäuerle and Rieder's Markov Decision Processes with Applications to Finance (Springer, 2011) builds the theory needed to make sense of "the value of a decision problem that never ends," and does so on a general Borel state space rather than a finite one. This mission covers the chapter's first three sections: the general infinite-horizon setup, the semicontinuous existence theory that makes it usable, and the sharper contraction-based theory that is the chapter's, and arguably the whole book's, theoretical center.

Setting

An infinite-horizon Markov Decision Model reuses the same data (E,A,D,Q,r,β)(E,A,D,Q,r,\beta)(E,A,D,Q,r,β) as the finite-horizon models of earlier chapters, but drops the terminal reward and applies a single (possibly randomized) decision rule at every one of infinitely many stages. Its performance criterion, J∞(x):=sup⁡πExπ[∑k=0∞βkr(Xk,fk(Xk))]J_\infty(x) := \sup_\pi \mathbb E^\pi_x\big[\sum_{k=0}^\infty \beta^kr(X_k,f_k(X_k)) \big]J∞​(x):=supπ​Exπ​[∑k=0∞​βkr(Xk​,fk​(Xk​))], is only meaningful once an integrability condition (Assumption (A)) and a convergence condition (Assumption (C)) rule out the sum diverging or the finite-horizon approximations failing to settle down. Both conditions follow automatically once the model has an upper bounding function bbb — a function controlling both the size of the reward and how fast the transition kernel can grow bbb itself — with βαb<1\beta\alpha_b < 1βαb​<1, the manageable special case that covers both the classical bounded-reward discounted case and the case of a non-positive reward.

Formalization targets

The goal, Theorem 7.3.5 (Structure Theorem), is the chapter's capstone: under a genuine bounding function (a two-sided reward bound making the space IBbIB_bIBb​ of finite-weighted-norm functions a Banach space) with βαb<1\beta\alpha_b < 1βαb​<1, and one abstract structural hypothesis — a closed class IM⊂IBbIM \subset IB_bIM⊂IBb​ containing 000, mapped into itself by the Bellman operator TTT, on which a maximizing action always exists — Banach's fixed point theorem delivers existence, uniqueness, an explicit geometric convergence rate for value iteration, and existence of an optimal stationary policy, all at once. The milestones build up to it in three stages: the general infinite-horizon machinery (Lemmas 7.1.4-7.1.5, Theorems 7.1.6-7.1.8 — reward iteration, a verification theorem, and a structure theorem under an abstract structure assumption that is not yet tied to any checkable property of the model); the semicontinuous existence theory that gives primitive, checkable conditions implying that abstract assumption (Theorem 7.2.1 and its two corollaries, including a genuine policy iteration conclusion); and the contracting theory proper (Lemma 7.3.3's contraction estimate, Theorem 7.3.4's sharpened verification theorem, and Theorem 7.3.6's continuous specialization of the goal).

Significance

The goal is the direct, general-Borel-space generalization of what finite-state dynamic programming theorems already on the platform (BertsekasDP.discounted_main_theorem, BertsekasDP.ssp_main_theorem) establish only for a finite state and action space, where Banach's theorem is applied directly on Rn\mathbb R^nRn: this mission's content is that the same conclusions — including the same explicit geometric convergence rate for value iteration — hold on an arbitrary Borel state space, the moment one abstract, structural condition is checked. That condition is not vacuous or automatic: Example 7.2.4 (cited but not itself formalized, being an unnumbered worked counterexample rather than a numbered result) shows that without compactness of the feasible-action correspondence, the naive Structure Assumption of Chapter 2 is not enough and value iteration can converge to the wrong limit (J≠J∞J \ne J_\inftyJ=J∞​). Theorems 7.1.8's Structure Assumption (SA) is built precisely to rule this out, and Theorem 7.2.1's semicontinuity/ compactness conditions are the practical, checkable sufficient conditions for it.

Difficulty

The central formalization challenge is representing J∞πJ_\infty^\piJ∞π​, the genuine infinite-horizon expected discounted reward, without constructing a canonical infinite-horizon path measure from the model's transition kernel — a substantial undertaking the book itself sidesteps by proving (via an appendix result, Theorem B.1.1, not itself reproved here) that J∞πJ_\infty^\piJ∞π​ equals the limit of the finite-horizon truncations JnπJ_n^\piJnπ​. This mission takes that limit characterization as its own definition, via Filter.limsup for the same total, junk-safe reasons this book's series has used throughout (no canonical path measure anywhere in chunks 02a, 05a, 05b, 06). A second, genuinely new difficulty is Ls, the "upper limit of a sequence of sets" that drives every policy-iteration conclusion: it is a statement about accumulation points of a sequence of points, one drawn from each set in the sequence, not the more familiar set-theoretic limsup of a sequence of sets — getting this distinction right is the entire content of what "policy iteration" asserts.

Formalization scope

Every operator, bounding-function class, and value function of §7.1-7.3 is restated (not imported) in this chunk's own namespace from the finite-horizon originals of chunks 02a/02b, adapted to drop the time index and bake the discount into the one-stage operator directly, per this chapter's own presentation. The contracting theory's genuinely real-valued Banach-space objects (Tf′T_f'Tf′​, T′T'T′, IBbIB_bIBb​, the weighted norm ∥⋅∥b\|\cdot\|_b∥⋅∥b​) are kept separate from the general theory's EReal-valued objects (TfT_fTf​, TTT, IM(E)IM(E)IM(E)), matching the book's own distinction between a value function that is a priori only known to avoid +∞+\infty+∞ and one known to be genuinely finite everywhere. Part (d) of the goal — the explicit geometric convergence rate — is stated in full, not weakened to bare qualitative convergence, since a formalization that dropped it would lose exactly the fact (used again by this book's own Theorem 7.5.12, a different chunk) that makes value iteration a genuine numerical method with a computable error bound rather than merely an existence argument.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • D. P. Bertsekas, Dynamic Programming and Optimal Control, Vol. II, 4th ed., Athena Scientific, 2012 (the finite-state discounted/SSP theorems this goal generalizes).
  • D. P. Bertsekas and S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978 (analytic measurability of J∞J_\inftyJ∞​, JJJ; cited by the book for this chapter's foundational measure-theoretic facts).
  • K. Hinderer, Foundations of Non-stationary Dynamic Programming with Discrete Time Parameter, Lecture Notes in Operations Research and Mathematical Systems 33, Springer, 1970 (Theorem 18.4, cited for the fact that history-dependent policies do not improve on Markov ones).
16 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingLinear OptimizationOperations Research+2·Captain: Shuze Chen

Markov Decision Processes XIV: Positive Models and Linear Programming Duality for MDPsTextbook

Motivation

Chunk 07a built the general theory of infinite-horizon Markov Decision Processes and its sharpest special case, contracting models, where Banach's fixed point theorem delivers existence, uniqueness, and an explicit convergence rate all at once. That theory answers "does an optimal policy exist, and can I compute it by iterating a fixed point equation?" This mission answers the two questions a practitioner asks next: what happens when the reward's negative part, rather than its positive part, is the one that needs controlling (positive models, §7.4), and — more strikingly — can finding an optimal policy be reduced to solving a genuine linear program, the single most heavily-optimized computational primitive in all of operations research (§7.5)?

Setting

A positive Markov Decision Model is the mirror image of chunk 07a's general setup: instead of bounding the reward's positive part with an upper bounding function, the negative part is bounded by an integrability quantity ε\varepsilonε, and the roles of "largest subharmonic" and "smallest superharmonic" swap accordingly. The computational sections build on chunk 07a's contracting theory directly: Howard's policy improvement algorithm iteratively replaces a decision rule with a strict pointwise improvement; the linear-programming approach recasts the entire optimization problem — the value function and the optimal policy — as a primal/dual pair of linear programs, not over finite vectors but over an infinite-dimensional space of measurable functions (v∈IMv \in IMv∈IM) and finitely-additive-in-spirit measures (μ∈Mb\mu \in M_bμ∈Mb​); and state-space discretization approximates an infinite (Borel) state space by a finite grid, with an explicit, computable bound on the resulting numerical error.

Formalization targets

The goal, Theorem 7.5.8 (Strong Duality), is the section's deepest result: under chunk 07a's contracting Structure Theorem's own hypotheses, the primal linear program (P)(P)(P) is solved exactly by the true optimal value function J∞J_\inftyJ∞​, the dual program (D)(D)(D) is solved by the occupation measure of any optimal stationary policy, and the two optimal values coincide. The milestones build up to it in three groups: the positive-model mirror theory (Lemmas 7.4.1-7.4.2, Theorems 7.4.3 and 7.4.5); Howard's policy improvement and its termination guarantee (Theorem 7.5.1, Corollary 7.5.3); and the linear-programming machinery itself (weak duality, complementary slackness, and the finite-state specialization that recovers an ordinary finite linear program, Theorems 7.5.6, 7.5.7, 7.5.9) together with the discretization error bounds that make the whole theory numerically usable (Proposition 7.5.11, Theorem 7.5.12).

Significance

The strong duality theorem is genuinely new content relative to what is already on the platform: the existing finite-dimensional LP duality missions (SmaleNinth.lp_strong_duality, LinearOptimization.lp_general_weak_duality, and others in the linear-optimization field) all operate over Rn\mathbb R^nRn-valued vectors, while this theorem's primal and dual variables are a measurable function on a general Borel space and a measure on a general Borel space respectively — an infinite-dimensional linear program in the fullest sense. Theorem 7.5.9, the finite-state specialization, is the one point of genuine hypothesis-for-hypothesis contact with that prior art (checked directly; see STATUS.md for why it was drafted fresh rather than cited as a reference item), and it is exactly there that the reduction to an ordinary finite LP — with the platform's familiar vertex/extreme-point vocabulary — becomes visible.

Difficulty

Constructing the occupation measure μpf∞\mu^{f^\infty}_pμpf∞​ without a canonical infinite-horizon path measure is the central technical challenge: it must be a genuine Measure (E × A), not merely a real-valued functional, since the dual program optimizes over a space of such measures. This mission builds it from iterated Measure.bind (pushing the initial law ppp forward through the model's kernel under a fixed stationary decision rule) combined with a countable Measure.sum of βk\beta^kβk-scaled terms — a construction that stays entirely within Mathlib's existing measure-theoretic vocabulary without needing an Ionescu–Tulcea-style infinite product. A second, different difficulty is the state-space discretization section's grid interpolation, which presupposes a convex-combination structure (x=∑kλkxkx = \sum_k\lambda_kx_kx=∑k​λk​xk​ for grid points xkx_kxk​) on the state space that a general Borel space does not carry; this mission represents the grid operator and grid bounding function as data satisfying exactly the structural properties their two target theorems' own proofs use, rather than reconstructing the literal interpolation scheme — a deliberate, documented scope decision (see MODERATION_NOTES.md), not an approximation of either theorem's mathematical content.

Formalization scope

Every operator and value-function construction restates chunk 07a's own vocabulary (per this series' file-ownership convention, an independent copy in this chunk's own namespace), extended by the positive-model integrability bound ε\varepsilonε, the occupation-measure/linear-program apparatus of §7.5.2, and the grid-approximation data of §7.5.3. The primal/dual optimal values val(P)\mathrm{val}(P)val(P)/val(D)\mathrm{val}(D)val(D) are kept EReal-valued rather than real-valued specifically so that Theorem 7.5.6's own finiteness claims (−∞<val(D)-\infty < \mathrm{val}(D)−∞<val(D), val(P)<∞\mathrm{val}(P) < \inftyval(P)<∞) remain genuine, checkable content rather than being trivialized by a real-valued sInf/sSup's always-finite convention. Theorem 7.5.9's "optimal vertex" is stated via an explicit convex-combination (extreme-point) characterization using ENNReal weights, since Measure does not carry the module structure Mathlib's own Set.extremePoints requires.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • R. A. Howard, Dynamic Programming and Markov Processes, MIT Press, 1960 (the policy improvement algorithm this section names after him).
  • E. V. Denardo, "On linear programming in a Markov decision problem," Management Science, 1970 (the classical finite-state linear-programming formulation this section generalizes).
  • W. J. Heilmann, "A note on the dual of a linear program with infinitely many constraints," cited by the book's own Remark 7.5.5 for the finitely-additive treatment the restricted dual (D)(D)(D) over MbM_bMb​ sidesteps.
17 thms3 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XVI: Piecewise Deterministic Markov Decision ProcessesTextbook

Motivation

Every mission in this series so far has treated a control problem that already lives in discrete time: a decision maker observes a state, chooses an action, and the process moves to a new state at the next integer time step. Many real systems evolve in continuous time instead — a machine that runs deterministically until it randomly breaks down and is repaired into a new condition, an inventory that drains continuously until a random demand arrives, a population that grows deterministically between random catastrophic events. Chapter 8 of Bäuerle and Rieder's Markov Decision Processes with Applications to Finance (Springer, 2011) shows that an entire class of such continuous-time control problems — Piecewise Deterministic Markov Decision Processes, where the state moves along a deterministic, controlled flow between randomly-timed jumps to a new state — can be solved by exactly the discrete-time machinery this book's series has already built, once the problem is re-expressed as a Markov Decision Model at the jump times themselves. This mission covers that embedding and its consequences (§8.2), and a simpler, discrete-state special case, the continuous-time Markov Decision Chain, treated with both an infinite and a finite time horizon (§8.3).

Setting

A Piecewise Deterministic Markov Decision Model (Definition 8.1.1) consists of a Borel state space EEE, a Borel control space UUU, a deterministic drift μ(x,u)\mu(x,u)μ(x,u) governing the flow φtα(x)\varphi^\alpha_t(x)φtα​(x) between jumps, a Poisson jump clock of rate λ\lambdaλ, a kernel QQQ giving the distribution of the post-jump state, a reward rate rrr, and a discount rate β\betaβ. A control is a whole measurable function α:R≥0→U\alpha : \mathbb R_{\ge0} \to Uα:R≥0​→U fixed at each jump time and applied until the next one — so the "action space" of the embedded discrete-time problem is itself a function space, a genuinely new technical wrinkle this book's earlier chapters never face. Embedding at the jump times produces a discrete-time Markov Decision Model (E,A,Q′,r′)(E,A,Q',r')(E,A,Q′,r′) whose reward and kernel are themselves integrals of the original data against the flow (Eqs. (8.4)-(8.5)); Chapter 7's infinite-horizon existence theory, already developed for a general Borel state space, applies directly to this embedded model once its own compactness and semicontinuity hypotheses are checked. Checking them forces a further enlargement of the control space to the relaxed controls RRR — measurable functions into probability measures on UUU rather than UUU itself — which is compact in a suitable topology where the space of literal control functions is not.

Formalization targets

The goal, Theorem 8.2.6, is the chapter's central existence result: given a continuous upper bounding function with the discrete embedded model's own contraction-type condition and a package of continuity/compactness assumptions, the value function of the model embedded with relaxed controls is bounded, upper semicontinuous, and a genuine fixed point of the maximal- reward operator, and an optimal relaxed Markov policy exists. The milestones build up to it and extend past it: Theorem 8.2.1 establishes the foundational fact that the continuous-time expected reward of the original process equals the discrete-time embedded model's own value — the correspondence every other result in the chapter relies on; Lemma 8.2.5 is the technical semicontinuity-preservation step the goal's proof needs; Theorem 8.2.7 upgrades the goal's relaxed optimal policy to a genuine, nonrelaxed one under an uncontrolled-flow or convexity condition; Theorem 8.2.8 gives the classical Hamilton-Jacobi-Bellman verification technique as an alternative, differential route to the same value function. Section 8.3's continuous-time Markov Decision Chain — the same theory specialized to a countable state space, transition rates in place of a kernel, and an uncontrolled flow — is covered for both an infinite horizon (Theorem 8.3.1) and, the more finance-relevant case, a finite horizon with a terminal reward (Theorems 8.3.2-8.3.3).

Significance

Piecewise Deterministic Markov Processes have no substrate anywhere in Mathlib or on the platform, and this mission's content is a genuine method, not just a specialization of existing results: it shows how to reduce an entire continuous-time control problem to the discrete-time theory already available, at the cost of enlarging the state of the discrete embedded problem's own data (which becomes an integral against a whole flow, not a pointwise value) and enlarging the control space when compactness is needed for existence. This mission is careful to keep two distinctions the book itself insists on separate: relaxed versus nonrelaxed controls (Theorem 8.2.6 produces only the former; recovering the latter is Theorem 8.2.7's own, harder, conditional content), and the general Piecewise Deterministic model of §8.1-8.2 versus the simpler, discrete-state Markov Decision Chain of §8.3, which is a genuinely different structure (sums over a countable state space rather than integrals against a controlled flow), not an instance of the general model specialized after the fact.

Difficulty

The central formalization challenge is representing the continuous-time expected reward Vπ(x)V^\pi(x)Vπ(x) (Eq. (8.2)) faithfully, since the book itself only asserts the existence of a probability space carrying the jump-time/post-jump-state process with a specified conditional law, citing general marked-point-process theory rather than constructing it. This mission builds that probability-space data directly — via Mathlib's conditional expectation, conditioning on the current post-jump state — rather than treating VπV^\piVπ as a bare hypothesis-only quantity, so that Theorem 8.2.1's value-equality claim is a genuine, non-vacuous correspondence between two independently-defined objects (a continuous-time path functional and a discrete-time recursion) rather than true by definitional fiat. A second, compounding difficulty is that the same correspondence must be built twice — once for the general flow-driven process (§8.2) and again, independently, for the discrete-state jump process of the finite-horizon chain (§8.3) — since the two models share no state-space structure. A third difficulty specific to Theorem 8.2.8 is that its Hamilton-Jacobi-Bellman verification argument is genuinely differential (a process generator built from a gradient, a self-referential closed-loop control solving its own ODE), unlike every other result in this chapter, which works through the discrete-time embedding alone.

Formalization scope

The book's own topology on the control-function space AAA (the coarsest making certain integrals measurable) and the Young topology on the relaxed-control space RRR (which the book cites as making RRR separable, metric and compact, without reconstructing it) are not rebuilt from scratch; continuity/compactness hypotheses that need a topology on these spaces are stated directly against the pointwise/product topology on the underlying function types, a faithful but representationally simpler stand-in documented in MODERATION_NOTES.md. The embedded kernel Q′Q'Q′ (Eqs. (8.4), (8.7)) is bundled as data satisfying its own defining integral identity rather than literally constructed as a mixture of pushforward measures — a routine but heavy argument that would add no mathematical content beyond the formula itself. This mission's own goal (Theorem 8.2.6) explicitly produces a relaxed-control optimal policy, not a nonrelaxed one: stating it with a UUU-valued policy instead would silently substitute Theorem 8.2.7's strictly harder, conditionally-true conclusion for Theorem 8.2.6's own unconditional one, exactly the trivializing formalization this chapter's own structure warns against.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • M. H. A. Davis, Markov Models and Optimization, Chapman & Hall, 1993 (the standard reference for Piecewise Deterministic Markov Processes, cited by the book for extensions of this chapter's basic model).
  • A. A. Yushkevich, "On reducing a jump controllable Markov model to a model with discrete time", Theory of Probability and its Applications, 1980 (the topology on the control-function space AAA cited by Definition 8.1.1's own construction).
  • H. J. Kushner and P. G. Dupuis, Numerical Methods for Stochastic Control Problems in Continuous Time, 2nd ed., Springer, 2001 (the Young topology and the Chattering Theorem, cited by Remark 8.2.3).
  • N. Bäuerle and U. Rieder, "Optimal control of piecewise deterministic Markov processes with finite time horizon", in Modern Trends of Controlled Stochastic Processes: Theory and Applications, 2010 (cited for the finite-horizon extension of this chapter's model, applied in chunk 09b's Sections 9.3-9.4).
16 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XVII: Random-Horizon Consumption-Investment and the De Finetti Dividend ProblemTextbook

Motivation

An insurance company collects premia and pays claims each period; the difference is a random, signed quantity that can push the company's risk reserve up or down. At the start of every period, before that period's premia and claims are realized, the company's owners may pay themselves a dividend out of the current reserve — but once the reserve goes negative the company is ruined and stops operating for good. How should the owners time and size these payments to maximize the total expected discounted dividend paid out before ruin? This is the classical De Finetti dividend problem, one of risk theory's oldest optimization questions, and Chapter 9 §9.2 of Bäuerle and Rieder's Markov Decision Processes with Applications to Finance (Springer, 2011) solves its fully discrete-time version by identifying the exact combinatorial shape of the optimal policy — not just proving one exists. This mission also covers §9.1, a different application of Chapter 7's contracting theory to a consumption-investment problem whose planning horizon is itself random rather than fixed or infinite.

Setting

The dividend model is a stationary Markov Decision Model on the integers: the state x∈Zx \in \mathbb Zx∈Z is the current risk reserve, the action a∈{0,1,…,x}a \in \{0,1,\dots,x\}a∈{0,1,…,x} (for x≥0x \ge 0x≥0; only a=0a=0a=0 is available once ruined) is the dividend paid, the reward is r(x,a):=ar(x,a):=ar(x,a):=a, and the reserve evolves by i.i.d. increments ZnZ_nZn​ (premia minus claims) after the dividend is deducted. Because the reward is bounded by an explicit function of the state (Lemma 9.2.2), Chapter 7's general existence theory applies directly, and the value function J∞J_\inftyJ∞​ satisfies a genuine Bellman equation. The chapter's real content begins once existence is established: Theorem 9.2.3 pins down enough analytic structure of J∞J_\inftyJ∞​ and its largest-maximizing policy f∗f^*f∗ (monotonicity, a Lipschitz-type inequality, and a self-consistency identity) to drive a purely combinatorial argument that f∗f^*f∗'s shape is a finite alternation of "pay nothing" and "pay down to a fixed level" intervals — a band-policy (Definition 9.2.5). Section 9.1's random-horizon consumption-investment model reuses the same Chapter 7 machinery in a different setting: the usual (c,a)(c,a)(c,a) (consumption, portfolio) decision each period, but where the horizon itself ends after each period with probability 1−p1-p1−p, making the effective one-period discount βp\beta pβp rather than β\betaβ.

Formalization targets

The goal, Theorem 9.2.9, states the section's main claim in one sentence: the stationary policy (f∗,f∗,… )(f^*,f^*,\dots)(f∗,f∗,…) is optimal and is a band-policy. Short as it is stated, its proof assembles every earlier result of the section. The milestones supply that assembly, in order: Lemma 9.2.2 gives the model's bounding function and the resulting integrability/convergence facts; Theorem 9.2.3 gives the value-function bounds and the self-consistency identity f∗(x−f∗(x))=0f^*(x-f^*(x))=0f∗(x−f∗(x))=0; Corollary 9.2.4 checks the two sign-definite degenerate cases directly from Theorem 9.2.3; Proposition 9.2.6 proves the top threshold ξ:=sup⁡{x∣f∗(x)=0}\xi := \sup\{x \mid f^*(x)=0\}ξ:=sup{x∣f∗(x)=0} is finite (not merely well-defined) and that f∗f^*f∗ is a simple barrier above it; Proposition 9.2.8 proves the increment property below ξ\xiξ that forces each band's shape; and Theorem 9.2.10 (a postscript refinement, stated after the goal) shows the wave lengths are bounded once the reserve's downward jumps are themselves bounded, collapsing to a single barrier-policy in the extreme case. Theorem 9.1.1, the random-horizon consumption-investment verification theorem, is included as a full item but is not a milestone of this goal, since its content and proof belong to a different, disjoint model — see Difficulty.

Significance

Band-policies and the discrete-time De Finetti dividend problem have no substrate anywhere in Mathlib or on the platform, and the result is a genuinely deep, classical one: a discrete-time analogue of the continuous-time De Finetti barrier-strategy theory, obtained here by pure dynamic-programming argument rather than the stochastic-calculus techniques the continuous-time theory usually relies on. The mission is explicit that the goal's conclusion is the general band-policy structure, not the strictly weaker barrier-policy special case that Theorem 9.2.10 b) proves only under an extra hypothesis (bounded downward jumps) — stating the goal with a barrier-policy conclusion instead would understate what Theorem 9.2.9 actually proves.

Difficulty

The central formalization challenge is Definition 9.2.5's own combinatorial intricacy: a band-policy is specified by an alternating chain of thresholds 0≤c0<d1≤c1<d2≤⋯≤dn≤cn0 \le c_0 < d_1 \le c_1 < d_2 \le \dots \le d_n \le c_n0≤c0​<d1​≤c1​<d2​≤⋯≤dn​≤cn​ with a positive-width gap condition on every wave, and the policy's four piecewise branches case-split on which wave (if any) the current state falls into. This mission renders it existentially over the witnessing (n,c,d)(n,c,d)(n,c,d) rather than as one closed-form function, a faithful but more verbose transcription that avoids conflating the different branch conditions. A second difficulty is Proposition 9.2.6's own finiteness claim: ξ\xiξ is a supremum over a subset of N0\mathbb N_0N0​ that could, in principle, be unbounded, and Mathlib's convention for sSup over the naturals returns a finite junk value (000) even for an unbounded set — using it directly would silently trivialize "ξ<∞\xi<\inftyξ<∞" into a claim that is true regardless of the proposition's actual mathematical content. This mission instead states the proposition by exhibiting the finite value of ξ\xiξ directly, so that "ξ\xiξ is finite" survives as genuine content that the theorem's proof must establish. A third difficulty is scope: Theorem 9.1.1's random-horizon consumption-investment model shares no state space, action space, or definitions with the dividend model of the goal, despite both appearing in this chunk's assigned page range; it is formalized as a genuine application of a locally-restated copy of Chapter 7's contracting theory, but is excluded from the milestone list proper since it plays no role in the goal's own proof.

Formalization scope

The dividend model's transition law is built from Mathlib's PMF (probability mass function) type on Z\mathbb ZZ, which supplies the "probabilities sum to one" fact automatically rather than as a separate hypothesis. J_\infty, \delta, and every finite-horizon value function throughout this mission use this whole book series' Filter.limsup-of-truncations convention for infinite-horizon reward, restated locally (own namespace copy, per this series' file-ownership boundary) from chunk 07a's identical apparatus rather than imported. The consumption-investment model of §9.1 is formalized with the number of risky assets ddd as an explicit type parameter and its admissible-portfolio and domain restrictions as separate, citable fields rather than folded silently into the reward or transition definitions.

Selected references

  • N. Bäuerle and U. Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer, 2011. DOI: 10.1007/978-3-642-18324-9.
  • B. De Finetti, "Su un'impostazione alternativa della teoria collettiva del rischio", Transactions of the XVth International Congress of Actuaries, 1957 (the original continuous-time dividend problem this chapter's discrete-time analogue is modeled on).
  • H. Schmidli, Stochastic Control in Insurance, Springer, 2008 (cited by Remark 9.2.1 for the reduction from a continuous dividend-payout action space to the integer setting used throughout this section).
  • H. U. Gerber, "Games of economic survival with discrete- and continuous-income processes", Operations Research, 1972 (an early discrete-time treatment of the same class of problems, in the spirit this chapter's own model follows).
11 thms2 active usersReviewed
🏆Completed
Dynamic ProgrammingOperations ResearchOptimization+1·Captain: Shuze Chen

Markov Decision Processes XX: Perpetual American Options and Credit GrantingTextbook

Motivation

An American option may be exercised at any moment up to maturity, so pricing one is not an integration problem but a stopping problem: the holder must decide, at each date and in each state of the market, whether the payoff available now beats the option value of waiting. A perpetual American put pushes this to its limit — there is no maturity at all, so the horizon is unbounded and the problem has no terminal condition to induct backwards from. What replaces the terminal condition is a fixed point characterization, and the classical answer, going back to McKean (1965) and Merton (1973) in continuous time and to Cox, Ross and Rubinstein (1979) in the binomial model, is that the price is the smallest superharmonic majorant of the payoff.

Bäuerle and Rieder's Chapter 11 (Markov Decision Processes with Applications to Finance, Springer, 2011) derives this from their own general unbounded-horizon stopping theory rather than from stochastic analysis, and in the same chapter applies the bounded-horizon version to a problem from banking rather than trading: when should a bank cancel a credit line? The two halves share one mathematical shape — a stopping problem whose optimal policy turns out to be of threshold type — and this mission formalizes both, with the perpetual put as the goal.

Setting

The binomial model (§11.1). A stock moves from price xxx to xuxuxu with risk-neutral probability qqq and to xdxdxd with 1−q1-q1−q, where 0<d<u0 < d < u0<d<u, and the discount factor is β∈(0,1]\beta \in (0,1]β∈(0,1]. The defining relation of the risk-neutral measure,

βqu+β(1−q)d=1,\beta q u + \beta(1-q)d = 1,βqu+β(1−q)d=1,

is carried as a hypothesis of the model: it is what makes the discounted stock price a martingale, and the proofs use it directly.

The American put with strike KKK pays (K−x)+(K-x)^+(K−x)+ when exercised. With nnn periods to maturity its price satisfies the recursion J0(x)=(K−x)+J_0(x) = (K-x)^+J0​(x)=(K−x)+ and

Jn(x)=max⁡{(K−x)+, β(qJn−1(xu)+(1−q)Jn−1(xd))}=:TJn−1(x),J_n(x) = \max\Big\{(K-x)^+,\ \beta\big(q J_{n-1}(xu) + (1-q)J_{n-1}(xd)\big)\Big\} =: \mathcal{T}J_{n-1}(x),Jn​(x)=max{(K−x)+, β(qJn−1​(xu)+(1−q)Jn−1​(xd))}=:TJn−1​(x),

the maximum being "exercise now" against "hold". Proposition 11.1.2 describes the price πn(x):=JN−n(x)\pi_n(x) := J_{N-n}(x)πn​(x):=JN−n​(x) at time nnn of an option maturing at NNN: it is continuous in xxx, decreasing in nnn, and — the part that carries the argument — x↦πn(x)+xx \mapsto \pi_n(x) + xx↦πn​(x)+x is increasing, even though πn\pi_nπn​ itself decreases in xxx. That single reformulation, obtained by adding xxx to both sides of the recursion and using the risk-neutral relation, is what yields the threshold structure: there are exercise boundaries K=:xN∗≥xN−1∗≥⋯≥x0∗≥0K =: x_N^* \ge x_{N-1}^* \ge \dots \ge x_0^* \ge 0K=:xN∗​≥xN−1∗​≥⋯≥x0∗​≥0 with τ∗=inf⁡{n≤N∣Xn≤xn∗}\tau^* = \inf\{n \le N \mid X_n \le x_n^*\}τ∗=inf{n≤N∣Xn​≤xn∗​} optimal. Exercise when the stock falls far enough, and the boundary rises as maturity approaches.

The perpetual put (Theorem 11.1.3, the goal). With no expiration date the price at time zero is a supremum over all stopping times, τ≤∞\tau \le \inftyτ≤∞ included:

P(x):=sup⁡τ≤∞ExQ[βτ(K−Sτ)],P(x) := \sup_{\tau \le \infty} \mathbb{E}^{\mathbb{Q}}_x\big[\beta^\tau (K - S_\tau)\big],P(x):=τ≤∞sup​ExQ​[βτ(K−Sτ​)],

with the stopping reward set to zero on {τ=∞}\{\tau = \infty\}{τ=∞}. The theorem says four things: PPP is the limit of the finite-maturity prices JnJ_nJn​; PPP solves TP=P\mathcal{T}P = PTP=P and satisfies 0≤P≤K0 \le P \le K0≤P≤K; PPP is the smallest superharmonic function majorizing (K−x)+(K-x)^+(K−x)+; and, if the value Jf∗J_{f^*}Jf∗​ of the exercise-region policy dominates TJf∗\mathcal{T}J_{f^*}TJf∗​, then PPP equals that value and τ∗=inf⁡{n∣Xn∈E∗}\tau^* = \inf\{n \mid X_n \in E^*\}τ∗=inf{n∣Xn​∈E∗}, the hitting time of E∗={x∣P(x)=(K−x)+}E^* = \{x \mid P(x) = (K-x)^+\}E∗={x∣P(x)=(K−x)+}, is optimal.

The conditional in part d) is the book's own and is not decoration: without it the exercise region need not deliver an optimal stopping time, and the unconditional version is a different, false statement. The boundedness 0≤P≤K0 \le P \le K0≤P≤K in b) is likewise a genuine claim rather than a side remark — the fixed point equation alone admits other solutions, and it is boundedness together with minimality that pins PPP down among them.

Credit granting (§11.2). A bank holds a credit contract of maximal duration NNN. Each period it observes a rating class xnx_nxn​ evolving as a Markov process QXQ^XQX, and chooses to extend — earning c(x)c(x)c(x) — or to cancel, ending the contract. The value iteration is Jn(x)=max⁡{0, c(x)+β∫Jn−1 dQX(⋅∣x)}J_n(x) = \max\{0,\ c(x) + \beta\int J_{n-1}\,dQ^X(\cdot|x)\}Jn​(x)=max{0, c(x)+β∫Jn−1​dQX(⋅∣x)}. Under two structural assumptions — ccc increasing, and QXQ^XQX stochastically monotone, so that a better-rated borrower stays better-rated — Theorem 11.2.1 gives the same shape of answer as the option: cancel exactly when the rating falls below a threshold xn∗x_n^*xn∗​, and those thresholds rise as the remaining duration shortens, since a marginal borrower is no longer worth keeping when there is little time left to recover.

Theorem 11.2.2 repeats this when the borrower is not rated at all. The bank has only a prior μ0\mu_0μ0​ on the repayment probability and one signal per period; the state (s,n)(s,n)(s,n) records sss positive signals out of nnn, and the expected repayment probability is the posterior mean q(s,n)q(s,n)q(s,n). Monotonicity here is for the order of p. 342 — more positive signals and fewer negative ones — and not the coordinatewise order, under which the claim would be false: an extra signal that is negative makes the state worse.

What is being asked

Formalize Theorem 11.1.3 in full, all four parts: the limit identification, the fixed point equation with its bounds, the minimality among superharmonic majorants, and the conditional optimality of the exercise-region stopping time. The three milestones are Proposition 11.1.2, the finite-horizon put whose threshold structure the perpetual case specializes, and the two credit granting theorems, which run the same bounded-horizon argument on a different model.

The stopping-time apparatus is built rather than assumed: the stock path, the law Q\mathbb{Q}Q pinned by its finite-dimensional distributions, stopping times valued in N∪{∞}\mathbb{N}\cup\{\infty\}N∪{∞}, and the reward vanishing at ∞\infty∞. Part a) of the goal is the identification of the supremum with lim⁡nJn\lim_n J_nlimn​Jn​, so carrying PPP as an abstract function would make the theorem vacuous.

6 thms2 active usersReviewed

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