Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proposition 3 — J_N = T^N(J̄) under D and either D.1, or D.2 with T^N(J̄) > −∞

Proved
MonotoneDP.Decrease.prop3_finite_horizon_dp

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

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

In the abstract dynamic programming model of Bertsekas (1977), let T(J)(x)=inf⁡u∈U(x)H(x,u,J)T(J)(x)=\inf_{u\in U(x)}H(x,u,J)T(J)(x)=infu∈U(x)​H(x,u,J) and 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, for a positive integer NNN. Suppose Assumption D holds, and that either

  1. Assumption D.1 holds, or
  2. Assumption D.2 holds and TN(Jˉ)(x)>−∞T^N(\bar J)(x)>-\inftyTN(Jˉ)(x)>−∞ for all x∈Sx\in Sx∈S.

Then

JN=TN(Jˉ).J_N=T^N(\bar J).JN​=TN(Jˉ).

That is, the dynamic programming algorithm Jˉ,T(Jˉ),T2(Jˉ),…\bar J, T(\bar J), T^2(\bar J),\dotsJˉ,T(Jˉ),T2(Jˉ),… computes the finite-horizon optimal values. The paper's Counterexamples 2 and 3 show that the conclusion can fail when D.1 is dropped and either D.2 or the condition TN(Jˉ)>−∞T^N(\bar J)>-\inftyTN(Jˉ)>−∞ is dropped.

Formalization Note NNN is a fixed natural number with N≥1N\ge1N≥1, and the condition TN(Jˉ)(x)>−∞T^N(\bar J)(x)>-\inftyTN(Jˉ)(x)>−∞ (written ≠⊥\ne\bot=⊥) belongs to the D.2 branch only, for the same NNN.

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

/-- Bertsekas (1977), p. 448, Proposition 3: let D hold, fix a positive integer `N`, and assume
that either D.1 holds, or D.2 holds and `T^N(J̄)(x) > −∞` for all `x ∈ S`. Then `J_N = T^N(J̄)`. -/
theorem prop3_finite_horizon_dp {S C : Type*} (m : Model S C) (hD : m.AssumptionD)
    (N : ℕ) (hN : 1 ≤ N)
    (h : m.AssumptionD1 ∨
      ((∃ α : ℝ, m.AssumptionD2 α) ∧ ∀ x, (m.T)^[N] m.Jbar x ≠ ⊥)) :
    m.JN N = (m.T)^[N] m.Jbar := by sorry

end MonotoneDP.Decrease
Source
Bertsekas, Monotone Mappings with Application in Dynamic Programming, SIAM J. Control Optim. 15 (1977), p. 448 (PDF p. 11), Proposition 3. 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