Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 — ∥φjt∥≤K\|\varphi_j^t\|\le K∥φjt​∥≤K and 1t∑j<t∥φjt∥→0\frac1t\sum_{j<t}\|\varphi_j^t\|\to0t1​∑j<t​∥φjt​∥→0

Proved
PolyakJuditsky.Averaging.lemma1_phi_bounds

by mikedeng1 · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

matrix-analysisp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-approximation

Let AAA be a real N×NN\times NN×N matrix all of whose eigenvalues have positive real part, and let γt>0\gamma_t>0γt​>0 for all t≥0t\ge0t≥0 with γt→0\gamma_t\to0γt​→0 and (γt−γt+1)/γt=o(γt)(\gamma_t-\gamma_{t+1})/\gamma_t=o(\gamma_t)(γt​−γt+1​)/γt​=o(γt​). Define Xjj=IX_j^j=IXjj​=I, Xjt+1=Xjt−γtAXjtX_j^{t+1}=X_j^t-\gamma_tAX_j^tXjt+1​=Xjt​−γt​AXjt​ (t≥jt\ge jt≥j), Xˉjt=γj∑i=jt−1Xji\bar X_j^t=\gamma_j\sum_{i=j}^{t-1}X_j^iXˉjt​=γj​∑i=jt−1​Xji​ and φjt=A−1−Xˉjt\varphi_j^t=A^{-1}-\bar X_j^tφjt​=A−1−Xˉjt​. Then there is a constant K<∞K<\inftyK<∞ such that for all jjj and t≥jt\ge jt≥j

∥φjt∥≤K,(A2)\|\varphi_j^t\|\le K,\tag{A2}∥φjt​∥≤K,(A2)

and

lim⁡t→∞1t∑j=0t−1∥φjt∥=0.(A3’)\lim_{t\to\infty}\frac1t\sum_{j=0}^{t-1}\|\varphi_j^t\|=0.\tag{A3'}t→∞lim​t1​j=0∑t−1​∥φjt​∥=0.(A3’)

The partial sums Xˉjt\bar X_j^tXˉjt​ approximate A−1A^{-1}A−1 uniformly on average; this is what turns the averaged iterate of a linear recursion into A−1A^{-1}A−1 applied to the averaged noise (Lemma 2).

Formalization Note The paper states the lemma under Assumption 2.2, which allows either a constant step (condition (3)) or condition (4). Only condition (4) is included: condition (3) as printed, 0<γ<2(min⁡iRe⁡λi(A))−10<\gamma<2(\min_i\operatorname{Re}\lambda_i(A))^{-1}0<γ<2(mini​Reλi​(A))−1, is false (A=diag⁡(1,10)A=\operatorname{diag}(1,10)A=diag(1,10), γ=1\gamma=1γ=1 gives I−γA=diag⁡(0,−9)I-\gamma A=\operatorname{diag}(0,-9)I−γA=diag(0,−9)), and Theorem 2 uses only (4). (A3) is printed as 1t∑jφjt→0\frac1t\sum_j\varphi_j^t\to0t1​∑j​φjt​→0; the statement has the norm inside, which implies the printed form, is what Part 4 of the proof establishes (p. 846), and is what Lemma 2 needs. ∥⋅∥\|\cdot\|∥⋅∥ is the operator norm on Euclidean RN\mathbb R^NRN.

Preamble
import Mathlib
import Definitions.Def_PolyakJuditsky_Averaging_Model

open Filter Topology
Formal statement
namespace PolyakJuditsky.Averaging

/-- Lemma 1 (p. 844), under condition (4) with `γ_t > 0` for all `t ≥ 0` and `Re λ_i(A) > 0`:
there is `K < ∞` with `‖φ_j^t‖ ≤ K` for all `j` and `t ≥ j` (A2), and
`(1/t) ∑_{j=0}^{t-1} ‖φ_j^t‖ → 0` ((A3) with the norm inside, the form its proof establishes). -/
theorem lemma1_phi_bounds {N : ℕ} (A : Matrix (Fin N) (Fin N) ℝ) (γ : ℕ → ℝ)
    (hA : EigenRePos A) (hpos : ∀ t, 0 < γ t) (hγ : StepCondition4 γ) :
    ∃ K : ℝ, (∀ j t, j ≤ t → matNorm (lemPhi A γ j t) ≤ K) ∧
      Tendsto (fun t : ℕ => (t : ℝ)⁻¹ * ∑ j ∈ Finset.range t, matNorm (lemPhi A γ j t))
        atTop (𝓝 0) := by sorry

end PolyakJuditsky.Averaging
Source
Polyak, Juditsky, Acceleration of stochastic approximation by averaging, SIAM J. Control Optim. 30 (1992), p. 844, Lemma 1, Eq. (A1)–(A3)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. N∈NN\in\mathbb NN∈N, AAA is a real N×NN\times NN×N matrix, and γ:N→R\gamma:\mathbb N\to\mathbb Rγ:N→R.

Hypotheses.

  • Every complex eigenvalue of AAA has positive real part.
  • γt>0\gamma_t>0γt​>0 for every t≥0t\ge0t≥0, including t=0t=0t=0.
  • γt→0\gamma_t\to0γt​→0 and (γt−γt+1)/γt=o(γt)(\gamma_t-\gamma_{t+1})/\gamma_t=o(\gamma_t)(γt​−γt+1​)/γt​=o(γt​).

Objects. For j≤tj\le tj≤t:

φjt=A−1−γj∑i=jt−1Xji,Xji=(I−γi−1A)⋯(I−γjA),\varphi_j^t=A^{-1}-\gamma_j\sum_{i=j}^{t-1}X_j^i,\qquad X_j^i=(I-\gamma_{i-1}A)\cdots(I-\gamma_jA),φjt​=A−1−γj​i=j∑t−1​Xji​,Xji​=(I−γi−1​A)⋯(I−γj​A),

with Xjj=IX_j^j=IXjj​=I. ∥⋅∥\|\cdot\|∥⋅∥ is the spectral norm, i.e. the operator norm for the Euclidean norm.

Conclusion. There is a real constant KKK such that both of the following hold:

  1. ∥φjt∥≤K\|\varphi_j^t\|\le K∥φjt​∥≤K for all j,t∈Nj,t\in\mathbb Nj,t∈N with j≤tj\le tj≤t.
  2. 1t∑j=0t−1∥φjt∥⟶0\displaystyle\frac1t\sum_{j=0}^{t-1}\|\varphi_j^t\|\longrightarrow0t1​j=0∑t−1​∥φjt​∥⟶0 as t→∞t\to\inftyt→∞.

Degenerate cases.

  • When N≥1N\ge1N≥1, the eigenvalue hypothesis makes AAA invertible, so A−1A^{-1}A−1 is the genuine inverse.
  • When N=0N=0N=0, all matrices are zero and both claims are trivial.
  • For j=tj=tj=t the sum is empty and φtt=A−1\varphi_t^t=A^{-1}φtt​=A−1.
  • At t=0t=0t=0 the average is 0−1⋅0=00^{-1}\cdot0=00−1⋅0=0, which is irrelevant for the limit.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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