Polynomial bounds on the real exponential #
Two Taylor-type bounds on the real exponential for nonnegative arguments. They are the scalar inequalities behind multiplicative Chernoff bounds and the Johnson–Lindenstrauss lemma.
exp (-x) ≤ 1 - x + x² / 2(Real.exp_neg_le_one_sub_add_sq_div_two): multiply byexp x ≥ 1 + x + x² / 2.1 + x ≤ exp (x - x² / 2 + x³ / 3)(Real.one_add_le_exp_sub_sq_div_two_add_cube_div_three), equivalentlylog (1 + x) ≤ x - x² / 2 + x³ / 3. The exponentvis nonnegative. The degree-four Taylor polynomial1 + v + v² / 2 + v³ / 6 + v⁴ / 24is at mostexp vand already dominates1 + x, by an explicit sum of nonnegative terms.
CslibFrontier.Foundations.Analysis.SpecialFunctions.ExpLogQuadratic has the weaker
Real.exp_neg_le_one_sub_add_sq, exp (-y) ≤ 1 - y + y², valid for all -1 ≤ y.
Main results #
Real.exp_neg_le_one_sub_add_sq_div_two:exp (-x) ≤ 1 - x + x² / 2for0 ≤ x.Real.one_add_le_exp_sub_sq_div_two_add_cube_div_three:1 + x ≤ exp (x - x² / 2 + x³ / 3)for0 ≤ x.Real.exp_neg_two_le_one_third:exp (-2) ≤ 1 / 3.Real.two_pow_le_exp:2 ^ n ≤ exp n.Real.one_sub_pow_le_exp:(1 - p) ^ R ≤ exp (-c)forp ≤ 1andc ≤ R p.Real.pow_le_one_third:p ^ k ≤ 1 / 3for0 ≤ p ≤ 1 - δand2 ≤ δ k.