How to project a vector on a set defined by linear inequality constraints through KKT conditions?
Statement
I need to find the projection of a vector on the set defined by where is a (given but no specific property) matrix of size .
I first build the Lagrangian as follows :
and set its gradient w.r.t. to which leads to
The inequality constraints add an additional KKT condition :
Replacing inside gives
It is where it becomes harder for me. I guess that either or should be equal to but then I am stuck. Indeed, the second condition is a scalar product linking all the and I don't know how to deal with it properly.
Any help appreciated
Posed by MysteryGuy · convex-optimization
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-330703.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-330703.lean
import Mathlib /-! # How to project a vector on a set defined by linear inequality constraints through KKT conditions? Source: https://mathoverflow.net/questions/330703 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_330703 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_330703