Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 4.1 — the value function of decomposition with respect to variables is convex, with subgradient gLUx(xˉ,y(xˉ))g^x_{L_U}(\bar x, y(\bar x))gLU​x​(xˉ,y(xˉ))

Open
ShorNonsmooth.Decomposition.value_function_convex_and_subgradient

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

convex-analysisdecompositionp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1subgradientvalue-function

Let f0f_0f0​ and fif_ifi​, i=1,…,ni = 1,\dots,ni=1,…,n, be jointly convex functions of (x,y)∈Elx×Emy(x,y) \in E^x_l \times E^y_m(x,y)∈Elx​×Emy​, let D(x)={y:fi(x,y)≤0, i=1,…,n}D(x) = \{y : f_i(x,y) \le 0,\ i = 1,\dots,n\}D(x)={y:fi​(x,y)≤0, i=1,…,n} and Φ(x)=min⁡y∈D(x)f0(x,y)\Phi(x) = \min_{y \in D(x)} f_0(x,y)Φ(x)=miny∈D(x)​f0​(x,y) (4.5), and let W⊆ElxW \subseteq E^x_lW⊆Elx​ be a convex set at each point of which this minimum is attained. Then:

  1. Φ\PhiΦ is convex on WWW;
  2. if xˉ∈W\bar x \in Wxˉ∈W and the Slater condition holds for fi(xˉ,y)≤0f_i(\bar x, y) \le 0fi​(xˉ,y)≤0, then for every optimal y(xˉ)=yˉy(\bar x) = \bar yy(xˉ)=yˉ​ of the subproblem (4.3)–(4.4):
    • Kuhn–Tucker multipliers U=(Ui)U = (U_i)U=(Ui​) of (4.3)–(4.4) exist (U≥0U \ge 0U≥0, Uifi(xˉ,yˉ)=0U_i f_i(\bar x,\bar y) = 0Ui​fi​(xˉ,yˉ​)=0, yˉ\bar yyˉ​ minimizes LU(xˉ,⋅)L_U(\bar x,\cdot)LU​(xˉ,⋅), where LU=f0+∑iUifiL_U = f_0 + \sum_i U_i f_iLU​=f0​+∑i​Ui​fi​);
    • for every such UUU, the Lagrange function LUL_ULU​ has a subgradient at (xˉ,yˉ)(\bar x,\bar y)(xˉ,yˉ​) whose projection on EmyE^y_mEmy​ vanishes;
    • for every such subgradient (gLUx(xˉ,y(xˉ)),0)(g^x_{L_U}(\bar x, y(\bar x)), 0)(gLU​x​(xˉ,y(xˉ)),0),
gΦ(xˉ)=gLUx(xˉ,y(xˉ))(4.6)g_\Phi(\bar x) = g^x_{L_U}(\bar x, y(\bar x)) \qquad (4.6)gΦ​(xˉ)=gLU​x​(xˉ,y(xˉ))(4.6)

is a subgradient of Φ\PhiΦ at xˉ\bar xxˉ: Φ(x)−Φ(xˉ)≥(x−xˉ,gΦ(xˉ))\Phi(x) - \Phi(\bar x) \ge (x - \bar x, g_\Phi(\bar x))Φ(x)−Φ(xˉ)≥(x−xˉ,gΦ​(xˉ)) for all x∈Wx \in Wx∈W.

Theorem 4.1 reduces a convex program in (x,y)(x,y)(x,y) to the convex minimization of Φ\PhiΦ over xxx, with a subgradient of Φ\PhiΦ read off from the solution and multipliers of the subproblem in yyy; this is the basis of the subgradient decomposition algorithm (steps (a)–(c), p. 96).

Formalization Note The book's "convex on some convex subset WWW of EnE_nEn​" is read as convexity on every convex set of xxx-values where Φ\PhiΦ is defined. The printed "(3.4)–(4.4)" is read as (4.3)–(4.4). Formula (4.6) is stated, as the book's proof uses it, for a subgradient of LUL_ULU​ whose yyy-projection vanishes; for an arbitrary subgradient of LUL_ULU​ the xxx-projection need not be a subgradient of Φ\PhiΦ.

Preamble
import Mathlib
import Definitions.Def_ShorNonsmooth_Decomposition_ValueFunction
Formal statement
namespace ShorNonsmooth.Decomposition

/-- Shor (1985), **Theorem 4.1** (p. 94). Let `f₀` and `f_i`, `i = 1, …, n`, be jointly convex functions
of `(x, y)`, and let `W` be a convex set of `x`-values at each of which problem (4.3)–(4.4) has a
solution. Then

1. the value function `Φ` of (4.5) is convex on `W`;
2. if `xbar ∈ W` and the Slater constraint qualification holds for (4.4) at `xbar`, then for every optimal
   `y(xbar) = ybar`: Kuhn–Tucker multipliers `U` of (4.3)–(4.4) exist; for every such `U`, `L_U` has a
   subgradient at `(xbar, ybar)` with null projection on the `y`-space; and the `x`-projection `gx` of every such
   subgradient is a subgradient of `Φ` at `xbar` on `W` (formula (4.6)). -/
theorem value_function_convex_and_subgradient {l m n : ℕ}
    (f₀ : EuclideanSpace ℝ (Fin l) → EuclideanSpace ℝ (Fin m) → ℝ)
    (f : Fin n → EuclideanSpace ℝ (Fin l) → EuclideanSpace ℝ (Fin m) → ℝ)
    (hf₀ : JointlyConvex f₀) (hf : ∀ i, JointlyConvex (f i))
    (W : Set (EuclideanSpace ℝ (Fin l))) (hW : Convex ℝ W)
    (hWmin : ∀ x ∈ W, MinAttained f₀ f x) :
    ConvexOn ℝ W (valueFn f₀ f) ∧
      ∀ xbar ∈ W, SlaterAt f xbar → ∀ ybar, IsOptimalY f₀ f xbar ybar →
        (∃ U : Fin n → ℝ, IsKuhnTuckerMultiplier f₀ f xbar ybar U) ∧
        ∀ U : Fin n → ℝ, IsKuhnTuckerMultiplier f₀ f xbar ybar U →
          (∃ gx, IsJointSubgradient (lagrangian f₀ f U) xbar ybar gx 0) ∧
          ∀ gx, IsJointSubgradient (lagrangian f₀ f U) xbar ybar gx 0 →
            IsSubgradientOn (valueFn f₀ f) W xbar gx := by sorry

end ShorNonsmooth.Decomposition
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, p. 94, Theorem 4.1; proof pp. 94–95
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

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