The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V20. Probability

Mathlib.Probability.Process.HittingTime

49 declarations. Mathlib docs · Source

Hitting times

Given a stochastic process, the hitting time provides the first time the process "hits" some subset of the state space. The hitting time is a stopping time in the case that the time index is discrete and the process is strongly adapted (this is true in a far more general setting however we have only proved it for the discrete case so far).

Main definition

  • MeasureTheory.hittingBtwn u s n m: the first time a stochastic process u enters a set s after time n and before time m
  • MeasureTheory.hittingAfter u s n: the first time a stochastic process u enters a set s after time n

Main results

  • MeasureTheory.Adapted.isStoppingTime_hittingBtwn: a discrete hitting time of an adapted process is a stopping time
  • MeasureTheory.Adapted.isStoppingTime_hittingAfter: a discrete hitting time of a adapted process is a stopping time

def MeasureTheory.hittingBtwn E3 #

{Ω : Type u_1} → {β : Type u_2} → {ι : Type u_3} → [Preorder ι] → [InfSet ι] → (ι → Ω → β) → Set β → ι → ι → Ω → ι

Hitting time: given a stochastic process u and a set s, hittingBtwn u s n m is the first time u is in s after time n and before time m (if u does not hit s after time n and before m then the hitting time is simply m).

The hitting time is a stopping time if the process is strongly adapted and discrete.

def MeasureTheory.hittingAfter E1 #

{Ω : Type u_1} → {β : Type u_2} → {ι : Type u_3} → [Preorder ι] → [InfSet ι] → (ι → Ω → β) → Set β → ι → Ω → WithTop ι

Hitting time: given a stochastic process u and a set s, hittingAfter u s n is the first time u is in s after time n (if u does not hit s after time n then the hitting time is ⊤).

theorem MeasureTheory.hittingBtwn_def E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : Preorder ι] [inst_1 : InfSet ι] (u : ι → Ω → β) (s : Set β)
  (n m : ι),
  MeasureTheory.hittingBtwn u s n m = fun x ↦
    if ∃ j ∈ Set.Icc n m, u j x ∈ s then sInf (Set.Icc n m ∩ {i | u i x ∈ s}) else m

theorem MeasureTheory.hittingAfter_def E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : Preorder ι] [inst_1 : InfSet ι] (u : ι → Ω → β) (s : Set β)
  (n : ι),
  MeasureTheory.hittingAfter u s n = fun x ↦ if ∃ j, n ≤ j ∧ u j x ∈ s then ↑(sInf {i | n ≤ i ∧ u i x ∈ s}) else ⊤

theorem MeasureTheory.hittingBtwn_empty E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : Preorder ι] [inst_1 : InfSet ι] {u : ι → Ω → β} (n m : ι),
  MeasureTheory.hittingBtwn u ∅ n m = fun x ↦ m

theorem MeasureTheory.hittingAfter_empty E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : Preorder ι] [inst_1 : InfSet ι] {u : ι → Ω → β} (n : ι),
  MeasureTheory.hittingAfter u ∅ n = fun x ↦ ⊤

theorem MeasureTheory.hittingBtwn_univ E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_4} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} (n m : ι),
  MeasureTheory.hittingBtwn u Set.univ n m = fun x ↦ min n m

theorem MeasureTheory.hittingAfter_univ E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_4} [inst : ConditionallyCompleteLattice ι] {u : ι → Ω → β} (n : ι),
  MeasureTheory.hittingAfter u Set.univ n = fun x ↦ ↑n

theorem MeasureTheory.hittingBtwn_of_lt E2 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} {m : ι}, m < n → MeasureTheory.hittingBtwn u s n m ω = m

This lemma is strictly weaker than hittingBtwn_of_le.

theorem MeasureTheory.hittingBtwn_le E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n m : ι} (ω : Ω), MeasureTheory.hittingBtwn u s n m ω ≤ m

