Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Eq. (27) — the energy inequality of the Explicit Golden Ratio Algorithm

Proved
GoldenRatioVI.Explicit.energy_inequality

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

golden-ratio-algorithmlyapunov-functionp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1variational-inequality

Let E\mathcal EE be a finite-dimensional real inner product space, let ggg satisfy (C2) (proper, convex, lower semicontinuous) and let FFF be monotone on dom⁡g\operatorname{dom} gdomg (C3). Consider a run of Algorithm 1 with parameter ϕ∈(1,φ]\phi\in(1,\varphi]ϕ∈(1,φ], stepsizes (λk)(\lambda_k)(λk​), ratios (θk)(\theta_k)(θk​) and iterates (zk),(zˉk)(z^k),(\bar z^k)(zk),(zˉk), and write Ψ(u,v)=⟨F(u),v−u⟩+g(v)−g(u)\Psi(u,v)=\langle F(u),v-u\rangle+g(v)-g(u)Ψ(u,v)=⟨F(u),v−u⟩+g(v)−g(u). For every z∈dom⁡gz\in\operatorname{dom} gz∈domg and every k≥2k\ge 2k≥2,

ϕϕ−1∥zˉk+1−z∥2+θk2∥zk+1−zk∥2+2λkΨ(z,zk)≤ϕϕ−1∥zˉk−z∥2+θk−12∥zk−zk−1∥2−θk∥zk−zˉk∥2.(27)\frac{\phi}{\phi-1}\|\bar z^{k+1}-z\|^2 + \frac{\theta_k}{2}\|z^{k+1}-z^k\|^2 + 2\lambda_k\Psi(z,z^k) \le \frac{\phi}{\phi-1}\|\bar z^k-z\|^2 + \frac{\theta_{k-1}}{2}\|z^k-z^{k-1}\|^2 - \theta_k\|z^k-\bar z^k\|^2. \tag{27}ϕ−1ϕ​∥zˉk+1−z∥2+2θk​​∥zk+1−zk∥2+2λk​Ψ(z,zk)≤ϕ−1ϕ​∥zˉk−z∥2+2θk−1​​∥zk−zk−1∥2−θk​∥zk−zˉk∥2.(27)

Taking z=z∗∈Sz=z^*\in Sz=z∗∈S, where Ψ(z∗,zk)≥0\Psi(z^*,z^k)\ge0Ψ(z∗,zk)≥0, this is the Lyapunov inequality that gives boundedness of the iterates and θk∥zk−zˉk∥2→0\theta_k\|z^k-\bar z^k\|^2\to0θk​∥zk−zˉk∥2→0 in the proof of Theorem 2.

Formalization Note The paper says "let z∈Ez\in\mathcal Ez∈E be arbitrary"; the statement is restricted to z∈dom⁡gz\in\operatorname{dom} gz∈domg, where F(z)F(z)F(z) is defined and Ψ(z,zk)\Psi(z,z^k)Ψ(z,zk) is a real number. The range k≥2k\ge2k≥2 is where the proof applies: it uses that zkz^kzk is itself a proximal step, which holds from k=2k=2k=2 on.

Preamble
import Mathlib
import Definitions.Def_GoldenRatioVI_Explicit_viProblem
import Definitions.Def_GoldenRatioVI_Explicit_egraalRun
Formal statement
namespace GoldenRatioVI.Explicit

/-- Eq. (27) of Malitsky (p. 7), the energy inequality of Algorithm 1: under (C2) and (C3),
for every `u ∈ dom g` and every `k ≥ 2`,
`(ϕ/(ϕ−1))‖z̄^{k+1} − u‖² + (θ_k/2)‖z^{k+1} − z^k‖² + 2λ_k Ψ(u, z^k)
  ≤ (ϕ/(ϕ−1))‖z̄^k − u‖² + (θ_{k−1}/2)‖z^k − z^{k−1}‖² − θ_k‖z^k − z̄^k‖²`. -/
theorem energy_inequality {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
    [FiniteDimensional ℝ E] (g : E → EReal) (F : E → E) (ϕ lamBar : ℝ)
    (z zbar : ℕ → E) (lam theta : ℕ → ℝ)
    (hg : IsProperConvexLSC g) (hF : IsMonotoneOnDom g F)
    (hrun : IsEGRAALRun g F ϕ lamBar z zbar lam theta)
    (u : E) (hu : u ∈ dom g) (k : ℕ) (hk : 2 ≤ k) :
    ϕ / (ϕ - 1) * ‖zbar (k + 1) - u‖ ^ 2 + theta k / 2 * ‖z (k + 1) - z k‖ ^ 2
        + 2 * lam k * psi g F u (z k) ≤
      ϕ / (ϕ - 1) * ‖zbar k - u‖ ^ 2 + theta (k - 1) / 2 * ‖z k - z (k - 1)‖ ^ 2
        - theta k * ‖z k - zbar k‖ ^ 2 := by sorry

end GoldenRatioVI.Explicit
Source
Malitsky, Golden Ratio Algorithms for Variational Inequalities, preprint (Optimization Online 6598, 2018), p. 7, Eq. (27) (proof of Theorem 2)
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