Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (10): the one-coordinate dual increase of an SDCA step

Proved
SDCA.Smooth.eq_10

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​, and λ>0\lambda>0λ>0. Let Δ\DeltaΔ be an SDCA step (for every dual point and coordinate it maximizes the coordinate objective). Fix a dual point α\alphaα and a coordinate iii with φi∗(−αi)<+∞\varphi_i^*(-\alpha_i)<+\inftyφi∗​(−αi​)<+∞, put w=w(α)w=w(\alpha)w=w(α), and let

A=max⁡δ[−φi∗(−(αi+δ))−λn2∥w+(λn)−1δxi∥2],B=−φi∗(−αi)−λn2∥w∥2,A=\max_{\delta}\Big[-\varphi_i^*\big(-(\alpha_i+\delta)\big)-\tfrac{\lambda n}{2}\big\|w+(\lambda n)^{-1}\delta x_i\big\|^2\Big],\qquad B=-\varphi_i^*(-\alpha_i)-\tfrac{\lambda n}{2}\|w\|^2,A=δmax​[−φi∗​(−(αi​+δ))−2λn​​w+(λn)−1δxi​​2],B=−φi∗​(−αi​)−2λn​∥w∥2,

so that AAA is the value at δ=Δ(α,i)\delta=\Delta(\alpha,i)δ=Δ(α,i) and BBB the value at δ=0\delta=0δ=0. Assume φi∗\varphi_i^*φi∗​ is γ\gammaγ-strongly convex for some γ≥0\gamma\ge0γ≥0, and let u∈Ru\in\mathbb Ru∈R satisfy −u∈∂φi(w⊤xi)-u\in\partial\varphi_i(w^\top x_i)−u∈∂φi​(w⊤xi​). Then for every s∈[0,1]s\in[0,1]s∈[0,1]

A−B ≥ s(φi(w⊤xi)+φi∗(−αi)+αi w⊤xi+(γ(1−s)2−s∥xi∥22λn)(u−αi)2).A-B\ \ge\ s\Big(\varphi_i(w^\top x_i)+\varphi_i^*(-\alpha_i)+\alpha_i\,w^\top x_i+\Big(\frac{\gamma(1-s)}{2}-\frac{s\|x_i\|^2}{2\lambda n}\Big)(u-\alpha_i)^2\Big).A−B ≥ s(φi​(w⊤xi​)+φi∗​(−αi​)+αi​w⊤xi​+(2γ(1−s)​−2λns∥xi​∥2​)(u−αi​)2).

Since n [D(α+Δ(α,i)ei)−D(α)]=A−Bn\,[D(\alpha+\Delta(\alpha,i)e_i)-D(\alpha)]=A-Bn[D(α+Δ(α,i)ei​)−D(α)]=A−B, this is the per-coordinate dual improvement estimate from which Lemma 1 follows by averaging over iii.

Formalization Note The inequality is in EReal (with the feasibility hypothesis all terms are finite). −u∈∂φi(a)-u\in\partial\varphi_i(a)−u∈∂φi​(a) is the subgradient inequality φi(a)+(−u)(z−a)≤φi(z)\varphi_i(a)+(-u)(z-a)\le\varphi_i(z)φi​(a)+(−u)(z−a)≤φi​(z) for all zzz. Strong convexity of φi∗\varphi_i^*φi∗​ is the predicate ConjStronglyConvex (the paper's display on p. 2); γ=0\gamma=0γ=0 is allowed.

Preamble
import Mathlib
import Definitions.Def_SDCA_Smooth_Model
open scoped InnerProductSpace
Formal statement
namespace SDCA.Smooth

/-- Eq. (10), §7.1, p. 13 (Shalev-Shwartz–Zhang, arXiv:1209.1873v2), for one SDCA step on
coordinate `i` at a dual-feasible point `α` (`φᵢ*(−αᵢ) < ∞`), with `w = w(α)`. Let
`A = max_δ [−φᵢ*(−(αᵢ + δ)) − (λn/2)‖w + (λn)⁻¹ δ xᵢ‖²]` (attained at the SDCA step `Δ α i`) and
`B = −φᵢ*(−αᵢ) − (λn/2)‖w‖²` (its value at `δ = 0`). If `φᵢ*` is `γ`-strongly convex (`γ ≥ 0`) and
`−u ∈ ∂φᵢ(wᵀxᵢ)`, then for every `s ∈ [0, 1]`
`A − B ≥ s (φᵢ(wᵀxᵢ) + φᵢ*(−αᵢ) + αᵢ wᵀxᵢ + (γ(1 − s)/2 − s‖xᵢ‖²/(2λn)) (u − αᵢ)²)`. -/
theorem eq_10 {d n : ℕ} (hn : 0 < n) (x : Fin n → EuclideanSpace ℝ (Fin d))
    (φ : Fin n → ℝ → ℝ) (hconv : ∀ i, ConvexOn ℝ Set.univ (φ i))
    (lam : ℝ) (hlam : 0 < lam)
    (Δ : (Fin n → ℝ) → Fin n → ℝ) (hΔ : IsSDCAStep lam x φ Δ)
    (α : Fin n → ℝ) (i : Fin n) (hfeas : SDCA.Lipschitz.conj (φ i) (-α i) ≠ ⊤)
    (γ : ℝ) (hγ : 0 ≤ γ) (hsc : ConjStronglyConvex (φ i) γ)
    (u : ℝ)
    (hu : ∀ z : ℝ, φ i ⟪wOf lam x α, x i⟫_ℝ + (-u) * (z - ⟪wOf lam x α, x i⟫_ℝ) ≤ φ i z)
    (s : ℝ) (hs : s ∈ Set.Icc (0 : ℝ) 1) :
    coordObj lam x φ α i (Δ α i) - coordObj lam x φ α i 0 ≥
      ((s : ℝ) : EReal) *
        (((φ i ⟪wOf lam x α, x i⟫_ℝ : ℝ) : EReal) + SDCA.Lipschitz.conj (φ i) (-α i) +
          ((α i * ⟪wOf lam x α, x i⟫_ℝ +
              (γ * (1 - s) / 2 - s * ‖x i‖ ^ 2 / (2 * lam * n)) * (u - α i) ^ 2 : ℝ) : EReal)) := by sorry

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