Motivation
A Markov decision process (MDP) chooses a decision in every period of a dynamic system whose
state evolves stochastically in response to the decision, so as to maximize expected discounted
return. Firms use this model for inventory, pricing, and advertising decisions that respond to a
randomly evolving demand state; engineers use it for maintaining or replacing equipment that
degrades stochastically. A recurring practical question is qualitative rather than numerical: does
the optimal decision increase with the state — should a firm price higher after a period of
strong sales, or replace a machine sooner the worse its observed condition — without having to
solve the dynamic program numerically for every instance of the model? Topkis's Chapter 3, Section
3.9 (Topkis, Supermodularity and Complementarity, 2011, building on Topkis [1968]) answers this
by isolating the lattice-theoretic structure — supermodularity of the return function and of the
transition law — under which monotone optimal policies are guaranteed on structural grounds alone.
A closely related but logically independent question was studied earlier by Lehmann [1955], who
characterized when a family of distributions is stochastically increasing in a parameter; Topkis
generalizes Lehmann's characterization to any property of the parameter dependence whose defining
set of functions forms a closed convex cone, of which stochastic monotonicity, supermodularity, and
convexity are three instances (Theorem 3.9.1, Corollary 3.9.1). Serfozo [1976] independently
develops related conditions for partially observed Markov decision processes, and Amir [1996] and
Amir, Mirman, and Perkins [1991] give analogous monotonicity results for other classes of dynamic
programming models.
Setting
Fix a finite planning horizon of k periods, i=1,…,k. In period i the state t
ranges over a set Ti⊆Rm; given state t, the decision x is restricted
to a finite, nonempty set Xt,i⊆Rn (finiteness guarantees that an optimal
decision always exists — no continuity or compactness argument is used). Write
Si={(x,t):t∈Ti,x∈Xt,i} for the set of admissible (decision, state) pairs in
period i. The (bounded) expected net return of choosing decision x in state t, period i, is
ri(x,t). A discount rate β∈[0,1] gives γ=1/(1+β), the value in period i
of one unit of return in period i+1. Given decision x, state t, and period i, the state w
of period i+1 is drawn from a distribution F(x,t,i,⋅) on Rm.
The optimal-value function fi(t) (present value of acting optimally from state t, period
i, onward) and the decision-value function gi(x,t) (present value of choosing x in
state t, period i, then acting optimally thereafter) are defined by backward induction from
period k:
gk(x,t)=rk(x,t),fi(t)=x∈Xt,imaxgi(x,t),gi(x,t)=ri(x,t)+γ∫fi+1(w)dF(x,t,i,w)(i<k).
A subset S of a Euclidean space is increasing if it is upward closed under the coordinatewise
order. A family of distributions {F(a,⋅):a∈D} indexed by a parameter a is
stochastically increasing on D if the probability ∫SdF(a,w) of every increasing set
S is a monotone (non-decreasing) function of a on D; when D is a sublattice, the family is
stochastically supermodular on D if that same probability is a supermodular function of a
on D. A real-valued function φ on a lattice is supermodular on a set D if
φ(a1)+φ(a2)≤φ(a1∨a2)+φ(a1∧a2) for all
a1,a2∈D — the mission series' shared notion, defined once in chunk 02-monotonicity and
reused here as Supermodularity.Monotonicity.SupermodularOn.
Formalization targets
Goal — Theorem 3.9.2 (monotone optimal policies)
gi(x,t) supermodular on Si,fi(t) supermodular on Ti,argx∈Xt,imaxgi(x,t) increasing in t,
together with the existence of a greatest and a least optimal decision at every state, each
increasing in the state, in every period i — under the hypotheses that Si is a sublattice of
Rn+m, Xt,i is expanding in t, ri is increasing in t (on sections) and
jointly supermodular in (x,t), and F(x,t,i,⋅) is stochastically increasing in t (on
sections) and stochastically jointly supermodular in (x,t), for every period i.
This is the weakest of the targets that is still worth stating on its own: it packages four related
conclusions (parts (a)–(d) of Theorem 3.9.2) that share one hypothesis set, rather than isolating
just the headline monotone-decision claim, because the book's own proof derives all four together
and a solver attacking part (c) or (d) needs part (a) and (b) established first.
Supporting milestones
- Lemma 3.9.4: under the monotonicity half of the goal's hypotheses alone (no supermodularity),
fi(t) is increasing in t for every period i. This is the induction Theorem 3.9.2 reuses
and strengthens.
- Corollary 3.9.1(b): on a sublattice T, a family of distributions is stochastically
supermodular in t iff ∫h(w)dF(t,w) is supermodular in t for every increasing h.
This is what lets the goal's hypothesis "F(x,t,i,⋅) stochastically supermodular in (x,t)"
be converted into "∫fi+1(w)dF(x,t,i,w) supermodular in (x,t)", the step that feeds
gi's supermodularity.
- Theorem 3.9.1: the general closed-convex-cone characterization of which Corollary 3.9.1(b)
is the supermodularity instance (monotonicity and convexity are the other two instances, not
formalized here since the goal's proof only needs the supermodularity case).
Significance
The result gives a purely structural sufficient condition — no smoothness, convexity of the
decision set, or specific functional form — for monotone comparative statics in dynamic
optimization: whenever the one-period return and the state transition are individually monotone
and jointly supermodular in (decision, state), so is the whole multi-period value function, and so
are the optimal decisions. Textbook applications include optimal advertising that decreases with
prior-period sales, optimal pricing that increases with prior-period sales, and optimal maintenance
of a deteriorating system, none of which need to be re-derived from scratch once the structural
hypotheses are checked for the specific return and transition functions at hand.
Formalizing it contributes a genuinely new layer to the mission series and, per the paper's own
triage (substrate.md), to the platform's application of Mathlib's probability-kernel
infrastructure: a finite-horizon MDP with a Lebesgue–Stieltjes-style transition law and its
associated stochastic-dominance vocabulary (stochastically increasing / stochastically
supermodular families of distributions) did not previously exist on the platform or in this
mission series, and both are reusable beyond this mission by any future formalization of dynamic
programming under uncertainty. The proof itself is not open — Topkis [2011] (unchanged from the
1968/1998 original) gives a complete, elementary backward-induction argument — so what this mission
produces is the formalization of a known, structurally distinctive proof technique, not a new
mathematical result.
Difficulty
The naive argument — "supermodularity of ri plus supermodularity of the transition kernel
obviously gives supermodularity of gi" — breaks exactly at the integral: supermodularity of
(x,t)↦F(x,t,i,⋅) is a statement about the whole family of distributions, not about
a single number, so "the transition is jointly supermodular" has to be unpacked into "the
probability of every increasing set is jointly supermodular in (x,t)" before it says anything
about ∫fi+1(w)dF(x,t,i,w) for a specific function fi+1. Corollary 3.9.1(b) is
exactly the step that licenses this unpacking, and it is not free: it needs Theorem 3.9.1's
closed-convex-cone argument (approximating fi+1 from below by increasing step functions and
invoking monotone convergence), not a pointwise argument on ri and F separately. A second
place the naive argument fails is at the constraint sets: because Xt,i only grows with t
rather than being fixed, monotonicity of fi (Lemma 3.9.4) needs its own induction combining that
growth with monotonicity of gi — supermodularity of gi alone does not hand you monotonicity
of the arg max without it.
Formalization scope
States and decisions are represented as Fin m → ℝ and Fin n → ℝ (finite-dimensional Euclidean
coordinate spaces with the coordinatewise/product order, matching the book's own restriction to
Rm and Rn — no abstract lattice is used where the book itself specializes).
Distributions are represented as MeasureTheory.Measure on the relevant coordinate space, with
IsProbabilityMeasure supplied explicitly wherever a stochastic-dominance hypothesis is used (the
probability of a set is read off as (μ S).toReal, which is only faithful to ∫SdF when
μ is a probability measure — an unconstrained arbitrary measure would let .toReal collapse an
infinite value to 0 and make the hypothesis trivially satisfiable, a formalization this mission
rules out). Integrands h are required integrable against every measure in the family wherever an
integral is asserted to lie in a set V, since the Bochner integral of a non-integrable function is
definitionally 0 in Lean/Mathlib and would otherwise make Theorem 3.9.1 and Corollary 3.9.1(b)
trivially true. Decision sets Xt,i are finite (Finset, not merely a bounded or compact
Set) and required nonempty exactly where the book assumes it: this finiteness, not any
compactness or semicontinuity argument, is what guarantees an optimal decision exists, and dropping
it would silently substitute Chapter 2's compactness-based existence machinery for the different
argument this section actually uses. The optimal-value and decision-value functions fi,gi are
represented as any functions satisfying the two backward-recursion equations that define them,
rather than being constructed by explicit backward recursion in Lean; since the equations determine
fi,gi uniquely from ri and F, this is a faithful reading of "define fi,gi by (3.9.1)
and (3.9.2)," not a weakening of the theorem. The goal's part (c) is stated using the mission
series' InducedSetOrder (the Veinott/strong set order, chunk 01-lattices) and part (d) as the
existence of two selection functions (greatest, least optimal decision), each monotone in the
state — matching the book's "there is a greatest (least) optimal decision ... and this greatest
(least) optimal decision is increasing in t." The infinite-horizon stationary extension that the
book gives immediately after Theorem 3.9.2 (relying on an unproved citation to Blackwell [1965]) is
out of scope for this mission.
Reusable infrastructure: the StochasticallyIncreasingOn/StochasticallySupermodularOn
definitions are parametric in the ambient preorder/lattice and in the measure's target dimension,
so a future mission on stochastic convexity (Corollary 3.9.1(c), not formalized here) or on
Topkis's §3.10 stochastic inventory model (which explicitly depends on §3.9, per the book's own
reading-order note) can reuse them without modification. Contributions extending this mission to
the infinite-horizon case, or completing Corollary 3.9.1's monotonicity and convexity halves, are
welcome.
Selected references
- D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 2011 (unchanged
from the 1998 original), Chapter 3, Section 3.9. DOI: 10.1515/9781400822539.
- D. M. Topkis, "Ordered Optimal Solutions," PhD dissertation / working paper, Stanford University,
1968 (the original source for this section's results).
- E. L. Lehmann, "Ordered Families of Distributions," Annals of Mathematical Statistics 26(3),
1955, pp. 399–419. https://doi.org/10.1214/aoms/1177728487
- R. Serfozo, "Monotone Optimal Policies for Markov Decision Processes," Mathematical Programming
Study 6, 1976, pp. 202–215.
- R. Amir, "Sensitivity Analysis of Multisector Optimal Economic Dynamics," Journal of Mathematical
Economics 25(1), 1996, pp. 123–141.
- R. Amir, L. J. Mirman, and W. R. Perkins, "One-Sector Nonclassical Optimal Growth: Optimality
Conditions and Comparative Dynamics," International Economic Review 32(3), 1991, pp. 625–644.
- D. Blackwell, "Discounted Dynamic Programming," Annals of Mathematical Statistics 36(1), 1965,
pp. 226–235. https://doi.org/10.1214/aoms/1177700285