Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chapter I, Theorem 3 — approximation in policy space converges monotonely

Proved
BellmanDP.Allocation.policy_space_approximation_monotone

by mikedeng1 · Oct 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programmingfunctional-equationsp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1policy-iteration

Assume the hypotheses of Chapter I, Theorem 1 (continuity of g,hg,hg,h on [0,∞)[0,\infty)[0,∞), g(0)=h(0)=0g(0)=h(0)=0g(0)=h(0)=0, ∑nm(cnx)<∞\sum_{n}m(c^n x)<\infty∑n​m(cnx)<∞ with c=max⁡(a,b)c=\max(a,b)c=max(a,b), and 0≤a,b<10\le a,b<10≤a,b<1), and let fff be the solution of (8.1) that is continuous at 000 with f(0)=0f(0)=0f(0)=0.

Let y0y_0y0​ be any function continuous on [0,∞)[0,\infty)[0,∞) with 0≤y0(x)≤x0 \le y_0(x) \le x0≤y0​(x)≤x, and let f0f_0f0​ be the return of the stationary policy y0y_0y0​, i.e. the solution of

f0(x)=g(y0(x))+h(x−y0(x))+f0(ay0(x)+b(x−y0(x)))f_0(x) = g(y_0(x)) + h(x-y_0(x)) + f_0\big(a y_0(x) + b(x - y_0(x))\big)f0​(x)=g(y0​(x))+h(x−y0​(x))+f0​(ay0​(x)+b(x−y0​(x)))

given by the series of total stage returns along the trajectory of y0y_0y0​. Define

fN+1(x)=max⁡0≤y≤x[g(y)+h(x−y)+fN(ay+b(x−y))],N=0,1,2,…f_{N+1}(x) = \max_{0\le y\le x}\big[g(y)+h(x-y)+f_N(ay+b(x-y))\big], \qquad N=0,1,2,\dotsfN+1​(x)=0≤y≤xmax​[g(y)+h(x−y)+fN​(ay+b(x−y))],N=0,1,2,…

Then:

  1. the sequence is monotone: fN(x)≤fN+1(x)f_N(x) \le f_{N+1}(x)fN​(x)≤fN+1​(x) for all NNN and all x≥0x\ge 0x≥0;
  2. fN→ff_N \to ffN​→f uniformly on every finite interval [0,R][0,R][0,R].

Starting the iteration from the return of a policy, rather than from an arbitrary function, guarantees that every iterate improves on the previous one.

Formalization Note The book writes "converges uniformly"; the uniformity is stated on every finite interval [0,R][0,R][0,R], as in Theorem 2 and in the series argument (11.10) that the proof uses.

Preamble
import Mathlib
import Definitions.Def_BellmanDP_Allocation_Model
import Definitions.Def_BellmanDP_Allocation_PolicyReturn
Formal statement
namespace BellmanDP.Allocation

/-- Ch. I, Theorem 3, p. 18. Let `y₀` be continuous on `x ≥ 0` with `0 ≤ y₀(x) ≤ x`, and let
`f₀` be the return of the stationary policy `y₀` (the solution (11.10) of `f₀(x) = T(f₀, y₀(x))`).
Under the hypotheses of Theorem 1 the successive approximations
`f_{N+1}(x) = Max_{0 ≤ y ≤ x} T(f_N, y)` are monotone nondecreasing in `N` on `x ≥ 0` and converge
to the solution `f` of Theorem 1 uniformly on every finite interval `[0, R]`. -/
theorem policy_space_approximation_monotone (g h : ℝ → ℝ) (a b : ℝ)
    (hyp : AllocationHyp g h a b)
    (y₀ : ℝ → ℝ) (hy₀ : ContinuousOn y₀ (Set.Ici 0))
    (hy₀r : ∀ x : ℝ, 0 ≤ x → 0 ≤ y₀ x ∧ y₀ x ≤ x)
    (f : ℝ → ℝ) (hf : IsAllocationSolution g h a b f)
    (hfc : ContinuousWithinAt f (Set.Ici 0) 0) (hf0 : f 0 = 0) :
    (∀ N : ℕ, ∀ x : ℝ, 0 ≤ x →
        allocIter g h a b (policyReturn g h a b y₀) N x ≤
          allocIter g h a b (policyReturn g h a b y₀) (N + 1) x) ∧
      ∀ R : ℝ, 0 ≤ R →
        TendstoUniformlyOn (allocIter g h a b (policyReturn g h a b y₀)) f Filter.atTop
          (Set.Icc 0 R) := by sorry

end BellmanDP.Allocation
Source
Bellman, Dynamic Programming, Princeton University Press (1957; Princeton Landmarks ed. 2010), DOI 10.2307/j.ctv1nxcw0f, Chapter I, Theorem 3, p. 18
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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