|
|
|
|
Quelle Filtration.lean
Sprache: Lean
|
|
/-
Copyright (c) 2021 Kexing Ying. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kexing Ying, Rémy Degenne
-/
module
public import Mathlib.MeasureTheory.Constructions.Cylinders
public import Mathlib.MeasureTheory.Function.ConditionalExpectation.Real
public import Mathlib.MeasureTheory.MeasurableSpace.PreorderRestrict
/-!
# Filtrations
This file defines filtrations of a measurable space and σ-finite filtrations.
## Main definitions
* `MeasureTheory.Filtration`: a filtration on a measurable space. That is, a monotone sequence of
sub-σ-algebras.
* `MeasureTheory.SigmaFiniteFiltration`: a filtration `f` is σ-finite with respect to a measure
`μ` if for all `i`, `μ.trim (f.le i)` is σ-finite.
* `MeasureTheory.Filtration.natural`: the smallest filtration that makes a process adapted. That
notion `adapted` is not defined yet in this file. See `MeasureTheory.adapted`.
* `MeasureTheory.Filtration.rightCont`: the right-continuation of a filtration.
* `MeasureTheory.Filtration.IsRightContinuous`: a filtration is right-continuous if it is equal
to its right-continuation.
* `MeasureTheory.Filtration.IsComplete`: a filtration is complete with respect to a measure `μ` if
all its σ-algebras contain the `μ`-null sets.
## Main results
* `MeasureTheory.Filtration.instCompleteLattice`: filtrations are a complete lattice.
## Tags
filtration, stochastic process
-/
@[expose] public section
open Filter TopologicalSpace
open scoped MeasureTheory NNReal ENNReal Topology
namespace MeasureTheory
/-- A `Filtration` on a measurable space `Ω` with σ-algebra `m` is a monotone
sequence of sub-σ-algebras of `m`. -/
structure Filtration {Ω : Type*} (ι : Type*) [Preorder ι] (m : MeasurableSpace Ω) where
/-- The sequence of sub-σ-algebras of `m` -/
seq : ι → MeasurableSpace Ω
mono' : Monotone seq
le' : ∀ i : ι, seq i ≤ m
attribute [coe] Filtration.seq
variable {Ω ι : Type*} {m : MeasurableSpace Ω}
instance [Preorder ι] : CoeFun (Filtration ι m) fun _ => ι → MeasurableSpace Ω :=
⟨fun f => f.seq⟩
namespace Filtration
variable [Preorder ι]
protected theorem mono {i j : ι} (f : Filtration ι m) (hij : i ≤ j) : f i ≤ f j :=
f.mono' hij
protected theorem le (f : Filtration ι m) (i : ι) : f i ≤ m :=
f.le' i
@[ext]
protected theorem ext {f g : Filtration ι m} (h : (f : ι → MeasurableSpace Ω) = g) : f = g := by
cases f; cases g; congr
variable (ι) in
/-- The constant filtration which is equal to `m` for all `i : ι`. -/
def const (m' : MeasurableSpace Ω) (hm' : m' ≤ m) : Filtration ι m :=
⟨fun _ => m', monotone_const, fun _ => hm'⟩
@[simp]
theorem const_apply {m' : MeasurableSpace Ω} {hm' : m' ≤ m} (i : ι) : const ι m' hm' i = m' :=
rfl
instance : Inhabited (Filtration ι m) :=
⟨const ι m le_rfl⟩
instance : LE (Filtration ι m) :=
⟨fun f g => ∀ i, f i ≤ g i⟩
instance : Bot (Filtration ι m) :=
⟨const ι ⊥ bot_le⟩
instance : Top (Filtration ι m) :=
⟨const ι m le_rfl⟩
instance : Max (Filtration ι m) :=
⟨fun f g =>
{ seq := fun i => f i ⊔ g i
mono' := fun _ _ hij =>
sup_le ((f.mono hij).trans le_sup_left) ((g.mono hij).trans le_sup_right)
le' := fun i => sup_le (f.le i) (g.le i) }⟩
@[norm_cast]
theorem coeFn_sup {f g : Filtration ι m} : ⇑(f ⊔ g) = ⇑f ⊔ ⇑g :=
rfl
instance : Min (Filtration ι m) :=
⟨fun f g =>
{ seq := fun i => f i ⊓ g i
mono' := fun _ _ hij =>
le_inf (inf_le_left.trans (f.mono hij)) (inf_le_right.trans (g.mono hij))
le' := fun i => inf_le_left.trans (f.le i) }⟩
@[norm_cast]
theorem coeFn_inf {f g : Filtration ι m} : ⇑(f ⊓ g) = ⇑f ⊓ ⇑g :=
rfl
instance : SupSet (Filtration ι m) :=
⟨fun s =>
{ seq := fun i => sSup ((fun f : Filtration ι m => f i) '' s)
mono' := fun i j hij => by
refine sSup_le fun m' hm' => ?_
rw [Set.mem_image] at hm'
obtain ⟨f, hf_mem, hfm'⟩ := hm'
rw [← hfm']
refine (f.mono hij).trans ?_
have hfj_mem : f j ∈ (fun g : Filtration ι m => g j) '' s := ⟨f, hf_mem, rfl⟩
exact le_sSup hfj_mem
le' := fun i => by
refine sSup_le fun m' hm' => ?_
rw [Set.mem_image] at hm'
obtain ⟨f, _, hfm'⟩ := hm'
rw [← hfm']
exact f.le i }⟩
theorem sSup_def (s : Set (Filtration ι m)) (i : ι) :
sSup s i = sSup ((fun f : Filtration ι m => f i) '' s) :=
rfl
open scoped Classical in
noncomputable instance : InfSet (Filtration ι m) :=
⟨fun s =>
{ seq := fun i => if Set.Nonempty s then sInf ((fun f : Filtration ι m => f i) '' s) else m
mono' := fun i j hij => by
by_cases h_nonempty : Set.Nonempty s
swap; · simp only [h_nonempty, ite_false, le_refl]
simp only [h_nonempty, ite_true, le_sInf_iff, Set.mem_image, forall_exists_index, and_imp,
forall_apply_eq_imp_iff₂]
refine fun f hf_mem => le_trans ?_ (f.mono hij)
have hfi_mem : f i ∈ (fun g : Filtration ι m => g i) '' s := ⟨f, hf_mem, rfl⟩
exact sInf_le hfi_mem
le' := fun i => by
by_cases h_nonempty : Set.Nonempty s
swap; · simp only [h_nonempty, ite_false, le_refl]
simp only [h_nonempty, ite_true]
obtain ⟨f, hf_mem⟩ := h_nonempty
exact le_trans (sInf_le ⟨f, hf_mem, rfl⟩) (f.le i) }⟩
open scoped Classical in
theorem sInf_def (s : Set (Filtration ι m)) (i : ι) :
sInf s i = if Set.Nonempty s then sInf ((fun f : Filtration ι m => f i) '' s) else m :=
rfl
noncomputable instance instPartialOrder : PartialOrder (Filtration ι m) where
le_refl _ _ := le_rfl
le_trans _ _ _ h_fg h_gh i := (h_fg i).trans (h_gh i)
le_antisymm _ _ h_fg h_gf := Filtration.ext <| funext fun i => (h_fg i).antisymm (h_gf i)
noncomputable instance instCompleteLattice : CompleteLattice (Filtration ι m) where
sup := (· ⊔ ·)
le_sup_left _ _ _ := le_sup_left
le_sup_right _ _ _ := le_sup_right
sup_le _ _ _ h_fh h_gh i := sup_le (h_fh i) (h_gh _)
inf := (· ⊓ ·)
inf_le_left _ _ _ := inf_le_left
inf_le_right _ _ _ := inf_le_right
le_inf _ _ _ h_fg h_fh i := le_inf (h_fg i) (h_fh i)
isLUB_sSup _ :=
.of_image (f := seq) .rfl
(by simpa only [isLUB_pi, Set.image_image] using! fun _ ↦ isLUB_sSup _)
isGLB_sInf _ := by
dsimp +instances [instInfSet]
split_ifs with hn
· refine .of_image (f := seq) .rfl ?_
simpa only [isGLB_pi, Set.image_image] using! fun _ ↦ isGLB_sInf _
· rw [Set.not_nonempty_iff_eq_empty] at hn
simpa [hn] using! Filtration.le
le_top f i := f.le' i
bot_le _ _ := bot_le
end Filtration
theorem measurableSet_of_filtration [Preorder ι] {f : Filtration ι m} {s : Set Ω} {i : ι}
(hs : MeasurableSet[f i] s) : MeasurableSet[m] s :=
f.le i s hs
/-- A measure is σ-finite with respect to filtration if it is σ-finite with respect
to all the sub-σ-algebra of the filtration. -/
class SigmaFiniteFiltration [Preorder ι] (μ : Measure Ω) (f : Filtration ι m) : Prop where
SigmaFinite : ∀ i : ι, SigmaFinite (μ.trim (f.le i))
instance sigmaFinite_of_sigmaFiniteFiltration [Preorder ι] (μ : Measure Ω) (f : Filtration ι m)
[hf : SigmaFiniteFiltration μ f] (i : ι) : SigmaFinite (μ.trim (f.le i)) :=
hf.SigmaFinite _
instance (priority := 100) IsFiniteMeasure.sigmaFiniteFiltration [Preorder ι] (μ : Measure Ω)
(f : Filtration ι m) [IsFiniteMeasure μ] : SigmaFiniteFiltration μ f :=
⟨fun n => by infer_instance⟩
/-- Given an integrable function `g`, the conditional expectations of `g` with respect to a
filtration is uniformly integrable. -/
theorem Integrable.uniformIntegrable_condExp_filtration [Preorder ι] {μ : Measure Ω}
[IsFiniteMeasure μ] {f : Filtration ι m} {g : Ω → ℝ} (hg : Integrable g μ) :
UniformIntegrable (fun i => μ[g | f i]) 1 μ :=
hg.uniformIntegrable_condExp f.le
theorem Filtration.condExp_condExp [Preorder ι] {E : Type*} [NormedAddCommGroup E]
[NormedSpace ℝ E] [CompleteSpace E] (f : Ω → E) {μ : Measure Ω} (ℱ : Filtration ι m)
{i j : ι} (hij : i ≤ j) [SigmaFinite (μ.trim (ℱ.le j))] :
μ[μ[f | ℱ j] | ℱ i] =ᵐ[μ] μ[f | ℱ i] := condExp_condExp_of_le (ℱ.mono hij) (ℱ.le j)
section OfSet
variable [Preorder ι]
/-- Given a sequence of measurable sets `(sₙ)`, `filtrationOfSet` is the smallest filtration
such that `sₙ` is measurable with respect to the `n`-th sub-σ-algebra in `filtrationOfSet`. -/
def filtrationOfSet {s : ι → Set Ω} (hsm : ∀ i, MeasurableSet (s i)) : Filtration ι m where
seq i := MeasurableSpace.generateFrom {t | ∃ j ≤ i, s j = t}
mono' _ _ hnm := MeasurableSpace.generateFrom_mono fun _ ⟨k, hk₁, hk₂⟩ => ⟨k, hk₁.trans hnm, hk₂⟩
le' _ := MeasurableSpace.generateFrom_le fun _ ⟨k, _, hk₂⟩ => hk₂ ▸ hsm k
theorem measurableSet_filtrationOfSet {s : ι → Set Ω} (hsm : ∀ i, MeasurableSet[m] (s i)) (i : ι)
{j : ι} (hj : j ≤ i) : MeasurableSet[filtrationOfSet hsm i] (s j) :=
MeasurableSpace.measurableSet_generateFrom ⟨j, hj, rfl⟩
theorem measurableSet_filtrationOfSet' {s : ι → Set Ω} (hsm : ∀ n, MeasurableSet[m] (s n))
(i : ι) : MeasurableSet[filtrationOfSet hsm i] (s i) :=
measurableSet_filtrationOfSet hsm i le_rfl
end OfSet
namespace Filtration
section IsRightContinuous
open scoped Classical in
/-- Given a filtration ``, its **right continuation** is the filtration `₊` defined as follows:
- If `i` is isolated on the right, then `₊ i := i`;
- Otherwise, `₊ i := ⨅ j > i, j`.
It is sometimes simply defined as `₊ i := ⨅ j > i, j` when the index type is `ℝ`. In the
general case this is not ideal however. If `i` is maximal for instance, then `₊ i = ⊤`, which
is inconvenient because `₊` is not a `Filtration ι m` anymore. If the index type
is discrete (such as `ℕ`), then we would have ` = ₊` (i.e. `` is right-continuous) only if
`` is constant.
To avoid requiring a `TopologicalSpace` instance on `ι` in the definition, we endow `ι` with
the order topology `Preorder.topology` inside the definition. Say you write a statement about
`₊` which does not require a `TopologicalSpace` structure on `ι`,
but you wish to use a statement which requires a topology (such as `rightCont_apply`).
Then you can endow `ι` with the order topology by writing
```lean
letI := Preorder.topology ι
haveI : OrderTopology ι := ⟨rfl⟩
``` -/
@[no_expose]
noncomputable def rightCont [PartialOrder ι] ( : Filtration ι m) : Filtration ι m :=
letI : TopologicalSpace ι := Preorder.topology ι
{ seq i := if ([>] i).NeBot then ⨅ j > i, j else i
mono' i j hij := by
simp only [gt_iff_lt]
split_ifs with hi hj hj
· exact le_iInf₂ fun k hkj ↦ iInf₂_le k (hij.trans_lt hkj)
· obtain rfl | hj := eq_or_ne j i
· contradiction
· exact iInf₂_le j (lt_of_le_of_ne hij hj.symm)
· exact le_iInf₂ fun k hk ↦ .mono (hij.trans hk.le)
· exact .mono hij
le' i := by
split_ifs with hi
· obtain ⟨j, hj⟩ := (frequently_gt_nhds i).exists
exact iInf₂_le_of_le j hj (.le j)
· exact .le i }
@[inherit_doc] scoped postfix:max "₊" => rightCont
open scoped Classical in
lemma rightCont_apply [PartialOrder ι] [TopologicalSpace ι] [OrderTopology ι]
( : Filtration ι m) (i : ι) :
₊ i = if ([>] i).NeBot then ⨅ j > i, j else i := by
simp +instances only [rightCont, OrderTopology.topology_eq_generate_intervals]
lemma rightCont_eq_of_nhdsGT_eq_bot [PartialOrder ι] [TopologicalSpace ι] [OrderTopology ι]
( : Filtration ι m) {i : ι} (hi : [>] i = ⊥) :
₊ i = i := by
rw [rightCont_apply, hi, neBot_iff, ne_self_iff_false, ite_false]
/-- If the index type is a `SuccOrder`, then `₊ = `. -/
@[simp] lemma rightCont_eq_self [LinearOrder ι] [SuccOrder ι] ( : Filtration ι m) :
₊ = := by
let := Preorder.topology ι; have : OrderTopology ι := ⟨rfl⟩
ext _
rw [rightCont_eq_of_nhdsGT_eq_bot _ SuccOrder.nhdsGT]
lemma rightCont_eq_of_isMax [PartialOrder ι] ( : Filtration ι m) {i : ι} (hi : IsMax i) :
₊ i = i := by
let := Preorder.topology ι; have : OrderTopology ι := ⟨rfl⟩
exact rightCont_eq_of_nhdsGT_eq_bot _ (hi.Ioi_eq ▸ nhdsWithin_empty i)
lemma rightCont_eq_of_exists_gt [LinearOrder ι] ( : Filtration ι m) {i : ι}
(hi : ∃ j > i, Set.Ioo i j = ∅) :
₊ i = i := by
let := Preorder.topology ι; have : OrderTopology ι := ⟨rfl⟩
obtain ⟨j, hij, hIoo⟩ := hi
have hcov : i ⋖ j := covBy_iff_Ioo_eq.mpr ⟨hij, hIoo⟩
exact rightCont_eq_of_nhdsGT_eq_bot _ <| CovBy.nhdsGT hcov
/-- If `i` is not isolated on the right, then `₊ i = ⨅ j > i, j`. This is for instance the case
when `ι` is a densely ordered linear order with no maximal elements and equipped with the order
topology, see `rightCont_eq`. -/
lemma rightCont_eq_of_neBot_nhdsGT [PartialOrder ι] [TopologicalSpace ι] [OrderTopology ι]
( : Filtration ι m) (i : ι) [([>] i).NeBot] :
₊ i = ⨅ j > i, j := by
rw [rightCont_apply, ite_eq_left ‹([>] i).NeBot›]
lemma rightCont_eq_of_not_isMax [LinearOrder ι] [DenselyOrdered ι]
( : Filtration ι m) {i : ι} (hi : ¬IsMax i) :
₊ i = ⨅ j > i, j := by
let := Preorder.topology ι; have : OrderTopology ι := ⟨rfl⟩
have : ([>] i).NeBot := nhdsGT_neBot_of_exists_gt (not_isMax_iff.mp hi)
exact rightCont_eq_of_neBot_nhdsGT _ _
/-- If `ι` is a densely ordered linear order with no maximal element, then no point is isolated
on the right, so that `₊ i = ⨅ j > i, j` holds for all `i`. This is in particular the
case when `ι := ℝ≥0`. -/
lemma rightCont_eq [LinearOrder ι] [DenselyOrdered ι] [NoMaxOrder ι]
( : Filtration ι m) (i : ι) :
₊ i = ⨅ j > i, j := .rightCont_eq_of_not_isMax (not_isMax i)
variable [PartialOrder ι]
lemma le_rightCont ( : Filtration ι m) : ≤ ₊ := by
let := Preorder.topology ι; have : OrderTopology ι := ⟨rfl⟩
intro i
by_cases hne : ([>] i).NeBot
· rw [rightCont_eq_of_neBot_nhdsGT]
exact le_iInf₂ fun _ he => .mono he.le
· rw [rightCont_apply, ite_eq_right hne]
@[simp] lemma rightCont_self ( : Filtration ι m) : ₊₊ = ₊ := by
let := Preorder.topology ι; have : OrderTopology ι := ⟨rfl⟩
apply le_antisymm _ ₊.le_rightCont
intro i
by_cases hne : ([>] i).NeBot
· have hineq : (⨅ j > i, ₊ j) ≤ ⨅ j > i, j := by
apply le_iInf₂ fun u hu => ?_
have hiou : Set.Ioo i u ∈ [>] i := by
rw [mem_nhdsWithin_iff_exists_mem_nhds_inter]
exact ⟨Set.Iio u, (isOpen_Iio' u).mem_nhds hu, fun _ hx ↦ ⟨hx.2, hx.1⟩⟩
obtain ⟨v, hv⟩ := hne.nonempty_of_mem hiou
have hle₁ : (⨅ j > i, ₊ j) ≤ ₊ v := iInf₂_le_of_le v hv.1 le_rfl
have hle₂ : ₊ v ≤ u := by
by_cases hnv : ([>] v).NeBot
· simpa [rightCont_eq_of_neBot_nhdsGT] using iInf₂_le_of_le u hv.2 le_rfl
· simpa [rightCont_apply, hnv] using .mono hv.2.le
exact hle₁.trans hle₂
simpa [rightCont_eq_of_neBot_nhdsGT] using hineq
· rw [rightCont_apply, ite_eq_right hne]
/-- A filtration `` is right continuous if it is equal to its right continuation `₊`. -/
class IsRightContinuous ( : Filtration ι m) where
/-- The right continuity property. -/
RC : ₊ ≤
lemma IsRightContinuous.eq { : Filtration ι m} [h : IsRightContinuous ] :
₊ = := (le_antisymm .le_rightCont h.RC).symm
instance { : Filtration ι m} : ₊.IsRightContinuous := ⟨(rightCont_self ).le⟩
lemma IsRightContinuous.measurableSet { : Filtration ι m} [IsRightContinuous ] {i : ι}
{s : Set Ω} (hs : MeasurableSet[₊ i] s) :
MeasurableSet[ i] s := IsRightContinuous.eq ( := ) ▸ hs
end IsRightContinuous
section IsComplete
variable [Preorder ι] { : Filtration ι m} {μ ν : Measure Ω}
/-- A filtration `` is complete with respect to a measure `μ` if for all `i`, ` i` contains all
the `μ`-null sets. -/
protected class IsComplete ( : Filtration ι m) (μ : Measure Ω := by volume_tac) where
/-- For all `t`, ` t` contains all the null sets. -/
measurableSet_of_null ⦃s : Set Ω⦄ (hs : μ s = 0) (t : ι) : MeasurableSet[ t] s
/-- If a filtration `` is complete with respect to `μ`, then the measure `μ` restricted to the
σ-algebra ` i` is complete. -/
instance [.IsComplete μ] {i : ι} : (μ.trim (.le i)).IsComplete :=
⟨fun _ hs ↦ IsComplete.measurableSet_of_null (measure_eq_zero_of_trim_eq_zero (.le i) hs) i⟩
variable () in
/-- If a filtration `` on a nonempty type is complete with respect to `μ`, then `μ` is complete.
This is not an instance since `` cannot be inferred from the goal. -/
lemma IsComplete.isComplete_measure [Nonempty ι] [.IsComplete μ] : μ.IsComplete :=
⟨fun _ hs ↦ .le (Classical.arbitrary ι) _ (IsComplete.measurableSet_of_null hs _)⟩
/-- A filtration that is complete with respect to `μ` is complete with respect to any measure `ν`
such that `μ ≪ ν`. -/
lemma IsComplete.of_absolutelyContinuous [.IsComplete μ] (hμν : μ ≪ ν) : .IsComplete ν :=
⟨fun _ hs t ↦ IsComplete.measurableSet_of_null (hμν hs) t⟩
/-- If a filtration `` is complete with respect to `μ`, then a set that is `μ`-almost everywhere
equal to a set of ` i` belongs to ` i`. -/
lemma IsComplete.measurableSet_of_ae_eq [.IsComplete μ] {s t : Set Ω} {i : ι}
(ht : MeasurableSet[ i] t) (hst : s =ᵐ[μ] t) :
MeasurableSet[ i] s := by
rw [← symmDiff_symmDiff_cancel_left t s]
exact ht.symmDiff (IsComplete.measurableSet_of_null (measure_symmDiff_eq_zero_iff.mpr hst.symm) i)
end IsComplete
variable {β : ι → Type*} [∀ i, TopologicalSpace (β i)] [∀ i, MetrizableSpace (β i)]
[mβ : ∀ i, MeasurableSpace (β i)] [∀ i, BorelSpace (β i)]
[Preorder ι]
/-- Given a sequence of functions, the natural filtration is the smallest sequence
of σ-algebras such that the sequence of functions is measurable with respect to
the filtration. -/
def natural (u : (i : ι) → Ω → β i) (hum : ∀ i, StronglyMeasurable (u i)) : Filtration ι m where
seq i := ⨆ j ≤ i, MeasurableSpace.comap (u j) (mβ j)
mono' _ _ hij := biSup_mono fun _ => ge_trans hij
le' i := by
refine iSup₂_le ?_
rintro j _ s ⟨t, ht, rfl⟩
exact (hum j).measurable ht
lemma natural_eq_comap (u : (i : ι) → Ω → β i) (hum : ∀ (i : ι), StronglyMeasurable (u i)) (i : ι) :
natural u hum i = .comap (fun ω (j : Set.Iic i) ↦ u j ω) inferInstance := by
simp_rw [natural, MeasurableSpace.comap_process_pi, iSup_subtype']
rfl
section
open MeasurableSpace
theorem filtrationOfSet_eq_natural [∀ i, MulZeroOneClass (β i)] [∀ i, Nontrivial (β i)]
{s : ι → Set Ω} (hsm : ∀ i, MeasurableSet[m] (s i)) :
filtrationOfSet hsm = natural (fun i => (s i).indicator (fun _ => 1 : Ω → β i)) fun i =>
stronglyMeasurable_one.indicator (hsm i) := by
refine Filtration.ext <| funext fun i ↦ ?_
simp only [filtrationOfSet, natural, measurableSpace_iSup_eq, exists_prop]
refine le_antisymm (generateFrom_le ?_) (generateFrom_le ?_)
· rintro _ ⟨j, hij, rfl⟩
refine measurableSet_generateFrom ⟨j, measurableSet_generateFrom ⟨hij, ?_⟩⟩
rw [comap_eq_generateFrom]
refine measurableSet_generateFrom ⟨{1}, measurableSet_singleton 1, ?_⟩
ext x
simp
· rintro t ⟨n, ht⟩
suffices MeasurableSpace.generateFrom {t | n ≤ i ∧
MeasurableSet[MeasurableSpace.comap ((s n).indicator (fun _ => 1 : Ω → β n)) (mβ n)] t} ≤
MeasurableSpace.generateFrom {t | ∃ (j : ι), j ≤ i ∧ s j = t} by
exact this _ ht
refine generateFrom_le ?_
rintro t ⟨hn, u, _, hu'⟩
obtain heq | heq | heq | heq := Set.indicator_const_preimage (s n) u (1 : β n)
on_goal 4 => rw [Set.mem_singleton_iff] at heq
all_goals rw [heq] at hu'; rw [← hu']
exacts [MeasurableSet.univ, measurableSet_generateFrom ⟨n, hn, rfl⟩,
MeasurableSet.compl (measurableSet_generateFrom ⟨n, hn, rfl⟩), measurableSet_empty _]
end
section piLE
/-! ### Filtration of the first events -/
open MeasurableSpace Preorder
variable {X : ι → Type*} [∀ i, MeasurableSpace (X i)]
/-- The canonical filtration on the product space `Π i, X i`, where `piLE i`
consists of measurable sets depending only on coordinates `≤ i`. -/
def piLE : @Filtration (Π i, X i) ι _ pi where
seq i := pi.comap (restrictLe i)
mono' i j hij := by
simp only
rw [← restrictLe₂_comp_restrictLe hij, ← comap_comp]
exact comap_mono (measurable_restrictLe₂ _).comap_le
le' i := (measurable_restrictLe i).comap_le
variable [LocallyFiniteOrderBot ι]
lemma piLE_eq_comap_frestrictLe (i : ι) : piLE (X := X) i = pi.comap (frestrictLe i) := by
refine le_antisymm (Measurable.comap_le ?_) (Measurable.comap_le ?_)
· exact (MeasurableEquiv.piCongrLeft (fun j : Set.Iic i ↦ X j)
(Equiv.IicFinsetSet i)).measurable.comp (comap_measurable _)
· exact (MeasurableEquiv.piCongrLeft (fun j : Finset.Iic i ↦ X j)
(Equiv.IicFinsetSet i).symm).measurable.comp (comap_measurable _)
end piLE
section piFinset
open MeasurableSpace Finset
variable {ι : Type*} {X : ι → Type*} [∀ i, MeasurableSpace (X i)]
/-- The filtration of events which only depends on finitely many coordinates
on the product space `Π i, X i`, `piFinset s` consists of measurable sets depending only on
coordinates in `s`, where `s : Finset ι`. -/
def piFinset : @Filtration (Π i, X i) (Finset ι) _ pi where
seq s := pi.comap s.restrict
mono' s t hst := by
simp only
rw [← restrict₂_comp_restrict hst, ← comap_comp]
exact comap_mono (measurable_restrict₂ hst).comap_le
le' s := s.measurable_restrict.comap_le
lemma piFinset_eq_comap_restrict (s : Finset ι) :
piFinset (X := X) s = pi.comap (s : Set ι).domRestrict := rfl
end piFinset
variable {α : Type*}
/-- The exterior σ-algebras of finite sets of `α` form a cofiltration indexed by `Finset α`. -/
def cylinderEventsCompl : Filtration (Finset α)ᵒᵈ (.pi (X := fun _ : α ↦ Ω)) where
seq Λ := cylinderEvents (↑(OrderDual.ofDual Λ))ᶜ
mono' _ _ h := cylinderEvents_mono <| Set.compl_subset_compl_of_subset h
le' _ := cylinderEvents_le_pi
end Filtration
end MeasureTheory
¤ Dauer der Verarbeitung: 0.12 Sekunden
¤
*© Formatika GbR, Deutschland
|
|
2026-11-24
|
|
|
|
|