Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(10), p. 13 — one SDCA coordinate step increases n Dn\,DnD by at least s(ϕ(w⊤x)+ϕ∗(−α)+αw⊤x+(γ(1−s)2−s∥x∥22λn)(u−α)2)s(\phi(w^\top x)+\phi^*(-\alpha)+\alpha w^\top x+(\tfrac{\gamma(1-s)}2-\tfrac{s\|x\|^2}{2\lambda n})(u-\alpha)^2)s(ϕ(w⊤x)+ϕ∗(−α)+αw⊤x+(2γ(1−s)​−2λns∥x∥2​)(u−α)2)

Proved
SDCA.Lipschitz.eq_10

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​.

Let α∈Rn\alpha\in\mathbb R^nα∈Rn be dual feasible, i.e. ϕj∗(−αj)<∞\phi_j^*(-\alpha_j)<\inftyϕj∗​(−αj​)<∞ for every jjj, let w=w(α)w=w(\alpha)w=w(α), and fix a coordinate iii. Let γ≥0\gamma\ge0γ≥0 and assume ϕi∗\phi_i^*ϕi∗​ is γ\gammaγ-strongly convex: for all u,v∈Ru,v\in\mathbb Ru,v∈R and r∈[0,1]r\in[0,1]r∈[0,1],

ϕi∗(ru+(1−r)v)≤rϕi∗(u)+(1−r)ϕi∗(v)−γ2r(1−r)(u−v)2.\phi_i^*(ru+(1-r)v)\le r\phi_i^*(u)+(1-r)\phi_i^*(v)-\frac\gamma2r(1-r)(u-v)^2 .ϕi∗​(ru+(1−r)v)≤rϕi∗​(u)+(1−r)ϕi∗​(v)−2γ​r(1−r)(u−v)2.

Let −u∈∂ϕi(w⊤xi)-u\in\partial\phi_i(w^\top x_i)−u∈∂ϕi​(w⊤xi​) and s∈[0,1]s\in[0,1]s∈[0,1]. Let AAA be the maximal value of the coordinate objective δ↦−ϕi∗(−(αi+δ))−λn2∥w+(λn)−1δxi∥2\delta\mapsto-\phi_i^*(-(\alpha_i+\delta))-\frac{\lambda n}2\|w+(\lambda n)^{-1}\delta x_i\|^2δ↦−ϕi∗​(−(αi​+δ))−2λn​∥w+(λn)−1δxi​∥2 (attained at the SDCA step Δ(α,i)\Delta(\alpha,i)Δ(α,i)) and BBB its value at δ=0\delta=0δ=0. Then

A−B ≥ s(ϕi(w⊤xi)+ϕi∗(−αi)+αiw⊤xi+(γ(1−s)2−s∥xi∥22λn)(u−αi)2).A-B\ \ge\ s\Bigl(\phi_i(w^\top x_i)+\phi_i^*(-\alpha_i)+\alpha_iw^\top x_i+\Bigl(\frac{\gamma(1-s)}2-\frac{s\|x_i\|^2}{2\lambda n}\Bigr)(u-\alpha_i)^2\Bigr).A−B ≥ s(ϕi​(w⊤xi​)+ϕi∗​(−αi​)+αi​w⊤xi​+(2γ(1−s)​−2λns∥xi​∥2​)(u−αi​)2).

Since A−B=n [D(α+Δ(α,i)ei)−D(α)]A-B=n\,[D(\alpha+\Delta(\alpha,i)e_i)-D(\alpha)]A−B=n[D(α+Δ(α,i)ei​)−D(α)], this bounds the dual increase of one SDCA iteration that picks coordinate iii; averaged over iii it yields Lemma 1.

Formalization Note The inequality is in EReal; BBB and ϕi∗(−αi)\phi_i^*(-\alpha_i)ϕi∗​(−αi​) are finite by dual feasibility. The strong-convexity hypothesis is the p. 2 display, written in EReal with the convention 0⋅∞=00\cdot\infty=00⋅∞=0. The step is any map satisfying the arg-max predicate IsSDCAStep.

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

/-- (10), §7.1, p. 13: one-coordinate increase of an SDCA step. Let `α` be a dual-feasible state
(`φⱼ*(−αⱼ) < ∞` for every `j`), `i` a coordinate, `w = w(α)`, `s ∈ [0, 1]`, `γ ≥ 0` with `φᵢ*`
`γ`-strongly convex (p. 2 display), and `−u ∈ ∂φᵢ(wᵀxᵢ)`. With `A` the maximized coordinate
objective (at `Δαᵢ = Δ α i`) and `B` its value at `Δαᵢ = 0`,
`A − B ≥ s (φᵢ(wᵀxᵢ) + φᵢ*(−αᵢ) + αᵢwᵀxᵢ + (γ(1−s)/2 − s‖xᵢ‖²/(2λn)) (u − αᵢ)²)`. -/
theorem eq_10 {d n : ℕ} (φ : Fin n → ℝ → ℝ) (x : Fin n → EuclideanSpace ℝ (Fin d)) (lam : ℝ)
    (hn : 0 < n) (hlam : 0 < lam) (hconv : ∀ i, ConvexOn ℝ Set.univ (φ i))
    (Δ : (Fin n → ℝ) → Fin n → ℝ) (hΔ : IsSDCAStep φ x lam Δ)
    (α : Fin n → ℝ) (hα : ∀ j, conj (φ j) (-α j) ≠ ⊤) (i : Fin n)
    (γ : ℝ) (hγ : 0 ≤ γ)
    (hsc : ∀ (u v r : ℝ), 0 ≤ r → r ≤ 1 →
      conj (φ i) (r * u + (1 - r) * v) ≤
        ((r : ℝ) : EReal) * conj (φ i) u + ((1 - r : ℝ) : EReal) * conj (φ i) v
          - ((γ * r * (1 - r) / 2 * (u - v) ^ 2 : ℝ) : EReal))
    (s : ℝ) (hs0 : 0 ≤ s) (hs1 : s ≤ 1)
    (u : ℝ) (hu : -u ∈ subdiff (φ i) (inner ℝ (wOf x lam α) (x i))) :
    coordObj φ x lam α i (Δ α i) - coordObj φ x lam α i 0 ≥
      ((s : ℝ) : EReal) *
        (((φ i (inner ℝ (wOf x lam α) (x i)) + α i * inner ℝ (wOf x lam α) (x i)
            + (γ * (1 - s) / 2 - s * ‖x i‖ ^ 2 / (2 * lam * n)) * (u - α i) ^ 2 : ℝ) : EReal)
          + conj (φ i) (-α i)) := by sorry

end SDCA.Lipschitz
Source
Shalev-Shwartz and Zhang, Stochastic Dual Coordinate Ascent Methods for Regularized Loss Minimization, arXiv:1209.1873v2, §7.1, proof of Lemma 1, p. 13, (10) (with (8) and (9), pp. 12–13)
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