Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.1 (first assertion) — rS(A,b,x)2r_S(\mathbf A,\mathbf b,x)^2rS​(A,b,x)2 is the value of the SDP minimize λ\lambdaλ subject to (29)

Proved
RobustLS.Structured.worst_case_residual_sdp

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

p2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1robust-least-squaressemidefinite-programmingstructured-robust-least-squaresworst-case-residual

Fix the data and x∈Rmx \in \mathbb{R}^mx∈Rm, take ρ=1\rho = 1ρ=1, let FFF, ggg, hhh be as in (27), and assume p≥1p \ge 1p≥1. Then the squared worst-case residual is the optimal value of the semidefinite program in the two scalar variables (λ,τ)(\lambda,\tau)(λ,τ)

minimize λsubject toF(λ,τ)=[λ−τ−h−gT−gτI−F]⪰0,\text{minimize } \lambda \quad \text{subject to} \quad \mathcal F(\lambda,\tau) = \begin{bmatrix} \lambda - \tau - h & -g^T \\ -g & \tau I - F \end{bmatrix} \succeq 0,minimize λsubject toF(λ,τ)=[λ−τ−h−g​−gTτI−F​]⪰0,

and the minimum is attained: every feasible (λ,τ)(\lambda,\tau)(λ,τ) has λ≥rS(A,b,x)2\lambda \ge r_S(\mathbf A,\mathbf b,x)^2λ≥rS​(A,b,x)2, and λ=rS(A,b,x)2\lambda = r_S(\mathbf A,\mathbf b,x)^2λ=rS​(A,b,x)2 is feasible for some τ\tauτ.

The worst-case residual, a maximum of a nonconcave function over a ball, is thereby computed exactly by a convex problem of fixed small size.

Formalization Note Only the first assertion of Theorem 4.1 is formalized; the one-dimensional reformulation (30)–(31) and the description of the worst-case perturbation are not (they rely on the notion "(F,g)(F,g)(F,g)-controllable", which the paper does not define). The hypothesis p≥1p \ge 1p≥1 is not written in the paper but is needed: for p=0p = 0p=0 every λ\lambdaλ is feasible and the minimum does not exist.

Preamble
import Mathlib
import Definitions.Def_RobustLS_Structured_Core

open Matrix
Formal statement
namespace RobustLS.Structured

/-- **Theorem 4.1, first assertion (the two-variable SDP)** — El Ghaoui & Lebret (1997), §4.1,
p. 1045 (PDF p. 11). For every fixed `x`, the squared worst-case residual (for `ρ = 1`)
`r_S(A, b, x)²` is the optimal value of the SDP in two variables "minimize `λ` subject to (29)":
every `λ` for which some `τ` makes `𝓕(λ, τ) ⪰ 0` satisfies `λ ≥ r_S(A, b, x)²`, and
`λ = r_S(A, b, x)²` is feasible (the minimum is attained).
The paper's second and third assertions ((30)–(31) and the worst-case `δ`) are not formalized.
The hypothesis `1 ≤ p` is not written in the paper but is needed: for `p = 0` every `λ` is
feasible for (29). -/
theorem worst_case_residual_sdp {n m p : ℕ} (hp : 1 ≤ p) (A0 : Matrix (Fin n) (Fin m) ℝ)
    (A : Fin p → Matrix (Fin n) (Fin m) ℝ) (b0 : Fin n → ℝ) (b : Fin p → Fin n → ℝ)
    (x : Fin m → ℝ) :
    (∀ lam τ : ℝ, (calF A0 A b0 b x lam τ).PosSemidef → rS A0 A b0 b 1 x ^ 2 ≤ lam) ∧
      ∃ τ : ℝ, (calF A0 A b0 b x (rS A0 A b0 b 1 x ^ 2) τ).PosSemidef := by sorry

end RobustLS.Structured
Source
El Ghaoui & Lebret, Robust Solutions to Least-Squares Problems with Uncertain Data, SIAM J. Matrix Anal. Appl. 18(4):1035–1064 (1997), p. 1045, §4.1, Theorem 4.1 (first assertion)
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