two_point_bernstein_mgf
Provedconcentration-inequalitiesmoment-generating-functionprobability
Two-point Bernstein MGF inequality (variance form). Let be a centered two-point random variable taking value with probability and value with probability , with . If both values satisfy and , then the moment generating function is controlled by the exponential of the variance :
Unlike the Hoeffding (range-based) bound, the exponent here is the exact variance, which is the sharp scaling needed for Bernstein concentration. The proof applies the quadratic bound and (valid since ), takes the convex combination, uses centering to kill the linear term, and finishes with .
Preamble
import Mathlib.Analysis.SpecialFunctions.Exp open scoped BigOperators
Formal statement
theorem two_point_bernstein_mgf (p a b : ℝ) (hp0 : 0 ≤ p) (hp1 : p ≤ 1)
(hcent : p * a + (1 - p) * b = 0) (ha : a ≤ 1) (hb : b ≤ 1) :
p * Real.exp a + (1 - p) * Real.exp b ≤
Real.exp (p * a^2 + (1 - p) * b^2) := by sorrySource
Bernstein's inequality, MGF/variance form; Boucheron, Lugosi, Massart, 'Concentration Inequalities', OUP 2013, Ch. 2; Bernstein 1924.