Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4.2, proof of Theorem 4.1 — a Hessian bound h makes the gradient h-Lipschitz; ‖g_v(x₀ + βx₁) − g_v(x₀ + αβ′x₁)‖ ≤ hD

Proved
DistInterpRO.Shrinkage.gradient_bound

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

hessianp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1robust-optimization

Let f(v,⋅):Rm→Rf(v,\cdot):\mathbb{R}^m\to\mathbb{R}f(v,⋅):Rm→R be twice differentiable with −hI⪯Hv(x)⪯hI-hI\preceq H_v(x)\preceq hI−hI⪯Hv​(x)⪯hI for all xxx, where h≥0h\ge0h≥0 and Hv(x)H_v(x)Hv​(x) is the Hessian, and let gvg_vgv​ be the gradient. Then:

  1. gvg_vgv​ is hhh-Lipschitz: ∥gv(a)−gv(b)∥2≤h∥a−b∥2\|g_v(a)-g_v(b)\|_2\le h\|a-b\|_2∥gv​(a)−gv​(b)∥2​≤h∥a−b∥2​ for all a,ba,ba,b.
  2. For every compact Δ⊆Rm\Delta\subseteq\mathbb{R}^mΔ⊆Rm with D=max⁡x∈Δ∥x∥2D=\max_{x\in\Delta}\|x\|_2D=maxx∈Δ​∥x∥2​, every α∈(0,1)\alpha\in(0,1)α∈(0,1), every x0x_0x0​, x1∈Δx_1\in\Deltax1​∈Δ and β,β′∈[0,1]\beta,\beta'\in[0,1]β,β′∈[0,1],
