Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 7.2.9 — Slepian's inequality for Gaussian vectors

Proved
HighDimProb.RandomProcesses.slepian_finite_dim

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

comparison-inequalitiesgaussian-processesprobabilityrandom-processes

This is Slepian's inequality, stated for finite-dimensional Gaussian vectors — the form Vershynin actually proves, using the technique of Gaussian interpolation, before extending it to general Gaussian processes as Theorem 7.2.1.

Let ι\iotaι be a finite, nonempty index set, and let X,Y:ι→RX, Y : \iota \to \mathbb RX,Y:ι→R be two mean zero Gaussian random vectors on a common probability space (i.e. every linear combination ∑iaiXi\sum_i a_i X_i∑i​ai​Xi​, resp. ∑iaiYi\sum_i a_i Y_i∑i​ai​Yi​, is normal). Assume that for all i,j∈ιi,j \in \iotai,j∈ι,

EXi2=EYi2andE(Xi−Xj)2≤E(Yi−Yj)2.E X_i^2 = E Y_i^2 \qquad\text{and}\qquad E(X_i - X_j)^2 \le E(Y_i - Y_j)^2.EXi2​=EYi2​andE(Xi​−Xj​)2≤E(Yi​−Yj​)2.

Then for every τ≥0\tau \ge 0τ≥0,

P{max⁡iXi≥τ}  ≤  P{max⁡iYi≥τ},P\Bigl\{\max_{i} X_i \ge \tau\Bigr\} \;\le\; P\Bigl\{\max_{i} Y_i \ge \tau\Bigr\},P{imax​Xi​≥τ}≤P{imax​Yi​≥τ},

and consequently Emax⁡iXi≤Emax⁡iYiE\max_i X_i \le E\max_i Y_iEmaxi​Xi​≤Emaxi​Yi​.

In words: if XXX has the same "spread" as YYY coordinate-by-coordinate but grows at least as fast in every pairwise increment, then XXX's maximum stochastically dominates YYY's.

Formalization Note IsGaussianProcess (Mathlib) is used for "Gaussian vector/process": every finite linear combination of coordinates is Gaussian, which for a finite index set is exactly the book's Definition 7.1.10 applied to ι\iotaι itself. The maximum is Mathlib's Finset.sup' over Finset.univ, well-defined since ι is a nonempty Fintype.

Preamble
import Mathlib

open MeasureTheory ProbabilityTheory
Formal statement
namespace HighDimProb.RandomProcesses

/-- **Theorem 7.2.9** (Slepian's inequality, for Gaussian vectors), Vershynin,
*High-Dimensional Probability* (2018), p. 164 (PDF p. 172).

Let `X, Y : ι → Ω → ℝ` be two mean zero Gaussian random vectors indexed by a finite, nonempty
`ι` (i.e. Gaussian processes on `ι`, since `ι` is finite this is exactly a Gaussian vector in
`ℝ^ι`). Assume that for all `i, j ∈ ι`, `E Xᵢ² = E Yᵢ²` and `E(Xᵢ−Xⱼ)² ≤ E(Yᵢ−Yⱼ)²`. Then for
every `τ ≥ 0`, `P{maxᵢ Xᵢ ≥ τ} ≤ P{maxᵢ Yᵢ ≥ τ}`, and consequently `E maxᵢ Xᵢ ≤ E maxᵢ Yᵢ`. -/
theorem slepian_finite_dim :
    ∀ {Ω : Type} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
      {ι : Type} [Fintype ι] [Nonempty ι] (X Y : ι → Ω → ℝ)
      (hXG : IsGaussianProcess X P) (hYG : IsGaussianProcess Y P)
      (hXmean : ∀ i, ∫ ω, X i ω ∂P = 0) (hYmean : ∀ i, ∫ ω, Y i ω ∂P = 0)
      (hvar : ∀ i, ∫ ω, (X i ω) ^ 2 ∂P = ∫ ω, (Y i ω) ^ 2 ∂P)
      (hinc : ∀ i j, ∫ ω, (X i ω - X j ω) ^ 2 ∂P ≤ ∫ ω, (Y i ω - Y j ω) ^ 2 ∂P)
      (τ : ℝ), 0 ≤ τ →
      (P.real {ω | Finset.univ.sup' Finset.univ_nonempty (fun i => X i ω) ≥ τ} ≤
        P.real {ω | Finset.univ.sup' Finset.univ_nonempty (fun i => Y i ω) ≥ τ}) ∧
      ∫ ω, Finset.univ.sup' Finset.univ_nonempty (fun i => X i ω) ∂P ≤
        ∫ ω, Finset.univ.sup' Finset.univ_nonempty (fun i => Y i ω) ∂P := by sorry

end HighDimProb.RandomProcesses
Source
Vershynin, High-Dimensional Probability (2018), p. 164, Theorem 7.2.9
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