Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 3.1 — uniform eigenvalue bounds for the SQN Hessian approximations H_t

Proved
StochQuasiNewton.SQN.hessian_approx_eigenvalue_bounds

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

eigenvaluesl-bfgsp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1quasi-newton

Let f1,…,fNf_1,\dots,f_Nf1​,…,fN​ be C2C^2C2 functions on Rn\mathbb R^nRn, let 0<λ0<\lambda0<λ, 0<Λ0<\Lambda0<Λ, and suppose that λI≺∇2FSH(w)≺ΛI\lambda I\prec\nabla^2F_{\mathcal S_H}(w)\prec\Lambda IλI≺∇2FSH​​(w)≺ΛI for all www and all samples SH\mathcal S_HSH​ of size bHb_HbH​, where 1≤bH≤N1\le b_H\le N1≤bH​≤N (Assumption 1). Fix positive integers MMM and LLL. Then there are constants 0<μ1≤μ20<\mu_1\le\mu_20<μ1​≤μ2​ such that, for every run of Algorithm 1 (any step lengths, initial point and samples, with Hessian samples of size bHb_HbH​) and every t≥1t\ge1t≥1 for which the correction vectors s1,…,sts_1,\dots,s_ts1​,…,st​ are nonzero, the Hessian approximation HtH_tHt​ of Algorithm 2 satisfies

μ1I≺Ht≺μ2I.\mu_1I\prec H_t\prec\mu_2I .μ1​I≺Ht​≺μ2​I.

The constants are fixed before the run: they do not depend on the step lengths, the initial point, the samples or ttt.

Formalization Note The paper's Algorithm 2 is undefined when some sj=0s_j=0sj​=0 (it divides by yjTsjy_j^Ts_jyjT​sj​); the hypothesis sj≠0s_j\neq0sj​=0 for 1≤j≤t1\le j\le t1≤j≤t is added. The paper's "for all SH⊆{1,…,N}\mathcal S_H\subseteq\{1,\dots,N\}SH​⊆{1,…,N}" in (3.3) is read as all samples of the size bH≥1b_H\ge1bH​≥1 that Algorithm 1 draws, which excludes the empty sample (for which (2.3) is 0/00/00/0). ≺\prec≺ is Matrix.PosDef of the difference.

Preamble
import Mathlib
import Definitions.Def_StochQuasiNewton_SQN_FiniteSum
import Definitions.Def_StochQuasiNewton_SQN_LBFGS
import Definitions.Def_StochQuasiNewton_SQN_Algorithm

open scoped RealInnerProductSpace
Formal statement
namespace StochQuasiNewton.SQN

/-- Lemma 3.1: under Assumption 1 (the losses are `C²` and every subsampled Hessian with `b_H`
samples satisfies `λ I ≺ ∇²F_{S_H}(w) ≺ Λ I`), there are constants `0 < μ₁ ≤ μ₂`, fixed before
the run, such that along every run of Algorithm 1 whose correction vectors `s_1, …, s_t` are
nonzero, the Hessian approximation of Algorithm 2 satisfies `μ₁ I ≺ H_t ≺ μ₂ I` (3.6). -/
theorem hessian_approx_eigenvalue_bounds {n N : ℕ}
    (f : Fin N → EuclideanSpace ℝ (Fin n) → ℝ) (hf : ∀ i, ContDiff ℝ 2 (f i))
    (lam Lam : ℝ) (hlam : 0 < lam) (hLam : 0 < Lam) (M L bH : ℕ) (hM : 1 ≤ M) (hL : 1 ≤ L)
    (hbH : 1 ≤ bH) (hbHN : bH ≤ N)
    (hHess : ∀ SH : Finset (Fin N), SH.card = bH → ∀ w : EuclideanSpace ℝ (Fin n),
      StrictLoewnerBounds lam Lam (subsampledHessian f SH w)) :
    ∃ μ₁ μ₂ : ℝ, 0 < μ₁ ∧ μ₁ ≤ μ₂ ∧
      ∀ (α : ℕ → ℝ) (w1 : EuclideanSpace ℝ (Fin n)) (S SH : ℕ → Finset (Fin N)),
        (∀ t, (SH t).card = bH) →
        ∀ t, 1 ≤ t → (∀ j, 1 ≤ j → j ≤ t → sqnPairS f M L α w1 S SH j ≠ 0) →
          (sqnHessianApprox f M L α w1 S SH t - μ₁ • (1 : Matrix (Fin n) (Fin n) ℝ)).PosDef ∧
          (μ₂ • (1 : Matrix (Fin n) (Fin n) ℝ) - sqnHessianApprox f M L α w1 S SH t).PosDef := by sorry

end StochQuasiNewton.SQN
Source
Byrd, Hansen, Nocedal, Singer, A Stochastic Quasi-Newton Method for Large-Scale Optimization, SIAM J. Optim. 26(2) (2016), p. 1015, Lemma 3.1, Eq. (3.6)
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me