Documentation

ConvexAnalysis.SubdifferentialCalculus

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 #

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 #

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.

theorem ConvexAnalysis.subdifferential_max_of_lt {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f g : H → EReal} {x : H} (hf : ConvexFun f) (hfc : UpperSemicontinuousAt f x) (hgc : UpperSemicontinuousAt g x) (h : g x < f x) :
subdifferential (fun (y : H) => max (f y) (g y)) x = subdifferential f x

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.

theorem ConvexAnalysis.subdifferential_max_of_gt {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f g : H → EReal} {x : H} (hg : ConvexFun g) (hfc : UpperSemicontinuousAt f x) (hgc : UpperSemicontinuousAt g x) (h : f x < g x) :
subdifferential (fun (y : H) => max (f y) (g y)) x = subdifferential g 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.

theorem ConvexAnalysis.subdifferential_max_of_eq {H : Type u_1} [NormedAddCommGroup H] [InnerProductSpace ℝ H] {f g : H → EReal} {x : H} [CompleteSpace H] (hf : ConvexFun f) (hg : ConvexFun g) (hfc : UpperSemicontinuousAt f x) (hgc : UpperSemicontinuousAt g x) (h : f x = g x) :
subdifferential (fun (y : H) => max (f y) (g y)) x = (convexHull ℝ) (subdifferential f x ∪ subdifferential g 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.