Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Predictable.lean   Sprache: Lean

 

/-
Copyright (c) 2025 Kexing Ying. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kexing Ying
-/

module

public import Mathlib.Probability.Process.Adapted

/-!
# Predictable σ-algebra

This file defines the predictable σ-algebra associated to a filtration, as well as the
notion of predictable processes. We prove that predictable processes are progressively measurable
and adapted. We also give an equivalent characterization of predictability for discrete processes.

## Main definitions

* `Filtration.predictable` : The predictable σ-algebra associated to a filtration.
* `IsStronglyPredictable` : A process is predictable if it is measurable with respect to the
  predictable σ-algebra.

## Main results

* `IsStronglyPredictable.isStronglyProgressive` : A predictable process is progressively measurable.
* `IsStronglyPredictable.iff_measurable_add_one` : `u` is a discrete predictable process iff
  `u (n + 1)` is `�� n`-measurable and `u 0` is `�� 0`-measurable.

## Tags

predictable, previsible
-/


@[expose] public section

open Filter Order TopologicalSpace

open scoped MeasureTheory NNReal ENNReal Topology

namespace MeasureTheory

variable {Ω ι : Type*} {m : MeasurableSpace Ω} {E : Type*}

section

namespace Filtration

/-- Given a filtration `��`, the predictable σ-algebra is the σ-algebra on `ι × Ω` generated by
sets of the form `(t, ∞) × A` for `t ∈ ι` and `A ∈ �� t` and `{⊥} × A` for `A ∈ �� ⊥`. -/

@[instance_reducible]
def predictable [Preorder ι] [OrderBot ι] (�� : Filtration ι m) : MeasurableSpace (ι × Ω) :=
  MeasurableSpace.generateFrom <|
    {s | ∃ A, MeasurableSet[�� ⊥] A ∧ s = {⊥} ×ˢ A} ∪
    {s | ∃ i A, MeasurableSet[�� i] A ∧ s = Set.Ioi i ×ˢ A}

end Filtration

lemma measurableSet_predictable_singleton_bot_prod [LinearOrder ι] [OrderBot ι]
    {�� : Filtration ι m} {s : Set Ω} (hs : MeasurableSet[�� ⊥] s) :
    MeasurableSet[��.predictable] <| {⊥} ×ˢ s :=
  MeasurableSpace.measurableSet_generateFrom <| Or.inl ⟨s, hs, rfl⟩

lemma measurableSet_predictable_Ioi_prod [LinearOrder ι] [OrderBot ι]
    {�� : Filtration ι m} {i : ι} {s : Set Ω} (hs : MeasurableSet[�� i] s) :
    MeasurableSet[��.predictable] <| Set.Ioi i ×ˢ s :=
  MeasurableSpace.measurableSet_generateFrom <| Or.inr ⟨i, s, hs, rfl⟩

/-- Sets of the form `(i, j] × A` for any `A ∈ �� i` are measurable with respect to the predictable
σ-algebra. -/

lemma measurableSet_predictable_Ioc_prod [LinearOrder ι] [OrderBot ι]
    {�� : Filtration ι m} (i j : ι) {s : Set Ω} (hs : MeasurableSet[�� i] s) :
    MeasurableSet[��.predictable] <| Set.Ioc i j ×ˢ s := by
  obtain hij | hij := le_total j i
  · simp [hij]
  · rw [← Set.Ioi_sdiff_Ioi, (by simp : (Set.Ioi i \ Set.Ioi j) ×ˢ s
      = Set.Ioi i ×ˢ (s \ s) ∪ (Set.Ioi i \ Set.Ioi j) ×ˢ s), ← Set.prod_sdiff_prod]
    exact (measurableSet_predictable_Ioi_prod hs).diff
      (measurableSet_predictable_Ioi_prod <| ��.mono hij _ hs)

lemma measurableSet_predictable_singleton_prod
    {�� : Filtration ℕ m} {n : ℕ} {s : Set Ω} (hs : MeasurableSet[�� n] s) :
    MeasurableSet[��.predictable] <| {n + 1} ×ˢ s := by
  rw [(_ : {n + 1} = Set.Ioc n (n + 1))]
  · exact measurableSet_predictable_Ioc_prod _ _ hs
  · ext m
    simp only [Set.mem_singleton_iff, Set.mem_Ioc]
    lia

