Helper for Lemma 6.43: points on the ray leaving P x in the direction of x - P x
keep the same metric projection onto C.
Helper for Lemma 6.43: the distance-penalty proximal objective is bounded below by the
radial residual objective centered at P x, together with the nonnegative defect term measuring
the displacement of the projection point.
Helper for Lemma 6.43: the projection-centered shrinkage candidate is exactly the textbook
piecewise point on the segment from x to P x.
Lemma 6.43: if C is a nonempty complete convex subset of a real inner product space and
0 ≤ λ, then the proximal mapping of the distance penalty y ↦ λ d_C(y) at x is the
singleton given by the textbook piecewise formula, written in canonical projection-ray form: when
λ < d_C(x) it is lineMap x (P_C x) (λ / d_C(x)), equivalently
P_C(x) + (1 - λ / d_C(x)) (x - P_C(x)), and when d_C(x) ≤ λ it is P_C(x). Here d_C(x)
is written as Metric.infDist x C, and P_C denotes the canonical metric projection onto a
nonempty complete convex set. The textbook closed-subset-of-a-complete-space formulation is the
downstream specialization obtained from IsClosed.isComplete. The endpoint λ = 0 is included
canonically: if x ∉ C, then the first branch becomes lineMap x (P_C x) 0 = x, while if
x ∈ C, then both branches reduce to x.