Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Eq. (3.12) — Powell's determinant formula for the L-BFGS cycle

Proved
StochQuasiNewton.SQN.lbfgs_det_formula

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

bfgsdeterminantp2o-batch-p200bp2o-gran-per-chapterp2o-plan-paperp2o-v1quasi-newton

Under the hypotheses of Eq. (3.11) (pairs in memory with sj≠0s_j\neq0sj​=0 and yjy_jyj​ a subsampled-Hessian product, M,t≥1M,t\ge1M,t≥1, m~=min⁡{t,M}\tilde m=\min\{t,M\}m~=min{t,M}), put ji=t−m~+ij_i=t-\tilde m+iji​=t−m~+i. Then the direct L-BFGS matrices (3.7) satisfy

det⁡(Bt(m~))=det⁡(Bt(0))∏i=1m~yjiTsjisjiTBt(i−1)sji.\det\big(B_t^{(\tilde m)}\big)=\det\big(B_t^{(0)}\big)\prod_{i=1}^{\tilde m}\frac{y_{j_i}^Ts_{j_i}}{s_{j_i}^TB_t^{(i-1)}s_{j_i}} .det(Bt(m~)​)=det(Bt(0)​)i=1∏m~​sji​T​Bt(i−1)​sji​​yji​T​sji​​​.

Combined with (3.9) and (3.11), this formula bounds the determinant of Bt+1B_{t+1}Bt+1​ away from zero, which with the trace bound gives the uniform eigenvalue bounds of Lemma 3.1.

Formalization Note The paper's second line of (3.12) splits each factor as yTssTs⋅sTssTBs\frac{y^Ts}{s^Ts}\cdot\frac{s^Ts}{s^TBs}sTsyTs​⋅sTBssTs​; that rearrangement is not restated.

Preamble
import Mathlib
import Definitions.Def_StochQuasiNewton_SQN_FiniteSum
import Definitions.Def_StochQuasiNewton_SQN_LBFGS

open scoped RealInnerProductSpace
Formal statement
namespace StochQuasiNewton.SQN

/-- Eq. (3.12), first line (Powell's determinant formula): under the hypotheses of (3.11), with
`m̃ = min t M` and `j_i = t − m̃ + i`,
`det(B_t^{(m̃)}) = det(B_t^{(0)}) ∏_{i=1}^{m̃} (y_{j_i}ᵀ s_{j_i}) / (s_{j_i}ᵀ B_t^{(i−1)} s_{j_i})`. -/
theorem lbfgs_det_formula {n N : ℕ} (f : Fin N → EuclideanSpace ℝ (Fin n) → ℝ)
    (hf : ∀ i, ContDiff ℝ 2 (f i)) (lam Lam : ℝ) (hlam : 0 < lam) (hLam : 0 < Lam) (bH : ℕ)
    (hbH : 1 ≤ bH)
    (hHess : ∀ SH : Finset (Fin N), SH.card = bH → ∀ w : EuclideanSpace ℝ (Fin n),
      StrictLoewnerBounds lam Lam (subsampledHessian f SH w))
    (M t : ℕ) (hM : 1 ≤ M) (ht : 1 ≤ t) (s y : ℕ → EuclideanSpace ℝ (Fin n))
    (hpairs : ∀ j, t - min t M < j → j ≤ t →
      s j ≠ 0 ∧ ∃ (SH : Finset (Fin N)) (wbar : EuclideanSpace ℝ (Fin n)),
        SH.card = bH ∧ y j = subsampledHessian f SH wbar (s j)) :
    (lbfgsDirectStage M t s y (min t M)).det =
      (lbfgsDirectStage M t s y 0).det *
        ∏ i ∈ Finset.Icc 1 (min t M),
          ⟪y (t - min t M + i), s (t - min t M + i)⟫ /
            dotProduct (s (t - min t M + i)).ofLp
              ((lbfgsDirectStage M t s y (i - 1)).mulVec (s (t - min t M + i)).ofLp) := 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. 1016, Eq. (3.12) (citing Powell)
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