Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.1.2 — the convex decoupling lemma

Proved
HighDimProb.QuadraticForms.convex_decoupling_lemma

by mikedeng1 · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

concentrationconvexitydecouplingprobability

This is the technical seed of the decoupling technique used throughout Chapter 6 of Vershynin's High-Dimensional Probability: a two-line consequence of Jensen's inequality.

Let (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P) be a probability space and let Y,Z:Ω→RY, Z : \Omega \to \mathbb RY,Z:Ω→R be independent random variables with EZ=0\mathbb E Z = 0EZ=0. Then, for every convex function F:R→RF : \mathbb R \to \mathbb RF:R→R,

E F(Y)  ≤  E F(Y+Z).\mathbb E\, F(Y) \;\le\; \mathbb E\, F(Y + Z).EF(Y)≤EF(Y+Z).

In words: adding an independent, mean-zero perturbation to a random variable can only increase the expectation of any convex function of it. This is the single inequality from which the Decoupling theorem (Theorem 6.1.1) is built, by conditioning on all variables but a mean-zero remainder term at each step of its proof.

Formalization Note YYY and ZZZ are required measurable, and Integrable Z P is added alongside EZ=0\mathbb E Z = 0EZ=0: Mathlib's Bochner integral defaults to 000 for a non-integrable function, so without integrability the hypothesis EZ=0\mathbb E Z = 0EZ=0 could hold vacuously for a ZZZ that is not genuinely mean zero, and the conclusion could then fail. F convex is Mathlib's ConvexOn ℝ Set.univ F (convex on the whole real line, as the book states). Integrability of F(Y)F(Y)F(Y) and F(Y+Z)F(Y+Z)F(Y+Z) is likewise assumed so that both sides of the conclusion are genuine expectations rather than Mathlib's junk value 000.

Preamble
import Mathlib

open MeasureTheory ProbabilityTheory
Formal statement
namespace HighDimProb.QuadraticForms

/-- **Lemma 6.1.2** (the convex decoupling lemma), Vershynin, *High-Dimensional Probability*
(2018), p. 136.

Let `Y` and `Z` be independent random variables such that `E Z = 0`. Then, for every convex
function `F`, one has `E F(Y) ≤ E F(Y + Z)`. -/
theorem convex_decoupling_lemma {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω)
    [IsProbabilityMeasure P] (Y Z : Ω → ℝ) (hY : Measurable Y) (hZ : Measurable Z)
    (hindep : IndepFun Y Z P) (hZint : Integrable Z P) (hZmean : ∫ ω, Z ω ∂P = 0)
    (F : ℝ → ℝ) (hF : ConvexOn ℝ Set.univ F)
    (hYF : Integrable (fun ω => F (Y ω)) P)
    (hYZF : Integrable (fun ω => F (Y ω + Z ω)) P) :
    ∫ ω, F (Y ω) ∂P ≤ ∫ ω, F (Y ω + Z ω) ∂P := by sorry

end HighDimProb.QuadraticForms
Source
Vershynin, High-Dimensional Probability (2018), Lemma 6.1.2, p. 136 (PDF p. 144)
Read-back

What the Lean code literally says, in plain math · claude-opus-5

Let (Ω,F)(\Omega, \mathcal{F})(Ω,F) be a measurable space where Ω\OmegaΩ is an arbitrary type in Lean's lowest universe, and let PPP be a measure on Ω\OmegaΩ that is a probability measure (i.e. P(Ω)=1P(\Omega) = 1P(Ω)=1). Let Y,Z:Ω→RY, Z : \Omega \to \mathbb{R}Y,Z:Ω→R be two real-valued functions on Ω\OmegaΩ, each assumed measurable, and let F:R→RF : \mathbb{R} \to \mathbb{R}F:R→R be a real-valued function. The statement assumes the following six hypotheses:

  • YYY and ZZZ are independent with respect to PPP, in the sense that the σ\sigmaσ-algebras they generate (the comaps of the Borel σ\sigmaσ-algebra on R\mathbb{R}R under YYY and under ZZZ) are independent under PPP;
  • ZZZ is Bochner-integrable with respect to PPP (strongly measurable with ∫Ω∣Z∣ dP<∞\int_\Omega |Z|\,dP < \infty∫Ω​∣Z∣dP<∞);
  • ZZZ has mean zero: the Bochner integral ∫ΩZ(ω) dP(ω)\int_\Omega Z(\omega)\,dP(\omega)∫Ω​Z(ω)dP(ω) equals 000;
  • FFF is convex on all of R\mathbb{R}R, formalized as convexity on the set univ=R\mathrm{univ} = \mathbb{R}univ=R over the scalars R\mathbb{R}R: the set R\mathbb{R}R is convex, and for all x,y∈Rx, y \in \mathbb{R}x,y∈R and all a,b≥0a, b \ge 0a,b≥0 with a+b=1a + b = 1a+b=1,
