HJB sufficiency theorem (Prop. 3.2.1), with continuous and
ProvedBertsekasDP.hjb_sufficiency_of_continuousProposition 3.2.1 (Sufficiency Theorem for the HJB equation). Consider the continuous-time problem of minimizing subject to and , with the system function and the running cost continuous. Suppose is continuously differentiable and solves the Hamilton–Jacobi–Bellman equation: for every and every state ,
with the boundary condition . Then:
- is a lower bound on the cost-to-go. For every start with and every admissible control/state pair on with ,
- A trajectory attaining the minimum is optimal. If an admissible pair from satisfies the HJB expression with equality at every time — that is, attains the minimum above along — then its cost equals exactly.
Together the two parts say that a classical solution of the HJB equation is the optimal cost-to-go function and that greedy minimization against it yields an optimal control. This is the verification direction of dynamic programming in continuous time: hard to apply when is unknown, decisive when a candidate can be guessed, as for the linear-quadratic problem.
On the regularity hypotheses. The source's standing assumptions for Chapter 3 (§3.1) are that and are continuously differentiable in and continuous in . The proof of the sufficiency theorem uses only one consequence of this: that the running cost and the velocity are integrable along every admissible trajectory, so that the differential inequality can be integrated. Joint continuity of and delivers exactly that (a continuous function of a continuous state and a bounded, piecewise continuous control is bounded and continuous off finitely many times), so it is the hypothesis assumed here. It supersedes an earlier statement of this proposition on the platform that carried no regularity hypothesis at all and was disproved: with a discontinuous the cost integrand need not be integrable, and the integral then takes the library's junk value .
Formalization Note The HJB condition is stated as " is the greatest lower bound" of the bracketed set over , so the minimum need not be attained; if is empty the hypothesis is unsatisfiable and the theorem is vacuous. Admissible controls take values in on , have bounded image there, and are continuous off a finite set; state trajectories are continuous and satisfy the system equation off a finite set. Under these hypotheses the cost integral is a genuine integral, never the junk value. The statement is about a given : it does not assert that such a exists, nor that an optimal control exists. Part 2 requires the equality at every time of the interval, with no exceptional set.
import Mathlib import Definitions.Def_BertsekasCTModel
namespace BertsekasDP
open scoped RealInnerProductSpace
theorem hjb_sufficiency_of_continuous {n m : ℕ} (M : BertsekasCTModel n m)
(hf : Continuous (Function.uncurry M.f))
(hg : Continuous (Function.uncurry M.g))
(V : ℝ → EuclideanSpace ℝ (Fin n) → ℝ)
(hV : ContDiff ℝ 1 (Function.uncurry V))
(hHJB : ∀ t ∈ Set.Icc 0 M.T, ∀ x : EuclideanSpace ℝ (Fin n),
IsGLB ((fun u => M.g x u + deriv (fun s => V s x) t +
⟪gradient (V t) x, M.f x u⟫) '' M.U) 0)
(hbdry : ∀ x, V M.T x = M.h x) :
(∀ t₀ ∈ Set.Icc 0 M.T, ∀ ξ u x,
BertsekasCTAdmissibleFrom M t₀ ξ u x →
V t₀ ξ ≤ BertsekasCTCostFrom M t₀ u x) ∧
(∀ t₀ ∈ Set.Icc 0 M.T, ∀ ξ ustar xstar,
BertsekasCTAdmissibleFrom M t₀ ξ ustar xstar →
(∀ t ∈ Set.Icc t₀ M.T,
M.g (xstar t) (ustar t) + deriv (fun s => V s (xstar t)) t +
⟪gradient (V t) (xstar t), M.f (xstar t) (ustar t)⟫ = 0) →
BertsekasCTCostFrom M t₀ ustar xstar = V t₀ ξ) := by sorry
end BertsekasDP