Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 4.1, first display, p. 17 — the difference ℒ_{k+1} − ℒ_k under (73)

Proved
NAGFlow.Implicit.diff_identity

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

convex-optimizationimplicit-schemelyapunov-functionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let VVV be a real Hilbert space, f:V→Rf:V\to\mathbb Rf:V→R, x∗∈Vx^*\in Vx∗∈V, μ∈R\mu\in\mathbb Rμ∈R, and let (xk),(vk)(x_k),(v_k)(xk​),(vk​) be sequences in VVV and (αk),(γk)(\alpha_k),(\gamma_k)(αk​),(γk​) real sequences, with Lk=f(xk)−f(x∗)+γk2∥vk−x∗∥2\mathcal L_k=f(x_k)-f(x^*)+\frac{\gamma_k}2\|v_k-x^*\|^2Lk​=f(xk​)−f(x∗)+2γk​​∥vk​−x∗∥2 as in (74). Fix kkk and suppose αk>0\alpha_k>0αk​>0 and the parameter equation (73) holds at step kkk: (γk+1−γk)/αk=μ−γk+1(\gamma_{k+1}-\gamma_k)/\alpha_k=\mu-\gamma_{k+1}(γk+1​−γk​)/αk​=μ−γk+1​. Then

Lk+1−Lk=f(xk+1)−f(xk)+γk+1−γk2∥vk+1−x∗∥2+γk2(∥vk+1−x∗∥2−∥vk−x∗∥2)=f(xk+1)−f(xk)+αk2(μ−γk+1)∥vk+1−x∗∥2+γk(vk+1−vk,vk+1+vk2−x∗).\begin{aligned}\mathcal L_{k+1}-\mathcal L_k&=f(x_{k+1})-f(x_k)+\frac{\gamma_{k+1}-\gamma_k}{2}\|v_{k+1}-x^*\|^2+\frac{\gamma_k}2\left(\|v_{k+1}-x^*\|^2-\|v_k-x^*\|^2\right)\\&=f(x_{k+1})-f(x_k)+\frac{\alpha_k}2(\mu-\gamma_{k+1})\|v_{k+1}-x^*\|^2+\gamma_k\left(v_{k+1}-v_k,\tfrac{v_{k+1}+v_k}2-x^*\right).\end{aligned}Lk+1​−Lk​​=f(xk+1​)−f(xk​)+2γk+1​−γk​​∥vk+1​−x∗∥2+2γk​​(∥vk+1​−x∗∥2−∥vk​−x∗∥2)=f(xk+1​)−f(xk​)+2αk​​(μ−γk+1​)∥vk+1​−x∗∥2+γk​(vk+1​−vk​,2vk+1​+vk​​−x∗).​

This is the discrete counterpart of differentiating the Lyapunov function of the NAG flow, and is the first step of the proof that the implicit scheme contracts Lk\mathcal L_kLk​.

Formalization Note. No assumption on fff is needed. The inner product (⋅,⋅)(\cdot,\cdot)(⋅,⋅) is the real inner product of InnerProductSpace ℝ V, and (vk+1+vk)/2(v_{k+1}+v_k)/2(vk+1​+vk​)/2 is written 12⋅(vk+1+vk)\tfrac12\cdot(v_{k+1}+v_k)21​⋅(vk+1​+vk​).

Preamble
import Mathlib
import Definitions.Def_NAGFlow_Implicit_Setting
Formal statement
namespace NAGFlow.Implicit

open scoped RealInnerProductSpace

/-- Proof of Theorem 4.1, first display, p. 17: if `α_k > 0` and `γ` satisfies (73) at step `k`,
then for any `f`, `x*` and sequences `x, v`,
`ℒ_{k+1} - ℒ_k = f(x_{k+1}) - f(x_k) + (γ_{k+1} - γ_k)/2 ‖v_{k+1} - x*‖²
    + γ_k/2 (‖v_{k+1} - x*‖² - ‖v_k - x*‖²)
  = f(x_{k+1}) - f(x_k) + α_k/2 (μ - γ_{k+1}) ‖v_{k+1} - x*‖²
    + γ_k ⟪v_{k+1} - v_k, (v_{k+1} + v_k)/2 - x*⟫`. -/
theorem diff_identity {V : Type*} [NormedAddCommGroup V] [InnerProductSpace ℝ V]
    [CompleteSpace V] (f : V → ℝ) (xstar : V) (μ : ℝ) (α γ : ℕ → ℝ) (x v : ℕ → V) (k : ℕ)
    (hα : 0 < α k) (hγ : (γ (k + 1) - γ k) / α k = μ - γ (k + 1)) :
    (lyap f xstar x v γ (k + 1) - lyap f xstar x v γ k
        = f (x (k + 1)) - f (x k) + (γ (k + 1) - γ k) / 2 * ‖v (k + 1) - xstar‖ ^ 2
          + γ k / 2 * (‖v (k + 1) - xstar‖ ^ 2 - ‖v k - xstar‖ ^ 2)) ∧
    (lyap f xstar x v γ (k + 1) - lyap f xstar x v γ k
        = f (x (k + 1)) - f (x k) + α k / 2 * (μ - γ (k + 1)) * ‖v (k + 1) - xstar‖ ^ 2
          + γ k * ⟪v (k + 1) - v k, (1 / 2 : ℝ) • (v (k + 1) + v k) - xstar⟫) := by sorry

end NAGFlow.Implicit
Source
Luo & Chen, arXiv:1909.03145v4, proof of Theorem 4.1, first display (after (75)), p. 17
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

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