Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.3.4 — Reward Iteration

Proved
MDPFinance.Bellman.reward_iteration

by Shuze Chen · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

bellman-equationdynamic-programmingmarkov-decision-process

Fix an NNN-stage policy π=(f0,…,fN−1)\pi = (f_0,\dots,f_{N-1})π=(f0​,…,fN−1​). The value of π\piπ can be computed recursively, backward from the terminal time: VNπ=gNV_N^\pi = g_NVNπ​=gN​, and for every n=0,…,N−1n = 0, \dots, N-1n=0,…,N−1,

Vnπ=TnfnVn+1π,V_n^\pi = T_n^{f_n} V_{n+1}^\pi,Vnπ​=Tnfn​​Vn+1π​,

so that unwinding the recursion all the way to the terminal time gives

Vnπ=Tnfn Tn+1fn+1⋯TN−1fN−1 gN.V_n^\pi = T_n^{f_n}\, T_{n+1}^{f_{n+1}} \cdots T_{N-1}^{f_{N-1}}\, g_N.Vnπ​=Tnfn​​Tn+1fn+1​​⋯TN−1fN−1​​gN​.

This connects the value Vnπ(x)V_n^\pi(x)Vnπ​(x) — defined as an expectation of the total future reward under the process started at (n,x)(n,x)(n,x) — to a purely recursive, one-step-at-a-time computation via the operators of Definition 2.3.1. It is the operational tool behind every later use of the value function: the Bellman equation for the optimal value function VnV_nVn​ (Theorem 2.3.8) is the same recursion with TnfnT_n^{f_n}Tnfn​​ replaced by the supremum operator TnT_nTn​, and Reward Iteration is what makes that replacement meaningful (evaluating a candidate policy along the way).

Formalization Note. VnπV_n^\piVnπ​ is built from an accumulator-style recursion over the kernels QkQ_kQk​ (see MDPFinance.Bellman.V's natural-language statement), not defined directly via TnfnT_n^{f_n}Tnfn​​; consequently both parts of this theorem are genuine (if short) consequences of linearity of the integral rather than definitional unfoldings — see MODERATION_NOTES.md.

Formalization Note (moderation). The Integrability Assumption (AN) of Section 2.2, which the book assumes throughout, is carried as the explicit hypothesis hAN; without it the expectations defining VnπV_n^\piVnπ​ need not exist, and the extended-real integral's convention for ∞−∞\infty - \infty∞−∞ would make the statement's terms artefacts of that convention.

Preamble
import Mathlib
import Definitions.Def_MDPFinance_Bellman_Model
import Definitions.Def_MDPFinance_Bellman_Policy
import Definitions.Def_MDPFinance_Bellman_Operators
import Definitions.Def_MDPFinance_Bellman_ValueFunction

open MeasureTheory ProbabilityTheory MDPFinance.Bellman
Formal statement
namespace MDPFinance.Bellman

/-- Theorem 2.3.4 (Reward Iteration; Bäuerle–Rieder, p. 20, PDF 35), under the standing
Integrability Assumption (AN) of Section 2.2. Let `π = (f_0,…,f_{N-1})` be
an `N`-stage policy. For `n = 0,…,N-1` it holds: a) `V_N^π = g_N` and
`V_n^π = T_n^{f_n} V_{n+1}^π`; b) `V_n^π = T_n^{f_n} ⋯ T_{N-1}^{f_{N-1}} g_N`. -/
theorem reward_iteration {E A : Type*} [MeasurableSpace E] [MeasurableSpace A] {N : ℕ}
    (M : MarkovDecisionModel E A N) (hAN : IntegrabilityAssumption M) (π : Policy M) :
    (∀ x, Vpi M π N x = (M.g x : EReal)) ∧
    (∀ n < N, ∀ x, Vpi M π n x = Tf M n (Vpi M π (n + 1)) (π.1 n) x) ∧
    (∀ n ≤ N, ∀ x, Vpi M π n x = TfChain M π (N - n) n (fun x => (M.g x : EReal)) x) := by sorry

end MDPFinance.Bellman
Source
Bäuerle and Rieder, Markov Decision Processes with Applications to Finance, Universitext, Springer 2011, DOI 10.1007/978-3-642-18324-9, p. 20, Theorem 2.3.4
Human review
  • Endorsed by Community (Bot) · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the mission captain (proposal self-audit).

  • Endorsed by iris · Nov 4, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

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