Lemma 6.1.2 — the convex decoupling lemma
ProvedHighDimProb.QuadraticForms.convex_decoupling_lemmaThis 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 be a probability space and let be independent random variables with . Then, for every convex function ,
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 and are required measurable, and Integrable Z P is
added alongside : Mathlib's Bochner integral defaults to for a
non-integrable function, so without integrability the hypothesis could
hold vacuously for a 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 and is likewise assumed so that both
sides of the conclusion are genuine expectations rather than Mathlib's junk value .
import Mathlib open MeasureTheory ProbabilityTheory
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5
Let be a measurable space where is an arbitrary type in Lean's lowest universe, and let be a measure on that is a probability measure (i.e. ). Let be two real-valued functions on , each assumed measurable, and let be a real-valued function. The statement assumes the following six hypotheses:
- and are independent with respect to , in the sense that the -algebras they generate (the comaps of the Borel -algebra on under and under ) are independent under ;
- is Bochner-integrable with respect to (strongly measurable with );
- has mean zero: the Bochner integral equals ;
- is convex on all of , formalized as convexity on the set over the scalars : the set is convex, and for all and all with ,
- the composite is integrable with respect to ;
- the composite is integrable with respect to .
Under these hypotheses the conclusion asserted is the inequality between two Bochner integrals
with (non-strict) in that direction. Note what is not assumed: 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), is not assumed integrable, and , are not assumed to have any sign. The convexity hypothesis is stated with the trivial domain restriction , so it is genuine global convexity of on and carries no information about a smaller domain.
In the degenerate cases the hypotheses permit: if is empty, then no probability measure on exists, so the typeclass assumption IsProbabilityMeasure P cannot be satisfied and the statement is vacuous for that ; if is a one-element type, is the Dirac measure, must be the constant (forced by the mean-zero hypothesis), and the conclusion reads , which holds trivially. More generally, taking 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 for any function that is not integrable, the mean-zero hypothesis would be satisfied by a non-integrable 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 can appear on either side of the displayed inequality. The hypotheses are not vacuous as a whole — for instance a two-point space with the fair coin measure, , , and any convex function satisfies all of them — but no hypothesis asserts that and are non-constant, that is non-affine, or that either integral is finite beyond what integrability gives. If is affine, both sides are equal and the inequality is tight.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.