Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2 — D(α)≤P(w∗)≤P(0)≤1D(\alpha)\le P(w^*)\le P(0)\le 1D(α)≤P(w∗)≤P(0)≤1 and D(0)≥0D(0)\ge0D(0)≥0

Proved
SDCA.Smooth.lemma_2

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

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

Let x1,…,xn∈Rdx_1,\dots,x_n\in\mathbb R^dx1​,…,xn​∈Rd with n≥1n\ge1n≥1, convex losses φ1,…,φn\varphi_1,\dots,\varphi_nφ1​,…,φn​ satisfying the standing assumptions φi(a)≥0\varphi_i(a)\ge0φi​(a)≥0 for all i,ai,ai,a and φi(0)≤1\varphi_i(0)\le1φi​(0)≤1 for all iii, and λ>0\lambda>0λ>0. Let w∗w^*w∗ minimize the primal objective PPP. Then for every α∈Rn\alpha\in\mathbb R^nα∈Rn

D(α) ≤ P(w∗) ≤ P(0) ≤ 1,D(\alpha)\ \le\ P(w^*)\ \le\ P(0)\ \le\ 1,D(α) ≤ P(w∗) ≤ P(0) ≤ 1,

and in addition D(0)≥0D(0)\ge0D(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 constant inside the logarithm of the iteration bounds.

Formalization Note D(α)D(\alpha)D(α) is EReal-valued and is compared with the coerced real P(w∗)P(w^*)P(w∗). The standing assumption ∥xi∥≤1\|x_i\|\le1∥xi​∥≤1 is not needed and not assumed.

Preamble
import Mathlib
import Definitions.Def_SDCA_Smooth_Model
Formal statement
namespace SDCA.Smooth

/-- Lemma 2, p. 13 (Shalev-Shwartz–Zhang, arXiv:1209.1873v2): under the standing assumptions
`φᵢ ≥ 0` and `φᵢ(0) ≤ 1` (p. 5), with `w*` a minimizer of `P`, for every `α`
`D(α) ≤ P(w*) ≤ P(0) ≤ 1`, and moreover `D(0) ≥ 0`. -/
theorem lemma_2 {d n : ℕ} (hn : 0 < n) (x : Fin n → EuclideanSpace ℝ (Fin d))
    (φ : Fin n → ℝ → ℝ) (hconv : ∀ i, ConvexOn ℝ Set.univ (φ i))
    (lam : ℝ) (hlam : 0 < lam)
    (hφnn : ∀ i a, 0 ≤ φ i a) (hφ0 : ∀ i, φ i 0 ≤ 1)
    (wstar : EuclideanSpace ℝ (Fin d)) (hwstar : ∀ w, primal lam x φ wstar ≤ primal lam x φ w) :
    (∀ α : Fin n → ℝ, dual lam x φ α ≤ ((primal lam x φ wstar : ℝ) : EReal)) ∧
    primal lam x φ wstar ≤ primal lam x φ 0 ∧ primal lam x φ 0 ≤ 1 ∧
    0 ≤ dual lam x φ 0 := by sorry

end SDCA.Smooth
Source
Shalev-Shwartz and Zhang, Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization, arXiv:1209.1873v2, §7.1, p. 13, Lemma 2 (standing assumptions 2–3, p. 5)
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