theorem MeasureTheory.notMem_of_lt_hittingBtwn E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} {m k : ι}, k < MeasureTheory.hittingBtwn u s n m ω → n ≤ k → u k ω ∉ s

theorem MeasureTheory.notMem_of_lt_hittingAfter E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} {k : ι}, ↑k < MeasureTheory.hittingAfter u s n ω → n ≤ k → u k ω ∉ s

theorem MeasureTheory.hittingBtwn_eq_end_iff E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} {m : ι},
  MeasureTheory.hittingBtwn u s n m ω = m ↔ (∃ j ∈ Set.Icc n m, u j ω ∈ s) → sInf (Set.Icc n m ∩ {i | u i ω ∈ s}) = m

theorem MeasureTheory.hittingAfter_eq_top_iff E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω}, MeasureTheory.hittingAfter u s n ω = ⊤ ↔ ∀ (j : ι), n ≤ j → u j ω ∉ s

theorem MeasureTheory.hittingBtwn_of_le E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} {m : ι}, m ≤ n → MeasureTheory.hittingBtwn u s n m ω = m

theorem MeasureTheory.le_hittingBtwn E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n m : ι}, n ≤ m → ∀ (ω : Ω), n ≤ MeasureTheory.hittingBtwn u s n m ω

theorem MeasureTheory.le_hittingAfter E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} (ω : Ω), ↑n ≤ MeasureTheory.hittingAfter u s n ω

theorem MeasureTheory.le_hittingBtwn_of_exists E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} {m : ι}, (∃ j ∈ Set.Icc n m, u j ω ∈ s) → n ≤ MeasureTheory.hittingBtwn u s n m ω

theorem MeasureTheory.hittingBtwn_mem_Icc E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n m : ι}, n ≤ m → ∀ (ω : Ω), MeasureTheory.hittingBtwn u s n m ω ∈ Set.Icc n m

theorem MeasureTheory.hittingBtwn_mem_set E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} [WellFoundedLT ι] {m : ι},
  (∃ j ∈ Set.Icc n m, u j ω ∈ s) → u (MeasureTheory.hittingBtwn u s n m ω) ω ∈ s

theorem MeasureTheory.hittingAfter_mem_set E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} [WellFoundedLT ι], (∃ j, n ≤ j ∧ u j ω ∈ s) → u (MeasureTheory.hittingAfter u s n ω).untopA ω ∈ s

theorem MeasureTheory.hittingBtwn_mem_set_of_hittingBtwn_lt E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} [WellFoundedLT ι] {m : ι},
  MeasureTheory.hittingBtwn u s n m ω < m → u (MeasureTheory.hittingBtwn u s n m ω) ω ∈ s

theorem MeasureTheory.hittingAfter_mem_set_of_ne_top E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} [WellFoundedLT ι],
  MeasureTheory.hittingAfter u s n ω ≠ ⊤ → u (MeasureTheory.hittingAfter u s n ω).untopA ω ∈ s

theorem MeasureTheory.hittingBtwn_le_of_mem E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n i : ι} {ω : Ω} {m : ι}, n ≤ i → i ≤ m → u i ω ∈ s → MeasureTheory.hittingBtwn u s n m ω ≤ i

theorem MeasureTheory.hittingAfter_le_of_mem E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n i : ι} {ω : Ω}, n ≤ i → u i ω ∈ s → MeasureTheory.hittingAfter u s n ω ≤ ↑i

theorem MeasureTheory.hittingBtwn_le_iff_of_exists E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n i : ι} {ω : Ω} [WellFoundedLT ι] {m : ι},
  (∃ j ∈ Set.Icc n m, u j ω ∈ s) → (MeasureTheory.hittingBtwn u s n m ω ≤ i ↔ ∃ j ∈ Set.Icc n i, u j ω ∈ s)

theorem MeasureTheory.hittingAfter_le_iff E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n i : ι} {ω : Ω} [WellFoundedLT ι], MeasureTheory.hittingAfter u s n ω ≤ ↑i ↔ ∃ j ∈ Set.Icc n i, u j ω ∈ s

