Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix (6) — the gradient of the quadratic with constant symmetric Hessian G is G(x − ξ)

Proved
DavidonVM.Termination.grad_quad

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

p2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1quadraticquasi-newton

Let GGG be a symmetric real n×nn\times nn×n matrix, ξ∈Rn\xi\in\mathbb R^nξ∈Rn, c∈Rc\in\mathbb Rc∈R, and f(x)=12(x−ξ)TG(x−ξ)+cf(x)=\tfrac12(x-\xi)^{\mathsf T}G(x-\xi)+cf(x)=21​(x−ξ)TG(x−ξ)+c. Then for every point xxx and every direction vvv the function t↦f(x+tv)t\mapsto f(x+tv)t↦f(x+tv) is differentiable at t=0t=0t=0 with derivative

ddt∣t=0f(x+tv)=(G(x−ξ))Tv.\frac{d}{dt}\Big|_{t=0} f(x+tv)=\big(G(x-\xi)\big)^{\mathsf T}v .dtd​​t=0​f(x+tv)=(G(x−ξ))Tv.

That is, the gradient of fff at xxx is ∇=G(x−ξ)\nabla=G(x-\xi)∇=G(x−ξ), display (6) of the Appendix.

This ties the gradient field used by the method to the function being minimized: every statement about runs on the quadratic uses this field.

Formalization Note The paper says "When the G is constant, Δ can be written as ∇=G(x−ξ)\nabla=G(x-\xi)∇=G(x−ξ)"; the "Δ" is a misprint for ∇\nabla∇. The gradient is stated in directional-derivative form on Fin n → ℝ, for every direction. Symmetry of GGG is assumed: for a nonsymmetric GGG the gradient would be 12(G+GT)(x−ξ)\tfrac12(G+G^{\mathsf T})(x-\xi)21​(G+GT)(x−ξ); the paper's GGG is a Hessian, hence symmetric.

Preamble
import Mathlib
import Definitions.Def_DavidonVM_Termination_Method

open Matrix
Formal statement
namespace DavidonVM.Termination

/-- Appendix (6), p. 17: for a quadratic with constant symmetric Hessian `G` and stationary
point `ξ`, the gradient is `∇ = G(x − ξ)`, stated as the derivative of `f` along every line
`t ↦ x + t v` at `t = 0`. -/
theorem grad_quad {n : ℕ} (G : Mat n) (hG : G.IsSymm) (ξ : Vec n) (c : ℝ) (x v : Vec n) :
    HasDerivAt (fun t : ℝ => quad G ξ c (x + t • v)) (grad G ξ x ⬝ᵥ v) 0 := by sorry

end DavidonVM.Termination
Source
Davidon, Variable Metric Method for Minimization, SIAM J. Optim. 1(1) (1991), p. 17, Appendix (6)
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 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