Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Doob’s Discrete-Time LpL^pLp Maximal Inequality

Proved
MeasureTheory.maximal_ineq_Lp_readable

by Lazyfill · Oct 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

functional-inequalitieskls-conjecturekls-modularkls-readablelog-concavevendored-mathfin

This formalizes Doob’s strong-type maximal inequality for discrete-time submartingales.

Let (Ω,F,μ)(\Omega,\mathcal F,\mu)(Ω,F,μ) be a finite measure space, let G\mathcal GG be a filtration indexed by N\mathbb NN, let fn:Ω→Rf_n:\Omega\to\mathbb Rfn​:Ω→R be a G\mathcal GG-submartingale, and let p∈Rp\in\mathbb Rp∈R satisfy 1<p1<p1<p. Assume fn(ω)≥0f_n(\omega)\ge 0fn​(ω)≥0 for every nnn and ω\omegaω. For each nnn, define the running maximum fn∗(ω)=max⁡0≤k≤nfk(ω)f_n^*(\omega)=\max_{0\le k\le n}f_k(\omega)fn∗​(ω)=max0≤k≤n​fk​(ω).

∥fn∗∥Lp(μ)≤pp−1 ∥fn∥Lp(μ).\|f_n^*\|_{L^p(\mu)}\le \frac{p}{p-1}\,\|f_n\|_{L^p(\mu)}.∥fn∗​∥Lp(μ)​≤p−1p​∥fn​∥Lp(μ)​.

The Lean statement uses eLpNorm with exponent ENNReal.ofReal p; thus both sides are values in [0,∞][0,\infty][0,∞], and the running maximum is represented by a finite supremum. This is a reusable strong-type maximal estimate.

Original Lean declaration header

Within namespace MeasureTheory. Shown in its original module context. Proof omitted.

theorem maximal_ineq_Lp
    [IsFiniteMeasure μ] {𝒢 : Filtration ℕ m0} {f : ℕ → Ω → ℝ} {p : ℝ}
    (hsub : Submartingale f 𝒢 μ) (hnonneg : ∀ n ω, 0 ≤ f n ω)
    (hp : 1 < p) (n : ℕ) :
    eLpNorm (fun ω ↦ (Finset.range (n + 1)).sup' Finset.nonempty_range_add_one
        (fun k ↦ f k ω)) (ENNReal.ofReal p) μ
      ≤ ENNReal.ofReal (p / (p - 1)) *
          eLpNorm (f n) (ENNReal.ofReal p) μ

Module navigation

Module: MathFin/Foundations/DoobLpMaximalInequality.

Supporting theorems: holder_step, runMax_pow_lintegral_lt_top.

Previous: runMax_pow_lintegral_lt_top.

Source excerpt, lines 939–946 · Frozen source 408915f.

Preamble
import Definitions.Def_KLSModular_MathFin_Foundations_DoobLpMaximalInequality

/-
Copyright (c) 2026 Raphael Coelho. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Raphael Coelho
-/
-- Vendored from https://github.com/raphaelrrcoelho/formal-mathfin at commit 784a8311f75a1519a23717856df9982bd6a9a370 (upstream path MathFin/Foundations/DoobLpMaximalInequality.lean; Apache-2.0; provenance in formalization/vendor/vendor-lock.json of the KLS repository)
variable {Ω : Type*}
variable [m0 : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω}
Formal statement

theorem MeasureTheory.maximal_ineq_Lp_readable
    [IsFiniteMeasure μ] {𝒢 : Filtration ℕ m0} {f : ℕ → Ω → ℝ} {p : ℝ}
    (hsub : Submartingale f 𝒢 μ) (hnonneg : ∀ n ω, 0 ≤ f n ω)
    (hp : 1 < p) (n : ℕ) :
    eLpNorm (fun ω ↦ (Finset.range (n + 1)).sup' Finset.nonempty_range_add_one
        (fun k ↦ f k ω)) (ENNReal.ofReal p) μ
      ≤ ENNReal.ofReal (p / (p - 1)) *
          eLpNorm (f n) (ENNReal.ofReal p) μ := by sorry
Source
Lean source: https://github.com/raphaelrrcoelho/formal-mathfin/blob/784a8311f75a1519a23717856df9982bd6a9a370/MathFin/Foundations/DoobLpMaximalInequality.lean#L927-L984 (repository human-ai-mathematics/kls-lean, commit 408915f, module `MathFin.Foundations.DoobLpMaximalInequality`, declaration `MeasureTheory.maximal_ineq_Lp`; the repository is private at upload time). Vendored from https://github.com/raphaelrrcoelho/formal-mathfin at commit 784a8311f75a1519a23717856df9982bd6a9a370 (Apache-2.0; upstream copyright notice retained in the Lean text).

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me