Real.neg_log_one_sub_le
Library · theorem
Laurent and Massart's log bound: for 0 \le u < 1, -\log(1 - u) \le u + \frac{u^2}{2 (1 - u)} \,, by comparing the series \sum_{k \ge 1} u^k / k term by term with u + (u/2) \sum_{k \ge 1} u^k. It turns the Laplace transform (1 - 2\theta)^{-1/2} of \chi^2_1 into a sub-gamma bound (Laurent and Massart 2000, proof of Lemma 1). [BoucheronLugosiMassart2013, §2.4] (locator to check).
Real.neg_log_one_sub_le {u : ℝ} (hu0 : 0 ≤ u) (hu1 : u < 1) :
-Real.log (1 - u) ≤ u + u ^ 2 / (2 * (1 - u))Import NLAlib.ForMathlib.Analysis.SpecialFunctions.Log.Deriv.