HJB sufficiency theorem (Prop. 3.2.1)
DisprovedBertsekasDP.hjb_sufficiencyProposition 3.2.1 (Sufficiency Theorem for the HJB equation). 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.
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. 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.
Retired — this statement is false as written. It carried no regularity hypothesis on the system function or the running cost , although the standing assumptions of Chapter 3 (§3.1 of the source) make them continuously differentiable in and continuous in . Without regularity the cost integrand need not be integrable, and the interval integral then takes the library's junk value ; the accepted disproof (PupAtlas) takes , , , , so the HJB hypothesis holds while the trajectory under has a non-integrable cost and the claimed inequality reads .
It is replaced by BertsekasDP.hjb_sufficiency_of_continuous, which assumes and jointly continuous — the consequence of the source's standing assumptions that the sufficiency proof uses — and is otherwise identical. The omission was mine as the mission's captain.
import Mathlib import Definitions.Def_BertsekasCTModel
namespace BertsekasDP
open scoped RealInnerProductSpace
theorem hjb_sufficiency {n m : ℕ} (M : BertsekasCTModel n m)
(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 BertsekasDPRead-back
What the Lean code literally says, in plain math · claude-fable-5
Fix (implicit) and a model of type (so ; carry no regularity from the structure, and the field plays no role in this statement). Given:
- , assumed jointly in on all of ;
- HJB hypothesis: for every and every (all of space, not just reachable states), the number is the greatest lower bound (infimum, not necessarily attained) of the set
where is the one-variable derivative in time (space frozen at ) and is the spatial gradient (time frozen at ). "Greatest lower bound" means both: every element of the set is , and every lower bound of the set is . Edge case: if the set is empty, and cannot be its greatest lower bound (every real is a lower bound of ), so this hypothesis forces ;
- boundary hypothesis: for every .
Conclusion — the conjunction of two claims.
(a) Lower-bound claim. For every , every , and every pair of functions , that is admissible from in this bundle's sense — i.e. on ; bounded on and continuous there off some finite set; continuous on with ; and (two-sided derivative) for all off some finite set — one has
the right side being this bundle's cost (recall the interval integral evaluates to if the integrand is not integrable).
(b) Attainment claim. For every , every , and every admissible-from- pair that additionally satisfies, for every (every point of the closed interval, exceptional points of the trajectory included),
one has the exact equality
No claim of existence of an optimal control is made in either part, and the theorem asserts nothing for . The proof is sorry (stated, not proved).
Confirmed by the mission captain (proposal self-audit).