Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(1.16), p. 5 — Danskin's formula ψ_i′(x; d) = max_{j ∈ J_i(x)} ∇ψ_{i,j}(x)ᵀd

Proved
DCPenalty.Penalty.eq_1_16

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

dc-programmingdirectional-derivativenonsmooth-optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let the standing assumptions of problem (1.1) hold. Then for every x∈Xx\in Xx∈X, every d∈TX(x)d\in\mathcal T_X(x)d∈TX​(x) and every i∈{0,1,…,I}i\in\{0,1,\dots,I\}i∈{0,1,…,I}, the one-sided directional derivative of ψi=max⁡jψi,j\psi_i=\max_j\psi_{i,j}ψi​=maxj​ψi,j​ exists and

ψi′(x;d)=max⁡j∈Ji(x)∇ψi,j(x)Td.\psi_i'(x;d)=\max_{j\in\mathcal J_i(x)}\nabla\psi_{i,j}(x)^Td.ψi′​(x;d)=j∈Ji​(x)max​∇ψi,j​(x)Td.

The paper attributes this to Danskin's theorem; it is how directional derivatives of FFF and of the constraints reduce to those of smooth pieces at the active indices.

Formalization Note The conclusion says that the limit exists and equals the greatest element of {∇ψi,j(x)Td: j∈Ji(x)}\{\nabla\psi_{i,j}(x)^Td:\ j\in\mathcal J_i(x)\}{∇ψi,j​(x)Td: j∈Ji​(x)} (IsGreatest of the image), which also records that the maximum is attained over the nonempty active set.

Preamble
import Mathlib
import Definitions.Def_ClarkeGradients_MaxFunctions_HasOneSidedDirDeriv
import Definitions.Def_DCPenalty_Penalty_Problem
import Definitions.Def_DCPenalty_Penalty_Stationarity
import Definitions.Def_DCPenalty_Penalty_Algorithm
Formal statement
namespace DCPenalty.Penalty

open ClarkeGradients.MaxFunctions

/-- (1.16), p. 5 (Danskin): `ψ_i′(x; d) = max_{j ∈ 𝓙_i(x)} ∇ψ_{i,j}(x)ᵀd` for all `x ∈ X`,
`d ∈ 𝒯_X(x)` and `i ∈ {0, 1, …, I}`: the one-sided directional derivative exists and equals the
greatest of the values `∇ψ_{i,j}(x)ᵀd` over the active pieces. -/
theorem eq_1_16 {n m : ℕ} (P : DCProblem n m) (hP : P.Standing) :
    ∀ x ∈ P.X, ∀ d ∈ tangentConeB P.X x, ∀ i : Fin (m + 1),
      ∃ c, HasOneSidedDirDeriv (P.psi i) x d c ∧
        IsGreatest ((fun j => fderiv ℝ (P.ψ i j) x d) '' (P.Jact i x)) c := by sorry

end DCPenalty.Penalty
Source
Lu, Sun & Zhou, Penalty and augmented Lagrangian methods for constrained DC programming, arXiv:2111.09263v1, p. 5, (1.16)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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