Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3, p. 21 — if the merit parameter vanishes with bounded gradient error, liminf ‖J_kᵀc_k‖₂ = 0

Proved
StochSQP.Vanishing.theorem_3

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

infeasible-stationarityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rank-deficiencysequential-quadratic-programmingstochastic-optimization

Let f:Rn→Rf : \mathbb R^n \to \mathbb Rf:Rn→R and c:Rn→Rmc : \mathbb R^n \to \mathbb R^mc:Rn→Rm define the problem min⁡f(x)\min f(x)minf(x) s.t. c(x)=0c(x) = 0c(x)=0, and consider a run of the stochastic SQP algorithm (Algorithm 1) with valid parameters, under Assumption 1 (on an open convex set XXX containing all iterates) and Assumption 3. Suppose that Assumption 5 holds in this run, i.e. the merit parameters vanish, τk→0\tau_k \to 0τk​→0, and the stochastic gradients satisfy ∥gk−∇f(xk)∥22≤M\|g_k - \nabla f(x_k)\|_2^2 \le M∥gk​−∇f(xk​)∥22​≤M for all kkk with M>0M > 0M>0. Suppose that {βk}\{\beta_k\}{βk​} satisfies (28) for all kkk, and either

(a) βk=β∈(0,1)\beta_k = \beta \in (0,1)βk​=β∈(0,1) for all kkk, or

(b) ∑k=0∞βk=∞\sum_{k=0}^\infty \beta_k = \infty∑k=0∞​βk​=∞, ∑k=0∞βk2<∞\sum_{k=0}^\infty \beta_k^2 < \infty∑k=0∞​βk2​<∞, and either ∣{k∈N:∥uk∥22<χk∥vk∥22}∣=∞|\{k \in \mathbb N : \|u_k\|_2^2 < \chi_k\|v_k\|_2^2\}| = \infty∣{k∈N:∥uk​∥22​<χk​∥vk​∥22​}∣=∞ or ∑k=0∞βkτk=∞\sum_{k=0}^\infty \beta_k\tau_k = \infty∑k=0∞​βk​τk​=∞.

Then

lim inf⁡k→∞∥JkTck∥2=0.\liminf_{k \to \infty} \|J_k^T c_k\|_2 = 0 .k→∞liminf​∥JkT​ck​∥2​=0.

If the merit parameter vanishes while the gradient errors stay bounded, a subsequence of iterates approaches stationarity for the constraint violation measure 12∥c(x)∥22\tfrac12\|c(x)\|_2^221​∥c(x)∥22​; this is the guarantee the algorithm provides when the constraint Jacobians tend to rank deficiency.

Formalization Note. Since ∥JkTck∥2≥0\|J_k^T c_k\|_2 \ge 0∥JkT​ck​∥2​≥0, lim inf⁡=0\liminf = 0liminf=0 is stated as: for every γ>0\gamma > 0γ>0 there are infinitely many kkk with ∥JkTck∥2<γ\|J_k^T c_k\|_2 < \gamma∥JkT​ck​∥2​<γ (∃ᶠ k in atTop), which avoids Filter.liminf on unbounded real sequences. ∑βk=∞\sum\beta_k = \infty∑βk​=∞ is ¬ Summable β (the terms are positive) and ∑βkτk=∞\sum\beta_k\tau_k = \infty∑βk​τk​=∞ is ¬ Summable (β·τ). Assumption 5 is read pathwise; its unbiasedness clause Ek,τ,zero[gk]=∇f(xk)\mathbb E_{k,\tau,\rm zero}[g_k] = \nabla f(x_k)Ek,τ,zero​[gk​]=∇f(xk​) is dropped, Assumption 3's "chosen independently from gkg_kgk​" is dropped, and fff's expectation structure is not modelled (see the definitions file).

Preamble
import Mathlib
import Definitions.Def_StochSQP_Vanishing_Model

open scoped InnerProductSpace RealInnerProductSpace
Formal statement
namespace StochSQP.Vanishing

theorem theorem_3 {n m : ℕ} (P : Problem n m) (A : Params) (hA : A.Valid)
    (X : Set (E n)) (hA1 : Assumption1 P A.L A.Γ X)
    (R : Run n m) (hR : IsRun P A R) (hX : ∀ k, R.x k ∈ X)
    (κH ζH : ℝ) (hA3 : Assumption3 P R κH ζH)
    (M : ℝ) (hM : 0 < M) (hg : ∀ k, ‖R.g k - P.grad (R.x k)‖ ^ 2 ≤ M)
    (hτ : Filter.Tendsto R.τ Filter.atTop (nhds 0))
    (h28 : Cond28 A R)
    (hab : (∃ β : ℝ, 0 < β ∧ β < 1 ∧ ∀ k, R.β k = β) ∨
      (¬ Summable R.β ∧ Summable (fun k => R.β k ^ 2) ∧
        ({k : ℕ | ‖R.u k‖ ^ 2 < R.χ k * ‖R.v k‖ ^ 2}.Infinite ∨
          ¬ Summable (fun k => R.β k * R.τ k)))) :
    ∀ γ > (0 : ℝ), ∃ᶠ k in Filter.atTop, ‖P.Jt (R.x k) (P.c (R.x k))‖ < γ := by sorry

end StochSQP.Vanishing
Source
Berahas, Curtis, O'Neill & Robinson, arXiv:2106.13015v2, p. 21, Theorem 3 (Assumption 5, p. 19)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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