Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (1.5) — negative squared norm restricted to K

Definition
IsodiamVar_Simplex_Supplement_Phi

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

convex-geometryp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1variance

For K⊆RnK\subseteq\mathbb R^nK⊆Rn, define the extended-real function

ϕK(x)={−∣x∣2,x∈K,+∞,x∉K.\phi_K(x)=\begin{cases}-|x|^2,&x\in K,\\+\infty,&x\notin K.\end{cases}ϕK​(x)={−∣x∣2,+∞,​x∈K,x∈/K.​

The convex envelope of this function controls the greatest second moment at a prescribed mean. The empty set gives the function constantly equal to +∞+\infty+∞.

Definition code
import Definitions.Def_IsodiamVar_Simplex_Defs

open MeasureTheory Classical

namespace IsodiamVar.Simplex.Supplement

/-- Equation (1.5), p. 2: negative squared norm on K and +∞ elsewhere. -/
noncomputable def phi {n : ℕ} (K : Set (E n)) (x : E n) : EReal :=
  if x ∈ K then ((-(‖x‖ ^ 2) : ℝ) : EReal) else ⊤

end IsodiamVar.Simplex.Supplement
Source
Lim & McCann, Geometrical bounds for the variance and recentered moments, arXiv:2001.11851v1, p. 2, (1.5)

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