Elementary rules of subdifferential calculus #
Rules for the subdifferential of an extended valued function f : H → EReal on a real inner
product space that need no qualification condition of the sum rule: locality (∂h x = ∂f x if
h ≥ f agrees with a convex f near x), the normal cone at an interior point, adding the
indicator of a set at an interior point, and the maximum of two functions. Adding a constant and
tilting by a linear function are in ConvexAnalysis.Subgradient
(ConvexAnalysis.subdifferential_add_const, ConvexAnalysis.subdifferential_add_inner).
Main statements #
ConvexAnalysis.ConvexFun.subdifferential_eq_of_le_of_eventuallyEq: locality, iff ≤ h,fis convex andh = fnearx, then∂h x = ∂f x.ConvexAnalysis.normalCone_eq_singleton_zero_of_mem_interior:N_C x = {0}at an interior point ofC.ConvexAnalysis.subdifferential_add_convexIndicator_of_mem_interior:∂(f + ι_C) x = ∂f xat an interior pointxofC, for convexf, without a continuity condition.ConvexAnalysis.subdifferential_max_of_eq: the max rule for two functions,∂ max(f, g) x = conv (∂f x ∪ ∂g x)iff x = g x, andConvexAnalysis.subdifferential_max_of_lt,ConvexAnalysis.subdifferential_max_of_gtfor an inactive function, which need convexity only of the active one.
Implementation notes #
Locality uses convexity of f to pass from the subgradient inequality near x to the global one
(ConvexAnalysis.ConvexFun.forall_le_of_eventually_le); x ∈ dom f is not a hypothesis, since a
subgradient exists only where f x is finite. The rule for f + ι_C at an interior point is its
case h = f + ι_C; it needs neither continuity of f nor convexity of C, unlike the sum rule
ConvexAnalysis.subdifferential_add_convexIndicator. The normal cone is the case f = 0. The
max rule with both functions active is the case ι = Bool of
ConvexAnalysis.subdifferential_iSup_eq_convexHull and needs upper semicontinuity; with one
function inactive, it is locality, since a convex function that is upper semicontinuous and finite
at x is continuous there (ConvexAnalysis.ConvexFun.continuousAt_of_eventually_le), so the
inactive function stays below the active one near x.
References #
- H. H. Bauschke, P. L. Combettes, Convex Analysis and Monotone Operator Theory in Hilbert Spaces, 2nd ed., Springer, 2017, Proposition 6.44 and Theorem 18.5.
Tags #
subdifferential, subgradient, locality, normal cone, indicator function, max rule
Locality of the subdifferential: if f is convex, f ≤ h, and h = f near x, then
∂h x = ∂f x. The inclusion ∂f x ⊆ ∂h x needs only f ≤ h and h x = f x; the other one
needs convexity of f, to pass from the subgradient inequality near x to all of H.
The normal cone at an interior point of C is {0}, BC, Proposition 6.44 (ii) (there
for nonempty convex C and points of the core, which contains the interior). Here C is any
set.
At an interior point x of C, the indicator of C does not change the subdifferential of
a convex function: ∂(f + ι_C) x = ∂f x. No continuity of f, no convexity of C and no
hypothesis x ∈ dom f are needed (both sides are empty unless f x is finite). The inclusion
⊇ holds for every f and every x ∈ C.
The max rule at a point where only f is active: if g x < f x, then
∂ max(f, g) x = ∂f x, for convex f upper semicontinuous at x and any g upper
semicontinuous at x.
The max rule at a point where only g is active: if f x < g x, then
∂ max(f, g) x = ∂g x, for convex g upper semicontinuous at x and any f upper
semicontinuous at x.
Max rule for two functions (the Dubovitskii–Milyutin theorem BC, Theorem 18.5 for
two functions, there continuous at x): if convex f and g are upper semicontinuous at x
and f x = g x, then ∂ max(f, g) x is the convex hull of ∂f x ∪ ∂g x.