Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(4.25), proof of Theorem 4.5, p. 12 — KKT holds at x* iff −∇f(x*) ∈ L_Ω(x*)°

Proved
StrictCQ.SAKKT.kkt_iff_neg_gradient_mem_polar

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

farkaskktlinearized-conep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1polar-cone

Let x∗x^*x∗ be a feasible point of (1.1) and fff an objective. Then

−∇f(x∗)∈LΩ(x∗)∘  ⟺  the KKT condition holds at x∗ for f,-\nabla f(x^*)\in L_\Omega(x^*)^\circ\iff \text{the KKT condition holds at } x^* \text{ for } f,−∇f(x∗)∈LΩ​(x∗)∘⟺the KKT condition holds at x∗ for f,

where LΩ(x∗)L_\Omega(x^*)LΩ​(x∗) is the linearized cone (3.7) and K∘K^\circK∘ is the polar cone.

This identifies the geometric form of KKT used throughout the paper with the multiplier form: it is the step "proving that x∗x^*x∗ satisfies the KKT condition" after (4.25).

Formalization Note KKT is the multiplier form: λ∈Rm\lambda\in\mathbb R^mλ∈Rm, μ∈R+p\mu\in\mathbb R^p_+μ∈R+p​ with μj=0\mu_j=0μj​=0 for every inactive jjj, and ∇f(x∗)+∑λi∇hi(x∗)+∑μj∇gj(x∗)=0\nabla f(x^*)+\sum\lambda_i\nabla h_i(x^*)+\sum\mu_j\nabla g_j(x^*)=0∇f(x∗)+∑λi​∇hi​(x∗)+∑μj​∇gj​(x∗)=0. No differentiability of fff or the constraints is assumed: only the gradient vectors at x∗x^*x∗ enter.

Preamble
import Mathlib
import Definitions.Def_StrictCQ_SAKKT_Setting

open Filter Topology InnerProductSpace
Formal statement
namespace StrictCQ.SAKKT

/-- Proof of Theorem 4.5, p. 12: at a feasible `xs`, KKT holds for `f` iff `-∇f(xs) ∈ L_Ω(xs)°`. -/
theorem kkt_iff_neg_gradient_mem_polar {n m p : ℕ} (C : Constraints n m p)
    (f : EuclideanSpace ℝ (Fin n) → ℝ) (xs : EuclideanSpace ℝ (Fin n))
    (hxs : xs ∈ C.feasible) :
    -gradient f xs ∈ StrictCQ.AGP.polar (C.linCone xs) ↔ C.IsKKT f xs := by sorry

end StrictCQ.SAKKT
Source
Andreani, Martínez, Ramos & Silva, Strict constraint qualifications and sequential optimality conditions for constrained optimization, Optimization Online 5197 (version of November 12, 2015), p. 12, (4.25) and proof of Theorem 4.5
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

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