Documentation

LeanPool.JohnsonLindenstraussLean.GaussianTail

Gaussian tail analysis: the centered folded normal is 1-sub-Gaussian #

This file builds, from scratch against mathlib, the one-dimensional analytic fact underlying the unconditional exponential QJL distortion bound: if Z ~ N(0,1) then the centered folded normal |Z| − √(2/π) is sub-Gaussian with variance proxy 1, i.e.

∀ t, ∫ exp (t · (|Z| − √(2/π))) ≤ exp (t² / 2).

The route is:

noncomputable def JL.gTail (t : ) :

The "completed-square half-line Gaussian" g t = ∫ x in Ioi 0, exp(−(x−t)²/2).

Equations
Instances For

    exp (t · |x|) is integrable against the standard Gaussian (dominated by exp (t·x) + exp (−t·x)).

    The constant 2·(√(2π))⁻¹ = √(2/π).

    Folded-normal moment generating function (closed form). For Z ~ N(0,1), ∫ exp(t·|x|) = √(2/π) · exp(t²/2) · g t, where g t = ∫ x in Ioi 0, exp(−(x−t)²/2).

    The derivative of gTail #

    The half-line Gaussian density y ↦ exp(−y²/2) is integrable on .

    The total Gaussian integral ∫ exp(−y²/2) = √(2π).

    theorem JL.hasDerivAt_gTail (t : ) :

    Derivative of gTail. g' t = exp(−t²/2). The parameter sits inside the integrand, but a translation xx − t moves it into the lower integration limit, after which the result follows from the fundamental theorem of calculus for the lower-tail integral s ↦ ∫_{Iic s} exp(−y²/2).

    The sharp inequality √(2/π) · gTail t ≤ exp(t · √(2/π)) #

    The normalising identity √(2/π) · gTail 0 = 1.

    theorem JL.two_g_le (t : ) :

    Sharp folded-normal inequality. √(2/π) · gTail t ≤ exp(t · √(2/π)) for all t. This is equivalent to 2·Φ(t) ≤ exp(t·√(2/π)) for the standard normal CDF Φ.

    The proof studies f t = exp(t·√(2/π)) − √(2/π)·gTail t, which has f 0 = 0 and derivative f' t = √(2/π)·(exp(t·√(2/π)) − exp(−t²/2)). On [−2√(2/π), ∞) the sign of f' shows 0 is a minimum (isMinOn_Ici_of_deriv), giving f ≥ 0; on the far-negative tail t < −2√(2/π) the bound exp(t·|x|) ≤ 1 yields √(2/π)·gTail t ≤ exp(−t²/2) ≤ exp(t·√(2/π)).

    The centered folded normal is 1-sub-Gaussian #

    The centered folded normal is 1-sub-Gaussian. For Z ~ N(0,1), the centered absolute value |Z| − √(2/π) has a sub-Gaussian moment generating function with variance proxy 1: ∫ exp(t·(|Z| − √(2/π))) ≤ exp(t²/2) for all t.