Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (4.4) — first-order optimality conditions for XkX^kXk and X⋆X^\starX⋆

Proved
CaiCandesShen.GeneralConvex.optimality_conditions

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

convex-optimizationoptimality-conditionsp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1subgradient

Let τ>0\tau>0τ>0, let f1,…,fmf_1,\dots,f_mf1​,…,fm​ be convex functions on Rn1×n2\mathbb R^{n_1\times n_2}Rn1​×n2​ with F=(f1,…,fm)\mathcal F = (f_1,\dots,f_m)F=(f1​,…,fm​), let (Xk,yk)(X^k, y^k)(Xk,yk) be generated by iteration (3.5) from y0=0y^0 = 0y0=0 with arbitrary step sizes δk\delta_kδk​, and let (X⋆,y⋆)(X^\star, y^\star)(X⋆,y⋆) be a primal-dual optimal pair for (3.4). Then:

  1. for every k≥1k\ge 1k≥1 there is Zk∈∂fτ(Xk)Z^k\in\partial f_\tau(X^k)Zk∈∂fτ​(Xk) such that for all XXX
⟨Zk,X−Xk⟩+⟨yk−1,F(X)−F(Xk)⟩≥0;\langle Z^k, X - X^k\rangle + \langle y^{k-1}, \mathcal F(X) - \mathcal F(X^k)\rangle \ge 0;⟨Zk,X−Xk⟩+⟨yk−1,F(X)−F(Xk)⟩≥0;
  1. there is Z⋆∈∂fτ(X⋆)Z^\star\in\partial f_\tau(X^\star)Z⋆∈∂fτ​(X⋆) such that for all XXX
⟨Z⋆,X−X⋆⟩+⟨y⋆,F(X)−F(X⋆)⟩≥0.\langle Z^\star, X - X^\star\rangle + \langle y^\star, \mathcal F(X) - \mathcal F(X^\star)\rangle \ge 0 .⟨Z⋆,X−X⋆⟩+⟨y⋆,F(X)−F(X⋆)⟩≥0.

These are the variational inequalities expressing that XkX^kXk minimizes L(⋅,yk−1)\mathcal L(\cdot, y^{k-1})L(⋅,yk−1) and X⋆X^\starX⋆ minimizes L(⋅,y⋆)\mathcal L(\cdot, y^\star)L(⋅,y⋆); the proof of Theorem 4.4 sums them to compare the two points.

Formalization Note The paper's step kkk is the Lean index k + 1: XkX^kXk is X (k+1) and yk−1y^{k-1}yk−1 is y k.

Preamble
import Mathlib
import Definitions.Def_CaiCandesShen_GeneralConvex_Problem
Formal statement
namespace CaiCandesShen.GeneralConvex

/-- Eq. (4.4), proof of Theorem 4.4, p. 1969: along a run `(X^k, y^k)` of (3.5) and for a
primal-dual optimal pair `(X⋆, y⋆)` of (3.4), for every `k ≥ 1` there is `Z^k ∈ ∂f_τ(X^k)` with
`⟨Z^k, X - X^k⟩ + ⟨y^{k−1}, 𝓕(X) - 𝓕(X^k)⟩ ≥ 0` for all `X`, and there is `Z⋆ ∈ ∂f_τ(X⋆)` with
`⟨Z⋆, X - X⋆⟩ + ⟨y⋆, 𝓕(X) - 𝓕(X⋆)⟩ ≥ 0` for all `X`. Paper index `k` is `k + 1` here. -/
theorem optimality_conditions {n₁ n₂ m : ℕ} (τ : ℝ) (hτ : 0 < τ)
    (f : Fin m → Mat n₁ n₂ → ℝ) (hconv : ∀ i, ConvexOn ℝ Set.univ (f i))
    (δ : ℕ → ℝ) (X : ℕ → Mat n₁ n₂) (y : ℕ → Fin m → ℝ) (hseq : IsGeneralSVTSeq τ f δ X y)
    (Xs : Mat n₁ n₂) (ys : Fin m → ℝ) (hopt : IsPrimalDualOptimal τ f Xs ys) :
    (∀ k : ℕ, ∃ Z : Mat n₁ n₂, IsSubgradient (fτ τ) (X (k + 1)) Z ∧
        ∀ X' : Mat n₁ n₂, 0 ≤ frobInner Z (X' - X (k + 1)) +
          dot (y k) (constraintMap f X' - constraintMap f (X (k + 1)))) ∧
      ∃ Zs : Mat n₁ n₂, IsSubgradient (fτ τ) Xs Zs ∧
        ∀ X' : Mat n₁ n₂, 0 ≤ frobInner Zs (X' - Xs) +
          dot ys (constraintMap f X' - constraintMap f Xs) := by sorry

end CaiCandesShen.GeneralConvex
Source
Cai, Candès, Shen, A Singular Value Thresholding Algorithm for Matrix Completion, SIAM J. Optim. 20 (2010), p. 1969, proof of Theorem 4.4, Eq. (4.4)
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

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