Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(4.13) — under (4.8), (1−θ)∥g∥≤∥∇J∥≤(1+θ)∥g∥(1-\theta)\|g\| \le \|\nabla J\| \le (1+\theta)\|g\|(1−θ)∥g∥≤∥∇J∥≤(1+θ)∥g∥

Proved
DynSampleSize.Det.eq_4_13

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

gradient-methodsinexact-gradientp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let θ∈(0,1)\theta \in (0,1)θ∈(0,1) and let g,v∈Rmg, v \in \mathbb{R}^mg,v∈Rm satisfy the relative-error condition (4.8),

∥g−v∥≤θ ∥g∥.\|g - v\| \le \theta\,\|g\| .∥g−v∥≤θ∥g∥.

Then

∥v∥≤(1+θ) ∥g∥and∥v∥≥(1−θ) ∥g∥.\|v\| \le (1+\theta)\,\|g\| \qquad\text{and}\qquad \|v\| \ge (1-\theta)\,\|g\| .∥v∥≤(1+θ)∥g∥and∥v∥≥(1−θ)∥g∥.

In the paper g=gkg = g_kg=gk​ is the approximate gradient and v=∇J(wk)v = \nabla J(w_k)v=∇J(wk​) the true gradient at the iterate wkw_kwk​: under (4.8) the norms of the true and approximate gradients are comparable within the factors 1±θ1 \pm \theta1±θ.

Formalization Note The statement is a fact about two arbitrary vectors of Rm\mathbb{R}^mRm (EuclideanSpace ℝ (Fin m)); vvv plays the role of ∇J(wk)\nabla J(w_k)∇J(wk​).

Preamble
import Mathlib
import Definitions.Def_DynSampleSize_Det_Setting

open Filter Topology
Formal statement
namespace DynSampleSize.Det

theorem eq_4_13 {m : ℕ} (θ : ℝ) (hθ0 : 0 < θ) (hθ1 : θ < 1)
    (g v : EuclideanSpace ℝ (Fin m)) (h48 : ‖g - v‖ ≤ θ * ‖g‖) :
    ‖v‖ ≤ (1 + θ) * ‖g‖ ∧ (1 - θ) * ‖g‖ ≤ ‖v‖ := by sorry

end DynSampleSize.Det
Source
Byrd, Chin, Nocedal, Wu, Sample size selection in optimization methods for machine learning, Math. Program. (2012), doi:10.1007/s10107-012-0572-5 — authors' version of 18 Oct 2011, p. 9, (4.13)
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