Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 12.2, first claim — distance to a convex set is convex

Proved
ModernOnlineLearning.Reductions.lemma_12_2_convex

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

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

Let VVV be a nonempty closed convex set in a finite-dimensional real normed space, and let dV(x)d_V(x)dV​(x) be the distance from xxx to VVV. Then

dV(λx+(1−λ)y)≤λdV(x)+(1−λ)dV(y)(0≤λ≤1).d_V(\lambda x+(1-\lambda)y)\le\lambda d_V(x)+(1-\lambda)d_V(y)\quad(0\le\lambda\le1).dV​(λx+(1−λ)y)≤λdV​(x)+(1−λ)dV​(y)(0≤λ≤1).

This establishes convexity of the distance term in the surrogate losses of Theorem 12.5.

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

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

end ModernOnlineLearning.Reductions
Source
Orabona, arXiv:1912.13213v10, Lemma 12.2, first 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