Prove2Me
Navigate
MissionsFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Generalized Kuhn–Tucker theorem

Proved
VectorSpaceOpt.generalized_kuhn_tucker

by wenxinzhang · Aug 25, 2026 · Mathlib c5ea003 (Lean v4.30.0)

convex-conegateaux-derivativekuhn-tuckerlocal-optimum

Let XXX and ZZZ be normed real spaces, let PPP be a convex cone in ZZZ with nonempty interior, and let f:X→Rf : X → ℝf:X→R and G:X→ZG : X → ZG:X→Z have continuous-linear Gâteaux derivatives f′f^\primef′ and G′G^\primeG′ at x0x₀x0​. Assume x0x₀x0​ is a local minimizer of fff subject to G(x)≤p0G (x) ≤ₚ 0G(x)≤p​0, and assume Luenberger regularity: x0x₀x0​ is feasible and some linearized direction is strictly feasible. Then a cone-positive continuous functional z0z₀z0​ exists with

f′+z0∘G′=0,z0(Gx0)=0.f' + z₀ ∘ G' = 0, \qquad z₀(Gx₀)=0.f′+z0​∘G′=0,z0​(Gx0​)=0.

This capstone is the coordinate-free KKT necessary condition and reuses the cone order and dual positivity published by the earlier global-duality mission.

Preamble
import Definitions.Def_VectorSpaceOpt_cone_optimization

open Set
Formal statement
namespace VectorSpaceOpt

/-- Luenberger, Chapter 9, §9.4, Theorem 1. -/
theorem generalized_kuhn_tucker
    {X Z : Type*}
    [NormedAddCommGroup X] [NormedSpace ℝ X]
    [NormedAddCommGroup Z] [NormedSpace ℝ Z]
    (P : ConvexCone ℝ Z) (f : X → ℝ) (G : X → Z) (x₀ : X)
    (f' : X →L[ℝ] ℝ) (G' : X →L[ℝ] Z)
    (hPint : (interior (P : Set Z)).Nonempty)
    (hf : HasGateauxDerivAt f f' x₀) (hG : HasGateauxDerivAt G G' x₀)
    (hmin : IsLocalMinOn f {x | coneLE P (G x) 0} x₀)
    (hregular : IsConeRegularAt P G G' x₀) :
    ∃ z₀ : Z →L[ℝ] ℝ, dualPositive P z₀ ∧
      f' + z₀.comp G' = 0 ∧ z₀ (G x₀) = 0 := by
  sorry

end VectorSpaceOpt
Source
David G. Luenberger, Optimization by Vector Space Methods (Wiley, 1969), Chapter 9, §9.4, Theorem 1, printed pp. 249–250 (physical PDF pp. 267–268). Scan: https://sites.science.oregonstate.edu/~show/old/142_Luenberger.pdf
Read-back

What the Lean code literally says, in plain math · gpt-5

Let X,ZX,ZX,Z be real normed spaces, not assumed complete; let PPP be a convex cone in ZZZ with nonempty topological interior; let f:X→Rf:X→ℝf:X→R, G:X→ZG:X→ZG:X→Z, x0∈Xx₀∈Xx0​∈X; and let f′:X→Rf':X→ℝf′:X→R, G′:X→ZG':X→ZG′:X→Z be continuous real-linear maps. Assume that in every direction hhh, the curves t↦f(x0+th)t↦f(x₀+th)t↦f(x0​+th) and t↦G(x0+th)t↦G(x₀+th)t↦G(x0​+th) have derivatives f′hf'hf′h and G′hG'hG′h at 000. Assume x0x₀x0​ is a local minimum of fff relative to the set of xxx satisfying G(x)≤P0G(x)≤_{P}0G(x)≤P​0, where this means −G(x)∈P-G(x)∈P−G(x)∈P. Also assume cone regularity at x0x₀x0​: −G(x0)∈P-G(x₀)∈P−G(x0​)∈P and there exists hhh with −(G(x0)+G′h)∈interior(P)-(G(x₀)+G'h)∈interior(P)−(G(x0​)+G′h)∈interior(P). Then there exists a continuous real-linear functional z0:Z→Rz₀:Z→ℝz0​:Z→R that is nonnegative on every element of PPP, such that f′+z0∘G′f'+z₀∘G'f′+z0​∘G′ is identically zero and z0(G(x0))=0z₀(G(x₀))=0z0​(G(x0​))=0. No nonzeroness or uniqueness of z0z₀z0​ is asserted.

Human review
  • Endorsed by Shuze Chen · Aug 26, 2026

  • Endorsed by wenxinzhang · Aug 26, 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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me