Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chapter IV, Theorem 1 — existence and uniqueness for equations of Type One

Disproved
BellmanDP.ExistUnique.type_one_exists_unique

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

dynamic-programmingfunctional-equationsp2o-batch-b23bp2o-gran-per-chapterp2o-plan-bookp2o-v1

Let D⊆RND \subseteq \mathbb{R}^ND⊆RN (Euclidean norm), let SSS be a nonempty set of decisions, and suppose the equation

f(p)=sup⁡q∈S[g(p,q)+h(p,q) f(T(p,q))],p≠θ,f(θ)=0,f(p) = \sup_{q \in S}\big[g(p,q) + h(p,q)\,f(T(p,q))\big], \quad p \ne \theta, \qquad f(\theta) = 0,f(p)=q∈Ssup​[g(p,q)+h(p,q)f(T(p,q))],p=θ,f(θ)=0,

is of Type One with constant aaa. That is, θ∈D\theta \in Dθ∈D and TTT maps DDD into DDD; ggg is bounded on bounded parts of DDD uniformly in qqq, with g(θ,q)=0g(\theta,q) = 0g(θ,q)=0; ∣h∣≤1|h| \le 1∣h∣≤1; ∥T(p,q)∥≤a∥p∥\|T(p,q)\| \le a\|p\|∥T(p,q)∥≤a∥p∥ with 0≤a<10 \le a < 10≤a<1; and ∑n=0∞v(anc)<∞\sum_{n=0}^\infty v(a^n c) < \infty∑n=0∞​v(anc)<∞ for v(c)=sup⁡∥p∥≤csup⁡q∣g(p,q)∣v(c) = \sup_{\|p\| \le c}\sup_q |g(p,q)|v(c)=sup∥p∥≤c​supq​∣g(p,q)∣. Then:

  1. there is exactly one solution on DDD which is continuous at p=θp = \thetap=θ and equal to zero there;
  2. this solution is the limit, at every p∈Dp \in Dp∈D, of the sequence
f0(p)=sup⁡qg(p,q),fn+1(p)=sup⁡q[g(p,q)+h(p,q) fn(T(p,q))];f_0(p) = \sup_q g(p,q), \qquad f_{n+1}(p) = \sup_q\big[g(p,q) + h(p,q)\,f_n(T(p,q))\big];f0​(p)=qsup​g(p,q),fn+1​(p)=qsup​[g(p,q)+h(p,q)fn​(T(p,q))];
  1. any initial function f0f_0f0​ that is continuous at θ\thetaθ, equal to zero there, and bounded on {p∈D:∥p∥≤c1}\{p \in D : \|p\| \le c_1\}{p∈D:∥p∥≤c1​} for every c1>0c_1 > 0c1​>0 also yields, through the same recursion, a sequence converging to this solution at every p∈Dp \in Dp∈D;
  2. if g(p,q)g(p,q)g(p,q), h(p,q)h(p,q)h(p,q) and T(p,q)T(p,q)T(p,q) are continuous in ppp in any bounded portion of DDD, uniformly for all q∈Sq \in Sq∈S, then the solution is continuous on every bounded portion {p∈D:∥p∥≤c}\{p \in D : \|p\| \le c\}{p∈D:∥p∥≤c}.

Type One equations describe processes in which every decision shrinks the state towards the null vector. The theorem is the general form of the existence and uniqueness results that Bellman proves for particular processes in Chapters I and II.

Formalization Note "Continuous at p=θp = \thetap=θ" is continuity within DDD, and uniqueness is asserted on DDD. The supremum in the equation is a genuine least upper bound (IsLUB). The successive approximations use a real iSup, which is genuine here because the approximations stay bounded on bounded parts of DDD. Item 4 reads "continuous in ppp, uniformly for all qqq" as uniform equicontinuity on each bounded portion of DDD. For closed DDD this coincides with the pointwise reading. For a non-closed DDD the book's inductive step (a supremum over qqq of the functions fn(T(⋅,q))f_n(T(\cdot,q))fn​(T(⋅,q)) inherits continuity) is not supported by pointwise continuity. The requirement a≥0a \ge 0a≥0 loses no generality (see the definition of Type One).

Preamble
import Mathlib
import Definitions.Def_BellmanDP_ExistUnique_SupEquation
import Definitions.Def_BellmanDP_ExistUnique_EquationTypes

open Filter Topology
Formal statement
namespace BellmanDP.ExistUnique

/-- Bellman, *Dynamic Programming*, Ch. IV, § 3, Theorem 1, pp. 119–120. For an equation
`f(p) = Sup_q [g(p, q) + h(p, q) f(T(p, q))]` (`p ≠ θ`), `f(θ) = 0`, of Type One:
1. there is exactly one solution on `D` that is continuous at `p = θ` (within `D`) and equal to
   zero there;
2. it is the limit of the successive approximations (3) started from `f₀(p) = Sup_q g(p, q)`;
3. any `f₀` continuous at `θ`, zero there, and bounded on `{p ∈ D : ‖p‖ ≤ c₁}` for every `c₁`
   also yields a sequence (3b) converging to it;
4. if `g`, `h`, `T` are continuous in `p` on bounded portions of `D`, uniformly for all `q ∈ S`,
   the solution is continuous on every bounded portion of `D`. -/
theorem type_one_exists_unique {N : ℕ} {S : Type*} [Nonempty S]
    (D : Set (EuclideanSpace ℝ (Fin N))) (g h : EuclideanSpace ℝ (Fin N) → S → ℝ)
    (T : EuclideanSpace ℝ (Fin N) → S → EuclideanSpace ℝ (Fin N)) (a : ℝ)
    (hType : TypeOne D g h T a) :
    ∃ f : EuclideanSpace ℝ (Fin N) → ℝ,
      (ContinuousWithinAt f D 0 ∧ f 0 = 0 ∧ ∀ p ∈ D, p ≠ 0 → SolvesAt g h T f p) ∧
      (∀ F : EuclideanSpace ℝ (Fin N) → ℝ, ContinuousWithinAt F D 0 → F 0 = 0 →
        (∀ p ∈ D, p ≠ 0 → SolvesAt g h T F p) → ∀ p ∈ D, F p = f p) ∧
      (∀ p ∈ D, Tendsto (fun n => succApprox g h T (supG g) n p) atTop (𝓝 (f p))) ∧
      (∀ f₀ : EuclideanSpace ℝ (Fin N) → ℝ, ContinuousWithinAt f₀ D 0 → f₀ 0 = 0 →
        BoundedOnBoundedParts D f₀ →
        ∀ p ∈ D, Tendsto (fun n => succApprox g h T f₀ n p) atTop (𝓝 (f p))) ∧
      (UnifContInP D g → UnifContInP D h → UnifContInP D T →
        ∀ c : ℝ, ContinuousOn f (D ∩ Metric.closedBall 0 c)) := by sorry

end BellmanDP.ExistUnique
Source
Bellman, Dynamic Programming, Princeton University Press (1957; Princeton Landmarks ed. 2010), DOI 10.2307/j.ctv1nxcw0f, Chapter IV, § 3, conditions (1a)-(1e) and Theorem 1, Eqs. (3.2)-(3.3), pp. 119-120
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