The projections onto the simplex and the ball exist and are unique
ProvedSimplexProj.Condat.projections_exist_uniqueLet , , and . Let be the simplex of radius and the ball of radius . Then has exactly one Euclidean projection onto and exactly one Euclidean projection onto :
Condat states this in the introduction ("These two projections are well defined and unique, since and are closed and convex sets"); it makes and functions, which every later statement of the paper uses.
Formalization Note. "" is the predicate IsSimplexProjection a y x, and similarly for . The hypotheses and are the paper's standing assumptions (Sect. 1).
import Mathlib import Definitions.Def_SimplexProj_Condat_IsSimplexProjection import Definitions.Def_SimplexProj_Condat_IsL1Projection
namespace SimplexProj.Condat
/-- Condat, Sect. 1, p. 2: the Euclidean projections `P_Δ(y)` and `P_B(y)` onto the simplex and
the `ℓ1` ball of radius `a` are well defined and unique. Standing assumptions of p. 1:
`N ≥ 1`, `a > 0`. -/
theorem projections_exist_unique (N : ℕ) (hN : 1 ≤ N) (a : ℝ) (ha : 0 < a) (y : Fin N → ℝ) :
(∃! x : Fin N → ℝ, IsSimplexProjection a y x) ∧ (∃! x : Fin N → ℝ, IsL1Projection a y x) := by sorry
end SimplexProj.Condat
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a natural number with , let be a real number with , and let be any vector (a real-valued function on ). The theorem asserts two things.
- Exactly one simplex projection. There is exactly one with both of these properties:
- and for all ;
- for every with and all ,
- Exactly one -ball projection. There is exactly one with both of these properties:
- ;
- for every with ,
"Exactly one" means the vector exists and any two such vectors are equal.
Degenerate cases: the hypotheses rule out and , so both constraint sets are nonempty. When , the first set is the single point , so the first claim says that point is the unique minimizer. The second set is the interval . The statement covers every real vector , with no further restriction.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.