Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2, p. 3 — if the cone of active gradients is ℝⁿ, KKT holds for every objective

Proved
StrictCQ.Scaled.activeCone_univ_kkt

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

constraint-qualificationkktp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let h1,…,hmh_1,\dots,h_mh1​,…,hm​, g1,…,gpg_1,\dots,g_pg1​,…,gp​ be a constraint system on Rn\mathbb R^nRn and x∗x^*x∗ a feasible point. Suppose the cone of active gradients is the whole space:

{∑i=1mλi∇hi(x∗)+∑j: gj(x∗)=0μj∇gj(x∗):λ∈Rm, μj≥0}=Rn.\Big\{\sum_{i=1}^m \lambda_i \nabla h_i(x^*) + \sum_{j:\, g_j(x^*) = 0} \mu_j \nabla g_j(x^*) : \lambda \in \mathbb R^m,\ \mu_j \ge 0\Big\} = \mathbb R^n .{i=1∑m​λi​∇hi​(x∗)+j:gj​(x∗)=0∑​μj​∇gj​(x∗):λ∈Rm, μj​≥0}=Rn.

Then for every function f:Rn→Rf : \mathbb R^n \to \mathbb Rf:Rn→R, the point x∗x^*x∗ satisfies the KKT conditions for fff.

This is the first half of the proof that (2.3) is a strict constraint qualification for Scaled-AKKT: when the cone is full, KKT holds independently of the objective function.

Formalization Note No differentiability of fff is assumed: the statement uses only the vector ∇f(x∗)\nabla f(x^*)∇f(x∗), which Mathlib's gradient returns for any function.

Preamble
import Mathlib
import Definitions.Def_StrictCQ_Scaled_Setting
import Definitions.Def_StrictCQ_Scaled_Conditions

open Filter Topology
open scoped InnerProductSpace
Formal statement
namespace StrictCQ.Scaled

theorem activeCone_univ_kkt {n m p : ℕ} (C : Constraints n m p)
    (xs : EuclideanSpace ℝ (Fin n)) (hxs : xs ∈ C.feasible)
    (hcone : C.activeCone xs = Set.univ) (f : EuclideanSpace ℝ (Fin n) → ℝ) :
    C.IsKKT f xs := by sorry

end StrictCQ.Scaled
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. 3, §2 (paragraph after (2.3))
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