Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix A — the Hessian of the Lagrangian of (16) is positive definite

Proved
RobustSDP.Uniqueness.hessian_lagrangian_posDef

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

p2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1robust-optimizationsecond-order-conditions

Assume hypothesis H3(a). Let x∈Rmx \in \mathbb{R}^mx∈Rm, τ>0\tau > 0τ>0, c∈Rmc \in \mathbb{R}^mc∈Rm and Z∈Rn×nZ \in \mathbb{R}^{n\times n}Z∈Rn×n with Z⪰0Z \succeq 0Z⪰0 and

Tr⁡R(x)TR(x)Z>0.\operatorname{Tr} R(x)^T R(x) Z > 0 .TrR(x)TR(x)Z>0.

Consider the Lagrangian of (16) with dual variable Y=diag(Z,0)Y = \mathrm{diag}(Z, 0)Y=diag(Z,0),

L(y)=cTx′−Tr⁡Z G(y),y=(x′,τ′)∈Rm×R,G(y)=F(x′)−τ′LLT−1τ′R(x′)TR(x′).\mathcal{L}(y) = c^T x' - \operatorname{Tr} Z\, G(y), \qquad y = (x', \tau') \in \mathbb{R}^m \times \mathbb{R},\quad G(y) = F(x') - \tau' LL^T - \tfrac{1}{\tau'} R(x')^T R(x') .L(y)=cTx′−TrZG(y),y=(x′,τ′)∈Rm×R,G(y)=F(x′)−τ′LLT−τ′1​R(x′)TR(x′).

Then its Hessian at (x,τ)(x,\tau)(x,τ) is positive definite:

∇yy2L(x,τ)[h,h]>0for every h∈Rm+1, h≠0.\nabla^2_{yy}\mathcal{L}(x,\tau)[h,h] > 0 \qquad \text{for every } h \in \mathbb{R}^{m+1},\ h \neq 0 .∇yy2​L(x,τ)[h,h]>0for every h∈Rm+1, h=0.

At an optimal point with the dual matrix of Appendix A this is the curvature condition (17) of Theorem 4.1, from which the paper derives the quadratic growth condition.

Formalization Note The Hessian is Mathlib's second Fréchet derivative iteratedFDeriv ℝ 2 evaluated on (h,h)(h, h)(h,h); the map is smooth near (x,τ)(x,\tau)(x,τ) because τ>0\tau > 0τ>0. The statement is made at every such (x,τ)(x,\tau)(x,τ), not only at the optimum, since the paper's argument uses only these hypotheses. The multiplier μ\muμ of the scalar constraint τ−.99τopt≥0\tau - .99\tau_{\mathrm{opt}} \ge 0τ−.99τopt​≥0 is 000 at the optimum and contributes an affine term, so it is omitted. The paper's intermediate display for −Φ(ξ,λ)-\Phi(\xi,\lambda)−Φ(ξ,λ) has a factor slip in the cross term; the conclusion stated here does not depend on it.

Preamble
import Mathlib
import Definitions.Def_RobustSDP_Uniqueness_Model
import Definitions.Def_RobustSDP_Uniqueness_Hypotheses

open Matrix
Formal statement
namespace RobustSDP.Uniqueness

/-- Appendix A, pp. 49–50: if `τ > 0`, `Z ⪰ 0`, `Tr R(x)ᵀR(x)Z > 0` and H3(a) holds, then the Hessian
at `y = (x, τ)` of the Lagrangian `ℒ(y) = cᵀx − Tr Z G(y)` of (16) (dual variable `Y = diag(Z, 0)`)
is positive definite. -/
theorem hessian_lagrangian_posDef {m n p q : ℕ} (D : SDPData m n p q) (h3a : D.H3a)
    (c : Fin m → ℝ) (Z : Matrix (Fin n) (Fin n) ℝ) (hZ : Z.PosSemidef)
    (x : Fin m → ℝ) (τ : ℝ) (hτ : 0 < τ) (htr : 0 < ((D.R x)ᵀ * D.R x * Z).trace) :
    ∀ h : (Fin m → ℝ) × ℝ, h ≠ 0 →
      0 < iteratedFDeriv ℝ 2
        (fun y : (Fin m → ℝ) × ℝ => c ⬝ᵥ y.1 - (Z * D.G y).trace) (x, τ) ![h, h] := by sorry

