Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.1 (S-procedure) — the converse for one constraint (p=1p = 1p=1)

Proved
RobustLS.Structured.s_procedure_lossless

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

p2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1quadratic-formss-proceduresemidefinite-programming

Let F0(ζ)=ζTT0ζ+2u0Tζ+v0F_0(\zeta) = \zeta^T T_0\zeta + 2u_0^T\zeta + v_0F0​(ζ)=ζTT0​ζ+2u0T​ζ+v0​ and F1(ζ)=ζTT1ζ+2u1Tζ+v1F_1(\zeta) = \zeta^T T_1\zeta + 2u_1^T\zeta + v_1F1​(ζ)=ζTT1​ζ+2u1T​ζ+v1​ be quadratic functions of ζ∈Rm\zeta \in \mathbb{R}^mζ∈Rm with T0=T0TT_0 = T_0^TT0​=T0T​, T1=T1TT_1 = T_1^TT1​=T1T​, and assume there is some ζ0\zeta_0ζ0​ with F1(ζ0)>0F_1(\zeta_0) > 0F1​(ζ0​)>0. If F0(ζ)≥0F_0(\zeta) \ge 0F0​(ζ)≥0 for every ζ\zetaζ such that F1(ζ)≥0F_1(\zeta) \ge 0F1​(ζ)≥0, then there exists τ1≥0\tau_1 \ge 0τ1​≥0 such that

[T0u0u0Tv0]−τ1[T1u1u1Tv1]⪰0.\begin{bmatrix} T_0 & u_0 \\ u_0^T & v_0 \end{bmatrix} - \tau_1 \begin{bmatrix} T_1 & u_1 \\ u_1^T & v_1 \end{bmatrix} \succeq 0 .[T0​u0T​​u0​v0​​]−τ1​[T1​u1T​​u1​v1​​]⪰0.

This is the lossless direction of the S-procedure: with a single strictly feasible quadratic constraint, the multiplier certificate of the first half of Lemma 2.1 always exists. It is the step that makes the SDP characterization of the structured worst-case residual exact rather than a bound.

Formalization Note Block matrices are indexed by Fin m ⊕ Unit, the ζ\zetaζ block first, as printed. This is the same theorem as the platform's ConvexOptimization.s_procedure after replacing FiF_iFi​ by −Fi-F_i−Fi​ and permuting the block index; that statement is included as a reference item.

Preamble
import Mathlib
import Definitions.Def_RobustLS_Structured_Core

open Matrix
Formal statement
namespace RobustLS.Structured

/-- **Lemma 2.1 (S-procedure), converse for p = 1** — El Ghaoui & Lebret (1997), §2.2,
p. 1038 (PDF p. 4). Let `F₀(ζ) = ζᵀT₀ζ + 2u₀ᵀζ + v₀` and `F₁(ζ) = ζᵀT₁ζ + 2u₁ᵀζ + v₁`, with
`T₀ = T₀ᵀ`, `T₁ = T₁ᵀ`, and suppose some `ζ₀` has `F₁(ζ₀) > 0`. If `F₀(ζ) ≥ 0` for every
`ζ` with `F₁(ζ) ≥ 0`, then there is `τ₁ ≥ 0` with `[T₀ u₀; u₀ᵀ v₀] − τ₁ [T₁ u₁; u₁ᵀ v₁] ⪰ 0`. -/
theorem s_procedure_lossless {m : ℕ} (T0 : Matrix (Fin m) (Fin m) ℝ) (u0 : Fin m → ℝ)
    (v0 : ℝ) (T1 : Matrix (Fin m) (Fin m) ℝ) (u1 : Fin m → ℝ) (v1 : ℝ)
    (hT0 : T0ᵀ = T0) (hT1 : T1ᵀ = T1)
    (hslater : ∃ ζ0 : Fin m → ℝ, 0 < quadFn T1 u1 v1 ζ0)
    (himp : ∀ ζ : Fin m → ℝ, 0 ≤ quadFn T1 u1 v1 ζ → 0 ≤ quadFn T0 u0 v0 ζ) :
    ∃ τ1 : ℝ, 0 ≤ τ1 ∧ (quadBlockMat T0 u0 v0 - τ1 • quadBlockMat T1 u1 v1).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. 1038, §2.2, Lemma 2.1 (last sentence: the converse for p = 1)
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