Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Inequality (16) — telescoping the trace increments against max_{t≤T}‖x*−x_t‖₂²

Proved
AdaGrad.Full.eq_16

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

adagradmatrix-analysisp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let g1,g2,…g_1,g_2,\dotsg1​,g2​,… and x1,x2,…x_1,x_2,\dotsx1​,x2​,… be arbitrary sequences in Rd\mathbb R^dRd, x∗∈Rdx^*\in\mathbb R^dx∗∈Rd, T≥1T\ge1T≥1, and Gt=∑τ≤tgτgτ⊤G_t=\sum_{\tau\le t}g_\tau g_\tau^\topGt​=∑τ≤t​gτ​gτ⊤​. Then

∑t=1T−1∥x∗−xt+1∥22(tr⁡(Gt+11/2)−tr⁡(Gt1/2))≤max⁡1≤t≤T∥x∗−xt∥22tr⁡(GT1/2)−∥x∗−x1∥22tr⁡(G11/2).\sum_{t=1}^{T-1}\|x^*-x_{t+1}\|_2^2\Big(\operatorname{tr}(G_{t+1}^{1/2})-\operatorname{tr}(G_t^{1/2})\Big)\le\max_{1\le t\le T}\|x^*-x_t\|_2^2\operatorname{tr}(G_T^{1/2})-\|x^*-x_1\|_2^2\operatorname{tr}(G_1^{1/2}).t=1∑T−1​∥x∗−xt+1​∥22​(tr(Gt+11/2​)−tr(Gt1/2​))≤1≤t≤Tmax​∥x∗−xt​∥22​tr(GT1/2​)−∥x∗−x1​∥22​tr(G11/2​).

Together with the previous display it bounds the divergence terms of Proposition 3 for full-matrix ADAGRAD.

Preamble
import Mathlib
import Definitions.Def_AdaGrad_Full_Algorithm2
open scoped MatrixOrder InnerProductSpace
Formal statement
namespace AdaGrad.Full

/-- Inequality (16) (p. 2134):
`∑_{t=1}^{T−1} ‖x* − x_{t+1}‖₂² (tr G_{t+1}^{1/2} − tr G_t^{1/2})
  ≤ max_{t≤T} ‖x* − x_t‖₂² tr G_T^{1/2} − ‖x* − x_1‖₂² tr G_1^{1/2}`. -/
theorem eq_16 {d : ℕ} (g x : ℕ → EuclideanSpace ℝ (Fin d)) (xstar : EuclideanSpace ℝ (Fin d))
    (T : ℕ) (hT : 1 ≤ T) :
    ∑ t ∈ Finset.Ico 1 T, ‖xstar - x (t + 1)‖ ^ 2 * ((S g (t + 1)).trace - (S g t).trace) ≤
      (Finset.Icc 1 T).sup' (Finset.nonempty_Icc.mpr hT) (fun t => ‖xstar - x t‖ ^ 2)
          * (S g T).trace
        - ‖xstar - x 1‖ ^ 2 * (S g 1).trace := by sorry

end AdaGrad.Full
Source
Duchi, Hazan, Singer, Adaptive Subgradient Methods for Online Learning and Stochastic Optimization, JMLR 12 (2011), p. 2134, (16)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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