Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lasserre's convex Positivstellensatz (Thm 3.3(a)): g−g⋆=σ0+∑jλjθjg-g^\star=\sigma_0+\sum_j\lambda_j\theta_jg−g⋆=σ0​+∑j​λj​θj​ for SOS-convex problems under Slater

Proved
RobustPMI.Hierarchy.lasserre_theorem_3_3

by tianyipeng · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

polynomial-optimizationsos-convexity

Let g,θ1,…,θs∈R[y]g,\theta_1,\dots,\theta_s\in\mathbb R[y]g,θ1​,…,θs​∈R[y], y∈Rℓy\in\mathbb R^\elly∈Rℓ, and Y={y:θ1(y)≥0,…,θs(y)≥0}\mathcal Y=\{y:\theta_1(y)\ge0,\dots,\theta_s(y)\ge0\}Y={y:θ1​(y)≥0,…,θs​(y)≥0}. Assume:

  • ggg and −θ1,…,−θs-\theta_1,\dots,-\theta_s−θ1​,…,−θs​ are SOS-convex, i.e. their Hessians are SOS matrices;
  • Slater's condition holds: some yˉ\bar yyˉ​ has θj(yˉ)>0\theta_j(\bar y)>0θj​(yˉ​)>0 for all jjj;
  • the infimum of ggg over Y\mathcal YY is attained at some y⋆∈Yy^\star\in\mathcal Yy⋆∈Y.

Then there exist an SOS polynomial σ0\sigma_0σ0​ and multipliers λ1,…,λs≥0\lambda_1,\dots,\lambda_s\ge0λ1​,…,λs​≥0 such that

g(y)−g(y⋆)=σ0(y)+∑j=1sλjθj(y).g(y)-g(y^\star)=\sigma_0(y)+\sum_{j=1}^s\lambda_j\theta_j(y).g(y)−g(y⋆)=σ0​(y)+j=1∑s​λj​θj​(y).

This is part (a) of Lasserre's Theorem 3.3, f−f⋆∈Qc(g)f-f^\star\in Q_c(g)f−f⋆∈Qc​(g), with QcQ_cQc​ as in his (3.1). It says that for SOS-convex problems the optimal value is certified at the lowest level, with constant multipliers. Guo–Wang use it as [33, Theorem 3.3] in the proof of Proposition 4.6 (p. 20). There it is applied to the Lagrangian f(y)−LΦ⋆(P(y,x))f(y)-\mathscr L_{\Phi^\star}(P(y,x))f(y)−LΦ⋆​(P(y,x)), which yields the certificate (4.6) f−f⋆−LΦ⋆(P)∈Q⌈ky/2⌉(Θ)f-f^\star-\mathscr L_{\Phi^\star}(P)\in\mathcal Q_{\lceil k_y/2\rceil}(\Theta)f−f⋆−LΦ⋆​(P)∈Q⌈ky​/2⌉​(Θ).

The standard proof takes KKT multipliers λ\lambdaλ, which exist by Slater's condition. The Lagrangian g−g(y⋆)−∑jλjθjg-g(y^\star)-\sum_j\lambda_j\theta_jg−g(y⋆)−∑j​λj​θj​ is then SOS-convex, vanishes at y⋆y^\stary⋆ and has zero gradient there, so it is SOS by Helton–Nie (Lemma 8).

Formalization note. Lasserre's QcQ_cQc​ also asks σ0\sigma_0σ0​ to be convex. This statement keeps only the SOS property, which is what the hierarchy uses.

Preamble
import Mathlib
import Definitions.Def_RobustPMI_Hierarchy_Model
Formal statement
namespace RobustPMI.Hierarchy

open MvPolynomial

/-- Lasserre (2009), Theorem 3.3(a), as cited in Guo–Wang, proof of Proposition 4.6 ([33, Theorem 3.3]):
if `g` and `−θ₁, …, −θ_s` are SOS-convex, Slater's condition holds for `𝒴 = {θ ≥ 0}`, and `g` attains
its infimum over `𝒴` at `y⋆`, then `g − g(y⋆) = σ₀ + ∑ⱼ λⱼ θⱼ` with `σ₀` SOS and `λ ≥ 0`. -/
theorem lasserre_theorem_3_3 {ℓ s : ℕ} (g : MvPolynomial (Fin ℓ) ℝ)
    (θ : Fin s → MvPolynomial (Fin ℓ) ℝ) (hg : IsSOSConvex g) (hθ : ∀ j, IsSOSConvex (-θ j))
    (hslater : ∃ y : Fin ℓ → ℝ, ∀ j, 0 < eval y (θ j))
    (ys : Fin ℓ → ℝ) (hys : ys ∈ Yset θ) (hmin : ∀ y ∈ Yset θ, eval ys g ≤ eval y g) :
    ∃ (σ₀ : MvPolynomial (Fin ℓ) ℝ) (lam : Fin s → ℝ), IsSOSPoly σ₀ ∧ (∀ j, 0 ≤ lam j) ∧
      g - C (eval ys g) = σ₀ + ∑ j, C (lam j) * θ j := by sorry

end RobustPMI.Hierarchy
Source
J. B. Lasserre, Convexity in semialgebraic geometry and polynomial optimization, SIAM J. Optim. 19 (2009) 1995-2014 (arXiv:0806.3784), Theorem 3.3(a) with Q_c(g) from (3.1); cited as [33, Theorem 3.3] in Guo-Wang, arXiv:2304.12628v5, proof of Proposition 4.6, p. 20

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