Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§A.5 Step 1, p. 21 — for symmetric negative definite MMM: s⊤Ms+s⊤t≤−14t⊤M−1ts^\top Ms+s^\top t\le-\frac14t^\top M^{-1}ts⊤Ms+s⊤t≤−41​t⊤M−1t

Proved
SAG.SmallStep.complete_square

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

linear-algebrap2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1quadratic-form

Let MMM be a real symmetric negative definite m×mm\times mm×m matrix, and let s,t∈Rms,t\in\mathbb R^ms,t∈Rm. Then

s⊤Ms+s⊤t  ≤  −14 t⊤M−1t.s^\top Ms+s^\top t\;\le\;-\frac14\,t^\top M^{-1}t .s⊤Ms+s⊤t≤−41​t⊤M−1t.

The paper derives it from (s+12M−1t)⊤M(s+12M−1t)≤0(s+\frac12M^{-1}t)^\top M(s+\frac12M^{-1}t)\le0(s+21​M−1t)⊤M(s+21​M−1t)≤0.

In the proof of Proposition 1 this completion of the square removes the cross term between the gradient table and the iterate.

Formalization Note Negative definiteness is (-M).PosDef, which includes symmetry; M−1M^{-1}M−1 is Mathlib's matrix inverse, which is the true inverse because MMM is invertible.

Preamble
import Mathlib

open Matrix
Formal statement
namespace SAG.SmallStep

/-- §A.5 Step 1 (arXiv:1202.6258v4, p. 21): for a symmetric negative definite matrix `M` and
vectors `s`, `t`, `sᵀMs + sᵀt ≤ −¼ tᵀM⁻¹t`. -/
theorem complete_square {m : ℕ} (M : Matrix (Fin m) (Fin m) ℝ) (hM : (-M).PosDef)
    (s t : Fin m → ℝ) :
    s ⬝ᵥ (M *ᵥ s) + s ⬝ᵥ t ≤ -(1 / 4) * (t ⬝ᵥ (M⁻¹ *ᵥ t)) := by sorry

end SAG.SmallStep
Source
Le Roux, Schmidt & Bach, A Stochastic Gradient Method with an Exponential Convergence Rate for Finite Training Sets, arXiv:1202.6258v4, p. 21, §A.5 Step 1, "Note that for any symmetric negative definite matrix M …"
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