Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Gaussian concentration for Lipschitz functions of a Gaussian matrix: P{h(G)≥Eh(G)+Lt}≤e−t2/2\mathbb P\{h(G)\ge\mathbb E h(G)+Lt\}\le e^{-t^2/2}P{h(G)≥Eh(G)+Lt}≤e−t2/2

Proved
GaussianMatrix.gaussian_concentration

by tc · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

gaussian-matrixprobabilityrandom-matrix-theoryrandomized-numerical-linear-algebra

Let h:Rp×m→Rh:\mathbb R^{p\times m}\to\mathbb Rh:Rp×m→R be Lipschitz with respect to the Frobenius norm with constant L>0L>0L>0,

∣h(X)−h(Y)∣≤L ∥X−Y∥Ffor all X,Y,|h(X)-h(Y)|\le L\,\|X-Y\|_F\qquad\text{for all }X,Y,∣h(X)−h(Y)∣≤L∥X−Y∥F​for all X,Y,

and let G∈Rp×mG\in\mathbb R^{p\times m}G∈Rp×m be a standard Gaussian matrix. Then h(G)h(G)h(G) is integrable and, for every t≥0t\ge0t≥0,

P{h(G) ≥ E h(G)+L t} ≤ e−t2/2.\mathbb P\bigl\{h(G)\ \ge\ \mathbb E\,h(G)+L\,t\bigr\}\ \le\ e^{-t^2/2}.P{h(G) ≥ Eh(G)+Lt} ≤ e−t2/2.

This is the concentration-of-measure inequality in Gauss space (Tsirelson–Ibragimov–Sudakov; Vershynin Proposition 5.34, Halko–Martinsson–Tropp Proposition 10.3) for the standard Gaussian vector vec⁡G∈Rpm\operatorname{vec}G\in\mathbb R^{pm}vecG∈Rpm. Applied to the 111-Lipschitz functions G↦σmax⁡(G)G\mapsto\sigma_{\max}(G)G↦σmax​(G), G↦σmin⁡(G)G\mapsto\sigma_{\min}(G)G↦σmin​(G) and G↦∥SGT∥G\mapsto\|SGT\|G↦∥SGT∥ it upgrades the expectation bounds of Gordon's theorem into tail bounds.

Formalization Note. The source states the bound with ≥\ge≥ and no sign condition on LLL and ttt; the formal statement requires L>0L>0L>0 and t≥0t\ge0t≥0, since for L=0L=0L=0 (a constant hhh) or t<0t<0t<0 the event has probability 111. Vectors in Rn\mathbb R^{n}Rn are the case m=1m=1m=1.

Preamble
import Definitions.Def_GaussianMatrix_basic

open MeasureTheory ProbabilityTheory
open scoped Matrix
Formal statement
namespace GaussianMatrix
theorem gaussian_concentration {p m : ℕ} (h : (Fin p → Fin m → ℝ) → ℝ) (L : ℝ) (hL : 0 < L)
    (hLip : ∀ X Y, |h X - h Y| ≤ L * frobNorm (Matrix.of X - Matrix.of Y)) (t : ℝ) (ht : 0 ≤ t) :
    Integrable h (gaussianMatrix p m) ∧
    (gaussianMatrix p m) {X | (∫ Y, h Y ∂(gaussianMatrix p m)) + L * t ≤ h X}
      ≤ ENNReal.ofReal (Real.exp (-t ^ 2 / 2)) := by sorry
