Clarke's generalized gradient as the convex hull of limits of gradients #
For f : H → ℝ Lipschitz near x in a finite-dimensional real inner product space, f is
differentiable almost everywhere near x (Rademacher's theorem), and Clarke's generalized
gradient is the convex hull of the limits lim ∇f (x k) along sequences x k → x that avoid a
given null set S and the points where f is not differentiable Clarke, Chapter 2.
Main definitions #
ConvexAnalysis.gradientLimits f x S: the limitslim ∇f (x k)along sequencesx k → xof points outsideSwherefis differentiable.
Main statements #
ConvexAnalysis.mem_clarkeSubdifferential_of_tendsto_gradient,ConvexAnalysis.convexHull_gradientLimits_subset: limits of gradients lie in∂_C f x, in every complete space and without a Lipschitz hypothesis (closed graph of∂_C f);ConvexAnalysis.limsup_inner_gradient_le_clarkeDeriv: the upper limit of⟪∇f y, v⟫asy → xis at mostf°(x; v).ConvexAnalysis.ae_ae_add_smul_notMem: almost every line parallel tovmeets a null set in a null set (Fubini).ConvexAnalysis.measure_interior_inter_setOf_not_differentiableAt: Rademacher's theorem nearx, in the form used here.ConvexAnalysis.clarkeDeriv_le_of_eventually_inner_gradient_le: if⟪v, ∇f y⟫ ≤ cat the pointsynearxoutside a null set at whichfis differentiable, thenf°(x; v) ≤ c.ConvexAnalysis.clarkeDeriv_le_supportFunction_gradientLimits:f°(x; v)is at most the largest⟪w, v⟫over the limits of gradientsw.ConvexAnalysis.clarkeSubdifferential_eq_convexHull_gradientLimits: Clarke's theorem∂_C f x = convexHull (gradientLimits f x S)for every null setS;ConvexAnalysis.clarkeDeriv_eq_supportFunction_gradientLimits:f°(x; v)is the support function ofgradientLimits f x Satv;ConvexAnalysis.clarkeDeriv_eq_limsup_inner_gradient:f°(x; v)is the upper limit of⟪∇f y, v⟫asy → xoutsideSthrough the points wherefis differentiable;ConvexAnalysis.nonempty_gradientLimits.
Implementation notes #
The proof of f°(x; v) ≤ c follows Clarke. For almost every base point y the line s ↦ y + s • v
meets the null set in a null set of parameters (ConvexAnalysis.ae_ae_add_smul_notMem, Tonelli for
(y, s) ↦ y + s • v and translation invariance of the Haar measure). Along such a line,
s ↦ f (y + s • v) is Lipschitz, hence absolutely continuous, so the fundamental theorem of
calculus for absolutely continuous functions
(AbsolutelyContinuousOnInterval.integral_deriv_eq_sub) gives
f (y + t • v) - f y = ∫ s in 0..t, ⟪v, ∇f (y + s • v)⟫ ≤ c t. Base points with this property are
dense, and f is continuous, so the inequality holds for every y near x.
References #
- F. H. Clarke, Optimization and Nonsmooth Analysis, Wiley, 1983, Chapter 2.
- R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998, Chapter 9 (limits
of gradients of strictly continuous functions on
ℝⁿ).
Tags #
Clarke generalized gradient, limits of gradients, Rademacher's theorem, locally Lipschitz function, nonsmooth analysis
The limits lim ∇f (x k) along sequences x k → x of points outside S at which f is
differentiable.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Membership in gradientLimits f x S, unfolded.
u is a limit of gradients iff there are points y ∉ S, arbitrarily close to x, where f
is differentiable with ∇f y arbitrarily close to u.
The set of limits of gradients is closed.
For f Lipschitz with constant K near x, the limits of gradients have norm at most K.
Limits of gradients lie in Clarke's generalized gradient: if x i → x, f is
differentiable at x i and ∇f (x i) → u, then u ∈ ∂_C f x Clarke, Chapter 2. No
Lipschitz hypothesis is needed; this is the closed graph of ∂_C f.
The convex hull of the limits of gradients lies in Clarke's generalized gradient, for every
f and S.
The upper limit of ⟪∇f y, v⟫ as y → x through the points outside S at which f is
differentiable is at most f°(x; v), for every f and S: ∇f y ∈ ∂_C f y, and y ↦ f°(y; v)
is upper semicontinuous.
Along a segment on which f is Lipschitz and ⟪v, ∇f⟫ ≤ c almost everywhere,
f (y + t • v) - f y ≤ c t: the fundamental theorem of calculus for the absolutely continuous
function s ↦ f (y + s • v).
In finite dimension, the limits of gradients of a function Lipschitz near x form a compact
set.
Fubini along lines: for a null set N and a direction v, for almost every y the line
s ↦ y + s • v meets N in a null set of parameters. The case L = toSpanSingleton v of
Mathlib's MeasureTheory.ae_ae_add_linearMap_mem_iff.
Rademacher's theorem near x: the points of the interior of U at which a function
Lipschitz on U is not differentiable form a null set.
Clarke's directional derivative is controlled by gradients Clarke, Chapter 2: let
f be Lipschitz near x in finite dimension and N a null set. If ⟪v, ∇f y⟫ ≤ c at every
point y ∉ N near x at which f is differentiable, then f°(x; v) ≤ c. By Rademacher's
theorem the points near x at which f is not differentiable form a null set
(measure_interior_inter_setOf_not_differentiableAt), which is added to N.
f°(x; v) is at most the support function of the limits of gradients at v: the largest
⟪w, v⟫ over the limits w of ∇f (x k) with x k → x outside a null set S
Clarke, Chapter 2.
Clarke's theorem on limits of gradients Clarke, Chapter 2: for f Lipschitz near
x in a finite-dimensional real inner product space and any null set S, Clarke's generalized
gradient is the convex hull of the limits lim ∇f (x k) along sequences x k → x of points outside
S at which f is differentiable. By Rademacher's theorem
(LipschitzOnWith.ae_differentiableWithinAt_of_mem) the points where f is not differentiable form
a null set near x.
Clarke's formula for f° through gradients Clarke, Chapter 2: for f Lipschitz
near x in finite dimension and any null set S, f°(x; v) is the largest ⟪w, v⟫ over the
limits w of ∇f (x k) with x k → x outside S. The form as an upper limit of ⟪∇f y, v⟫ is
clarkeDeriv_eq_limsup_inner_gradient.
Clarke's formula for f° as an upper limit of gradients Clarke, Chapter 2: for
f Lipschitz near x in finite dimension and any null set S, f°(x; v) is the upper limit of
⟪∇f y, v⟫ as y → x through the points outside S at which f is differentiable.
For f Lipschitz near x in finite dimension, there are limits of gradients at x outside
every null set.