Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 9 β€” Q(x)U = 0 = Q(x)W for x ∈ G, U ∈ 𝒰ₖ, W ∈ 𝒲ₖ

Proved
ExactSDPDuality.ELSD.lemma9

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

dualityp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1semidefinite-programming

Let Q0,Q1,…,QmQ_0, Q_1,\dots,Q_mQ0​,Q1​,…,Qm​ be real symmetric nΓ—nn\times nnΓ—n matrices, Q(x)=Q0βˆ’βˆ‘ixiQiQ(x) = Q_0 - \sum_i x_i Q_iQ(x)=Q0β€‹βˆ’βˆ‘i​xi​Qi​, G={x∈Rm∣Q(x)βͺ°0}G = \{x\in\mathbb R^m\mid Q(x)\succeq 0\}G={x∈Rm∣Q(x)βͺ°0}, and let Uk,Wk\mathcal U_k, \mathcal W_kUk​,Wk​ be the sets of the Extended Lagrange–Slater Dual. Let k≀mk\le mk≀m. For every x∈Gx\in Gx∈G, U∈UkU\in\mathcal U_kU∈Uk​ and W∈WkW\in\mathcal W_kW∈Wk​,

Q(x)U=0,Q(x)W=0,Q(x)U = 0,\qquad Q(x)W = 0,Q(x)U=0,Q(x)W=0,

and hence Q(x)βˆ™U=0=Q(x)βˆ™WQ(x)\bullet U = 0 = Q(x)\bullet WQ(x)βˆ™U=0=Q(x)βˆ™W. In particular, if 0∈G0\in G0∈G then Q0βˆ™U=0=Q0βˆ™WQ_0\bullet U = 0 = Q_0\bullet WQ0β€‹βˆ™U=0=Q0β€‹βˆ™W.

The products are matrix products. The lemma says that the matrices generated by the dual's recursive constraints annihilate every feasible slack matrix; it is the key to weak duality and to Lemma 10(iv).

Formalization Note U0=W0={0}\mathcal U_0 = \mathcal W_0 = \{0\}U0​=W0​={0} by the convention of the definition file, so the case k=0k = 0k=0 is trivial.

Preamble
import Mathlib
import Definitions.Def_ExactSDPDuality_ELSD_Model

open Matrix
Formal statement
namespace ExactSDPDuality.ELSD

/-- Lemma 9 (Ramana 1997, p. 140): for `k ≀ m`, `x ∈ G`, `U ∈ 𝒰ₖ` and `W ∈ 𝒲ₖ`,
`Q(x)U = 0` and `Q(x)W = 0`, hence `Q(x) β€’ U = 0 = Q(x) β€’ W`; in particular, if `0 ∈ G`
then `Qβ‚€ β€’ U = 0 = Qβ‚€ β€’ W`. -/
theorem lemma9 {n m : β„•} (Q0 : Matrix (Fin n) (Fin n) ℝ)
    (Q : Fin m β†’ Matrix (Fin n) (Fin n) ℝ)
    (hQ0 : Q0.IsSymm) (hQ : βˆ€ i, (Q i).IsSymm) (k : β„•) (hk : k ≀ m) :
    (βˆ€ x ∈ feasibleSet Q0 Q, βˆ€ U ∈ Uset Q0 Q k, βˆ€ W ∈ Wset Q0 Q k,
        Qaff Q0 Q x * U = 0 ∧ Qaff Q0 Q x * W = 0 ∧
          frob (Qaff Q0 Q x) U = 0 ∧ frob (Qaff Q0 Q x) W = 0) ∧
      ((0 : Fin m β†’ ℝ) ∈ feasibleSet Q0 Q β†’
        βˆ€ U ∈ Uset Q0 Q k, βˆ€ W ∈ Wset Q0 Q k, frob Q0 U = 0 ∧ frob Q0 W = 0) := by sorry

end ExactSDPDuality.ELSD
Source
Ramana, An exact duality theory for semidefinite programming and its complexity implications, Math. Program. 77 (1997), p. 140, Lemma 9
Read-back

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

