Theorem 6.1.1 — Decoupling
ProvedHighDimProb.QuadraticForms.decouplingThis is the Decoupling theorem, the main proof engine of Chapter 6 of Vershynin's High-Dimensional Probability: it replaces a quadratic form in dependent terms by a bilinear form in two independent copies, at the cost of a universal constant factor .
Let be an , diagonal-free matrix (every ). Let be a random vector with independent, mean zero coordinates , and let be an independent copy of (a random vector, independent of , with the same coordinatewise distributions). Then, for every convex function ,
The quadratic form (a "chaos") has dependent terms, since and share the factor ; the bilinear form is easier to analyze, since conditioning on turns it into a sum of independent random variables with fixed coefficients. Decoupling is what lets the Hanson-Wright inequality (Theorem 6.2.1) reduce the off-diagonal part of a quadratic form's tail to a bound on this bilinear form.
Formalization Note and are two families of real random variables on one
probability space, jointly independent as a single family of coordinates
(iIndepFun on Fin n ⊕ Fin n), which is stronger than the book's bare " is
independent of " but faithful to it here: it is exactly what " is an independent
copy of " gives once itself has independent coordinates. Each having the
same distribution as is IdentDistrib. As in the convex decoupling lemma, both
quadratic/bilinear forms are required Integrable after applying , and each ,
is required Integrable, so that the mean-zero hypothesis and both sides of the
conclusion are genuine (not Mathlib's junk-value) expectations. The diagonal-free
hypothesis on is essential and is not the same statement as the goal theorem
(Hanson-Wright), where is a general matrix; see Remark 6.1.3 in the source for how
the general case is reduced to this one.
import Mathlib open MeasureTheory ProbabilityTheory
namespace HighDimProb.QuadraticForms
/-- **Theorem 6.1.1** (Decoupling), Vershynin, *High-Dimensional Probability* (2018), p. 136.
Let `A` be an `n × n`, diagonal-free matrix (i.e. the diagonal entries of `A` equal zero). Let
`X = (X₁, …, Xₙ)` be a random vector with independent mean zero coordinates `Xᵢ`. Then, for
every convex function `F : ℝ → ℝ`, one has `E F(XᵀAX) ≤ E F(4XᵀAX′)`, where `X′` is an
independent copy of `X`. -/
theorem decoupling {n : ℕ} {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] (X X' : Fin n → Ω → ℝ)
(hX_meas : ∀ i, Measurable (X i)) (hX'_meas : ∀ i, Measurable (X' i))
(hindep : iIndepFun (Sum.elim X X') P)
(hX_int : ∀ i, Integrable (X i) P) (hX'_int : ∀ i, Integrable (X' i) P)
(hX_mean : ∀ i, ∫ ω, X i ω ∂P = 0)
(hX'_dist : ∀ i, IdentDistrib (X' i) (X i) P P)
(A : Matrix (Fin n) (Fin n) ℝ) (hA : ∀ i, A i i = 0)
(F : ℝ → ℝ) (hF : ConvexOn ℝ Set.univ F)
(hF1 : Integrable (fun ω => F (∑ i, ∑ j, A i j * X i ω * X j ω)) P)
(hF2 : Integrable (fun ω => F (4 * ∑ i, ∑ j, A i j * X i ω * X' j ω)) P) :
∫ ω, F (∑ i, ∑ j, A i j * X i ω * X j ω) ∂P ≤
∫ ω, F (4 * ∑ i, ∑ j, A i j * X i ω * X' j ω) ∂P := by sorry
end HighDimProb.QuadraticForms
Read-back
What the Lean code literally says, in plain math · claude-opus-5
This statement fixes a natural number , an arbitrary type equipped with a measurable-space structure, and a measure on that is assumed to be a probability measure (total mass ). It fixes two families of real-valued functions on , indexed by : and , where each . The hypotheses imposed on this data are:
- Measurability. Each is measurable and each is measurable.
- Independence. The single combined family indexed by the disjoint union , whose member at a left index is and at a right index is , is mutually independent under — i.e. all functions are jointly independent as one family, not merely independent within each block.
- Integrability. Each is -integrable and each is -integrable.
- Mean zero. For each , . Note this is asserted only for the coordinates of ; no such hypothesis is written for the coordinates of .
- Identical distribution, coordinatewise. For each , under has the same distribution as under . This is stated separately for each index ; it is not a statement that the vector and the vector have the same joint law.
It further fixes an real matrix with the hypothesis that every diagonal entry vanishes, for all , and a function assumed convex on the whole real line (convex as a function on the set itself, taken as a convex subset of over the scalar field ). Finally, two integrability hypotheses are imposed on the compositions that appear in the conclusion: the function
is -integrable, and the function
is -integrable.
Under all of these hypotheses, the conclusion asserted is the single inequality
Both sides are Bochner integrals of real-valued functions against . The left-hand argument of is the quadratic form evaluated pointwise at , written as the double sum over all ordered pairs — including the diagonal terms , which contribute by the diagonal-free hypothesis. The right-hand argument is times the decoupled bilinear form at the same , again summed over all ordered pairs, with diagonal terms . Note that the same sample point is used for both and on the right-hand side; the two families are separate functions on the common space , and the independence hypothesis is what relates them. The factor sits inside , multiplying the bilinear form, not outside as a scaling of the integral. The inequality is non-strict (), and the direction is fixed: the coupled quadratic form's expectation is bounded above by the decoupled one's.
Concerning degenerate cases the hypotheses permit: when , the index type is empty, all the indexed hypotheses hold vacuously, the family whose independence is asserted is empty (and hence trivially independent), both double sums are empty and equal , and the conclusion reduces to , which holds by reflexivity; the matrix hypothesis is likewise vacuous. When , the sole entry is forced to be by the diagonal hypothesis, so both arguments of are identically and the conclusion again reduces to an equality. The type may be empty or a singleton; being a probability measure forces total mass , so an empty makes the hypothesis IsProbabilityMeasure P unsatisfiable and the theorem vacuous for that instance, while a singleton forces each to be the constant by the mean-zero hypothesis, again collapsing both sides. The statement places no bound, growth condition, or continuity requirement on beyond convexity on all of , and no moment condition beyond first-order integrability of the coordinates — the hypotheses hF1 and hF2 are what carry the burden of making the two integrals well-defined; if either were unsatisfiable for a given configuration, the theorem would hold vacuously there. Lean's Bochner integral returns the default value for a non-integrable integrand, but the explicit integrability hypotheses hF1 and hF2 exclude that fallback on both sides of the conclusion, while the mean-zero hypothesis hX_mean is stated as an integral that would read automatically were not integrable — though hX_int rules that out. No hypothesis asserts that has mean zero, is integrable jointly with in any stronger sense, or shares 's joint distribution; only the coordinatewise identical-distribution and the joint independence of the combined -member family are assumed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.