theorem MeasureTheory.hittingBtwn_le_iff_of_lt E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} [WellFoundedLT ι] {m : ι},
  ∀ i < m, MeasureTheory.hittingBtwn u s n m ω ≤ i ↔ ∃ j ∈ Set.Icc n i, u j ω ∈ s

theorem MeasureTheory.hittingBtwn_lt_iff E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} {m : ι}, ∀ i ≤ m, MeasureTheory.hittingBtwn u s n m ω < i ↔ ∃ j ∈ Set.Ico n i, u j ω ∈ s

theorem MeasureTheory.hittingAfter_lt_iff E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n i : ι} {ω : Ω}, MeasureTheory.hittingAfter u s n ω < ↑i ↔ ∃ j ∈ Set.Ico n i, u j ω ∈ s

theorem MeasureTheory.hittingBtwn_eq_hittingBtwn_of_exists E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {u : ι → Ω → β} {s : Set β}
  {n : ι} {ω : Ω} {m₁ m₂ : ι},
  m₁ ≤ m₂ →
    (∃ j ∈ Set.Icc n m₁, u j ω ∈ s) → MeasureTheory.hittingBtwn u s n m₁ ω = MeasureTheory.hittingBtwn u s n m₂ ω

theorem MeasureTheory.hittingBtwn_anti E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] (u : ι → Ω → β) (n m : ι),
  Antitone fun x ↦ MeasureTheory.hittingBtwn u x n m

hittingBtwn is nonincreasing with respect to the set.

theorem MeasureTheory.hittingAfter_anti E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] (u : ι → Ω → β) (n : ι),
  Antitone fun x ↦ MeasureTheory.hittingAfter u x n

hittingAfter is nonincreasing with respect to the set.

theorem MeasureTheory.hittingBtwn_apply_anti E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] (u : ι → Ω → β) (n m : ι)
  (ω : Ω), Antitone fun x ↦ MeasureTheory.hittingBtwn u x n m ω

theorem MeasureTheory.hittingAfter_apply_anti E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] (u : ι → Ω → β) (n : ι)
  (ω : Ω), Antitone fun x ↦ MeasureTheory.hittingAfter u x n ω

theorem MeasureTheory.hittingBtwn_mono_right E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] {ω : Ω} (u : ι → Ω → β)
  (s : Set β) (n : ι), Monotone fun x ↦ MeasureTheory.hittingBtwn u s n x ω

hittingBtwn is monotone with respect to the maximal time.

theorem MeasureTheory.hittingBtwn_mono_left E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] (u : ι → Ω → β) (s : Set β)
  (m : ι), Monotone fun x ↦ MeasureTheory.hittingBtwn u s x m

hittingBtwn is monotone with respect to the minimal time.

theorem MeasureTheory.hittingAfter_mono E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] (u : ι → Ω → β) (s : Set β),
  Monotone (MeasureTheory.hittingAfter u s)

hittingAfter is monotone with respect to the minimal time.

theorem MeasureTheory.hittingBtwn_apply_mono_right E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] (u : ι → Ω → β) (s : Set β)
  (n : ι) (ω : Ω), Monotone fun x ↦ MeasureTheory.hittingBtwn u s n x ω

theorem MeasureTheory.hittingBtwn_apply_mono_left E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] (u : ι → Ω → β) (s : Set β)
  (m : ι) (ω : Ω), Monotone fun x ↦ MeasureTheory.hittingBtwn u s x m ω

theorem MeasureTheory.hittingAfter_apply_mono E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] (u : ι → Ω → β) (s : Set β)
  (ω : Ω), Monotone fun x ↦ MeasureTheory.hittingAfter u s x ω

