Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 9.1 i)–ii) — r_n = 1 − ∏α_i, nondecreasing, converging to 1

Proved
AdamDyn.DecConv.lemma_9_1

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

adambias-correctionp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let (αn)(\alpha_n)(αn​) and (γn)(\gamma_n)(γn​) be real sequences with 0≤αn≤10\le\alpha_n\le10≤αn​≤1 and γn>0\gamma_n>0γn​>0 for all nnn, ∑nγn=+∞\sum_n\gamma_n=+\infty∑n​γn​=+∞, and (1−αn)/γn→a(1-\alpha_n)/\gamma_n\to a(1−αn​)/γn​→a for some a>0a>0a>0. Let r0=0r_0=0r0​=0 and rn=αnrn−1+(1−αn)r_n=\alpha_nr_{n-1}+(1-\alpha_n)rn​=αn​rn−1​+(1−αn​) for n≥1n\ge1n≥1 (the bias-correction weights of Algorithm 5.1). Then

  1. for every n∈Nn\in\mathbb Nn∈N,
rn=1−∏i=1nαi;r_n=1-\prod_{i=1}^n\alpha_i;rn​=1−i=1∏n​αi​;
  1. the sequence (rn)(r_n)(rn​) is nondecreasing and converges to 111.

The same statement applied to (βn)(\beta_n)(βn​) (with limit b>0b>0b>0) gives the corresponding facts for rˉn\bar r_nrˉn​ ("a similar lemma holds for the sequence (rˉn)(\bar r_n)(rˉn​)"). These facts make the bias-corrected moments m^n=mn/rn\hat m_n=m_n/r_nm^n​=mn​/rn​, v^n=vn/rˉn\hat v_n=v_n/\bar r_nv^n​=vn​/rˉn​ asymptotically equal to mnm_nmn​, vnv_nvn​.

Formalization Note The page assumes only 0≤αn≤10\le\alpha_n\le10≤αn​≤1 and (1−αn)/γn→a>0(1-\alpha_n)/\gamma_n\to a>0(1−αn​)/γn​→a>0; the convergence rn→1r_n\to1rn​→1 also needs γn>0\gamma_n>0γn​>0 and ∑nγn=+∞\sum_n\gamma_n=+\infty∑n​γn​=+∞ (Assumption 5.1 i)–ii), in force wherever the lemma is used), which are added. Point iii) of the lemma concerns Theorem 5.7 and is not stated. The empty product (n=0n=0n=0) is 111.

Preamble
import Mathlib
import Definitions.Def_AdamDyn_DecConv_Algorithm

open Filter Topology
Formal statement
namespace AdamDyn.DecConv

/-- Lemma 9.1 i)–ii) (Barakat & Bianchi, arXiv:1810.02263v4, p. 25). For `α` with values in
`[0, 1]`, `(1 - α_n)/γ_n → a > 0`, `γ_n > 0` and `Σ γ_n = +∞`, the bias-correction weights of
Algorithm 5.1 satisfy `r_n = 1 - ∏_{i=1}^n α_i`, are nondecreasing, and converge to `1`.
Applied to `β` it gives the same for `r̄_n`. -/
theorem lemma_9_1 (γ α : ℕ → ℝ) (a : ℝ) (ha : 0 < a)
    (hα : ∀ n, 0 ≤ α n ∧ α n ≤ 1)
    (hlim : Tendsto (fun n => (1 - α n) / γ n) atTop (𝓝 a))
    (hγ : ∀ n, 0 < γ n)
    (hsum : Tendsto (fun N => ∑ n ∈ Finset.range N, γ n) atTop atTop) :
    (∀ n, biasWeight α n = 1 - ∏ i ∈ Finset.Icc 1 n, α i) ∧
      Monotone (biasWeight α) ∧ Tendsto (biasWeight α) atTop (𝓝 1) := by sorry

end AdamDyn.DecConv
Source
Barakat & Bianchi, Convergence and Dynamical Behavior of the ADAM Algorithm for Nonconvex Stochastic Optimization, arXiv:1810.02263v4, p. 25, Lemma 9.1 i)–ii)
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