Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(2.4) — Eexp⁡(t∑bkxk)≤exp⁡(t22∑bk2)E\exp(t\sum b_kx_k)\le\exp(\tfrac{t^2}{2}\sum b_k^2)Eexp(t∑bk​xk​)≤exp(2t2​∑bk2​) for class [G]

Proved
AzumaWeightedSums.IteratedLog.mgf_weightedSum_le

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

concentrationmartingalep2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1probability

Let (xn)n≥1(x_n)_{n\ge1}(xn​)n≥1​ be a sequence of random variables on a probability space (Ω,A,P)(\Omega,\mathfrak A,P)(Ω,A,P) with a filtration (An)(\mathfrak A_n)(An​), belonging to class [G] with τ(xn)≤1\tau(x_n)\le1τ(xn​)≤1 for all nnn: martingale differences with E{exp⁡(txn)∣An−1}≤exp⁡(t2/2)E\{\exp(tx_n)\mid\mathfrak A_{n-1}\}\le\exp(t^2/2)E{exp(txn​)∣An−1​}≤exp(t2/2) a.s. for every real ttt. Then for every n≥0n\ge0n≥0, every real sequence (bk)(b_k)(bk​) and every real ttt,

E{exp⁡(t∑k=1nbkxk)}≤exp⁡(t22∑k=1nbk2).E\Big\{\exp\Big(t\sum_{k=1}^n b_kx_k\Big)\Big\}\le\exp\Big(\frac{t^2}{2}\sum_{k=1}^n b_k^2\Big).E{exp(tk=1∑n​bk​xk​)}≤exp(2t2​k=1∑n​bk2​).

This is the moment-generating-function form of the Azuma–Hoeffding inequality: a weighted sum of conditionally sub-Gaussian martingale differences is sub-Gaussian with variance proxy ∑bk2\sum b_k^2∑bk2​. It is the first step of the proof of Lemma 2.

Formalization Note The expectation is a lower Lebesgue integral of exp⁡(⋅)\exp(\cdot)exp(⋅) with values in [0,∞][0,\infty][0,∞], so the inequality also asserts that the left side is finite; a Bochner integral would be 000 for a non-integrable integrand and make the bound trivially true.

Preamble
import Mathlib
import Definitions.Def_AzumaWeightedSums_IteratedLog_ClassG
import Definitions.Def_AzumaWeightedSums_IteratedLog_WeightedSums

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace AzumaWeightedSums.IteratedLog

/-- Azuma 1967, display (2.4) (proof of Lemma 2, pp. 358–359): under [G] with `τ(x_n) ≤ 1`,
`E exp(t Σ_{k=1}^n b_k x_k) ≤ exp((t²/2) Σ_{k=1}^n b_k²)` for every `n`, every real
sequence `(b_k)` and every real `t`. -/
theorem mgf_weightedSum_le {Ω : Type*} {mΩ : MeasurableSpace Ω} {μ : Measure Ω}
    [IsProbabilityMeasure μ] {ℱ : Filtration ℕ mΩ} {x : ℕ → Ω → ℝ}
    (hx : IsCondSubgaussianOne μ ℱ x) (b : ℕ → ℝ) (n : ℕ) (t : ℝ) :
    ∫⁻ ω, ENNReal.ofReal (Real.exp (t * weightedSum b x n ω)) ∂μ
      ≤ ENNReal.ofReal (Real.exp (t ^ 2 / 2 * sqWeightSum b n)) := by sorry

end AzumaWeightedSums.IteratedLog
Source
Azuma, Weighted sums of certain dependent random variables, Tôhoku Math. J. 19 (1967), https://doi.org/10.2748/tmj/1178243286, pp. 358–359, display (2.4) in the proof of Lemma 2
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 4, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me