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:
gaussian_foldedMGF: the folded moment generating function in closed form∫ exp (t·|x|) d(gaussianReal 0 1) = √(2/π) · exp(t²/2) · g t, whereg t = ∫ x in Ioi 0, exp (−(x−t)²/2).hasDerivAt_g:gis differentiable withg' t = exp(−t²/2)(the parameter sits in the integration limit, so this is the fundamental theorem of calculus, no differentiation under the integral with respect to a fixed domain is needed for the sign analysis).two_g_le: the sharp inequality√(2/π) · g t ≤ exp(t·√(2/π))for allt, proven by a sign analysis off t = exp(t·√(2/π)) − √(2/π)·g t(f 0 = 0, derivative sign split at0and−2√(2/π), with the far-negative tail handled by the trivial boundexp(t·|x|) ≤ 1).foldedNormal_subgaussian: assembling the above intoHasSubgaussianMGF (|·| − √(2/π)) 1.
exp (t · |x|) is integrable against the standard Gaussian (dominated by
exp (t·x) + exp (−t·x)).
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 half-line Gaussian density y ↦ exp(−y²/2) is integrable on ℝ.
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.