Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Subgradient Realizing the One-Sided Convex Slope

Proved
FunctionalInequalities.Analysis.exists_subgradient_slope_le_inner_add_readable

by Lazyfill · Oct 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-inequalitieskls-conjecturekls-modularkls-readablelog-concave

This is an auxiliary max-formula statement for directional slopes of finite convex functions.

Let EEE be a finite-dimensional real inner-product space and let u:E→Ru:E\to\mathbb Ru:E→R be convex on all of EEE. For every x,v∈Ex,v\in Ex,v∈E, there exists g∈Eg\in Eg∈E such that:

  1. ggg is a subgradient of uuu at xxx:
u(x)+⟨g,y−x⟩≤u(y)for every y∈E.u(x)+\langle g,y-x\rangle\le u(y)\qquad\text{for every }y\in E.u(x)+⟨g,y−x⟩≤u(y)for every y∈E.
  1. For every ε>0\varepsilon>0ε>0, there exists t>0t>0t>0 with
u(x+tv)−u(x)t≤⟨g,v⟩+ε.\frac{u(x+t v)-u(x)}{t}\le \langle g,v\rangle+\varepsilon.tu(x+tv)−u(x)​≤⟨g,v⟩+ε.

Thus the pairing with vvv is approximated from above by positive directional difference quotients, while the subgradient inequality supplies the corresponding lower bound. The declaration exists_subgradient_slope_le_inner_add_readable is useful for selecting subgradients compatible with one-sided directional derivatives.

Original Lean declaration header

Within namespace FunctionalInequalities.Analysis. Shown in its original module context. Proof omitted.

theorem exists_subgradient_slope_le_inner_add {E : Type*} [NormedAddCommGroup E]
    [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] {u : E → ℝ}
    (hconv : ConvexOn ℝ Set.univ u) (x v : E) :
    ∃ g : E, (∀ y, u x + ⟪g, y - x⟫ ≤ u y) ∧
      ∀ ε > 0, ∃ t > 0, (u (x + t • v) - u x) / t ≤ ⟪g, v⟫ + ε

Module navigation

Module: Analysis/Convex/Subgradient.

Previous: subgradient_mem_of_ae_gradient_mem · Next: ConvexOn.ae_differentiableAt_of_isOpen.

Source excerpt, lines 208–212 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_Analysis_Convex_Subgradient

open scoped RealInnerProductSpace
Formal statement

theorem FunctionalInequalities.Analysis.exists_subgradient_slope_le_inner_add_readable {E : Type*} [NormedAddCommGroup E]
    [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] {u : E → ℝ}
    (hconv : ConvexOn ℝ Set.univ u) (x v : E) :
    ∃ g : E, (∀ y, u x + ⟪g, y - x⟫ ≤ u y) ∧
      ∀ ε > 0, ∃ t > 0, (u (x + t • v) - u x) / t ≤ ⟪g, v⟫ + ε := by sorry
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/Analysis/Convex/Subgradient.lean#L202-L553 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.Analysis.Convex.Subgradient`, declaration `FunctionalInequalities.Analysis.exists_subgradient_slope_le_inner_add`; the repository is private at upload time).

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me