Documentation

CslibFrontier.Foundations.Analysis.InnerProductSpace.MetricProjection

Metric projection onto a complete convex set #

For a nonempty complete convex set K in a real inner product space, every point y has a unique nearest point in K (exists_norm_eq_iInf_of_complete_convex in Mathlib). metricProjection K y chooses it. Mathlib names this map only for subspaces (Submodule.orthogonalProjection), so here it is defined for arbitrary convex sets. When K is empty, incomplete or nonconvex the value is unspecified and every lemma below assumes all three hypotheses.

Main definitions #

Main results #

References #

noncomputable def Cslib.metricProjection {E : Type u_1} [NormedAddCommGroup E] (K : Set E) (y : E) :
E

The metric projection onto K: a point of K nearest to y. It is well defined (and unique) when K is nonempty, complete and convex; otherwise its value is unspecified.

theorem Cslib.metricProjection_spec {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {K : Set E} (hne : K.Nonempty) (hc : IsComplete K) (hK : Convex ℝ K) (y : E) :
metricProjection K y ∈ K ∧ ‖y - metricProjection K y‖ = ⨅ (w : ↑K), ‖y - ↑w‖
theorem Cslib.metricProjection_mem {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {K : Set E} (hne : K.Nonempty) (hc : IsComplete K) (hK : Convex ℝ K) (y : E) :
theorem Cslib.norm_sub_metricProjection {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {K : Set E} (hne : K.Nonempty) (hc : IsComplete K) (hK : Convex ℝ K) (y : E) :
‖y - metricProjection K y‖ = ⨅ (w : ↑K), ‖y - ↑w‖
theorem Cslib.inner_sub_metricProjection_le_zero {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {K : Set E} (hc : IsComplete K) (hK : Convex ℝ K) (y : E) {z : E} (hz : z ∈ K) :

The variational inequality characterizing the projection.

theorem Cslib.metricProjection_eq_iff {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {K : Set E} (hc : IsComplete K) (hK : Convex ℝ K) {y x : E} (hx : x ∈ K) :
metricProjection K y = x ↔ ∀ z ∈ K, inner ℝ (y - x) (z - x) ≤ 0

A point of K is the projection of y iff it satisfies the variational inequality.

theorem Cslib.metricProjection_eq_iff_forall_norm_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {K : Set E} (hc : IsComplete K) (hK : Convex ℝ K) {y x : E} (hx : x ∈ K) :
metricProjection K y = x ↔ ∀ z ∈ K, ‖y - x‖ ≤ ‖y - z‖

A point of K is the projection of y iff it is a nearest point of K to y.

theorem Cslib.norm_metricProjection_sub_le {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {K : Set E} (hc : IsComplete K) (hK : Convex ℝ K) (y : E) {z : E} (hz : z ∈ K) :

Pythagoras for projections ([Haz22] Theorem 2.1): projecting onto K does not increase the distance to any point of K.

theorem Cslib.metricProjection_eq_self {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {K : Set E} (hc : IsComplete K) (hK : Convex ℝ K) {y : E} (hy : y ∈ K) :

Points of K are fixed by the projection.

The projection is nonexpansive: ‖Π y - Π y'‖ ≤ ‖y - y'‖.

The projection is 1-Lipschitz.