Simple processes and elementary stochastic integral #
Main definitions #
ElementaryPredictableSet: the type of elementary predictable setsSimpleProcess: the type of simple processes, as a Module over ℝSimpleProcess.toFun: simple process interpreted as a stochastic process, with a CoeFun instanceSimpleProcess.integral: elementary stochastic integralSimpleProcess.isPredictable: simple processes are predictable
Implementation notes #
SimpleProcess consists of a value function as a Finsupp: value : ι × ι →₀ Ω → F and a
value at ⊥: valueBot : Ω → F. This allows the definition of operations like addition to be
defined naturally.
However, this makes the function SimpleProcess.toFun non-injective, so SimpleProcess is not
FunLike. In other words, two distinct elements X Y : SimpleProcess F 𝓕 may produce the same
function (⇑X : ι → Ω → F) = (⇑Y : ι → Ω → F).
There are subtleties that are caused by this: for example, by a nonnegative simple
process, we mean X : SimpleProcess F 𝓕 with 0 ≤ X.valueBot and 0 ≤ X.value, which is not the
same as 0 ≤ (⇑X : ι → Ω → F).
Similarly, ElementaryPredictableSet is a data type that has a coercion to Set (ι × Ω), but
this coercion is not injective, so it is not SetLike. This makes it easy to define the indicator
function of an elementary predictable set as a simple process by mapping respective datas
(which is why it also requires disjoint unions).
TODO #
- Generalize instance variables.
An elementary predictable set is a finite disjoint union of sets of the form {⊥} × B for
B ∈ 𝓕 ⊥ and of the form (s, t] × B for s < t in ι and B ∈ 𝓕 s.
Note that we require the union to be disjoint. This is not necessary, but makes it easier to define
the indicator function of an elementary predictable set as a SimpleProcess.
- setBot : Set Ω
The set over
⊥. The finite index for sets over
(s, t].The sets over
(s, t].- measurableSet_setBot : MeasurableSet self.setBot
- measurableSet_set (p : ι × ι) : p ∈ self.I → MeasurableSet (self.set p)
Instances For
Coercion from an ElementaryPredictableSet 𝓕 to a Set (ι × Ω).
Instances For
The set {⊥} × B₀ as an ElementaryPredictableSet.
Equations
Instances For
The set (i, j] × B as an ElementaryPredictableSet.
Equations
Instances For
A simple process is defined as a finite sum of indicator functions of intervals (s, t],
each assigned to a bounded 𝓕 s-measurable random variable value, plus a valueBot at ⊥.
- valueBot : Ω → F
The value at ⊥.
The value on each interval. Note that intervals are not necessarily disjoint.
- measurable_valueBot : Measurable self.valueBot
The value at ⊥ is measurable with respect to the filtration at ⊥.
The value on each interval is measurable with respect to the filtration at the left endpoint.
Do not use this lemma directly. Use
SimpleProcess.measurable_valueinstead.The value at ⊥ is bounded.
The value on each interval is bounded.
Instances For
A bound on the value at ⊥.
Equations
- V.valueBotBound = ⋯.choose
Instances For
The value at ⊥ is bounded by valueBotBound.
The value of the simple process at the left endpoint of an interval is measurable with respect to the filtration at the left endpoint.
Note that we do not require p ∈ V.value.support, because the value is 0 otherwise,
which is measurable.
A nonnegative bound on the value on each interval.
Equations
- V.valueBound = max 0 ⋯.choose
Instances For
The value on each interval is bounded by valueBound. Note that we do not require
p ∈ V.value.support.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- ProbabilityTheory.SimpleProcess.instModule = { toSMul := ProbabilityTheory.SimpleProcess.instSMul, one_smul := ⋯, mul_smul := ⋯, smul_zero := ⋯, smul_add := ⋯, add_smul := ⋯, zero_smul := ⋯ }
Coercion from a simple process to a function. Note that this is not injective.
Equations
Instances For
The elementary stochastic integral.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The indicator function of an elementary predictable set as a simple process.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Explicit formula for 1_S ● X where S is an elementary predictable set.
The elementary predictable sets generate the predictable σ-algebra. Note that we require the
time domain to have countably generated atTop so that each (t, ∞] can be written as a countable
union of intervals (t, s].