Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Chapter IV, Theorem 2 — existence and uniqueness for equations of Type Two

Proved
BellmanDP.ExistUnique.type_two_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, let SSS be a nonempty set, and suppose the equation

f(p)=sup⁡q∈S[g(p,q)+h(p,q) f(T(p,q))],p∈D,f(p) = \sup_{q \in S}\big[g(p,q) + h(p,q)\,f(T(p,q))\big], \qquad p \in D,f(p)=q∈Ssup​[g(p,q)+h(p,q)f(T(p,q))],p∈D,

is of Type Two: ggg is bounded on bounded parts of DDD uniformly in qqq; on each bounded part ∣h∣≤a<1|h| \le a < 1∣h∣≤a<1; TTT maps DDD into DDD; and either ∥T(p,q)∥≤∥p∥\|T(p,q)\| \le \|p\|∥T(p,q)∥≤∥p∥ or DDD is bounded. Then:

  1. there is a solution fff on DDD that is bounded in every finite part of DDD, and any two such solutions agree on DDD;
  2. the successive approximations f0(p)=sup⁡qg(p,q)f_0(p) = \sup_q g(p,q)f0​(p)=supq​g(p,q), fn+1(p)=sup⁡q[g(p,q)+h(p,q)fn(T(p,q))]f_{n+1}(p) = \sup_q[g(p,q) + h(p,q) f_n(T(p,q))]fn+1​(p)=supq​[g(p,q)+h(p,q)fn​(T(p,q))] converge to f(p)f(p)f(p) at every p∈Dp \in Dp∈D;
  3. if ggg, hhh and TTT are continuous in ppp on bounded portions of DDD, uniformly for all q∈Sq \in Sq∈S, then fff is continuous on every bounded portion {p∈D:∥p∥≤c}\{p \in D : \|p\| \le c\}{p∈D:∥p∥≤c}.

Type Two is the case in which each stage discounts the future by a factor bounded below one. Theorem 2 is the analogue of Theorem 1 for this case, with the class "bounded in any finite part of DDD" in place of "continuous and zero at θ\thetaθ".

Formalization Note Uniqueness is asserted on DDD only, since values of fff off DDD are irrelevant. The book's "previous statements concerning continuity remain valid" is rendered as item 3, with "continuous in ppp uniformly for all qqq" read as uniform equicontinuity on each bounded portion of DDD (see the definition file).

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, § 4, Theorem 2, p. 121. If
`f(p) = Sup_q [g(p, q) + h(p, q) f(T(p, q))]` is an equation of Type Two, there is a unique
solution on `D` which is bounded in any finite part of `D`; it is the limit of the successive
approximations (4.3) from `f₀(p) = Sup_q g(p, q)`; and it is continuous on every bounded portion
of `D` when `g`, `h`, `T` are continuous in `p` on bounded portions of `D` uniformly in `q`. -/
theorem type_two_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))
    (hType : TypeTwo D g h T) :
    ∃ f : EuclideanSpace ℝ (Fin N) → ℝ,
      (BoundedOnBoundedParts D f ∧ ∀ p ∈ D, SolvesAt g h T f p) ∧
      (∀ F : EuclideanSpace ℝ (Fin N) → ℝ, BoundedOnBoundedParts D F →
        (∀ p ∈ D, 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))) ∧
      (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, § 4, conditions (1a)-(1c), Theorem 2 and Eq. (4.3), p. 121
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