Documentation

Mathlib.Probability.Kernel.Disintegration.MeasurableStieltjes

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 #

structure ProbabilityTheory.IsRatStieltjesPoint {α : Type u_1} (f : α → ℚ → ℝ) (a : α) :

a : α is a Stieltjes point for f : α → ℚ → ℝ if f a is monotone with limit 0 at -∞ and 1 at +∞ and satisfies a continuity property.

Instances For
    theorem ProbabilityTheory.IsRatStieltjesPoint.ite {α : Type u_1} {f : α → ℚ → ℝ} {g : α → ℚ → ℝ} {a : α} (p : α → Prop) [DecidablePred p] (hf : p a → ProbabilityTheory.IsRatStieltjesPoint f a) (hg : ¬p a → ProbabilityTheory.IsRatStieltjesPoint g a) :
    ProbabilityTheory.IsRatStieltjesPoint (fun (a : α) => if p a then f a else g a) a
    structure ProbabilityTheory.IsMeasurableRatCDF {α : Type u_1} [MeasurableSpace α] (f : α → ℚ → ℝ) :

    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.

    Instances For
      theorem ProbabilityTheory.IsMeasurableRatCDF.nonneg {α : Type u_1} [MeasurableSpace α] {f : α → ℚ → ℝ} (hf : ProbabilityTheory.IsMeasurableRatCDF f) (a : α) (q : ℚ) :
      0 ≤ f a q
      theorem ProbabilityTheory.IsMeasurableRatCDF.le_one {α : Type u_1} [MeasurableSpace α] {f : α → ℚ → ℝ} (hf : ProbabilityTheory.IsMeasurableRatCDF f) (a : α) (q : ℚ) :
      f a q ≤ 1
      theorem ProbabilityTheory.IsMeasurableRatCDF.iInf_rat_gt_eq {α : Type u_1} [MeasurableSpace α] {f : α → ℚ → ℝ} (hf : ProbabilityTheory.IsMeasurableRatCDF f) (a : α) (q : ℚ) :
      ⨅ (r : ↑(Set.Ioi q)), f a ↑r = f a q

      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
      Instances For
        noncomputable def ProbabilityTheory.toRatCDF {α : Type u_1} (f : α → ℚ → ℝ) :
        α → ℚ → ℝ

        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
        Instances For
          theorem ProbabilityTheory.toRatCDF_unit_prod {α : Type u_1} {f : α → ℚ → ℝ} (a : α) :
          @[irreducible]
          noncomputable def ProbabilityTheory.IsMeasurableRatCDF.stieltjesFunctionAux {α : Type u_4} (f : α → ℚ → ℝ) :
          α → ℝ → ℝ

          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.

          Equations
          Instances For
            theorem ProbabilityTheory.IsMeasurableRatCDF.stieltjesFunctionAux_def {α : Type u_4} (f : α → ℚ → ℝ) (a : α) (x : ℝ) :
            ProbabilityTheory.IsMeasurableRatCDF.stieltjesFunctionAux f a x = ⨅ (q : { q' : ℚ // x < ↑q' }), f a ↑q
            theorem ProbabilityTheory.IsMeasurableRatCDF.stieltjesFunctionAux_def' {α : Type u_1} (f : α → ℚ → ℝ) (a : α) :
            ProbabilityTheory.IsMeasurableRatCDF.stieltjesFunctionAux f a = fun (t : ℝ) => ⨅ (r : { r' : ℚ // t < ↑r' }), f a ↑r

            Extend a function f : α → ℚ → ℝ with property IsMeasurableRatCDF from ℚ to ℝ, to a function α → StieltjesFunction.

            Equations
            Instances For
              noncomputable def ProbabilityTheory.stieltjesOfMeasurableRat {α : Type u_1} [MeasurableSpace α] (f : α → ℚ → ℝ) (hf : Measurable f) :

              Turn a measurable function f : α → ℚ → ℝ into a measurable function α → StieltjesFunction. Composition of toRatCDF and IsMeasurableRatCDF.stieltjesFunction.

              Equations
              Instances For