end RobustSDP.Uniqueness
Source
El Ghaoui, Oustry and Lebret, Robust Solutions to Uncertain Semidefinite Programs, SIAM J. Optim. 9(1) (1998), pp. 49–50, Appendix A, last paragraph; p. 39, §4.2, definition of ℒ
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Take any natural numbers m,n,p,qm,n,p,qm,n,p,q, any datum DDD of real matrices F0,FiF_0,F_iF0​,Fi​ (n×nn\times nn×n), LLL (n×pn\times pn×p), R0,RiR_0,R_iR0​,Ri​ (q×nq\times nq×n) with no symmetry assumed, and a vector c∈Rmc\in\mathbb R^mc∈Rm. Write F(x)=F0+∑ixiFiF(x)=F_0+\sum_ix_iF_iF(x)=F0​+∑i​xi​Fi​ and R(x)=R0+∑ixiRiR(x)=R_0+\sum_ix_iR_iR(x)=R0​+∑i​xi​Ri​.

Hypotheses.

  • H3a: there is a proper subspace N⊊RnN\subsetneq\mathbb R^nN⊊Rn with ker⁡(λR0+∑ixiRi)=N\ker(\lambda R_0+\sum_ix_iR_i)=Nker(λR0​+∑i​xi​Ri​)=N for all (λ,x)≠(0,0)(\lambda,x)\ne(0,0)(λ,x)=(0,0).
  • ZZZ is a real n×nn\times nn×n symmetric positive semidefinite matrix. Z≠0Z\ne0Z=0 is not assumed separately.
  • x∈Rmx\in\mathbb R^mx∈Rm, and τ>0\tau>0τ>0 (strictly).
  • tr⁡(R(x)⊤R(x)Z)>0\operatorname{tr}(R(x)^\top R(x)Z)>0tr(R(x)⊤R(x)Z)>0 (strictly).

The function. Define L:Rm×R→R\mathcal L:\mathbb R^m\times\mathbb R\to\mathbb RL:Rm×R→R by

L(x′,τ′)=c⊤x′−tr⁡(Z G(x′,τ′)),G(x′,τ′)=F(x′)−τ′LL⊤−(τ′)−1R(x′)⊤R(x′),\mathcal L(x',\tau')=c^\top x'-\operatorname{tr}\big(Z\,G(x',\tau')\big),\qquad G(x',\tau')=F(x')-\tau'LL^\top-(\tau')^{-1}R(x')^\top R(x'),L(x′,τ′)=c⊤x′−tr(ZG(x′,τ′)),G(x′,τ′)=F(x′)−τ′LL⊤−(τ′)−1R(x′)⊤R(x′),

where (τ′)−1(\tau')^{-1}(τ′)−1 is taken to be 000 at τ′=0\tau'=0τ′=0.

Claim. For every nonzero direction h=(hx,hτ)∈Rm×Rh=(h_x,h_\tau)\in\mathbb R^m\times\mathbb Rh=(hx​,hτ​)∈Rm×R, the second Fréchet derivative of L\mathcal LL at (x,τ)(x,\tau)(x,τ), evaluated at the pair (h,h)(h,h)(h,h), is strictly positive:

D2L(x,τ)[h,h]>0.D^2\mathcal L(x,\tau)[h,h]>0.D2L(x,τ)[h,h]>0.

The term c⊤x′c^\top x'c⊤x′ is linear in (x′,τ′)(x',\tau')(x′,τ′).

Degenerate cases.

  • The point τ′=0\tau'=0τ′=0: only there does the convention (τ′)−1=0(\tau')^{-1}=0(τ′)−1=0 make L\mathcal LL non-smooth. Since τ>0\tau>0τ>0, L\mathcal LL is smooth on an open neighbourhood of (x,τ)(x,\tau)(x,τ), so the second derivative used here is the ordinary Hessian quadratic form, not a default value.
  • If n=0n=0n=0 or q=0q=0q=0, H3a cannot hold, and tr⁡(R(x)⊤R(x)Z)>0\operatorname{tr}(R(x)^\top R(x)Z)>0tr(R(x)⊤R(x)Z)>0 is also impossible. The statement is then vacuous.
  • If m=0m=0m=0, directions are h=( ⋅ ,hτ)h=(\,\cdot\,,h_\tau)h=(⋅,hτ​) with hτ≠0h_\tau\ne0hτ​=0.
  • If p=0p=0p=0, the LL⊤LL^\topLL⊤ term vanishes.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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