NLA-lib Explorer

NLAlib.measureReal_abs_div_sub_one_ge_le_two_mul_exp

Library · theorem

Two-sided sub-exponential tail from Dasgupta–Gupta tails: under a finite measure, if \mathbb{P}[\beta a \le Y] \le e^{(K/2)(1 - \beta + \log\beta)} for every \beta \ge 1 and \mathbb{P}[Y \le \beta a] \le e^{(K/2)(1 - \beta + \log\beta)} for every 0 < \beta \le 1, with a > 0 and K \ge 0, then for t \ge 0 \mathbb{P}\bigl[t \le \lvert Y/a - 1\rvert\bigr] \le 2e^{-(K/8)\min(t^2, t)}\,. The upper side by \log(1 + s) \le s - s^2/(2(1 + s)) (Real.log_one_add_le_sub_sq_div) and s^2/(2(1 + s)) \ge \min(s^2, s)/4, the lower by \log(1 - u) \le -u - u^2/2 (Real.log_one_sub_le_quadratic); no hypothesis \mathbb{P}[Y \le 0] = 0 is needed, since for K > 0 it is the limit \beta \to 0 of the lower tail and for K = 0 the bound is 2. The input of the Gaussian and Haar JL moments (K the number of rows, a the mean).

NLAlib.measureReal_abs_div_sub_one_ge_le_two_mul_exp.{u_1} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
  {μ : Measure Ω} [IsFiniteMeasure μ] {Y : Ω → ℝ} {a K : ℝ} (ha : 0 < a) (hK : 0 ≤ K)
  (hup : ∀ (β : ℝ), 1 ≤ β → μ.real {ω | β * a ≤ Y ω} ≤ rexp (K / 2 * (1 - β + Real.log β)))
  (hlow : ∀ (β : ℝ), 0 < β → β ≤ 1 → μ.real {ω | Y ω ≤ β * a} ≤ rexp (K / 2 * (1 - β + Real.log β)))
  {t : ℝ} (ht : 0 ≤ t) : μ.real {ω | t ≤ |Y ω / a - 1|} ≤ 2 * rexp (-(K / 8 * min (t ^ 2) t))

Full source on GitHub

Import NLAlib.Probability.Tail.