lemma measurableSet_prodMk_add_one_of_predictable {�� : Filtration ℕ m} {s : Set (ℕ × Ω)}
    (hs : MeasurableSet[��.predictable] s) (n : ℕ) :
    MeasurableSet[�� n] {ω | (n + 1, ω) ∈ s} := by
  rw [(by aesop : {ω | (n + 1, ω) ∈ s} = (Prod.mk (α := Set.singleton (n + 1)) (β := Ω)
      ⟨n + 1, rfl⟩) ⁻¹' ((fun (p : Set.singleton (n + 1) × Ω) ↦ ((p.1 : ℕ), p.2)) ⁻¹' s))]
  refine measurableSet_preimage (mβ := Subtype.instMeasurableSpace.prod (�� n))
    measurable_prodMk_left <| measurableSet_preimage ?_ hs
  rw [measurable_iff_comap_le, MeasurableSpace.comap_le_iff_le_map]
  refine MeasurableSpace.generateFrom_le ?_
  rintro - (⟨A, hA, rfl⟩ | ⟨i, A, hA, rfl⟩)
  · rw [MeasurableSpace.map_def,
      (_ : (fun (p : Set.singleton (n + 1) × Ω) ↦ ((p.1 : ℕ), p.2)) ⁻¹' ({⊥} ×ˢ A) = ∅)]
    · simp
    · ext p
      simp only [Nat.bot_eq_zero, Set.mem_preimage, Set.mem_prod, Set.mem_singleton_iff,
        Set.mem_empty_iff_false, iff_false, not_and]
      exact fun hp1 ↦ False.elim <| Nat.succ_ne_zero n (hp1 ▸ p.1.2.symm)
  · rw [MeasurableSpace.map_def]
    obtain hni | hin := lt_or_ge n i
    · rw [(_ : (fun (p : Set.singleton (n + 1) × Ω) ↦ ((p.1 : ℕ), p.2)) ⁻¹' (Set.Ioi i ×ˢ A) = ∅)]
      · simp
      · ext p
        simp only [Set.mem_preimage, Set.mem_prod, Set.mem_Ioi, Set.mem_empty_iff_false,
          iff_false, not_and]
        rw [p.1.2]
        grind
    · rw [(_ : (fun (p : Set.singleton (n + 1) × Ω) ↦ ((p.1 : ℕ), p.2)) ⁻¹' (Set.Ioi i ×ˢ A)
          = {⟨n + 1, rfl⟩} ×ˢ A)]
      · exact MeasurableSet.prod (MeasurableSet.of_subtype_image trivial) (��.mono hin _ hA)
      · ext p
        simp only [Set.mem_preimage, Set.mem_prod, Set.mem_Ioi, Set.mem_singleton_iff,
          and_congr_left_iff]
        intro hp2
        rw [p.1.2]
        exact ⟨fun _ ↦ by aesop, fun _ ↦ lt_add_one_iff.2 hin⟩

lemma measurableSpace_le_predictable_of_measurableSet [Preorder ι] [OrderBot ι]
    {�� : Filtration ι m} {m' : MeasurableSpace (ι × Ω)}
    (hm'bot : ∀ A, MeasurableSet[�� ⊥] A → MeasurableSet[m'] ({⊥} ×ˢ A))
    (hm' : ∀ i A, MeasurableSet[�� i] A → MeasurableSet[m'] ((Set.Ioi i) ×ˢ A)) :
    ��.predictable ≤ m' := by
  refine MeasurableSpace.generateFrom_le ?_
  rintro - (⟨A, hA, rfl⟩ | ⟨i, A, hA, rfl⟩)
  · exact hm'bot A hA
  · exact hm' i A hA

/-- The inclusion map from [0,i] × Ω with the subtype × �� i σ-algebra) to ι × Ω with the
predictable σ-algebra is measurable -/

lemma measurable_inclusion_predictable [LinearOrder ι] [OrderBot ι] [MeasurableSpace ι]
    [TopologicalSpace ι] [OpensMeasurableSpace ι] [OrderClosedTopology ι] {�� : Filtration ι m} {i} :
    @Measurable (Set.Iic i × Ω) (ι × Ω) (Subtype.instMeasurableSpace.prod (�� i)) ��.predictable
    fun x ↦ ⟨x.1.val, x.2⟩ := by
  rw [measurable_iff_comap_le]
  refine MeasurableSpace.comap_le_iff_le_map.2 <|
    measurableSpace_le_predictable_of_measurableSet ?_ ?_
  · intros A hA
    simp only [MeasurableSpace.map_def,
      (by aesop : (fun (p : Set.Iic i × Ω) ↦ ((p.1 : ι), p.2)) ⁻¹' ({⊥} ×ˢ A) = {⊥} ×ˢ A)]
    exact (measurableSet_singleton _).prod <| ��.mono bot_le _ hA
  · intros j A hA
    simp only [MeasurableSpace.map_def]
    obtain hji | hij := le_total j i
    · rw [(by grind : (fun (p : Set.Iic i × Ω) ↦ ((p.1 : ι), p.2)) ⁻¹' Set.Ioi j ×ˢ A
        = (Subtype.val ⁻¹' (Set.Ioc j i)) ×ˢ A)]
      exact (measurable_subtype_coe measurableSet_Ioc).prod (��.mono hji _ hA)
    · simp [(by grind : (fun (p : Set.Iic i × Ω) ↦ ((p.1 : ι), p.2)) ⁻¹' Set.Ioi j ×ˢ A = ∅)]

end

variable [TopologicalSpace E]

/-- A process is said to be predictable if it is measurable with respect to the predictable
σ-algebra. -/

def IsStronglyPredictable [Preorder ι] [OrderBot ι] (�� : Filtration ι m) (u : ι → Ω → E) :=
  StronglyMeasurable[��.predictable] <| Function.uncurry u

namespace IsStronglyPredictable

variable [LinearOrder ι] [OrderBot ι] [MeasurableSpace ι] [TopologicalSpace ι]
    [OpensMeasurableSpace ι] [OrderClosedTopology ι]

/-- A predictable process is progressively measurable. -/
lemma isStronglyProgressive {�� : Filtration ι m} {u : ι → Ω → E} (h�� : IsStronglyPredictable �� u) :
    IsStronglyProgressive �� u := by
  intro i
  let : MeasurableSpace (ι × Ω) := ��.predictable
  let : MeasurableSpace (Set.Iic i × Ω) := Subtype.instMeasurableSpace.prod (�� i)
  let X m (x : Set.Iic i × Ω) := h��.approx m ⟨x.1, x.2⟩
  refine ⟨fun m ↦ SimpleFunc.mk (X m) ?_ ?_, ?_⟩
  · exact fun e ↦ measurable_inclusion_predictable <| (h��.approx m).measurableSet_fiber e
  · exact Set.Finite.subset (h��.approx m).finite_range (by grind)
  · exact fun n ↦ by apply h��.tendsto_approx

/-- A predictable process is adapted. -/
lemma stronglyAdapted {�� : Filtration ι m} {u : ι → Ω → E} (h�� : IsStronglyPredictable �� u) :
    StronglyAdapted �� u :=
  h��.isStronglyProgressive.stronglyAdapted

section Discrete

/-- If `u` is a discrete predictable process, then `u (n + 1)` is `�� n`-measurable. -/
lemma measurable_add_one {�� : Filtration ℕ m} {u : ℕ → Ω → E}
    (h�� : IsStronglyPredictable �� u) (n : ℕ) : StronglyMeasurable[�� n] (u (n + 1)) := by
  let : MeasurableSpace (ℕ × Ω) := ��.predictable
  let : MeasurableSpace Ω := �� n
  let X m := (Function.curry (h��.approx m) (n + 1))
  refine ⟨(fun m ↦ SimpleFunc.mk (X m) ?_ ?_), (fun ω ↦ h��.tendsto_approx ⟨(n + 1), ω⟩)⟩
  · intro s
    rw [(by aesop : X m ⁻¹' {s} = {ω | (n + 1, ω) ∈ h��.approx m ⁻¹' {s}})]
    apply measurableSet_prodMk_add_one_of_predictable
    apply (h��.approx m).measurableSet_fiber
  · apply (h��.approx m).finite_range.subset
    rw [Set.range_subset_iff]
    aesop

lemma of_measurable_add_one {�� : Filtration ℕ m} {u : ℕ → Ω → E}
    (h₀ : StronglyMeasurable[�� 0] (u 0)) (h : ∀ n, StronglyMeasurable[�� n] (u (n + 1))) :
    IsStronglyPredictable �� u := by
  let : MeasurableSpace (ℕ × Ω) := ��.predictable
  -- first layer of approximation
  let X m (x : ℕ × Ω) := match x.1 with
    | 0 => h₀.approx m x.2
    | n + 1 => (h n).approx m x.2
  -- second layer of approximation (to ensure the whole process has finite range)
  let Y m (x : ℕ × Ω) := if x.1 ≤ m then X m x else X m ⟨0, x.2⟩
  refine ⟨fun m ↦ SimpleFunc.mk (Y m) ?_ ?_, ?_⟩
  · intro s
    rw [(by aesop : Y m ⁻¹' {s} = ⋃ n : ℕ, {n} ×ˢ ((Function.curry (Y m) n) ⁻¹' {s}))]
    refine MeasurableSet.iUnion <| fun n ↦ ?_
    rcases n with rfl | n
    · apply measurableSet_predictable_singleton_bot_prod
      let : MeasurableSpace Ω := �� 0
      exact (h₀.approx m).measurableSet_fiber s
    · apply measurableSet_predictable_singleton_prod
      by_cases! hmk : n + 1 ≤ m
      · rw [(by aesop : Function.curry (Y m) (n + 1) = Function.curry (X m) (n + 1))]
        let : MeasurableSpace Ω := �� n
        exact ((h n).approx m).measurableSet_fiber s
      · rw [(by aesop : Function.curry (Y m) (n + 1) = Function.curry (X m) 0)]
        apply ��.mono (i := 0) (by simp)
        let : MeasurableSpace Ω := �� 0
        exact (h₀.approx m).measurableSet_fiber s
  · apply Set.Finite.subset (s := ⋃ k ∈ Finset.range (m + 1), Set.range (Function.curry (X m) k))
    · refine Set.Finite.biUnion' (by aesop) (fun n hn ↦ ?_)
      rcases n with rfl | n
      · exact @(h₀.approx m).finite_range
      · exact @((h n).approx m).finite_range
    · intro e he
      obtain ⟨⟨n, ω⟩, hnω⟩ := Set.mem_range.mp he
      simp_rw [Set.mem_iUnion, Set.mem_range]
      exact ⟨if n ≤ m then n else 0, by aesop, ω, by aesop⟩
  · intro ⟨n, ω⟩
    rw [tendsto_congr' (f₂ := fun m ↦ X m ⟨n, ω⟩)]
    · rcases n with rfl | n
      · exact h₀.tendsto_approx ω
      · exact (h n).tendsto_approx ω
    · filter_upwards [eventually_ge_atTop n] with m hm using by simp; grind

/-- A discrete process `u` is predictable iff `u (n + 1)` is `�� n`-measurable for all `n` and
`u 0` is `�� 0`-measurable. -/

lemma iff_measurable_add_one {�� : Filtration ℕ m} {u : ℕ → Ω → E} :
    IsStronglyPredictable �� u ↔
    StronglyMeasurable[�� 0] (u 0) ∧ ∀ n, StronglyMeasurable[�� n] (u (n + 1)) :=
  ⟨fun h�� ↦ ⟨h��.isStronglyProgressive.stronglyAdapted 0, h��.measurable_add_one⟩,
    fun h ↦ .of_measurable_add_one h.1 h.2⟩

end Discrete

end IsStronglyPredictable

end MeasureTheory

Messung
CHZG
9410010097

¤ Dauer der Verarbeitung: 0.7 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,088
#Domains=862,438