∥gv(x0+βx1)−gv(x0+αβ′x1)∥≤h∥βx1−αβ′x1∥≤h∥x1∥≤hD.\|g_v(x_0+\beta x_1)-g_v(x_0+\alpha\beta'x_1)\|\le h\|\beta x_1-\alpha\beta'x_1\|\le h\|x_1\|\le hD.∥gv​(x0​+βx1​)−gv​(x0​+αβ′x1​)∥≤h∥βx1​−αβ′x1​∥≤h∥x1​∥≤hD.

This is the second step of the proof of Theorem 4.1; it compares the gradients at the two mean-value points of the previous step.

Formalization Note The gradient is represented by fderiv ℝ (f v) y, a continuous linear functional whose operator norm equals the Euclidean norm of the gradient vector. The Hessian hypothesis is the quadratic-form bound ∣D2f(v,⋅)(x)[y,y]∣≤h∥y∥2|D^2f(v,\cdot)(x)[y,y]|\le h\|y\|^2∣D2f(v,⋅)(x)[y,y]∣≤h∥y∥2 from the definition HasBoundedHessian; passing to the operator-norm bound on D2fD^2fD2f uses the symmetry of the second derivative.

Preamble
import Mathlib
import Definitions.Def_DistInterpRO_Shrinkage_Model

open MeasureTheory
open scoped Pointwise
Formal statement
namespace DistInterpRO.Shrinkage

/-- §4.2, proof of Theorem 4.1 (p. 105), third display: under the Hessian bound
`−hI ⪯ H_v ⪯ hI`, the gradient `g_v` is `h`-Lipschitz, and in particular
`‖g_v(x₀ + βx₁) − g_v(x₀ + αβ′x₁)‖ ≤ h‖βx₁ − αβ′x₁‖ ≤ h‖x₁‖ ≤ hD`
for `β, β′ ∈ [0, 1]`, `α ∈ (0, 1)`, `x₁ ∈ Δ`, `D = max_{x ∈ Δ} ‖x‖₂`. -/
theorem gradient_bound {m : ℕ} {V : Type*} (f : V → EuclideanSpace ℝ (Fin m) → ℝ) (v : V)
    (h : ℝ) (hh : 0 ≤ h) (hf : HasBoundedHessian (f v) h) :
    (∀ a b : EuclideanSpace ℝ (Fin m),
        ‖fderiv ℝ (f v) a - fderiv ℝ (f v) b‖ ≤ h * ‖a - b‖) ∧
    ∀ (Δ : Set (EuclideanSpace ℝ (Fin m))), IsCompact Δ →
      ∀ (α : ℝ), 0 < α → α < 1 →
      ∀ (x₀ x₁ : EuclideanSpace ℝ (Fin m)), x₁ ∈ Δ →
      ∀ β ∈ Set.Icc (0 : ℝ) 1, ∀ β' ∈ Set.Icc (0 : ℝ) 1,
        ‖fderiv ℝ (f v) (x₀ + β • x₁) - fderiv ℝ (f v) (x₀ + (α * β') • x₁)‖ ≤
            h * ‖β • x₁ - (α * β') • x₁‖ ∧
          h * ‖β • x₁ - (α * β') • x₁‖ ≤ h * ‖x₁‖ ∧
          h * ‖x₁‖ ≤ h * devRadius Δ := by sorry

end DistInterpRO.Shrinkage
Source
Xu, Caramanis and Mannor, A Distributional Interpretation of Robust Optimization, Math. Oper. Res. 37(1) (2012), p. 105, §4.2, proof of Theorem 4.1, third display
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting.

  • mmm, the arbitrary type VVV, f:V×Rm→Rf:V\times\mathbb{R}^m\to\mathbb{R}f:V×Rm→R and v∈Vv\in Vv∈V are as before; fv=f(v,⋅)f_v=f(v,\cdot)fv​=f(v,⋅).
  • hhh is a real number with h≥0h\ge 0h≥0.
  • fvf_vfv​ has Hessian bounded by hhh. That is, fvf_vfv​ and DfvDf_vDfv​ are differentiable everywhere, and ∣D2fv(x)[y,y]∣≤h∥y∥2|D^2f_v(x)[y,y]|\le h\|y\|^2∣D2fv​(x)[y,y]∣≤h∥y∥2 for all x,yx,yx,y.

Claim, part (i). For all a,b∈Rma,b\in\mathbb{R}^ma,b∈Rm,

∥Dfv(a)−Dfv(b)∥≤h ∥a−b∥,\|Df_v(a)-Df_v(b)\| \le h\,\|a-b\|,∥Dfv​(a)−Dfv​(b)∥≤h∥a−b∥,

where the left-hand norm is the operator norm of a linear functional on Euclidean Rm\mathbb{R}^mRm.

Claim, part (ii). Take any compact set Δ⊆Rm\Delta\subseteq\mathbb{R}^mΔ⊆Rm and any real α\alphaα with 0<α<10<\alpha<10<α<1. Take any points x0∈Rmx_0\in\mathbb{R}^mx0​∈Rm and x1∈Δx_1\in\Deltax1​∈Δ, and any β,β′∈[0,1]\beta,\beta'\in[0,1]β,β′∈[0,1]. Then all three of these hold:

∥Dfv(x0+βx1)−Dfv(x0+αβ′x1)∥≤h ∥βx1−αβ′x1∥,\|Df_v(x_0+\beta x_1) - Df_v(x_0+\alpha\beta' x_1)\| \le h\,\|\beta x_1 - \alpha\beta' x_1\|,∥Dfv​(x0​+βx1​)−Dfv​(x0​+αβ′x1​)∥≤h∥βx1​−αβ′x1​∥, h ∥βx1−αβ′x1∥≤h ∥x1∥,h\,\|\beta x_1 - \alpha\beta' x_1\| \le h\,\|x_1\|,h∥βx1​−αβ′x1​∥≤h∥x1​∥, h ∥x1∥≤h D(Δ),h\,\|x_1\| \le h\, D(\Delta),h∥x1​∥≤hD(Δ),

where D(Δ)=sup⁡{∥x∥:x∈Δ}D(\Delta)=\sup\{\|x\|:x\in\Delta\}D(Δ)=sup{∥x∥:x∈Δ}, with the value 000 for an empty or unbounded set.

Degenerate cases.

  • Part (i) does not involve Δ\DeltaΔ, α\alphaα, x0x_0x0​ or β\betaβ.
  • In part (ii), Δ\DeltaΔ contains x1x_1x1​, so it is nonempty. Being compact, it is bounded. So D(Δ)D(\Delta)D(Δ) is a genuine attained maximum there, not the 000 convention.
  • If h=0h=0h=0, the statement asserts that DfvDf_vDfv​ is constant, and parts (ii) all read 0≤00\le 00≤0.
  • If m=0m=0m=0, every derivative is 000 and every norm is 000, so all inequalities are trivial.
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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