Lemma 3.9.4 - the optimal-value function is increasing in the state
DisprovedSupermodularity.MDP.value_increasing_of_stochastically_increasingConsider a nonstationary, discounted, finite-horizon, discrete-time Markov decision process with periods . In period the state ranges over ; given state , the decision is restricted to a finite nonempty set . Let . The (bounded) expected net return of decision in state , period , is , and is the distribution of next period's state given . With discount rate and , define, from period backward,
Suppose whenever in , is increasing in on the section for every and , and is stochastically increasing in on that same section for every and .
Then is increasing in on for every period .
This is Topkis's Lemma 3.9.4, proved by backward induction on the period: if is increasing, so is (by the growing constraint sets), hence so is (by stochastic monotonicity of the transition law), hence so is . It is the base case that Theorem 3.9.2 builds on to obtain supermodularity as well as monotonicity.
Formalization Note. and are quantified as any functions satisfying the two
defining equations above (the equations determine them uniquely by backward induction from
period ); the mission does not itself construct the recursion. The maximum in the
definition of is expressed as IsGreatest, since is a nonempty finite set.
Retired. Retired because it was disproved with a transition law charging points outside T_{i+1}, where f_{i+1} is unconstrained by the recursion; replaced by Supermodularity.MDP.value_increasing_of_stochastically_increasing_v2, which assumes F(x,t,i,·) is carried by T_{i+1} as in the book's model.
import Mathlib import Definitions.Def_Supermodularity_MDP_StochasticallyIncreasingOn open MeasureTheory
namespace Supermodularity.MDP
/-- Lemma 3.9.4 (p. 161–162, PDF 174–175). A finite-horizon, nonstationary, discounted,
discrete-time Markov decision process with periods `i = 1, …, k`: state `t ∈ T i ⊆ Rᵐ`,
decision `x` restricted to the finite nonempty set `X i t ⊆ Rⁿ`, `S i = {(x,t) : t ∈ T i,
x ∈ X i t}`, return `r i x t`, discount `γ = 1/(1+β)`, next-state distribution `μ i x t`
on `Rᵐ`. Starting from `g k x t = r k x t`, `f` and `g` satisfy the backward recursion
`f i t = max {g i x t : x ∈ X i t}` (3.9.1) and, for `i < k`, `g i x t = r i x t +
γ ∫ f (i+1) w dμ (i x t) w` (3.9.2). If `X t' i ⊆ X t'' i` whenever `t' ≤ t''` in `T i`,
`r i x t` is increasing in `t` on the section of `S i` at `x` for all `x` and `i`, and
`F(x,t,i,·)` is stochastically increasing in `t` on the section of `S i` at `x` for all
`x` and `i`, then `f i t` is increasing in `t` on `T i` for each `i`. -/
theorem value_increasing_of_stochastically_increasing {n m : ℕ} (k : ℕ)
(T : ℕ → Set (Fin m → ℝ)) (X : ℕ → (Fin m → ℝ) → Finset (Fin n → ℝ))
(S : ℕ → Set ((Fin n → ℝ) × (Fin m → ℝ)))
(hS : ∀ i, S i = {p : (Fin n → ℝ) × (Fin m → ℝ) | p.2 ∈ T i ∧ p.1 ∈ X i p.2})
(r : ℕ → (Fin n → ℝ) → (Fin m → ℝ) → ℝ)
(β : ℝ) (hβ0 : 0 ≤ β) (hβ1 : β ≤ 1)
(μ : ℕ → (Fin n → ℝ) → (Fin m → ℝ) → Measure (Fin m → ℝ))
(hμprob : ∀ i x t, IsProbabilityMeasure (μ i x t))
(f : ℕ → (Fin m → ℝ) → ℝ) (g : ℕ → (Fin n → ℝ) → (Fin m → ℝ) → ℝ)
(hgk : ∀ x t, g k x t = r k x t)
(hg : ∀ i, 1 ≤ i → i < k → ∀ x t, (x, t) ∈ S i →
g i x t = r i x t + (1 / (1 + β)) * ∫ w, f (i + 1) w ∂ (μ i x t))
(hfint : ∀ i, 1 ≤ i → i < k → ∀ x t, (x, t) ∈ S i → Integrable (f (i + 1)) (μ i x t))
(hf : ∀ i, 1 ≤ i → i ≤ k → ∀ t ∈ T i,
IsGreatest ((fun x => g i x t) '' (X i t : Set (Fin n → ℝ))) (f i t))
(hXne : ∀ i, 1 ≤ i → i ≤ k → ∀ t ∈ T i, (X i t).Nonempty)
(hXsub : ∀ i, 1 ≤ i → i ≤ k → ∀ ⦃t' t'' : Fin m → ℝ⦄, t' ∈ T i → t'' ∈ T i → t' ≤ t'' →
X i t' ⊆ X i t'')
(hrmono : ∀ i, 1 ≤ i → i ≤ k → ∀ x, MonotoneOn (fun t => r i x t) {t | (x, t) ∈ S i})
(hFmono : ∀ i, 1 ≤ i → i ≤ k → ∀ x,
Supermodularity.MDP.StochasticallyIncreasingOn {t | (x, t) ∈ S i} (μ i x)) :
∀ i, 1 ≤ i → i ≤ k → MonotoneOn (f i) (T i) := by sorry
end Supermodularity.MDP
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.