Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Corollary of Theorem 4.1 — formula (4.7) for functions differentiable in yyy

Open
ShorNonsmooth.Decomposition.subgradient_formula_differentiable

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

convex-analysisdecompositionp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1subgradient

Assume the hypotheses of Theorem 4.1: f0f_0f0​ and fif_ifi​, i=1,…,ni = 1,\dots,ni=1,…,n, are jointly convex; WWW is a convex set of xxx-values at which the minimum in (4.5) is attained; xˉ∈W\bar x \in Wxˉ∈W and the Slater condition holds for (4.4) at xˉ\bar xxˉ; yˉ=y(xˉ)\bar y = y(\bar x)yˉ​=y(xˉ) is optimal and U=U(xˉ)U = U(\bar x)U=U(xˉ) are Kuhn–Tucker multipliers. Suppose in addition that each fα(x,⋅)f_\alpha(x,\cdot)fα​(x,⋅), α=0,1,…,n\alpha = 0,1,\dots,nα=0,1,…,n, is continuously differentiable in yyy. Let (gfαx,gfαy)(g^x_{f_\alpha}, g^y_{f_\alpha})(gfα​x​,gfα​y​) be arbitrary subgradients of fαf_\alphafα​ at (xˉ,yˉ)(\bar x,\bar y)(xˉ,yˉ​). Then

g(xˉ)=gf0x(xˉ,y(xˉ))+∑i=1nUi(xˉ) gfix(xˉ,y(xˉ))(4.7)g(\bar x) = g^x_{f_0}(\bar x, y(\bar x)) + \sum_{i=1}^n U_i(\bar x)\, g^x_{f_i}(\bar x, y(\bar x)) \qquad (4.7)g(xˉ)=gf0​x​(xˉ,y(xˉ))+i=1∑n​Ui​(xˉ)gfi​x​(xˉ,y(xˉ))(4.7)

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

Formula (4.7) lets one compute a subgradient of Φ\PhiΦ from subgradients of the problem functions, without choosing a special subgradient of LUL_ULU​; it underlies the decomposition algorithm of p. 96 for linear and quadratic subproblems.

Formalization Note "Continuously differentiable with respect to yyy" is ContDiff ℝ 1 of y↦fα(x,y)y \mapsto f_\alpha(x,y)y↦fα​(x,y) for every xxx.

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

/-- Shor (1985), **Corollary** of Theorem 4.1 (p. 95), formula (4.7): under the hypotheses of Theorem 4.1
(jointly convex `f_α`, a convex set `W` on which the minimum (4.5) is attained, `xbar ∈ W` with the Slater
condition, an optimal `ybar` and Kuhn–Tucker multipliers `U`), if in addition every `f_α(x, ·)`,
`α = 0, 1, …, n`, is continuously differentiable in `y`, then for **arbitrary** subgradients
`(gx₀, gy₀)` of `f₀` and `(gx_i, gy_i)` of `f_i` at `(xbar, ybar)`, the vector
`gx₀ + Σ_i U_i gx_i` is a subgradient of `Φ` at `xbar` on `W`. -/
theorem subgradient_formula_differentiable {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))
    (hd₀ : ∀ x, ContDiff ℝ 1 (f₀ x)) (hd : ∀ i x, ContDiff ℝ 1 (f i x))
    (W : Set (EuclideanSpace ℝ (Fin l))) (hW : Convex ℝ W)
    (hWmin : ∀ x ∈ W, MinAttained f₀ f x)
    (xbar : EuclideanSpace ℝ (Fin l)) (hxbar : xbar ∈ W) (hslater : SlaterAt f xbar)
    (ybar : EuclideanSpace ℝ (Fin m)) (hybar : IsOptimalY f₀ f xbar ybar)
    (U : Fin n → ℝ) (hU : IsKuhnTuckerMultiplier f₀ f xbar ybar U)
    (gx₀ : EuclideanSpace ℝ (Fin l)) (gy₀ : EuclideanSpace ℝ (Fin m))
    (hg₀ : IsJointSubgradient f₀ xbar ybar gx₀ gy₀)
    (gx : Fin n → EuclideanSpace ℝ (Fin l)) (gy : Fin n → EuclideanSpace ℝ (Fin m))
    (hg : ∀ i, IsJointSubgradient (f i) xbar ybar (gx i) (gy i)) :
    IsSubgradientOn (valueFn f₀ f) W xbar (gx₀ + ∑ i, U i • gx i) := by sorry

end ShorNonsmooth.Decomposition
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, p. 95, Corollary (formula (4.7)); proof p. 96
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