end GaussianMatrix
Source
N. Halko, P.-G. Martinsson, J. A. Tropp, *Finding structure with randomness: probabilistic algorithms for constructing approximate matrix decompositions*, SIAM Review 53(2), 2011, https://arxiv.org/abs/0909.4061 (v2), §10.1 p. 56, Proposition 10.3 (Concentration for functions of a Gaussian matrix): ∣h(X)−h(Y)∣≤L∥X−Y∥F|h(X)-h(Y)|\le L\|X-Y\|_F∣h(X)−h(Y)∣≤L∥X−Y∥F​ implies P{h(G)≥Eh(G)+Lt}≤e−t2/2\mathbb P\{h(G)\ge\mathbb E h(G)+Lt\}\le e^{-t^2/2}P{h(G)≥Eh(G)+Lt}≤e−t2/2; also R. Vershynin, *Introduction to the non-asymptotic analysis of random matrices*, Chapter 5 of Compressed Sensing: Theory and Applications (Y. Eldar, G. Kutyniok, eds.), Cambridge University Press, 2012, https://arxiv.org/abs/1011.3027 (v7), §5.3.1 p. 21, Proposition 5.34 (Concentration in Gauss space).
Read-back

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

Let p,mp, mp,m be arbitrary natural numbers (either may be 000). Let μp,m\mu_{p,m}μp,m​ denote the product measure on the space of p×mp \times mp×m real arrays X=(Xij)i<p, j<mX = (X_{ij})_{i < p,\, j < m}X=(Xij​)i<p,j<m​ under which all pmpmpm entries are independent standard normals N(0,1)\mathcal N(0,1)N(0,1); it is a probability measure (when p=0p = 0p=0 or m=0m = 0m=0 the space is a single point and μp,m\mu_{p,m}μp,m​ is the Dirac mass there). Let hhh be any real-valued function on this space of arrays, let LLL be a real number with L>0L > 0L>0, and assume the Lipschitz condition that for all arrays X,YX, YX,Y

∣h(X)−h(Y)∣≤L⋅∑i<p∑j<m(Xij−Yij)2=L ∥X−Y∥F,|h(X) - h(Y)| \le L \cdot \sqrt{\textstyle\sum_{i<p}\sum_{j<m} (X_{ij} - Y_{ij})^2} = L\,\|X - Y\|_F,∣h(X)−h(Y)∣≤L⋅∑i<p​∑j<m​(Xij​−Yij​)2​=L∥X−Y∥F​,

where ∥⋅∥F\|\cdot\|_F∥⋅∥F​ is the Frobenius norm (square root of the sum of squared entries; the square root is the real square root, which would return 000 on a negative input, but the radicand is a sum of squares). Let ttt be a real number with t≥0t \ge 0t≥0. The statement asserts the conjunction of two things:

  1. hhh is integrable with respect to μp,m\mu_{p,m}μp,m​ (i.e. hhh is almost-everywhere strongly measurable and ∫∣h∣ dμp,m<∞\int |h|\, d\mu_{p,m} < \infty∫∣h∣dμp,m​<∞); and

  2. writing Eh:=∫h(Y) dμp,m(Y)\mathbb E h := \int h(Y)\, d\mu_{p,m}(Y)Eh:=∫h(Y)dμp,m​(Y) for the Lebesgue integral (which would be 000 by convention if hhh were not integrable, but item 1 excludes that), the μp,m\mu_{p,m}μp,m​-outer measure of the set

{X:Eh+L t≤h(X)}\{X : \mathbb E h + L\,t \le h(X)\}{X:Eh+Lt≤h(X)}

is at most ofReal⁡ ⁣(e−t2/2)\operatorname{ofReal}\!\big(e^{-t^2/2}\big)ofReal(e−t2/2), an extended-nonnegative-real quantity; since e−t2/2>0e^{-t^2/2} > 0e−t2/2>0 no truncation occurs, and for t=0t = 0t=0 the bound is 111 (so that case is automatic for a probability measure). No measurability of the set or of hhh is assumed; the measure of a non-measurable set is its outer measure.

The Lipschitz hypothesis is with respect to the Frobenius norm of the entrywise difference; nothing else is assumed about hhh. In the degenerate case p=0p = 0p=0 or m=0m = 0m=0, hhh is a function on a one-point space, the Lipschitz hypothesis is vacuous, and the event is empty when t>0t > 0t>0 and the whole space when t=0t = 0t=0.

Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by tc · Oct 9, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me