Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 1 — under D, J* is the limit of the N-stage optimal values J_N

Proved
MonotoneDP.Decrease.lemma1_optimal_value_limit

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

dynamic-programmingfinite-horizonp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Consider the abstract dynamic programming model of Bertsekas (1977): monotone mapping HHH, terminal function Jˉ>−∞\bar J>-\inftyJˉ>−∞, policies π={μ0,μ1,… }\pi=\{\mu_0,\mu_1,\dots\}π={μ0​,μ1​,…} with cost Jπ=lim⁡N(Tμ0⋯TμN−1)(Jˉ)J_\pi=\lim_N(T_{\mu_0}\cdots T_{\mu_{N-1}})(\bar J)Jπ​=limN​(Tμ0​​⋯TμN−1​​)(Jˉ), and optimal value J∗=inf⁡πJπJ^*=\inf_\pi J_\piJ∗=infπ​Jπ​. For N≥1N\ge1N≥1 let

JN(x)=inf⁡π∈Π(Tμ0⋯TμN−1)(Jˉ)(x)J_N(x)=\inf_{\pi\in\Pi}(T_{\mu_0}\cdots T_{\mu_{N-1}})(\bar J)(x)JN​(x)=π∈Πinf​(Tμ0​​⋯TμN−1​​)(Jˉ)(x)

be the optimal value function of the NNN-stage problem (36). If Assumption D (Jˉ≥H(⋅,u,Jˉ)\bar J\ge H(\cdot,u,\bar J)Jˉ≥H(⋅,u,Jˉ)) holds, then for every x∈Sx\in Sx∈S

J∗(x)=lim⁡N→∞JN(x).(44)J^*(x)=\lim_{N\to\infty}J_N(x).\tag{44}J∗(x)=N→∞lim​JN​(x).(44)

This says that under uniform decrease the infinite-horizon optimal value is the limit of the finite-horizon optimal values; it is the first half of the proof that the dynamic programming algorithm converges under D.

Formalization Note The limit is taken pointwise in [−∞,∞][-\infty,\infty][−∞,∞] with its order topology, as Tendsto (fun N => J_N x) atTop (𝓝 (J* x)).

Preamble
import Mathlib
import Definitions.Def_MonotoneDP_Decrease_Model
import Definitions.Def_MonotoneDP_Decrease_Assumptions
Formal statement
namespace MonotoneDP.Decrease

open Filter Topology

/-- Bertsekas (1977), p. 453, Lemma 1: under D, `J* = lim_{N → ∞} J_N` pointwise, where `J_N` is
the optimal value function of the `N`-stage problem (36). -/
theorem lemma1_optimal_value_limit {S C : Type*} (m : Model S C) (hD : m.AssumptionD) :
    ∀ x, Tendsto (fun N => m.JN N x) atTop (𝓝 (m.Jstar x)) := by sorry

end MonotoneDP.Decrease
Source
Bertsekas, Monotone Mappings with Application in Dynamic Programming, SIAM J. Control Optim. 15 (1977), p. 453 (PDF p. 16), Lemma 1, eq. (44). DOI 10.1137/0315031
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me