Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.1, pp. 436–437 — at X̄ ∈ int(dom ρ) the directional derivative ρ′(X̄,·) is finite, positively homogeneous, convex, and ρ(X) ≥ ρ(X̄) + ρ′(X̄, X − X̄)

Proved
ConvexRiskFn.Cont.directional_derivative_props

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

convex-analysisdirectional-derivativep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1risk-function

Let X\mathcal XX be a real normed space and ρ:X→R‾\rho:\mathcal X\to\overline{\mathbb R}ρ:X→R a proper function satisfying (A1) (convexity). Let Xˉ\bar XXˉ be an interior point of dom⁡ρ\operatorname{dom}\rhodomρ. Then for every X∈XX\in\mathcal XX∈X the one-sided directional derivative

ρ′(Xˉ,X):=lim⁡t↓0ρ(Xˉ+tX)−ρ(Xˉ)t\rho'(\bar X,X):=\lim_{t\downarrow0}\frac{\rho(\bar X+tX)-\rho(\bar X)}{t}ρ′(Xˉ,X):=t↓0lim​tρ(Xˉ+tX)−ρ(Xˉ)​

exists as a real number, and the function δ(⋅):=ρ′(Xˉ,⋅):X→R\delta(\cdot):=\rho'(\bar X,\cdot):\mathcal X\to\mathbb Rδ(⋅):=ρ′(Xˉ,⋅):X→R satisfies:

  1. δ\deltaδ is positively homogeneous: δ(tX)=t δ(X)\delta(tX)=t\,\delta(X)δ(tX)=tδ(X) for all t>0t>0t>0;
  2. δ\deltaδ is convex on X\mathcal XX;
  3. ρ(X)≥ρ(Xˉ)+δ(X−Xˉ)\rho(X)\ge\rho(\bar X)+\delta(X-\bar X)ρ(X)≥ρ(Xˉ)+δ(X−Xˉ) for every X∈XX\in\mathcal XX∈X.

This is the construction from which the paper obtains an algebraic subgradient at interior points of the domain.

Formalization Note The statement asserts the existence of a real-valued δ\deltaδ to which the difference quotients converge as t→0+t\to0^+t→0+, so δ\deltaδ is finite valued and is the directional derivative. The quotient is written with EReal.toReal; since Xˉ\bar XXˉ is interior to the domain and ρ\rhoρ is proper, ρ(Xˉ+tX)\rho(\bar X+tX)ρ(Xˉ+tX) is finite for all small t>0t>0t>0, so this agrees with the paper's quotient along the limit. The paper also states convexity of δ\deltaδ and the inequality for an arbitrary Xˉ\bar XXˉ (where δ\deltaδ may take infinite values); only the case Xˉ∈int⁡(dom⁡ρ)\bar X\in\operatorname{int}(\operatorname{dom}\rho)Xˉ∈int(domρ), the one the paper's argument uses, is formalized.

Preamble
import Mathlib
import Definitions.Def_ConvexRiskFn_Cont_Setting
open Filter Topology
Formal statement
namespace ConvexRiskFn.Cont

theorem directional_derivative_props {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    (ρ : E → EReal) (hρ : IsProper ρ) (h1 : ConvexRiskFn.Dual.A1 ρ) (Xbar : E)
    (hXbar : Xbar ∈ interior (ConvexRiskFn.Dual.dom ρ)) :
    ∃ δ : E → ℝ,
      (∀ X : E, Tendsto (fun t : ℝ => ((ρ (Xbar + t • X)).toReal - (ρ Xbar).toReal) / t)
        (𝓝[>] 0) (𝓝 (δ X))) ∧
      (∀ X : E, ∀ t : ℝ, 0 < t → δ (t • X) = t * δ X) ∧
      ConvexOn ℝ Set.univ δ ∧
      (∀ X : E, ρ Xbar + ((δ (X - Xbar) : ℝ) : EReal) ≤ ρ X) := by sorry

end ConvexRiskFn.Cont
Source
Ruszczyński, Shapiro, Optimization of convex risk functions, Math. Oper. Res. 31 (2006), pp. 436–437, §3.1, paragraph beginning "Let us observe that ρ always possesses an algebraic subgradient" (the directional derivative δ(·) := ρ′(X̄, ·))
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 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