@@ -46,7 +46,7 @@ open scoped NNReal ENNReal MeasureTheory ProbabilityTheory
4646namespace MeasureTheory
4747
4848variable {Ω E ι : Type *} [Preorder ι] {m0 : MeasurableSpace Ω} {μ : Measure Ω}
49- [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] {f g : ι → Ω → E} {ℱ : Filtration ι m0}
49+ [NormedAddCommGroup E] [NormedSpace ℝ E] {f g : ι → Ω → E} {ℱ : Filtration ι m0}
5050
5151/-- A family of functions `f : ι → Ω → E` is a martingale with respect to a filtration `ℱ` if `f`
5252is strongly adapted with respect to `ℱ` and for all `i ≤ j`, `μ[f j | ℱ i] =ᵐ[μ] f i`. -/
@@ -92,6 +92,8 @@ protected theorem stronglyMeasurable (hf : Martingale f ℱ μ) (i : ι) :
9292theorem condExp_ae_eq (hf : Martingale f ℱ μ) {i j : ι} (hij : i ≤ j) : μ[f j | ℱ i] =ᵐ[μ] f i :=
9393 hf.2 i j hij
9494
95+ variable [CompleteSpace E]
96+
9597protected theorem integrable (hf : Martingale f ℱ μ) (i : ι) : Integrable (f i) μ :=
9698 integrable_condExp.congr (hf.condExp_ae_eq (le_refl i))
9799
@@ -131,12 +133,12 @@ theorem submartingale [Preorder E] (hf : Martingale f ℱ μ) : Submartingale f
131133
132134end Martingale
133135
134- theorem martingale_iff [PartialOrder E] :
136+ theorem martingale_iff [CompleteSpace E] [ PartialOrder E] :
135137 Martingale f ℱ μ ↔ Supermartingale f ℱ μ ∧ Submartingale f ℱ μ :=
136138 ⟨fun hf => ⟨hf.supermartingale, hf.submartingale⟩, fun ⟨hf₁, hf₂⟩ =>
137139 ⟨hf₁.1 , fun i j hij => (hf₁.2 .1 i j hij).antisymm (hf₂.2 .1 i j hij)⟩⟩
138140
139- theorem martingale_condExp (f : Ω → E) (ℱ : Filtration ι m0) (μ : Measure Ω)
141+ theorem martingale_condExp [CompleteSpace E] (f : Ω → E) (ℱ : Filtration ι m0) (μ : Measure Ω)
140142 [SigmaFiniteFiltration μ ℱ] : Martingale (fun i => μ[f | ℱ i]) ℱ μ :=
141143 ⟨fun _ => stronglyMeasurable_condExp, fun _ j hij => condExp_condExp_of_le (ℱ.mono hij) (ℱ.le j)⟩
142144
@@ -156,6 +158,8 @@ theorem condExp_ae_le [LE E] (hf : Supermartingale f ℱ μ) {i j : ι} (hij : i
156158 μ[f j | ℱ i] ≤ᵐ[μ] f i :=
157159 hf.2 .1 i j hij
158160
161+ variable [CompleteSpace E]
162+
159163theorem setIntegral_le [PartialOrder E] [IsOrderedAddMonoid E] [IsOrderedModule ℝ E]
160164 [ClosedIciTopology E] [SigmaFiniteFiltration μ ℱ] {f : ι → Ω → E} (hf : Supermartingale f ℱ μ)
161165 {i j : ι} (hij : i ≤ j) {s : Set Ω} (hs : MeasurableSet[ℱ i] s) :
@@ -208,6 +212,8 @@ theorem ae_le_condExp [LE E] (hf : Submartingale f ℱ μ) {i j : ι} (hij : i
208212 f i ≤ᵐ[μ] μ[f j | ℱ i] :=
209213 hf.2 .1 i j hij
210214
215+ variable [CompleteSpace E]
216+
211217lemma congr [LE E] (hf : Submartingale f ℱ μ) (hg : StronglyAdapted ℱ g)
212218 (h_eq : ∀ t, f t =ᵐ[μ] g t) :
213219 Submartingale g ℱ μ := by
@@ -290,6 +296,8 @@ theorem submartingale_of_setIntegral_le [SigmaFiniteFiltration μ ℱ]
290296 integral_sub' integrable_condExp.integrableOn (hint i).integrableOn, sub_nonneg,
291297 setIntegral_condExp (ℱ.le i) (hint j) hs]
292298
299+ variable [CompleteSpace E]
300+
293301theorem submartingale_of_condExp_sub_nonneg [PartialOrder E] [IsOrderedAddMonoid E]
294302 [SigmaFiniteFiltration μ ℱ] {f : ι → Ω → E} (hadp : StronglyAdapted ℱ f)
295303 (hint : ∀ i, Integrable (f i) μ) (hf : ∀ i j, i ≤ j → 0 ≤ᵐ[μ] μ[f j - f i | ℱ i]) :
@@ -319,11 +327,11 @@ end Submartingale
319327
320328namespace Supermartingale
321329
322- theorem sub_submartingale [Preorder E] [AddLeftMono E]
330+ theorem sub_submartingale [CompleteSpace E] [ Preorder E] [AddLeftMono E]
323331 (hf : Supermartingale f ℱ μ) (hg : Submartingale g ℱ μ) : Supermartingale (f - g) ℱ μ := by
324332 rw [sub_eq_add_neg]; exact hf.add hg.neg
325333
326- theorem sub_martingale [Preorder E] [AddLeftMono E]
334+ theorem sub_martingale [CompleteSpace E] [ Preorder E] [AddLeftMono E]
327335 (hf : Supermartingale f ℱ μ) (hg : Martingale g ℱ μ) : Supermartingale (f - g) ℱ μ :=
328336 hf.sub_submartingale hg.submartingale
329337
@@ -398,7 +406,8 @@ end OfSetIntegral
398406
399407section OfSucc
400408
401- variable [PartialOrder E] [IsOrderedAddMonoid E] [ClosedIciTopology E] [IsOrderedModule ℝ E]
409+ variable [CompleteSpace E] [PartialOrder E] [IsOrderedAddMonoid E] [ClosedIciTopology E]
410+ [IsOrderedModule ℝ E]
402411
403412theorem submartingale_nat [IsFiniteMeasure μ] {f : ℕ → Ω → E} (hadp : StronglyAdapted 𝒢 f)
404413 (hint : ∀ i, Integrable (f i) μ) (hf : ∀ i, f i ≤ᵐ[μ] μ[f (i + 1 ) | 𝒢 i]) :
@@ -467,7 +476,8 @@ end Preorder
467476
468477end SubSuper
469478
470- theorem martingale_nat [IsFiniteMeasure μ] {f : ℕ → Ω → E} (hadp : StronglyAdapted 𝒢 f)
479+ theorem martingale_nat [CompleteSpace E] [IsFiniteMeasure μ]
480+ {f : ℕ → Ω → E} (hadp : StronglyAdapted 𝒢 f)
471481 (hint : ∀ i, Integrable (f i) μ) (hf : ∀ i, f i =ᵐ[μ] μ[f (i + 1 ) | 𝒢 i]) :
472482 Martingale f 𝒢 μ := by
473483 refine ⟨hadp, fun i j hij ↦ ?_⟩
@@ -480,7 +490,7 @@ theorem martingale_nat [IsFiniteMeasure μ] {f : ℕ → Ω → E} (hadp : Stron
480490 with ω hω1 hω2 hω3
481491 rw [← hω1 , hω2 , hω3 ]
482492
483- theorem martingale_of_setIntegral_eq_succ [IsFiniteMeasure μ] {f : ℕ → Ω → E}
493+ theorem martingale_of_setIntegral_eq_succ [CompleteSpace E] [ IsFiniteMeasure μ] {f : ℕ → Ω → E}
484494 (hadp : StronglyAdapted 𝒢 f) (hint : ∀ i, Integrable (f i) μ)
485495 (hf : ∀ i, ∀ s : Set Ω, MeasurableSet[𝒢 i] s → ∫ ω in s, f i ω ∂μ = ∫ ω in s, f (i + 1 ) ω ∂μ) :
486496 Martingale f 𝒢 μ := by
@@ -491,7 +501,7 @@ theorem martingale_of_setIntegral_eq_succ [IsFiniteMeasure μ] {f : ℕ → Ω
491501 ← setIntegral_trim (𝒢.le n) stronglyMeasurable_condExp ms,
492502 setIntegral_condExp (𝒢.le n) (hint (n + 1 )) ms, hf n s ms]
493503
494- theorem martingale_of_condExp_sub_eq_zero_nat [IsFiniteMeasure μ] {f : ℕ → Ω → E}
504+ theorem martingale_of_condExp_sub_eq_zero_nat [CompleteSpace E] [ IsFiniteMeasure μ] {f : ℕ → Ω → E}
495505 (hadp : StronglyAdapted 𝒢 f) (hint : ∀ i, Integrable (f i) μ)
496506 (hf : ∀ i, μ[f (i + 1 ) - f i | 𝒢 i] =ᵐ[μ] 0 ) : Martingale f 𝒢 μ := by
497507 refine martingale_nat hadp hint fun i ↦ ?_
@@ -500,7 +510,8 @@ theorem martingale_of_condExp_sub_eq_zero_nat [IsFiniteMeasure μ] {f : ℕ →
500510 exact EventuallyEq.trans (condExp_sub (hint _) (hint _) _).symm (hf i)
501511
502512/-- A predictable martingale is a.e. equal to its initial state. -/
503- theorem Martingale.eq_zero_of_predictable [SigmaFiniteFiltration μ 𝒢] {f : ℕ → Ω → E}
513+ theorem Martingale.eq_zero_of_predictable [CompleteSpace E] [SigmaFiniteFiltration μ 𝒢]
514+ {f : ℕ → Ω → E}
504515 (hfmgle : Martingale f 𝒢 μ) (hfadp : StronglyAdapted 𝒢 fun n => f (n + 1 )) (n : ℕ) :
505516 f n =ᵐ[μ] f 0 := by
506517 induction n with
@@ -511,7 +522,7 @@ theorem Martingale.eq_zero_of_predictable [SigmaFiniteFiltration μ 𝒢] {f :
511522
512523section IsStronglyPredictable
513524
514- variable {E : Type *} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E]
525+ variable {E : Type *} [NormedAddCommGroup E] [NormedSpace ℝ E]
515526
516527/-- A predictable submartingale is a.e. greater than or equal to its initial state. -/
517528theorem Submartingale.zero_le_of_predictable' [Preorder E] [SigmaFiniteFiltration μ 𝒢]
@@ -526,7 +537,8 @@ theorem Supermartingale.le_zero_of_predictable' [Preorder E] [SigmaFiniteFiltrat
526537 le_zero_of_predictable hfmgle hfadp.measurable_add_one n
527538
528539/-- A predictable martingale is a.e. equal to its initial state. -/
529- theorem Martingale.eq_zero_of_predictable' [SigmaFiniteFiltration μ 𝒢] {f : ℕ → Ω → E}
540+ theorem Martingale.eq_zero_of_predictable' [CompleteSpace E] [SigmaFiniteFiltration μ 𝒢]
541+ {f : ℕ → Ω → E}
530542 (hfmgle : Martingale f 𝒢 μ) (hfadp : IsStronglyPredictable 𝒢 f) (n : ℕ) : f n =ᵐ[μ] f 0 :=
531543 eq_zero_of_predictable hfmgle hfadp.measurable_add_one n
532544
@@ -543,9 +555,11 @@ end Submartingale
543555
544556section SumSMul
545557
546- variable [PartialOrder E] [IsOrderedModule ℝ E] [ClosedIciTopology E] [IsOrderedAddMonoid E]
558+ variable [CompleteSpace E] [PartialOrder E] [IsOrderedModule ℝ E] [ClosedIciTopology E]
559+ [IsOrderedAddMonoid E]
547560
548- theorem Submartingale.sum_smul_sub [IsFiniteMeasure μ] {R : ℝ} {f : ℕ → Ω → E} {ξ : ℕ → Ω → ℝ}
561+ theorem Submartingale.sum_smul_sub [IsFiniteMeasure μ] {R : ℝ}
562+ {f : ℕ → Ω → E} {ξ : ℕ → Ω → ℝ}
549563 (hf : Submartingale f 𝒢 μ) (hξ : StronglyAdapted 𝒢 ξ) (hbdd : ∀ n ω, ξ n ω ≤ R)
550564 (hnonneg : ∀ n ω, 0 ≤ ξ n ω) :
551565 Submartingale (fun n => ∑ k ∈ Finset.range n, ξ k • (f (k + 1 ) - f k)) 𝒢 μ := by
0 commit comments