Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 13 — if 0 ∈ G then G° = Cl(G*)

Proved
ExactSDPDuality.ELSD.lemma13

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

convex-analysisp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1semidefinite-programming

Let Q0,…,QmQ_0,\dots,Q_mQ0​,…,Qm​ be real symmetric n×nn\times nn×n matrices and G={x∈Rm∣Q(x)⪰0}G = \{x\in\mathbb R^m\mid Q(x)\succeq 0\}G={x∈Rm∣Q(x)⪰0}. Let G∘={y∣xTy≤1 ∀x∈G}G^\circ = \{y\mid x^{\mathsf T}y\le 1\ \forall x\in G\}G∘={y∣xTy≤1 ∀x∈G} be the polar of GGG and G∗={Q∗(U)∣U∙Q0≤1, U⪰0}G^* = \{Q^*(U)\mid U\bullet Q_0\le 1,\ U\succeq 0\}G∗={Q∗(U)∣U∙Q0​≤1, U⪰0} its algebraic polar. If 0∈G0\in G0∈G, then

G∘=Cl(G∗),G^\circ = \mathrm{Cl}(G^*),G∘=Cl(G∗),

the closure in Rm\mathbb R^mRm.

The algebraic polar is thus a description of the polar up to closure; the gap between G∗G^*G∗ and its closure is what the sets Wk\mathcal W_kWk​ repair.

Preamble
import Mathlib
import Definitions.Def_ExactSDPDuality_ELSD_Model

open Matrix
Formal statement
namespace ExactSDPDuality.ELSD

/-- Lemma 13 (Ramana 1997, p. 143): if `0 ∈ G`, then `G° = Cl(G*)`. -/
theorem lemma13 {n m : ℕ} (Q0 : Matrix (Fin n) (Fin n) ℝ)
    (Q : Fin m → Matrix (Fin n) (Fin n) ℝ)
    (hQ0 : Q0.IsSymm) (hQ : ∀ i, (Q i).IsSymm)
    (h0 : (0 : Fin m → ℝ) ∈ feasibleSet Q0 Q) :
    polar (feasibleSet Q0 Q) = closure (algPolar Q0 Q) := by sorry

end ExactSDPDuality.ELSD
Source
Ramana, An exact duality theory for semidefinite programming and its complexity implications, Math. Program. 77 (1997), p. 143, Lemma 13
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. Notation:

  • A∙B=∑i,jAijBijA\bullet B=\sum_{i,j}A_{ij}B_{ij}A∙B=∑i,j​Aij​Bij​;
  • Q(x)=Q0−∑ixiQiQ(x)=Q_0-\sum_ix_iQ_iQ(x)=Q0​−∑i​xi​Qi​;
  • M⪰0M\succeq0M⪰0 means 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)\succeq0\}G={x∈Rm:Q(x)⪰0};
  • Q∗(U)=(U∙Q1,…,U∙Qm)Q^*(U)=(U\bullet Q_1,\dots,U\bullet Q_m)Q∗(U)=(U∙Q1​,…,U∙Qm​).

The statement. Assume 0∈G0\in G0∈G, i.e. Q0⪰0Q_0\succeq0Q0​⪰0. Then

G∘=G∗‾,G^\circ=\overline{G^*},G∘=G∗,

where:

  • G∘={y∈Rm:x⊤y≤1 ∀x∈G}G^\circ=\{y\in\mathbb R^m: x^\top y\le1\ \forall x\in G\}G∘={y∈Rm:x⊤y≤1 ∀x∈G};
  • G∗={Q∗(U):U⪰0, U∙Q0≤1}G^*=\{Q^*(U): U\succeq0,\ U\bullet Q_0\le1\}G∗={Q∗(U):U⪰0, U∙Q0​≤1};
  • the bar is topological closure in Rm\mathbb R^mRm with its usual topology.

Degenerate cases. For m=0m=0m=0 both sides are the one-point space. For n=0n=0n=0, G=RmG=\mathbb R^mG=Rm and both sides are {0}\{0\}{0}.

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