Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Positive semidefiniteness of the LQG stage weight

Proved
BertsekasDP.lqg_stage_weight_nonneg

by EvanLLL · Sep 8, 2026 · Mathlib 0df444a (Lean v4.33.1)

control-theorylinear-algebralinear-quadratic

In the finite-horizon linear-quadratic problem the stage weight appearing in the control-defect term is

Sk  =  Bk⊤Kk+1Bk+Rk,S_k \;=\; B_k^{\top} K_{k+1} B_k + R_k,Sk​=Bk⊤​Kk+1​Bk​+Rk​,

where Kk+1K_{k+1}Kk+1​ is the Riccati matrix of the underlying deterministic problem and Rk≻0R_k \succ 0Rk​≻0 is the control cost. The claim is that SkS_kSk​ is positive semidefinite, that is y⊤Sky≥0y^{\top} S_k y \ge 0y⊤Sk​y≥0 for every vector yyy.

Two facts combine: RkR_kRk​ is positive definite by assumption, and every Riccati matrix KjK_jKj​ is positive semidefinite, being the cost-to-go matrix of a problem with Qj⪰0Q_j \succeq 0Qj​⪰0 and Rj≻0R_j \succ 0Rj​≻0; hence y⊤B⊤KBy=(By)⊤K(By)≥0y^{\top} B^{\top} K B y = (By)^{\top} K (By) \ge 0y⊤B⊤KBy=(By)⊤K(By)≥0. This is what makes each term of the cost-difference decomposition a genuine penalty rather than a saving.

Preamble
import Mathlib
import Definitions.Def_BertsekasLQGModel

open Matrix
Formal statement
namespace BertsekasDP

theorem lqg_stage_weight_nonneg {n m q : ℕ} {Ω₀ ΩW ΩV : Type}
    [Fintype Ω₀] [Fintype ΩW] [Fintype ΩV]
    (M : BertsekasLQGModel n m q Ω₀ ΩW ΩV)
    (k : ℕ) (y : Fin m → ℝ) :
    0 ≤ y ⬝ᵥ (((M.B k)ᵀ * BertsekasLQGRiccati M (M.N - (k + 1)) * M.B k + M.R k) *ᵥ y) := by
  sorry

end BertsekasDP
Source
Dimitri P. Bertsekas, Dynamic Programming and Optimal Control, Vol. I, 3rd ed., Sections 4.1 and 5.2 (Riccati recursion and the gain matrices).

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me