Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition (1.4) — f°(x; ·) is the support function of ∂f(x)

Proved
ClarkeGradients.MaxFunctions.genDirDeriv_isGreatest

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

nonsmooth-analysisp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1support-function

Let f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R be locally Lipschitz, and let x,v∈Rnx,v\in\mathbb R^nx,v∈Rn. Then the generalized directional derivative is the maximum of the linear functional ζ↦ζ⋅v\zeta\mapsto\zeta\cdot vζ↦ζ⋅v over the generalized gradient:

f∘(x;v)=max⁡{ζ⋅v: ζ∈∂f(x)}.f^\circ(x;v)=\max\{\zeta\cdot v:\ \zeta\in\partial f(x)\}.f∘(x;v)=max{ζ⋅v: ζ∈∂f(x)}.

That is, f∘(x;⋅)f^\circ(x;\cdot)f∘(x;⋅) is the support function of ∂f(x)\partial f(x)∂f(x). The maximum is attained.

This duality is the main tool of §1: it converts inequalities on difference quotients into membership in ∂f(x)\partial f(x)∂f(x) (Corollary (1.10)), and it gives the formula for f∘f^\circf∘ in Theorem (2.1)(3).

Formalization Note "max" is IsGreatest of the image set, which asserts both that f∘(x;v)f^\circ(x;v)f∘(x;v) is attained by some ζ∈∂f(x)\zeta\in\partial f(x)ζ∈∂f(x) and that it bounds every ζ⋅v\zeta\cdot vζ⋅v. The §1 standing assumption (locally Lipschitz) is the hypothesis hf.

Preamble
import Mathlib
import Definitions.Def_ClarkeGradients_Shared_LipschitzOnBounded
import Definitions.Def_ClarkeGradients_Shared_generalizedGradient
import Definitions.Def_ClarkeGradients_Shared_genDirDeriv
Formal statement
namespace ClarkeGradients.MaxFunctions

/-- Clarke (1975), Proposition (1.4): for locally Lipschitz `f`,
`f°(x; v) = max {ζ · v : ζ ∈ ∂f(x)}`, i.e. `f°(x; ·)` is the support function of `∂f(x)`. -/
theorem genDirDeriv_isGreatest {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ)
    (hf : Shared.LipschitzOnBounded f) (x v : EuclideanSpace ℝ (Fin n)) :
    IsGreatest ((fun ζ => inner ℝ ζ v) '' Shared.generalizedGradient f x) (Shared.genDirDeriv f x v) := by sorry

end ClarkeGradients.MaxFunctions
Source
Clarke, Generalized gradients and applications, Trans. Amer. Math. Soc. 205 (1975), p. 248, Proposition (1.4)
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

This statement uses three definitions that are imported from other files and whose code is not shown. I name them by their identifiers and cannot say more about their content:

  • LipschitzOnBounded(f)\mathrm{LipschitzOnBounded}(f)LipschitzOnBounded(f): its name suggests that fff is Lipschitz on every bounded set.
  • ∂f(x)\partial f(x)∂f(x) (generalizedGradient f x): a subset of Rn\mathbb{R}^nRn.
  • f∘(x;v)f^\circ(x; v)f∘(x;v) (genDirDeriv f x v): a real number.

The data are:

  • a natural number nnn;
  • a function f:Rn→Rf : \mathbb{R}^n \to \mathbb{R}f:Rn→R satisfying LipschitzOnBounded(f)\mathrm{LipschitzOnBounded}(f)LipschitzOnBounded(f);
  • points x,v∈Rnx, v \in \mathbb{R}^nx,v∈Rn (Euclidean space).

Write ⟨ζ,v⟩=∑iζivi\langle \zeta, v \rangle = \sum_i \zeta_i v_i⟨ζ,v⟩=∑i​ζi​vi​ for the standard inner product. The claim is that the set of reals {⟨ζ,v⟩:ζ∈∂f(x)}\{\langle \zeta, v\rangle : \zeta \in \partial f(x)\}{⟨ζ,v⟩:ζ∈∂f(x)} has a greatest element, and that this element is f∘(x;v)f^\circ(x; v)f∘(x;v). Explicitly, both of the following hold:

  1. There exists ζ∗∈∂f(x)\zeta^\ast \in \partial f(x)ζ∗∈∂f(x) with ⟨ζ∗,v⟩=f∘(x;v)\langle \zeta^\ast, v\rangle = f^\circ(x; v)⟨ζ∗,v⟩=f∘(x;v).
  2. For every ζ∈∂f(x)\zeta \in \partial f(x)ζ∈∂f(x), ⟨ζ,v⟩≤f∘(x;v)\langle \zeta, v\rangle \le f^\circ(x; v)⟨ζ,v⟩≤f∘(x;v).

In other words,

f∘(x;v)=max⁡ζ∈∂f(x)⟨ζ,v⟩,f^\circ(x; v) = \max_{\zeta \in \partial f(x)} \langle \zeta, v \rangle,f∘(x;v)=ζ∈∂f(x)max​⟨ζ,v⟩,

with the maximum attained. Part 1 implies in particular that ∂f(x)\partial f(x)∂f(x) is nonempty.

Degenerate cases:

  • If v=0v = 0v=0, every inner product is 000. The claim becomes: ∂f(x)≠∅\partial f(x) \neq \varnothing∂f(x)=∅ and f∘(x;0)=0f^\circ(x; 0) = 0f∘(x;0)=0.
  • If n=0n = 0n=0, every vector is 000. The claim again reads ∂f(x)≠∅\partial f(x) \neq \varnothing∂f(x)=∅ and f∘(x;v)=0f^\circ(x; v) = 0f∘(x;v)=0.

Whether these conclusions, or the hypothesis on fff, are automatically true or restrictive depends on the unseen definitions.

Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me