Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of (3.3) — under (3.4), {Q_λ(T_n, S_n), ℱ_n} is an expectation-decreasing martingale

Proved
FreedmanTail.Bernstein.supermartingale_Q

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

exponential-supermartingalemartingalep2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1supermartingale

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability triple with an increasing sequence of sub-σ\sigmaσ-fields F0⊂F1⊂⋯\mathcal F_0\subset\mathcal F_1\subset\cdotsF0​⊂F1​⊂⋯, and let X1,X2,…X_1,X_2,\dotsX1​,X2​,… be random variables with XnX_nXn​ Fn\mathcal F_nFn​-measurable and square integrable. Assume condition (3.4):

Xn≤1 a.e.andE{Xn∣Fn−1}≤0 a.e.for all n≥1,X_n\le1\ \text{a.e.}\quad\text{and}\quad E\{X_n\mid\mathcal F_{n-1}\}\le0\ \text{a.e.}\qquad\text{for all }n\ge1,Xn​≤1 a.e.andE{Xn​∣Fn−1​}≤0 a.e.for all n≥1,

with no lower bound on XnX_nXn​. Let Sn=X1+⋯+XnS_n=X_1+\cdots+X_nSn​=X1​+⋯+Xn​, Tn=∑i≤nVar⁡{Xi∣Fi−1}T_n=\sum_{i\le n}\operatorname{Var}\{X_i\mid\mathcal F_{i-1}\}Tn​=∑i≤n​Var{Xi​∣Fi−1​}, e(λ)=eλ−1−λe(\lambda)=e^\lambda-1-\lambdae(λ)=eλ−1−λ and Qλ(v,y)=exp⁡{λy−e(λ)v}Q_\lambda(v,y)=\exp\{\lambda y-e(\lambda)v\}Qλ​(v,y)=exp{λy−e(λ)v}. Then for every λ≥0\lambda\ge0λ≥0,

{Qλ(Tn,Sn), Fn: n=0,1,2,… }\bigl\{Q_\lambda(T_n,S_n),\ \mathcal F_n:\ n=0,1,2,\dots\bigr\}{Qλ​(Tn​,Sn​), Fn​: n=0,1,2,…}

is an expectation-decreasing martingale (a supermartingale): each Qλ(Tn,Sn)Q_\lambda(T_n,S_n)Qλ​(Tn​,Sn​) is Fn\mathcal F_nFn​-measurable and integrable, and E{Qλ(Tn+1,Sn+1)∣Fn}≤Qλ(Tn,Sn)E\{Q_\lambda(T_{n+1},S_{n+1})\mid\mathcal F_n\}\le Q_\lambda(T_n,S_n)E{Qλ​(Tn+1​,Sn+1​)∣Fn​}≤Qλ​(Tn​,Sn​) almost surely.

This is the step on which Proposition (3.3), and through it the tail bound (4.1), rests.

Formalization Note "Expectation-decreasing martingale" is the paper's term for a supermartingale, rendered as Mathlib's Supermartingale (adapted, integrable, and the conditional expectation of a later value at most the current one). Square integrability of each XnX_nXn​ is assumed because Vn=Var⁡{Xn∣Fn−1}V_n=\operatorname{Var}\{X_n\mid\mathcal F_{n-1}\}Vn​=Var{Xn​∣Fn−1​} is defined through conditional expectations, which Mathlib sets to 000 for non-integrable arguments; the page defines VnV_nVn​ without comment.

Preamble
import Mathlib
import Definitions.Def_FreedmanTail_Bernstein_Exponents
import Definitions.Def_FreedmanTail_Bernstein_PartialSums

open MeasureTheory ProbabilityTheory
Formal statement
namespace FreedmanTail.Bernstein

/-- Freedman (1975), proof of (3.3) Proposition, p. 106: under (3.4) and `λ ≥ 0`,
`{Q_λ(T_n, S_n), ℱ_n}` is an expectation-decreasing martingale (a supermartingale). -/
theorem supermartingale_Q {Ω : Type*} {m : MeasurableSpace Ω}
    (P : Measure Ω) [IsProbabilityMeasure P] (ℱ : Filtration ℕ m) (X : ℕ → Ω → ℝ)
    (hmeas : ∀ n, 1 ≤ n → StronglyMeasurable[ℱ n] (X n))
    (hL2 : ∀ n, 1 ≤ n → MemLp (X n) 2 P)
    (hle : ∀ n, 1 ≤ n → X n ≤ᵐ[P] 1)
    (hdrift : ∀ n, 1 ≤ n → P[X n | ℱ (n - 1)] ≤ᵐ[P] 0)
    (lam : ℝ) (hlam : 0 ≤ lam) :
    Supermartingale (fun n ω => Q lam (T ℱ X P n ω) (S X n ω)) ℱ P := by sorry

end FreedmanTail.Bernstein
Source
Freedman, On Tail Probabilities for Martingales, Ann. Probab. 3 (1975), p. 106 (PDF p. 7), first sentence of the proof of (3.3) Proposition
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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