Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2, p. 13 — D(α)≤P(w∗)≤P(0)≤1D(\alpha)\le P(w^*)\le P(0)\le1D(α)≤P(w∗)≤P(0)≤1 for all α\alphaα, and D(0)≥0D(0)\ge0D(0)≥0

Proved
SDCA.Lipschitz.lemma_2

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

coordinate-ascentdualityp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-optimization

Throughout, x1,…,xn∈Rdx_1,\dots,x_n\in\mathbb R^dx1​,…,xn​∈Rd (n≥1n\ge1n≥1), ϕ1,…,ϕn:R→R\phi_1,\dots,\phi_n:\mathbb R\to\mathbb Rϕ1​,…,ϕn​:R→R are convex, λ>0\lambda>0λ>0, PPP is the primal objective (1), DDD the dual objective (2), ϕi∗\phi_i^*ϕi∗​ the convex conjugate and w(α)=1λn∑iαixiw(\alpha)=\frac1{\lambda n}\sum_i\alpha_ix_iw(α)=λn1​∑i​αi​xi​.

Assume ϕi(a)≥0\phi_i(a)\ge0ϕi​(a)≥0 for all iii and aaa, and ϕi(0)≤1\phi_i(0)\le1ϕi​(0)≤1 for all iii, and let w∗w^*w∗ minimize PPP. Then

D(α)≤P(w∗)≤P(0)≤1for all α∈Rn,andD(0)≥0.D(\alpha)\le P(w^*)\le P(0)\le1\quad\text{for all }\alpha\in\mathbb R^n,\qquad\text{and}\qquad D(0)\ge0 .D(α)≤P(w∗)≤P(0)≤1for all α∈Rn,andD(0)≥0.

The lemma bounds the initial dual sub-optimality of SDCA started at α(0)=0\alpha^{(0)}=0α(0)=0 by 111, which fixes the burn-in length in Theorem 1.

Formalization Note DDD takes values in [−∞,∞)[-\infty,\infty)[−∞,∞) and the inequalities are in EReal. The standing assumption ∥xi∥≤1\|x_i\|\le1∥xi​∥≤1 is not used and not assumed.

Preamble
import Mathlib
import Definitions.Def_SDCA_Lipschitz_Model
Formal statement
namespace SDCA.Lipschitz

/-- Lemma 2, p. 13: if `φᵢ ≥ 0` and `φᵢ(0) ≤ 1` for all `i` and `w*` minimizes `P`, then
for all `α`, `D(α) ≤ P(w*) ≤ P(0) ≤ 1`; in addition, `D(0) ≥ 0`. -/
theorem lemma_2 {d n : ℕ} (φ : Fin n → ℝ → ℝ) (x : Fin n → EuclideanSpace ℝ (Fin d)) (lam : ℝ)
    (hn : 0 < n) (hlam : 0 < lam) (hconv : ∀ i, ConvexOn ℝ Set.univ (φ i))
    (hnonneg : ∀ i a, 0 ≤ φ i a) (hle1 : ∀ i, φ i 0 ≤ 1)
    (wstar : EuclideanSpace ℝ (Fin d)) (hwstar : ∀ w, primal φ x lam wstar ≤ primal φ x lam w) :
    (∀ α : Fin n → ℝ, dual φ x lam α ≤ ((primal φ x lam wstar : ℝ) : EReal)) ∧
      primal φ x lam wstar ≤ primal φ x lam 0 ∧ primal φ x lam 0 ≤ 1 ∧
      0 ≤ dual φ x lam 0 := by sorry

end SDCA.Lipschitz
Source
Shalev-Shwartz and Zhang, Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization, arXiv:1209.1873v2, §7.1, p. 13, Lemma 2
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 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