MindFormal v1.0.0One Mind

MindFormal.Tools.MartingaleMaximal

Two maximal inequalities for a real martingale on ℝ≥0 whose paths are continuous almost surely, on a probability space. The chance that it exceeds c > 0 in absolute value by time H is at most E[M_H²]/c² (the weak inequality on |M|, then |x| ≤ x²/(2c) + c/2); and E[(sup_{t≤H} |M_t|)²] ≤ 4 E[M_H²] (Doob's L² inequality). Both are taken on finite grids (the first from maximal_ineq_finset, the second from integral_iSup_le_norm_rpow_le with the grid listed as a sequence), carried to the rational grid of [0,H] by continuity of measure, and to all of [0,H] by continuity of the paths, so the paths need be continuous only almost surely and the filtration need not be complete.

The weak inequality #

theorem MindFormal.martingale_finset_stray {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {M : NNReal → Ω → ℝ} [MeasureTheory.IsProbabilityMeasure μ] (hM : MeasureTheory.Martingale M ℱ μ) {H : NNReal} (hL2 : MeasureTheory.MemLp (M H) 2 μ) {G : Finset NNReal} (hG : ∀ t ∈ G, t ≤ H) (hHG : H ∈ G) {c : ℝ} (hc : 0 < c) :
μ.real {ω : Ω | c ≤ G.sup' ⋯ fun (t : NNReal) => ‖M t ω‖} ≤ (∫ (ω : Ω), M H ω ^ 2 ∂μ) / c ^ 2

On a finite grid of [0,H] containing H, the chance that a martingale square-integrable at H reaches c > 0 in absolute value is at most E[M_H²]/c².

theorem MindFormal.martingale_grid_stray {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {M : NNReal → Ω → ℝ} [MeasureTheory.IsProbabilityMeasure μ] (hM : MeasureTheory.Martingale M ℱ μ) (H : NNReal) (hL2 : MeasureTheory.MemLp (M H) 2 μ) {c : ℝ} (hc : 0 < c) :
μ.real {ω : Ω | ∃ (q : ℚ), c < |M (rationalGridTime H q) ω|} ≤ (∫ (ω : Ω), M H ω ^ 2 ∂μ) / c ^ 2

On the rational grid of [0,H], the chance that a martingale square-integrable at H exceeds c > 0 in absolute value is at most E[M_H²]/c².

theorem MindFormal.martingale_stray {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {M : NNReal → Ω → ℝ} [MeasureTheory.IsProbabilityMeasure μ] (hM : MeasureTheory.Martingale M ℱ μ) (hcont : ∀ᵐ (ω : Ω) ∂μ, Continuous fun (t : NNReal) => M t ω) (H : NNReal) (hL2 : MeasureTheory.MemLp (M H) 2 μ) {c : ℝ} (hc : 0 < c) :
μ.real {ω : Ω | ∃ t ≤ H, c < |M t ω|} ≤ (∫ (ω : Ω), M H ω ^ 2 ∂μ) / c ^ 2

The weak inequality for a martingale with almost surely continuous paths: the chance that it exceeds c > 0 in absolute value at some time of [0,H] is at most E[M_H²]/c².

Doob's L² inequality #

theorem MindFormal.martingale_finset_sup_sq {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {M : NNReal → Ω → ℝ} [MeasureTheory.IsProbabilityMeasure μ] (hM : MeasureTheory.Martingale M ℱ μ) (H : NNReal) (s : Finset ℚ) :
∫⁻ (ω : Ω), (⨆ q ∈ s, ‖M (rationalGridTime H q) ω‖ₑ) ^ 2 ∂μ ≤ 4 * ∫⁻ (ω : Ω), ‖M H ω‖ₑ ^ 2 ∂μ

On a finite set of rational grid times of [0,H], the squared running maximum of a martingale has mean at most 4 E[M_H²].

theorem MindFormal.martingale_grid_sup_sq {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {M : NNReal → Ω → ℝ} [MeasureTheory.IsProbabilityMeasure μ] (hM : MeasureTheory.Martingale M ℱ μ) (H : NNReal) :
∫⁻ (ω : Ω), (⨆ (q : ℚ), ‖M (rationalGridTime H q) ω‖ₑ) ^ 2 ∂μ ≤ 4 * ∫⁻ (ω : Ω), ‖M H ω‖ₑ ^ 2 ∂μ

On the rational grid of [0,H], the squared running maximum of a martingale has mean at most 4 E[M_H²].

theorem MindFormal.enorm_le_iSup_grid {f : NNReal → ℝ} (hf : Continuous f) {H t : NNReal} (ht : t ≤ H) :

For a continuous real path, the size at any time of [0,H] is at most the supremum over the rational grid of [0,H].

theorem MindFormal.martingale_sup_sq {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} {M : NNReal → Ω → ℝ} [MeasureTheory.IsProbabilityMeasure μ] (hM : MeasureTheory.Martingale M ℱ μ) (hcont : ∀ᵐ (ω : Ω) ∂μ, Continuous fun (t : NNReal) => M t ω) (H : NNReal) :
∫⁻ (ω : Ω), (⨆ (t : NNReal), ⨆ (_ : t ≤ H), ‖M t ω‖ₑ) ^ 2 ∂μ ≤ 4 * ∫⁻ (ω : Ω), ‖M H ω‖ₑ ^ 2 ∂μ

Doob's L² inequality for a martingale with almost surely continuous paths: the squared running maximum over [0,H] has mean at most 4 E[M_H²].