Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4, p. 15 — for LLL-Lipschitz losses the variance term GGG of Lemma 1 (with γ=0\gamma=0γ=0) is at most 4L24L^24L2

Proved
SDCA.Lipschitz.lemma_4

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 ∥xi∥≤1\|x_i\|\le1∥xi​∥≤1 for all iii, L>0L>0L>0, and every ϕi\phi_iϕi​ is LLL-Lipschitz. Let ui(⋅)u_i(\cdot)ui​(⋅) be a sub-gradient selection, −ui(a)∈∂ϕi(a)-u_i(a)\in\partial\phi_i(a)−ui​(a)∈∂ϕi​(a), and let α\alphaα be dual feasible (ϕj∗(−αj)<∞\phi_j^*(-\alpha_j)<\inftyϕj∗​(−αj​)<∞ for all jjj), w=w(α)w=w(\alpha)w=w(α) and ui=ui(xi⊤w)u_i=u_i(x_i^\top w)ui​=ui​(xi⊤​w). Then the quantity GGG of Lemma 1 with γ=0\gamma=0γ=0 satisfies

G=1n∑i=1n∥xi∥2(ui−αi)2 ≤ 4L2.G=\frac1n\sum_{i=1}^n\|x_i\|^2(u_i-\alpha_i)^2\ \le\ 4L^2 .G=n1​i=1∑n​∥xi​∥2(ui​−αi​)2 ≤ 4L2.

It turns Lemma 1 into the recursion (13) with the constant G≤4L2G\le4L^2G≤4L2, which drives the rate of Theorem 1.

Formalization Note This is the conditional form at a fixed dual-feasible state (the paper's G(t)G^{(t)}G(t) averages it over the history). The hypothesis ∥xi∥≤1\|x_i\|\le1∥xi​∥≤1 is the paper's standing assumption 1 (p. 5), which the proof uses.

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

/-- Lemma 4, p. 15, in conditional form: if every `φᵢ` is `L`-Lipschitz and `‖xᵢ‖ ≤ 1`, then for
every dual-feasible state `α` and every sub-gradient selection `u` (`−u i a ∈ ∂φᵢ(a)`), the
quantity `G` of Lemma 1 with `γ = 0`, `(1/n) ∑ᵢ ‖xᵢ‖² (uᵢ − αᵢ)²` with `uᵢ = u i (xᵢᵀw(α))`,
is at most `4L²`. -/
theorem lemma_4 {d n : ℕ} (φ : Fin n → ℝ → ℝ) (x : Fin n → EuclideanSpace ℝ (Fin d)) (lam : ℝ)
    (hn : 0 < n) (hlam : 0 < lam) (hconv : ∀ i, ConvexOn ℝ Set.univ (φ i))
    (hx : ∀ i, ‖x i‖ ≤ 1)
    (L : ℝ) (hL : 0 < L) (hLip : ∀ i (a b : ℝ), |φ i a - φ i b| ≤ L * |a - b|)
    (u : Fin n → ℝ → ℝ) (hu : ∀ i a, -(u i a) ∈ subdiff (φ i) a)
    (α : Fin n → ℝ) (hα : ∀ j, conj (φ j) (-α j) ≠ ⊤) :
    (1 / (n : ℝ)) * ∑ i, ‖x i‖ ^ 2 * (u i (inner ℝ (wOf x lam α) (x i)) - α i) ^ 2
      ≤ 4 * L ^ 2 := by sorry

end SDCA.Lipschitz
Source
Shalev-Shwartz and Zhang, Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization, arXiv:1209.1873v2, §7.2, p. 15, Lemma 4
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