F(ax+by)≤aF(x)+bF(y);F(a x + b y) \le a F(x) + b F(y);F(ax+by)≤aF(x)+bF(y);
  • the composite ω↦F(Y(ω))\omega \mapsto F(Y(\omega))ω↦F(Y(ω)) is integrable with respect to PPP;
  • the composite ω↦F(Y(ω)+Z(ω))\omega \mapsto F(Y(\omega) + Z(\omega))ω↦F(Y(ω)+Z(ω)) is integrable with respect to PPP.

Under these hypotheses the conclusion asserted is the inequality between two Bochner integrals

∫ΩF(Y(ω)) dP(ω)  ≤  ∫ΩF(Y(ω)+Z(ω)) dP(ω),\int_\Omega F(Y(\omega))\,dP(\omega) \;\le\; \int_\Omega F\bigl(Y(\omega) + Z(\omega)\bigr)\,dP(\omega),∫Ω​F(Y(ω))dP(ω)≤∫Ω​F(Y(ω)+Z(ω))dP(ω),

with ≤\le≤ (non-strict) in that direction. Note what is not assumed: FFF is not assumed measurable or continuous as a separate hypothesis (measurability of the composites is only implied insofar as it is packaged inside the two integrability hypotheses), YYY is not assumed integrable, and F∘YF \circ YF∘Y, F∘(Y+Z)F \circ (Y+Z)F∘(Y+Z) are not assumed to have any sign. The convexity hypothesis is stated with the trivial domain restriction univ\mathrm{univ}univ, so it is genuine global convexity of FFF on R\mathbb{R}R and carries no information about a smaller domain.

In the degenerate cases the hypotheses permit: if Ω\OmegaΩ is empty, then no probability measure on Ω\OmegaΩ exists, so the typeclass assumption IsProbabilityMeasure P cannot be satisfied and the statement is vacuous for that Ω\OmegaΩ; if Ω\OmegaΩ is a one-element type, PPP is the Dirac measure, ZZZ must be the constant 000 (forced by the mean-zero hypothesis), and the conclusion reads F(Y(ω))≤F(Y(ω))F(Y(\omega)) \le F(Y(\omega))F(Y(ω))≤F(Y(ω)), which holds trivially. More generally, taking Z≡0Z \equiv 0Z≡0 always satisfies independence, integrability and mean zero, so the statement includes the trivial instance where both sides coincide. Because Lean's Bochner integral is a total function returning 000 for any function that is not integrable, the mean-zero hypothesis ∫Z dP=0\int Z\,dP = 0∫ZdP=0 would be satisfied by a non-integrable ZZZ as well, but the separate hypothesis hZint rules that reading out; conversely the two integrals in the conclusion are pinned to their genuine values by hYF and hYZF, so no junk-value 000 can appear on either side of the displayed inequality. The hypotheses are not vacuous as a whole — for instance Ω\OmegaΩ a two-point space with the fair coin measure, Y≡0Y \equiv 0Y≡0, Z(ω)=±1Z(\omega) = \pm 1Z(ω)=±1, and FFF any convex function satisfies all of them — but no hypothesis asserts that YYY and ZZZ are non-constant, that FFF is non-affine, or that either integral is finite beyond what integrability gives. If FFF is affine, both sides are equal and the inequality is tight.

Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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