Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 12.2, second claim — distance is 1-Lipschitz

Proved
ModernOnlineLearning.Reductions.lemma_12_2_lipschitz

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

convex-analysisdistance-functionlipschitzp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1

Let VVV be a nonempty closed convex set in a finite-dimensional real normed space. Its distance function satisfies

∣dV(x)−dV(y)∣≤∥x−y∥for all x,y.|d_V(x)-d_V(y)|\le\|x-y\|\qquad\text{for all }x,y.∣dV​(x)−dV​(y)∣≤∥x−y∥for all x,y.

This controls the dual norm of every subgradient of the distance function and therefore the surrogate gradients.

Preamble
import Mathlib
import Definitions.Def_ModernOnlineLearning_Reductions_Setting
Formal statement
namespace ModernOnlineLearning.Reductions

/-- Orabona, Lemma 12.2, second claim, p. 193. -/
theorem lemma_12_2_lipschitz {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    [FiniteDimensional ℝ E] (V : Set E) (hV : V.Nonempty)
    (hclosed : IsClosed V) (hconv : Convex ℝ V) :
    LipschitzWith 1 (distance V) := by sorry

end ModernOnlineLearning.Reductions
Source
Orabona, arXiv:1912.13213v10, Lemma 12.2, second claim, p. 193
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

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