theorem MeasureTheory.Adapted.isStoppingTime_hittingBtwn E3 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace Ω} [inst : ConditionallyCompleteLinearOrder ι]
  [WellFoundedLT ι] [Countable ι] {x : MeasurableSpace β} {f : MeasureTheory.Filtration ι m} {u : ι → Ω → β} {s : Set β}
  {n n' : ι},
  MeasureTheory.Adapted f u →
    MeasurableSet s → MeasureTheory.IsStoppingTime f fun ω ↦ ↑(MeasureTheory.hittingBtwn u s n n' ω)

A discrete hitting time is a stopping time.

theorem MeasureTheory.Adapted.isStoppingTime_hittingAfter E3 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace Ω} [inst : ConditionallyCompleteLinearOrder ι]
  [WellFoundedLT ι] [Countable ι] {x : MeasurableSpace β} {f : MeasureTheory.Filtration ι m} {u : ι → Ω → β} {s : Set β}
  {n : ι},
  MeasureTheory.Adapted f u → MeasurableSet s → MeasureTheory.IsStoppingTime f (MeasureTheory.hittingAfter u s n)

theorem MeasureTheory.stoppedValue_hittingBtwn_mem E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrder ι] [WellFoundedLT ι]
  {u : ι → Ω → β} {s : Set β} {n m : ι} {ω : Ω},
  (∃ j ∈ Set.Icc n m, u j ω ∈ s) → MeasureTheory.stoppedValue u (fun ω ↦ ↑(MeasureTheory.hittingBtwn u s n m ω)) ω ∈ s

theorem MeasureTheory.Adapted.isStoppingTime_hittingBtwn_isStoppingTime E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} {m : MeasurableSpace Ω} [inst : ConditionallyCompleteLinearOrder ι]
  [WellFoundedLT ι] [Countable ι] [inst_3 : TopologicalSpace ι] [OrderTopology ι] [inst_5 : MeasurableSpace β]
  {f : MeasureTheory.Filtration ι m} {u : ι → Ω → β} {τ : Ω → WithTop ι},
  MeasureTheory.IsStoppingTime f τ →
    ∀ {N : ι},
      (∀ (x : Ω), τ x ≤ ↑N) →
        ∀ {s : Set β},
          MeasurableSet s →
            MeasureTheory.Adapted f u →
              MeasureTheory.IsStoppingTime f fun x ↦ ↑(MeasureTheory.hittingBtwn u s (τ x).untopA N x)

The hitting time of a discrete process with the starting time indexed by a stopping time is a stopping time.

theorem MeasureTheory.hittingBtwn_eq_sInf E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : CompleteLattice ι] {u : ι → Ω → β} {s : Set β} (ω : Ω),
  MeasureTheory.hittingBtwn u s ⊥ ⊤ ω = sInf {i | u i ω ∈ s}

theorem MeasureTheory.hittingAfter_eq_sInf E1 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : CompleteLattice ι] {u : ι → Ω → β} {s : Set β}
  [inst_1 : (ω : Ω) → Decidable (∃ j, u j ω ∈ s)] (ω : Ω),
  MeasureTheory.hittingAfter u s ⊥ ω = if ∃ j, u j ω ∈ s then ↑(sInf {i | u i ω ∈ s}) else ⊤

theorem MeasureTheory.hittingBtwn_bot_le_iff E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrderBot ι] [WellFoundedLT ι]
  {u : ι → Ω → β} {s : Set β} {i n : ι} {ω : Ω},
  (∃ j ≤ n, u j ω ∈ s) → (MeasureTheory.hittingBtwn u s ⊥ n ω ≤ i ↔ ∃ j ≤ i, u j ω ∈ s)

theorem MeasureTheory.hittingAfter_bot_le_iff E0 #

∀ {Ω : Type u_1} {β : Type u_2} {ι : Type u_3} [inst : ConditionallyCompleteLinearOrderBot ι] [WellFoundedLT ι]
  {u : ι → Ω → β} {s : Set β} {i : ι} {ω : Ω}, MeasureTheory.hittingAfter u s ⊥ ω ≤ ↑i ↔ ∃ j ≤ i, u j ω ∈ s