Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

App. B.6 — Σ_{t=(1−α)T+1}^T 1/t ≤ log(1/(1−α))

Proved
OptimalSGD.Suffix.b6_harmonic_bound

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

p2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1real-analysissgdstochastic-optimization

Let α∈(0,1)\alpha\in(0,1)α∈(0,1) and let T≥1T\ge1T≥1 be an integer such that (1−α)T(1-\alpha)T(1−α)T is an integer. Then

∑t=(1−α)T+1T1t ≤ log⁡11−α,\sum_{t=(1-\alpha)T+1}^{T}\frac1t\ \le\ \log\frac{1}{1-\alpha},t=(1−α)T+1∑T​t1​ ≤ log1−α1​,

where log⁡\loglog is the natural logarithm.

It bounds the harmonic tail that appears in the analysis of α-suffix averaging and yields the constant 2+2.5log⁡(1/(1−α))2+2.5\log(1/(1-\alpha))2+2.5log(1/(1−α)) of Theorem 5.

Formalization Note The paper does not state the base of log⁡\loglog; it is the natural logarithm (Real.log), as the comparison with ∫dx/x\int dx/x∫dx/x requires.

Preamble
import Mathlib
Formal statement
namespace OptimalSGD.Suffix

/-- **App. B.6, harmonic-sum bound** (Rakhlin, Shamir, Sridharan, arXiv:1109.5647v7, p. 18).
For `α ∈ (0, 1)` and a positive integer `T` such that `(1 − α)T = k` is an integer,
`Σ_{t=(1−α)T+1}^T 1/t ≤ log(1/(1 − α))`, with `log` the natural logarithm. -/
theorem b6_harmonic_bound {α : ℝ} (hα0 : 0 < α) (hα1 : α < 1) (T k : ℕ) (hT : 0 < T)
    (hk : (k : ℝ) = (1 - α) * T) :
    ∑ t ∈ Finset.Icc (k + 1) T, (1 / (t : ℝ)) ≤ Real.log (1 / (1 - α)) := by sorry

end OptimalSGD.Suffix
Source
Rakhlin, Shamir, Sridharan, Making Gradient Descent Optimal for Strongly Convex Stochastic Optimization, arXiv:1109.5647v7, p. 18, App. B.6 (proof of Theorem 5), sentence "It can be shown that"
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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