Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chapter IX, § 12, Eq. (12.13) — ∣J(φ)−JN({φk},n)∣≤B′/n|J(\varphi)-J_N(\{\varphi_k\},n)|\le B'/n∣J(φ)−JN​({φk​},n)∣≤B′/n for step controls

Proved
BellmanDP.Variational.payoff_discretization_error

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

calculus-of-variationsnumerical-analysisoptimal-controlp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1

Let F(x,y)F(x,y)F(x,y) and G(x,y)G(x,y)G(x,y) satisfy the assumptions (11) of Chapter IX, Theorem 2, and write F~(x,φ)=F(x,φx)\tilde F(x,\varphi)=F(x,\varphi x)F~(x,φ)=F(x,φx), G~(x,φ)=G(x,φx)\tilde G(x,\varphi)=G(x,\varphi x)G~(x,φ)=G(x,φx). Let c>0c>0c>0 and T>0T>0T>0. Then there is a constant B′B'B′, depending only on ccc, TTT, FFF and GGG, such that for every n≥1n\ge 1n≥1 and every discrete control φ0,…,φN∈[0,1]\varphi_0,\dots,\varphi_N\in[0,1]φ0​,…,φN​∈[0,1], N=⌊Tn⌋N=\lfloor Tn\rfloorN=⌊Tn⌋, with associated step function φ(t)=φk\varphi(t)=\varphi_kφ(t)=φk​ on k/n≤t<(k+1)/nk/n\le t<(k+1)/nk/n≤t<(k+1)/n,

∣J(φ)−JN({φk},n)∣≤B′n.\bigl|J(\varphi)-J_N(\{\varphi_k\},n)\bigr|\le\frac{B'}{n}.​J(φ)−JN​({φk​},n)​≤nB′​.

Here J(φ)=∫0TF~(x(t),φ(t)) dtJ(\varphi)=\int_0^T\tilde F(x(t),\varphi(t))\,dtJ(φ)=∫0T​F~(x(t),φ(t))dt along any solution of dx/dt=G~(x,φ)dx/dt=\tilde G(x,\varphi)dx/dt=G~(x,φ), x(0)=cx(0)=cx(0)=c, on [0,T][0,T][0,T], and JN({φk},n)=∑k=0NF~(xk,φk)/nJ_N(\{\varphi_k\},n)=\sum_{k=0}^{N}\tilde F(x_k,\varphi_k)/nJN​({φk​},n)=∑k=0N​F~(xk​,φk​)/n with x0=cx_0=cx0​=c, xk+1=xk+G~(xk,φk)/nx_{k+1}=x_k+\tilde G(x_k,\varphi_k)/nxk+1​=xk​+G~(xk​,φk​)/n.

The estimate compares a discrete control with the continuous control it induces; both halves of the convergence proof of Theorem 2 rest on it.

Formalization Note The print names the constant B1B_1B1​ and then writes B′B'B′ in the display; they are the same constant. The step count is the corrected N=⌊Tn⌋N=\lfloor Tn\rfloorN=⌊Tn⌋.

Preamble
import Mathlib
import Definitions.Def_BellmanDP_Variational_Approximation
Formal statement
namespace BellmanDP.Variational

open Set

/-- Bellman, *Dynamic Programming*, Ch. IX, § 12, proof of Theorem 2, Eq. (12.13), p. 262: under the
assumptions (11) on `F (x, y)`, `G (x, y)`, for `c > 0` and `T > 0` there is a constant `B′`
(depending only on `c, T, F, G`) such that for every `n ≥ 1` and every step control
`φ (t) = φ_k` on `k/n ≤ t < (k+1)/n` with `0 ≤ φ_k ≤ 1`,
`|J (φ) − J_N ({φ_k}, n)| ≤ B′ / n`, where `J (φ) = ∫_0^T F (x, φ x) dt` along the solution of
`dx/dt = G (x, φ x)`, `x (0) = c`, and `N = ⌊T n⌋`. -/
theorem payoff_discretization_error (F G : ℝ → ℝ → ℝ) (hFG : Assumptions11 F G)
    (c T : ℝ) (hc : 0 < c) (hT : 0 < T) :
    ∃ B : ℝ, ∀ n : ℕ, 0 < n → ∀ (φs : ℕ → ℝ) (x : ℝ → ℝ),
      (∀ k ≤ horizonSteps T n, φs k ∈ Icc (0 : ℝ) 1) →
      IsTrajectory (phiForm G) c (stepControl n φs) T x →
      |(∫ t in (0 : ℝ)..T, phiForm F (x t) (stepControl n φs t)) -
          discretePayoff (phiForm F) (phiForm G) c n φs (horizonSteps T n)| ≤ B / n := by sorry

end BellmanDP.Variational
Source
Bellman, Dynamic Programming, Princeton University Press (1957; Princeton Landmarks ed. 2010), DOI 10.2307/j.ctv1nxcw0f, Chapter IX, § 12, proof of Theorem 2, Eq. (12.13), p. 262
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