Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 4.2(i), p. 20 — a directionally Lipschitz function has a nonempty directional subdifferential

Proved
DirKKTBilevel.VP.dirSubdiff_nonempty

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

directional-subdifferentiallipschitzp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let φ:Rn→[−∞,+∞]\varphi:\mathbb R^n\to[-\infty,+\infty]φ:Rn→[−∞,+∞] be directionally Lipschitz continuous at xˉ\bar xxˉ in direction uuu: there are L,ε,δ>0L,\varepsilon,\delta>0L,ε,δ>0 such that φ\varphiφ is finite on xˉ+Vε,δ(u)\bar x+\mathcal V_{\varepsilon,\delta}(u)xˉ+Vε,δ​(u) and ∣φ(x)−φ(x′)∣≤L∥x−x′∥|\varphi(x)-\varphi(x')|\le L\|x-x'\|∣φ(x)−φ(x′)∣≤L∥x−x′∥ for all x,x′x,x'x,x′ there. Then

∂φ(xˉ;u)≠∅,\partial\varphi(\bar x;u)\ne\emptyset,∂φ(xˉ;u)=∅,

where ∂φ(xˉ;u)\partial\varphi(\bar x;u)∂φ(xˉ;u) is the directional limiting subdifferential of Definition 2.6.

In the proof of Theorem 5.1 this guarantees an element of ∂(−V)(xˉ;u)\partial(-V)(\bar x;u)∂(−V)(xˉ;u) even when the multiplier λV\lambda_VλV​ of the value-function constraint vanishes.

Formalization Note The paper states this for the value function VVV (p. 20, by Rademacher's theorem and [34, Theorem 9.13]); the argument uses only directional Lipschitz continuity, so the statement is made for every such function and applied to −V-V−V.

Preamble
import Mathlib
import Definitions.Def_DirKKTBilevel_VP_Model

open Filter Topology
open NonconvexSplitting.Shared SetConstrSOC.Directional
Formal statement
namespace DirKKTBilevel.VP

/-- Proof of Theorem 4.2(i), p. 20 (Rademacher's theorem and [34, Theorem 9.13]): an
extended-real function that is directionally Lipschitz continuous at `x` in direction `u` has a
nonempty directional limiting subdifferential `∂φ(x; u)`. -/
theorem dirSubdiff_nonempty {n : ℕ} (φ : E n → EReal) (x u : E n)
    (h : DirLipschitzAtEReal φ x u) : (dirSubdiff φ x u).Nonempty := by sorry

end DirKKTBilevel.VP
Source
Bai, Ye, Directional necessary optimality conditions for bilevel programs, arXiv:2004.01783v3, p. 20, proof of Theorem 4.2(i)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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