Setting. Let n,m∈Nn,m\in\mathbb Nn,m∈N. Let Q0,Q1,…,QmQ_0,Q_1,\dots,Q_mQ0​,Q1​,…,Qm​ be real nΓ—nn\times nnΓ—n matrices, each assumed symmetric. Let k∈Nk\in\mathbb Nk∈N with k≀mk\le mk≀m. Notation:

  • Aβˆ™B=βˆ‘i,jAijBijA\bullet B=\sum_{i,j}A_{ij}B_{ij}Aβˆ™B=βˆ‘i,j​Aij​Bij​;
  • Q(x)=Q0βˆ’βˆ‘i=1mxiQiQ(x)=Q_0-\sum_{i=1}^m x_iQ_iQ(x)=Q0β€‹βˆ’βˆ‘i=1m​xi​Qi​ for x∈Rmx\in\mathbb R^mx∈Rm;
  • Mβͺ°0M\succeq 0Mβͺ°0 means MMM is symmetric with v⊀Mvβ‰₯0v^\top Mv\ge0v⊀Mvβ‰₯0 for all vvv;
  • G={x∈Rm:Q(x)βͺ°0}G=\{x\in\mathbb R^m: Q(x)\succeq 0\}G={x∈Rm:Q(x)βͺ°0};
  • Qβˆ—(X)=(Xβˆ™Q1,…,Xβˆ™Qm)Q^*(X)=(X\bullet Q_1,\dots,X\bullet Q_m)Qβˆ—(X)=(Xβˆ™Q1​,…,Xβˆ™Qm​).

The sets Uk\mathcal U_kUk​ and Wk\mathcal W_kWk​. Uk\mathcal U_kUk​ is the set of all UkU_kUk​, and Wk\mathcal W_kWk​ the set of all WkW_kWk​, over pairs of sequences (Ui)iβ‰₯0,(Wi)iβ‰₯0(U_i)_{i\ge0},(W_i)_{i\ge0}(Ui​)iβ‰₯0​,(Wi​)iβ‰₯0​ of real nΓ—nn\times nnΓ—n matrices such that U0=W0=0U_0=W_0=0U0​=W0​=0 and, for each 1≀i≀k1\le i\le k1≀i≀k,

Q0βˆ™(Ui+Wiβˆ’1)=0,Qβˆ—(Ui+Wiβˆ’1)=0,Uiβˆ’WiWi⊀βͺ°0.Q_0\bullet(U_i+W_{i-1})=0,\qquad Q^*(U_i+W_{i-1})=0,\qquad U_i-W_iW_i^\top\succeq0 .Q0β€‹βˆ™(Ui​+Wiβˆ’1​)=0,Qβˆ—(Ui​+Wiβˆ’1​)=0,Uiβ€‹βˆ’Wi​WiβŠ€β€‹βͺ°0.

The statement. It asserts two things.

  1. For every x∈Gx\in Gx∈G, every U∈UkU\in\mathcal U_kU∈Uk​ and every W∈WkW\in\mathcal W_kW∈Wk​:
Q(x)U=0,Q(x)W=0,Q(x)βˆ™U=0,Q(x)βˆ™W=0.Q(x)U=0,\quad Q(x)W=0,\quad Q(x)\bullet U=0,\quad Q(x)\bullet W=0.Q(x)U=0,Q(x)W=0,Q(x)βˆ™U=0,Q(x)βˆ™W=0.
  1. If 0∈G0\in G0∈G (equivalently Q0βͺ°0Q_0\succeq0Q0​βͺ°0, since Q(0)=Q0Q(0)=Q_0Q(0)=Q0​), then for every U∈UkU\in\mathcal U_kU∈Uk​ and every W∈WkW\in\mathcal W_kW∈Wk​: Q0βˆ™U=0Q_0\bullet U=0Q0β€‹βˆ™U=0 and Q0βˆ™W=0Q_0\bullet W=0Q0β€‹βˆ™W=0.

Degenerate cases.

  • For k=0k=0k=0, U0=W0={0}\mathcal U_0=\mathcal W_0=\{0\}U0​=W0​={0} and both parts are trivial. When m=0m=0m=0 the constraint k≀mk\le mk≀m forces k=0k=0k=0.
  • If G=βˆ…G=\varnothingG=βˆ…, part 1 is vacuous. If Q0βͺ°ΜΈ0Q_0\not\succeq0Q0​βͺ°0, part 2 is vacuous.
  • For n=0n=0n=0 everything holds trivially.
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