Clarke's generalized gradient in real inner product spaces #
In a real inner product space H, Clarke's generalized gradient ∂_C f x of f : H → ℝ is the
set of vectors u with ⟪v, u⟫ ≤ f°(x; v) for every direction v: the subdifferential at 0
of the convex function f°(x; ·). It is the preimage of the dual-space version
clarkeSubdifferentialDual f x under the Riesz map, and in a complete space its image under the
inverse Riesz map. Most results of this file are derived from their dual-space versions in
ClarkeBanach.lean through this bridge; the chain rules use that the Riesz map turns composition
with G' into the adjoint G'†. Results specific to inner product spaces are the link with the
subdifferential of convex analysis, gradients, the support function and the max rule, which uses
the max rule of convex analysis (MaxRule.lean).
Main definitions #
ConvexAnalysis.clarkeSubdifferential f x: Clarke's generalized gradient∂_C f x, a set of vectors.
Main statements #
ConvexAnalysis.clarkeSubdifferential_eq_preimage_toDualMap,ConvexAnalysis.clarkeSubdifferential_eq_image_toDual_symm: the bridge toclarkeSubdifferentialDualthrough the Riesz map;ConvexAnalysis.toDual_symm_comp:(η ∘ A)^♯ = A† η^♯, so that the dual chain rules give the Hilbert-space ones.ConvexAnalysis.hasSubgradientAt_clarkeDeriv_iff:u ∈ ∂_C f xiffuis a subgradient off°(x; ·)at0.ConvexAnalysis.norm_le_of_mem_clarkeSubdifferential,ConvexAnalysis.nonempty_clarkeSubdifferential,ConvexAnalysis.convex_clarkeSubdifferential,ConvexAnalysis.isClosed_clarkeSubdifferential: basic properties of∂_C f x.ConvexAnalysis.exists_mem_clarkeSubdifferential_inner_eq,ConvexAnalysis.clarkeDeriv_eq_supportFunction: the max formula;f°(x; ·)is the support function of∂_C f x.ConvexAnalysis.zero_mem_clarkeSubdifferential_of_isLocalMin,ConvexAnalysis.zero_mem_clarkeSubdifferential_of_isLocalMax: Fermat's rule.ConvexAnalysis.clarkeSubdifferential_neg,ConvexAnalysis.clarkeSubdifferential_const_smul_of_pos,ConvexAnalysis.clarkeSubdifferential_const_smul:∂_C (-f) x = -∂_C f xand∂_C (c f) x = c ∂_C f x.ConvexAnalysis.clarkeSubdifferential_eq_singleton_of_hasStrictFDerivAt,ConvexAnalysis.clarkeSubdifferential_eq_singleton_of_contDiffAt:∂_C f x = {∇f x}for strictly differentiablef;ConvexAnalysis.gradient_mem_clarkeSubdifferential.ConvexAnalysis.clarkeSubdifferential_add_subset,ConvexAnalysis.clarkeSubdifferential_sum_subset: the sum rule∂_C (f + g) x ⊆ ∂_C f x + ∂_C g x;ConvexAnalysis.clarkeSubdifferential_add_eq_of_hasStrictFDerivAt: equality ifgis strictly differentiable;ConvexAnalysis.clarkeSubdifferential_add_eq_of_clarkeRegularAt,ConvexAnalysis.clarkeSubdifferential_sum_eq_of_clarkeRegularAt: equality for regular functions.ConvexAnalysis.clarkeSubdifferential_eq_subdifferential_coe: for a convexfcontinuous atx, Clarke's generalized gradient is the subdifferential of convex analysis.ConvexAnalysis.exists_mem_clarkeSubdifferential_sub_eq_inner: Lebourg's mean value theorem.ConvexAnalysis.mem_clarkeSubdifferential_of_tendsto,ConvexAnalysis.isClosed_graph_clarkeSubdifferential:∂_C fhas a closed graph, for everyf.ConvexAnalysis.clarkeSubdifferential_iSup_subset,ConvexAnalysis.clarkeSubdifferential_iSup: the max rule∂_C (⨆ i, F i) x ⊆ convexHull (⋃ active i, ∂_C (F i) x)forF iLipschitz nearx(completeH), with equality if the activeF iare regular.ConvexAnalysis.clarkeSubdifferential_comp_subset_of_hasStrictFDerivAt: the chain rule∂_C (f ∘ G) x ⊆ G'† (∂_C f (G x))for a strictly differentiableG, and the linear caseConvexAnalysis.clarkeSubdifferential_comp_continuousLinearMap_subset; equality for a regularf(ConvexAnalysis.clarkeSubdifferential_comp_eq_of_clarkeRegularAt), a regular-f(ConvexAnalysis.clarkeSubdifferential_comp_eq_of_clarkeRegularAt_neg), a convexf(ConvexAnalysis.clarkeSubdifferential_comp_eq_of_convexOn) and a surjectiveG'(ConvexAnalysis.clarkeSubdifferential_comp_eq_of_surjective).
Implementation notes #
The generalized directional derivative f° and regularity are in ClarkeDeriv.lean and
ClarkeRegular.lean, for normed spaces. The calculus of the generalized gradient is proved once, in
the dual space (ClarkeBanach.lean), and transported here: membership through
ConvexAnalysis.clarkeSubdifferential_eq_preimage_toDualMap, which needs no completeness, and
images of sets through ConvexAnalysis.clarkeSubdifferential_eq_image_toDual_symm, which needs the
Riesz representation theorem and hence a complete space. The max rule has no dual-space version yet:
its proof needs the max rule of convex analysis in Hilbert space, and the convex hull is closed
because the ∂_C (F i) x are weakly compact (ConvexAnalysis.isClosed_convexHull_iUnion).
References #
- F. H. Clarke, Optimization and Nonsmooth Analysis, Wiley, 1983, Chapter 2.
- F. H. Clarke, Nonsmooth analysis and optimization, Proceedings of the
International Congress of Mathematicians (Helsinki, 1978), Acad. Sci. Fennica, 1980, 847–853,
Section 2 (the definitions of
f°(x; v)and∂_C f x). - G. Lebourg, Valeur moyenne pour gradient généralisé, C. R. Acad. Sci. Paris Sér. A 281 (1975), 795–797.
- R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998, Chapters 7 and 10
(subdifferential regularity and calculus rules, in
ℝⁿ).
Tags #
Clarke generalized gradient, locally Lipschitz function, nonsmooth analysis, Lebourg's mean value theorem, sum rule, max rule, chain rule, Riesz representation
Clarke's generalized gradient ∂_C f x: the vectors u with ⟪v, u⟫ ≤ f°(x; v) for
every direction v Clarke, Chapter 2, Clarke1980, Section 2 (there as a
subset of the dual space, here through the Riesz map; see ConvexAnalysis.clarkeSubdifferentialDual
for the dual form). It is the subdifferential at 0 of f°(x; ·)
(clarkeSubdifferential_eq_subdifferential), a convex function when f is Lipschitz near x.
The set is Clarke's generalized gradient only for f Lipschitz near x; for other f, Clarke's
general definition through the normal cone to the epigraph gives a set contained in this one.
Equations
- ConvexAnalysis.clarkeSubdifferential f x = {u : H | ∀ (v : H), ↑(inner ℝ v u) ≤ ConvexAnalysis.clarkeDeriv f x v}
Instances For
Membership in ∂_C f x, unfolded.
The bridge to the dual space #
In a real inner product space, u ∈ clarkeSubdifferential f x iff the functional
⟪u, ·⟫ lies in clarkeSubdifferentialDual f x.
Clarke's generalized gradient of a constant function is {0}.
u ∈ ∂_C f x iff u is a subgradient of the convex function f°(x; ·) at 0.
Clarke's generalized gradient is the subdifferential of f°(x; ·) at 0.
∂_C f x is convex, for every f.
∂_C f x is closed, for every f.
The elements of ∂_C f x have norm at most the Lipschitz constant of f near x.
For f Lipschitz near x, ∂_C f x is bounded.
Fermat's rule for Clarke's generalized gradient: 0 ∈ ∂_C f x at a local minimum.
Fermat's rule for Clarke's generalized gradient: 0 ∈ ∂_C f x at a local maximum.
∂_C (-f) x = -∂_C f x. No hypothesis on f is needed.
∂_C (c f) x = c ∂_C f x for c > 0. No hypothesis on f is needed.
Every subgradient of convex analysis is in Clarke's generalized gradient; no convexity is needed.
For a convex f : H → ℝ continuous at x, Clarke's generalized gradient is the
subdifferential of convex analysis Clarke, Chapter 2.
In finite dimension, Clarke's generalized gradient of a convex f : H → ℝ is its
subdifferential of convex analysis.
For regular f and g Lipschitz near x, ∂_C f x + ∂_C g x ⊆ ∂_C (f + g) x.
For a regular f Lipschitz near x, u ∈ ∂_C f x iff ⟪v, u⟫ ≤ f'(x; v) for every v,
where f'(x; v) is the right derivative of t ↦ f (x + t • v) at 0
Clarke, Chapter 2.
In a real Hilbert space, Clarke's generalized gradient clarkeSubdifferential f x is the
image of clarkeSubdifferentialDual f x under the inverse of the Riesz map.
In a real Hilbert space, the Riesz map sends clarkeSubdifferential f x onto
clarkeSubdifferentialDual f x.
The vector that represents a functional ξ lies in ∂_C f x iff ξ lies in the dual-space
generalized gradient.
Max formula for Clarke's generalized gradient: for f Lipschitz near x, some
u ∈ ∂_C f x has ⟪v, u⟫ = f°(x; v); so f°(x; v) is the largest value of ⟪v, ·⟫ on
∂_C f x Clarke, Chapter 2.
For f Lipschitz near x, Clarke's generalized gradient is nonempty.
f°(x; ·) is the support function of ∂_C f x Clarke, Chapter 2.
∂_C (c f) x = c ∂_C f x for every real c, for f Lipschitz near x. For c = 0 this
uses that ∂_C f x is nonempty.
Sum rule for Clarke's generalized gradient: ∂_C (f + g) x ⊆ ∂_C f x + ∂_C g x for f
and g Lipschitz near x Clarke, Chapter 2.
Sum rule with equality for regular functions Clarke, Chapter 2:
∂_C (f + g) x = ∂_C f x + ∂_C g x for f and g regular and Lipschitz near x; f + g is
regular as well (ClarkeRegularAt.add).
∂_C (f + g) x = ∂_C f x + {∇g x} for g strictly differentiable at x; nothing is
assumed on f.
For a strictly differentiable f, Clarke's generalized gradient is the gradient:
∂_C f x = {∇f x} Clarke, Chapter 2.
For f continuously differentiable near x, Clarke's generalized gradient is
{∇f x}.
The Fréchet derivative, as a vector, lies in ∂_C f x Clarke, Chapter 2; no Lipschitz
hypothesis is needed.
The gradient of a function differentiable at x lies in ∂_C f x; no Lipschitz hypothesis
is needed.
Lebourg's mean value theorem (Lebourg; Clarke, Chapter 2): if f
is Lipschitz near every point of the segment [x, y], then f y - f x = ⟪y - x, u⟫ for some
u ∈ ∂_C f z at a point z of the open segment.
Sum rule for finitely many functions Lipschitz near x:
∂_C (∑ i, F i) x ⊆ ∑ i, ∂_C (F i) x Clarke, Chapter 2.
Sum rule with equality for finitely many regular functions Lipschitz near x:
∂_C (∑ i, F i) x = ∑ i, ∂_C (F i) x Clarke, Chapter 2.
Closed graph #
Closed graph of ∂_C f, for every f, even along weakly convergent uᵢ
Clarke, Chapter 2.
The graph of ∂_C f is closed, for every f Clarke, Chapter 2.
Finite dimension: ∂_C f x is compact.
The max rule #
Max rule for Clarke's generalized gradient Clarke, Chapter 2: for finitely many
F i : H → ℝ Lipschitz near x, ∂_C (⨆ i, F i) x lies in the convex hull of the ∂_C (F i) x
over the active indices, those with F i x = ⨆ j, F j x (complete H).
Max rule with equality for regular functions Clarke, Chapter 2: for finitely many
F i : H → ℝ Lipschitz near x whose active members are regular at x,
∂_C (⨆ i, F i) x is the convex hull of the ∂_C (F i) x over the active indices, and
⨆ i, F i is regular at x (clarkeRegularAt_iSup).
Chain rules #
The Riesz map turns composition with a bounded linear map A into its adjoint: the vector
that represents η ∘ A is A† applied to the vector that represents η.
The images of a set of functionals under composition with A and the Riesz map are the
images of the representing vectors under the adjoint A†.
Chain rule Clarke, Chapter 2: ∂_C (f ∘ G) x ⊆ G'† (∂_C f (G x)) for G strictly
differentiable at x and f Lipschitz near G x.
Chain rule with a bounded linear inner map:
∂_C (f ∘ A) x ⊆ A† (∂_C f (A x)) for f Lipschitz near A x Clarke, Chapter 2.
If f°(G x; G' v) ≤ (f ∘ G)°(x; v) in every direction v, then
G'† (∂_C f (G x)) ⊆ ∂_C (f ∘ G) x; with the chain rule this gives equality.
Chain rule with equality for a strictly differentiable G with surjective derivative
Clarke, Chapter 2: ∂_C (f ∘ G) x = G'† (∂_C f (G x)) for f Lipschitz near G x; no
regularity is needed.
Chain rule with equality under regularity Clarke, Chapter 2:
∂_C (f ∘ G) x = G'† (∂_C f (G x)) for G strictly differentiable at x and f Lipschitz near
G x and regular at G x; f ∘ G is regular at x as well (ClarkeRegularAt.comp).
Chain rule with equality if -f is regular at G x Clarke, Chapter 2:
∂_C (f ∘ G) x = G'† (∂_C f (G x)) for G strictly differentiable at x and f Lipschitz near
G x.
Chain rule for a convex outer function Clarke, Chapter 2: for G strictly
differentiable at x and f convex and continuous at G x,
∂_C (f ∘ G) x = G'† (∂ f (G x)), with the subdifferential of convex analysis on the right.