Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 (= Lemma 5) — inner-product bound for averages of strongly convex smooth functions

Proved
SAGA.StronglyConvex.lemma1_inner_product_bound

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

convex-analysisfinite-sump2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1smoothnessstrong-convexity

Let n≥1n\ge1n≥1 and let f1,…,fn:Rd→Rf_1,\dots,f_n:\mathbb R^d\to\mathbb Rf1​,…,fn​:Rd→R be differentiable with gradients fi′f_i'fi′​. Suppose each fif_ifi​ is μ\muμ-strongly convex (μ>0\mu>0μ>0) and each fi′f_i'fi′​ is Lipschitz continuous with constant L>0L>0L>0. Write f=1n∑ifif=\frac1n\sum_i f_if=n1​∑i​fi​ and f′=1n∑ifi′f'=\frac1n\sum_i f_i'f′=n1​∑i​fi′​. Then for all x,x∗∈Rdx,x^*\in\mathbb R^dx,x∗∈Rd,

⟨f′(x),x∗−x⟩  ≤  L−μL[f(x∗)−f(x)]−μ2∥x∗−x∥2−12Ln∑i=1n∥fi′(x∗)−fi′(x)∥2−μL⟨f′(x∗),x−x∗⟩.\langle f'(x),x^*-x\rangle\;\le\;\frac{L-\mu}{L}\big[f(x^*)-f(x)\big]-\frac\mu2\|x^*-x\|^2-\frac{1}{2Ln}\sum_{i=1}^n\|f_i'(x^*)-f_i'(x)\|^2-\frac\mu L\langle f'(x^*),x-x^*\rangle .⟨f′(x),x∗−x⟩≤LL−μ​[f(x∗)−f(x)]−2μ​∥x∗−x∥2−2Ln1​i=1∑n​∥fi′​(x∗)−fi′​(x)∥2−Lμ​⟨f′(x∗),x−x∗⟩.

Here x∗x^*x∗ is an arbitrary point, not necessarily a minimizer. In the proof of Theorem 1 the lemma bounds the inner-product term −2cγ⟨f′(xk),xk−x∗⟩-2c\gamma\langle f'(x^k),x^k-x^*\rangle−2cγ⟨f′(xk),xk−x∗⟩ produced by expanding c∥xk+1−x∗∥2c\|x^{k+1}-x^*\|^2c∥xk+1−x∗∥2.

Formalization Note No relation between μ\muμ and LLL is assumed: μ≤L\mu\le Lμ≤L follows from the hypotheses when d≥1d\ge1d≥1, and for μ=L\mu=Lμ=L the statement still holds (with equality for quadratics). The components are indexed by Fin n; fff and f′f'f′ are written out as averages.

Preamble
import Mathlib

open scoped InnerProductSpace
Formal statement
namespace SAGA.StronglyConvex

/-- Lemma 1 (pp. 6–7, = Lemma 5, p. 10). `f = (1/n) Σ_i f_i`, each `f_i` `μ`-strongly convex with
`L`-Lipschitz gradient `f'_i`; `f' = (1/n) Σ_i f'_i`. The points `x` and `x*` (here `xs`) are
arbitrary. -/
theorem lemma1_inner_product_bound {d n : ℕ} (hn : 0 < n)
    (f : Fin n → EuclideanSpace ℝ (Fin d) → ℝ)
    (f' : Fin n → EuclideanSpace ℝ (Fin d) → EuclideanSpace ℝ (Fin d))
    (μ L : ℝ) (hμ : 0 < μ) (hL : 0 < L)
    (hgrad : ∀ i x, HasGradientAt (f i) (f' i x) x)
    (hsc : ∀ i, StrongConvexOn Set.univ μ (f i))
    (hlip : ∀ i x y, ‖f' i x - f' i y‖ ≤ L * ‖x - y‖)
    (x xs : EuclideanSpace ℝ (Fin d)) :
    ⟪(1 / (n : ℝ)) • ∑ i, f' i x, xs - x⟫_ℝ ≤
      (L - μ) / L * ((1 / (n : ℝ)) * ∑ i, f i xs - (1 / (n : ℝ)) * ∑ i, f i x)
        - μ / 2 * ‖xs - x‖ ^ 2
        - 1 / (2 * L * n) * ∑ i, ‖f' i xs - f' i x‖ ^ 2
        - μ / L * ⟪(1 / (n : ℝ)) • ∑ i, f' i xs, x - xs⟫_ℝ := by sorry

end SAGA.StronglyConvex
Source
Defazio, Bach & Lacoste-Julien, SAGA, arXiv:1407.0202v3, pp. 6-7, Lemma 1 (restated as Lemma 5, p. 10)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

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