Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Eq. (3.65) — a vector field for the general convex programming problem (3.64)

Proved
ShorNonsmooth.Ellipsoid.convex_program_field_monotone

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

convex-programmingellipsoid-methodp2o-batch-b23ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Consider the convex program (3.64): minimize f0(x)f_0(x)f0​(x) subject to fi(x)≤0f_i(x) \le 0fi​(x)≤0, i=1,…,mi = 1, \dots, mi=1,…,m, x∈Enx \in E_nx∈En​, where f0,f1,…,fmf_0, f_1, \dots, f_mf0​,f1​,…,fm​ are convex functions on EnE_nEn​ with subgradients gν(x)g_\nu(x)gν​(x), ν=0,1,…,m\nu = 0, 1, \dots, mν=0,1,…,m. Let x∗x^*x∗ be an optimal point. Define

g(x)={g0(x)if max⁡1≤i≤mfi(x)≤0,gi∗(x)if max⁡1≤i≤mfi(x)=fi∗(x)>0.g(x) = \begin{cases} g_0(x) & \text{if } \max_{1 \le i \le m} f_i(x) \le 0, \\[2pt] g_{i^*}(x) & \text{if } \max_{1 \le i \le m} f_i(x) = f_{i^*}(x) > 0. \end{cases}g(x)={g0​(x)gi∗​(x)​if max1≤i≤m​fi​(x)≤0,if max1≤i≤m​fi​(x)=fi∗​(x)>0.​

Then

(g(x),x−x∗)≥0for all x∈En.(g(x), x - x^*) \ge 0 \qquad \text{for all } x \in E_n .(g(x),x−x∗)≥0for all x∈En​.

Consequently the algorithm (3.57)–(3.60) localizes an optimal point of any convex program for which a ball containing it is known.

Formalization Note The constraints are indexed by Fin m (so m=0m = 0m=0, the unconstrained case, is allowed). The field ggg is any map with g(x)=g0(x)g(x) = g_0(x)g(x)=g0​(x) at feasible points and g(x)=gi∗(x)g(x) = g_{i^*}(x)g(x)=gi∗​(x) for some maximizing index i∗i^*i∗ at infeasible points; the choice of i∗i^*i∗ may depend on xxx arbitrarily. Optimality of x∗x^*x∗ means x∗x^*x∗ is feasible and f0(x∗)≤f0(x)f_0(x^*) \le f_0(x)f0​(x∗)≤f0​(x) for every feasible xxx.

Preamble
import Mathlib
Formal statement
namespace ShorNonsmooth.Ellipsoid

/-- Shor (1985), pp. 89–90, (3.64)–(3.65). Let `f₀, f₁, …, f_m` be convex on `E_n` with
subgradient selections `g₀, g₁, …, g_m`, and let `x*` be an optimal point of
`min f₀(x)` s.t. `fᵢ(x) ≤ 0`, `i = 1, …, m`. Let `g` be the field (3.65):
`g(x) = g₀(x)` if `max_i fᵢ(x) ≤ 0`, and `g(x) = g_{i*}(x)` for an index `i*` with
`max_i fᵢ(x) = f_{i*}(x) > 0` otherwise. Then `(g(x), x - x*) ≥ 0` for all `x ∈ E_n`.
Constraints are indexed by `Fin m`; the maximizing index may depend on `x` arbitrarily. -/
theorem convex_program_field_monotone {n m : ℕ}
    (f₀ : EuclideanSpace ℝ (Fin n) → ℝ) (f : Fin m → EuclideanSpace ℝ (Fin n) → ℝ)
    (hf₀ : ConvexOn ℝ Set.univ f₀) (hf : ∀ i, ConvexOn ℝ Set.univ (f i))
    (g₀ : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (gc : Fin m → EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hg₀ : ∀ x y : EuclideanSpace ℝ (Fin n), f₀ y - f₀ x ≥ inner ℝ (g₀ x) (y - x))
    (hgc : ∀ i, ∀ x y : EuclideanSpace ℝ (Fin n), f i y - f i x ≥ inner ℝ (gc i x) (y - x))
    (xstar : EuclideanSpace ℝ (Fin n)) (hfeas : ∀ i, f i xstar ≤ 0)
    (hopt : ∀ x : EuclideanSpace ℝ (Fin n), (∀ i, f i x ≤ 0) → f₀ xstar ≤ f₀ x)
    (g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hg_feas : ∀ x, (∀ i, f i x ≤ 0) → g x = g₀ x)
    (hg_infeas : ∀ x, (∃ i, 0 < f i x) →
      ∃ istar : Fin m, (∀ j, f j x ≤ f istar x) ∧ g x = gc istar x) :
    ∀ x : EuclideanSpace ℝ (Fin n), 0 ≤ inner ℝ (g x) (x - xstar) := by sorry

end ShorNonsmooth.Ellipsoid
Source
Shor, Minimization Methods for Non-Differentiable Functions, Springer 1985, pp. 89–90, §3.8.2, problem (3.64) and Eq. (3.65)
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