Theorem (MeasureTheory.Supermartingale.measureReal_exists_ge_le). Ville's maximal inequality: a nonnegative supermartingale (f_k)_{k \ge 0} reaches the level c > 0 at some time with probability at most \frac{\mathbb{E}[f_0]}{c}\,; for a finite measure \mu, \mu\{\omega : \exists k,\ f_k(\omega) \ge c\} \le \frac{\int f_0 \, d\mu}{c}\,. Due to Ville (1939); the time-uniform form of Markov's inequality used for martingale tail bounds (the matrix Freedman inequality, NLAlib/Probability/MatrixConcentration/Freedman.lean).
Headline
Lean statement and details
MeasureTheory.Supermartingale.measureReal_exists_ge_le.{u_1} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
{μ : Measure Ω} [IsFiniteMeasure μ] {ℱ : Filtration ℕ mΩ} {f : ℕ → Ω → ℝ}
(hf : Supermartingale f ℱ μ) (hf0 : ∀ (k : ℕ), 0 ≤ᵐ[μ] f k) {c : ℝ} (hc : 0 < c) :
μ.real {ω | ∃ k, c ≤ f k ω} ≤ (∫ (ω : Ω), f 0 ω ∂μ) / c