Measurable parametric Stieltjes functions #
We provide tools to build a measurable function α → StieltjesFunction
with limits 0 at -∞ and 1 at
+∞ for all a : α
from a measurable function f : α → ℚ → ℝ
. These measurable parametric Stieltjes
functions are cumulative distribution functions (CDF) of transition kernels.
The reason for going through ℚ
instead of defining directly a Stieltjes function is that since
ℚ
is countable, building a measurable function is easier and we can obtain properties of the
form ∀ᵐ (a : α) ∂μ, ∀ (q : ℚ), ...
(for some measure μ
on α
) by proving the weaker
∀ (q : ℚ), ∀ᵐ (a : α) ∂μ, ...
.
This construction will be possible if f a : ℚ → ℝ
satisfies a package of properties for all a
:
monotonicity, limits at +-∞ and a continuity property. We define IsRatStieltjesPoint f a
to state
that this is the case at a
and define the property IsMeasurableRatCDF f
that f
is measurable
and IsRatStieltjesPoint f a
for all a
.
The function α → StieltjesFunction
obtained by extending f
by continuity from the right is then
called IsMeasurableRatCDF.stieltjesFunction
.
In applications, we will often only have IsRatStieltjesPoint f a
almost surely with respect to
some measure. In order to turn that almost everywhere property into an everywhere property we define
toRatCDF (f : α → ℚ → ℝ) := fun a q ↦ if IsRatStieltjesPoint f a then f a q else defaultRatCDF q
,
which satisfies the property IsMeasurableRatCDF (toRatCDF f)
.
Finally, we define stieltjesOfMeasurableRat
, composition of toRatCDF
and
IsMeasurableRatCDF.stieltjesFunction
.
Main definitions #
stieltjesOfMeasurableRat
: turn a measurable functionf : α → ℚ → ℝ
into a measurable functionα → StieltjesFunction
.
a : α
is a Stieltjes point for f : α → ℚ → ℝ
if f a
is monotone with limit 0 at -∞
and 1 at +∞ and satisfies a continuity property.
- mono : Monotone (f a)
- tendsto_atTop_one : Filter.Tendsto (f a) Filter.atTop (nhds 1)
- tendsto_atBot_zero : Filter.Tendsto (f a) Filter.atBot (nhds 0)
Instances For
A function f : α → ℚ → ℝ
is a (kernel) rational cumulative distribution function if it is
measurable in the first argument and if f a
satisfies a list of properties for all a : α
:
monotonicity between 0 at -∞ and 1 at +∞ and a form of continuity.
A function with these properties can be extended to a measurable function α → StieltjesFunction
.
See ProbabilityTheory.IsMeasurableRatCDF.stieltjesFunction
.
- isRatStieltjesPoint : ∀ (a : α), ProbabilityTheory.IsRatStieltjesPoint f a
- measurable : Measurable f
Instances For
A function with the property IsMeasurableRatCDF
.
Used in a piecewise construction to convert a function which only satisfies the properties
defining IsMeasurableRatCDF
on some set into a true IsMeasurableRatCDF
.
Equations
- ProbabilityTheory.defaultRatCDF q = if q < 0 then 0 else 1
Instances For
Turn a function f : α → ℚ → ℝ
into another with the property IsRatStieltjesPoint f a
everywhere. At a
that does not satisfy that property, f a
is replaced by an arbitrary suitable
function.
Mainly useful when f
satisfies the property IsRatStieltjesPoint f a
almost everywhere with
respect to some measure.
Equations
- ProbabilityTheory.toRatCDF f a = if ProbabilityTheory.IsRatStieltjesPoint f a then f a else ProbabilityTheory.defaultRatCDF
Instances For
Auxiliary definition for IsMeasurableRatCDF.stieltjesFunction
: turn f : α → ℚ → ℝ
into
a function α → ℝ → ℝ
by assigning to f a x
the infimum of f a q
over q : ℚ
with x < q
.
Instances For
Extend a function f : α → ℚ → ℝ
with property IsMeasurableRatCDF
from ℚ
to ℝ
,
to a function α → StieltjesFunction
.
Equations
- hf.stieltjesFunction a = { toFun := ProbabilityTheory.IsMeasurableRatCDF.stieltjesFunctionAux f a, mono' := ⋯, right_continuous' := ⋯ }
Instances For
Equations
- ⋯ = ⋯
Turn a measurable function f : α → ℚ → ℝ
into a measurable function α → StieltjesFunction
.
Composition of toRatCDF
and IsMeasurableRatCDF.stieltjesFunction
.
Equations
- ProbabilityTheory.stieltjesOfMeasurableRat f hf = ⋯.stieltjesFunction
Instances For
Equations
- ⋯ = ⋯