For a proper lower-semicontinuous convex function , its proximal operator is
The squared norm is strongly convex, so the minimizer is unique. The subdifferential sum rule gives the necessary and sufficient condition
More generally,
The subgradient inversion rule for the convex conjugate says exactly when . Hence
which is precisely the proximal optimality condition
Since , this proves the generalized Moreau decomposition
The function is the support function . For a nonempty compact convex set,
so its convex conjugate is the indicator function . Applying the Moreau decomposition,
Multiplication of an indicator function by a positive scalar does not change it, and its proximal operator is the Euclidean projection onto a convex set. Therefore
For a nonempty closed convex set , the Moreau decomposition and give .