Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.2 — structured robust least squares is solved exactly by the SDP (32)

Proved
RobustLS.Structured.srls_sdp_exact

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-squares

Let A0,…,Ap∈Rn×mA_0,\dots,A_p \in \mathbb{R}^{n\times m}A0​,…,Ap​∈Rn×m, b0,…,bp∈Rnb_0,\dots,b_p \in \mathbb{R}^nb0​,…,bp​∈Rn with p≥1p \ge 1p≥1, take ρ=1\rho = 1ρ=1, and let M(x)=[A1x−b1 ⋯ Apx−bp]M(x) = [A_1x - b_1\ \cdots\ A_px - b_p]M(x)=[A1​x−b1​ ⋯ Ap​x−bp​]. Consider the semidefinite program in (λ,τ,x)(\lambda,\tau,x)(λ,τ,x)

minimize λsubject to[λ−τ0(A0x−b0)T0τIM(x)TA0x−b0M(x)I]⪰0.(32)\text{minimize } \lambda \quad\text{subject to}\quad \begin{bmatrix} \lambda - \tau & 0 & (A_0x - b_0)^T \\ 0 & \tau I & M(x)^T \\ A_0x - b_0 & M(x) & I \end{bmatrix} \succeq 0. \tag{32}minimize λsubject to​λ−τ0A0​x−b0​​0τIM(x)​(A0​x−b0​)TM(x)TI​​⪰0.(32)

Then:

  1. for every x∈Rmx \in \mathbb{R}^mx∈Rm and λ∈R\lambda \in \mathbb{R}λ∈R, some τ\tauτ makes (λ,τ,x)(\lambda,\tau,x)(λ,τ,x) feasible for (32) if and only if rS(A,b,x)2≤λr_S(\mathbf A,\mathbf b,x)^2 \le \lambdarS​(A,b,x)2≤λ;
  2. (λ,τ,x)(\lambda,\tau,x)(λ,τ,x) is an optimal solution of (32) if and only if xxx is an SRLS solution (it minimizes rS(A,b,⋅)r_S(\mathbf A,\mathbf b,\cdot)rS​(A,b,⋅) over Rm\mathbb{R}^mRm), λ=rS(A,b,x)2\lambda = r_S(\mathbf A,\mathbf b,x)^2λ=rS​(A,b,x)2, and (λ,τ,x)(\lambda,\tau,x)(λ,τ,x) is feasible for (32).

This makes precise the paper's statement that "the Euclidean-norm SRLS can be solved by computing an optimal solution (λ,τ,x)(\lambda,\tau,x)(λ,τ,x) of the SDP (32)": the xxx-component of any optimal solution is an SRLS solution and the optimal value is the squared optimal worst-case residual, and conversely. A min–max problem over an ellipsoidal family of affinely perturbed systems thus reduces to one convex semidefinite program, solvable in polynomial time.

Formalization Note λ\lambdaλ in (32) is the squared residual. Optimality means feasibility plus λ≤λ′\lambda \le \lambda'λ≤λ′ for every feasible (λ′,τ′,x′)(\lambda',\tau',x')(λ′,τ′,x′). The paper does not state p≥1p \ge 1p≥1, but needs it: for p=0p = 0p=0 the τI\tau IτI block is empty, τ\tauτ is unconstrained and every λ\lambdaλ is feasible, so (32) has no optimal solution. The existence of an optimal solution is not asserted (the paper does not assert it).

Preamble
import Mathlib
import Definitions.Def_RobustLS_Structured_Core

open Matrix
Formal statement
namespace RobustLS.Structured

/-- **Theorem 4.2** — El Ghaoui & Lebret (1997), §4.2, p. 1045 (PDF p. 11). When `ρ = 1`, the
Euclidean-norm SRLS can be solved by computing an optimal solution `(λ, τ, x)` of the SDP (32)
"minimize `λ` subject to `[λ − τ, 0, (A₀x − b₀)ᵀ; 0, τI, M(x)ᵀ; A₀x − b₀, M(x), I] ⪰ 0`".
Made precise as:
(a) for every `x` and `λ`, some `τ` makes `(λ, τ, x)` feasible for (32) iff `r_S(A, b, x)² ≤ λ`;
(b) `(λ, τ, x)` is an optimal solution of (32) iff `x` is an SRLS solution (minimizes
`r_S(A, b, ·)` over `ℝ^m`), `λ = r_S(A, b, x)²` and `(λ, τ, x)` is feasible for (32).
The hypothesis `1 ≤ p` is not written in the paper but is needed: for `p = 0` the `τI` block is
empty and every `λ` is feasible for (32) (take `τ` very negative). -/
theorem srls_sdp_exact {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 : ℝ),
        (∃ τ : ℝ, SDP32Feasible A0 A b0 b lam τ x) ↔ rS A0 A b0 b 1 x ^ 2 ≤ lam) ∧
      ∀ (lam τ : ℝ) (x : Fin m → ℝ),
        SDP32Optimal A0 A b0 b lam τ x ↔
          IsSRLSSolution A0 A b0 b 1 x ∧ lam = rS A0 A b0 b 1 x ^ 2 ∧
            SDP32Feasible A0 A b0 b lam τ x := 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.2, Theorem 4.2, Eq. (32)
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