Fubini Swap for the Maximal Layer Integral
ProvedMeasureTheory.fubini_swap_readablefunctional-inequalitieskls-conjecturekls-modularkls-readablelog-concavevendored-mathfin
This auxiliary lemma performs the Fubini step for a nonnegative submartingale.
Let be a nonnegative submartingale with respect to a filtration and a finite measure , let , and fix . Then
where is the discrete running maximum.
This is a technical Fubini identity used in the strong Doob estimate.
Formalization Note. The displayed integrals are represented as ENNReal lower integrals with ofReal coercions.
Original Lean declaration header
Within namespace MeasureTheory. Shown in its original module context. Proof omitted.
private lemma fubini_swap
[IsFiniteMeasure μ] {𝒢 : Filtration ℕ m0} {f : ℕ → Ω → ℝ} {p : ℝ}
(hsub : Submartingale f 𝒢 μ) (hnonneg : ∀ n ω, 0 ≤ f n ω)
(hp : 1 < p) (n : ℕ) :
∫⁻ t in Set.Ioi (0:ℝ),
ENNReal.ofReal (t ^ (p - 2)) *
∫⁻ ω in {ω | t ≤ runMax f n ω}, ENNReal.ofReal (f n ω) ∂μ
= ∫⁻ ω, ENNReal.ofReal (f n ω) *
ENNReal.ofReal ((runMax f n ω) ^ (p - 1) / (p - 1)) ∂μ
Module navigation
Module: MathFin/Foundations/DoobLpMaximalInequality.
Supporting theorems: inner_t_integral.
Previous: inner_t_integral · Next: fubini_swap_truncated.
Source excerpt, lines 201–209 · 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
lemma MeasureTheory.fubini_swap_readable
[IsFiniteMeasure μ] {𝒢 : Filtration ℕ m0} {f : ℕ → Ω → ℝ} {p : ℝ}
(hsub : Submartingale f 𝒢 μ) (hnonneg : ∀ n ω, 0 ≤ f n ω)
(hp : 1 < p) (n : ℕ) :
∫⁻ t in Set.Ioi (0:ℝ),
ENNReal.ofReal (t ^ (p - 2)) *
∫⁻ ω in {ω | t ≤ MeasureTheory.runMax f n ω}, ENNReal.ofReal (f n ω) ∂μ
= ∫⁻ ω, ENNReal.ofReal (f n ω) *
ENNReal.ofReal ((MeasureTheory.runMax f n ω) ^ (p - 1) / (p - 1)) ∂μ := by sorry
Source
Lean source: https://github.com/raphaelrrcoelho/formal-mathfin/blob/784a8311f75a1519a23717856df9982bd6a9a370/MathFin/Foundations/DoobLpMaximalInequality.lean#L189-L339 (repository human-ai-mathematics/kls-lean, commit 408915f, module `MathFin.Foundations.DoobLpMaximalInequality`, declaration `_private.MathFin.Foundations.DoobLpMaximalInequality.0.MeasureTheory.fubini_swap`; 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).