Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(4.14) — under (4.8), ∇JTg≥(1−θ)∥g∥2\nabla J^T g \ge (1-\theta)\|g\|^2∇JTg≥(1−θ)∥g∥2: −g-g−g is a descent direction

Proved
DynSampleSize.Det.eq_4_14

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

vTg  ≥  (1−θ) ∥g∥2.v^T g \;\ge\; (1-\theta)\,\|g\|^2 .vTg≥(1−θ)∥g∥2.

With g=gkg = g_kg=gk​ the approximate gradient and v=∇J(wk)v = \nabla J(w_k)v=∇J(wk​), this says that −gk-g_k−gk​ is a descent direction for JJJ at wkw_kwk​, with a quantified angle condition. It is the key input of the one-step decrease (4.15)–(4.16).

Formalization Note The statement is a fact about two arbitrary vectors of EuclideanSpace ℝ (Fin m); vTgv^TgvTg is the Euclidean inner product inner ℝ v g.

Preamble
import Mathlib
import Definitions.Def_DynSampleSize_Det_Setting

open Filter Topology
Formal statement
namespace DynSampleSize.Det

theorem eq_4_14 {m : ℕ} (θ : ℝ) (hθ0 : 0 < θ) (hθ1 : θ < 1)
    (g v : EuclideanSpace ℝ (Fin m)) (h48 : ‖g - v‖ ≤ θ * ‖g‖) :
    (1 - θ) * ‖g‖ ^ 2 ≤ inner ℝ v g := 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.14)
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