Documentation

Mathlib.Probability.Kernel.Deterministic

Class IsDeterministic of deterministic kernels #

This file defines the class IsDeterministic of deterministic kernels, and proves some properties about them.

Main definitions #

Main statements #

Implementation notes #

comp_parallelComp_comp_copy is true only when considering Markov kernels. To see why, consider the counterexample with $X = Y = \{\varnothing\}$, kernels $\kappa(\cdot | \varnothing) = 2\delta_ {\varnothing}$ and $\eta(\cdot | \varnothing) = (1/2)\delta_{\varnothing}$: although their composition is deterministic, the equation fails.

References #

class ProbabilityTheory.IsDeterministic {α : Type u_1} {β : Type u_2} { : MeasurableSpace α} { : MeasurableSpace β} (κ : Kernel α β) :

A kernel is deterministic if copying then applying the kernel to the two copies is the same as first applying the kernel then copying.

Instances
    theorem ProbabilityTheory.Kernel.parallelComp_self_comp_copy {α : Type u_1} {β : Type u_2} { : MeasurableSpace α} { : MeasurableSpace β} {κ : Kernel α β} [IsDeterministic κ] :
    (κ.parallelComp κ).comp (copy α) = (copy β).comp κ
    instance ProbabilityTheory.Kernel.instIsDeterministicDeterministic {α : Type u_1} {β : Type u_2} { : MeasurableSpace α} { : MeasurableSpace β} {f : αβ} (hf : Measurable f) :
    theorem ProbabilityTheory.Kernel.IsDeterministic.exists_eq_deterministic {α : Type u_1} {β : Type u_2} { : MeasurableSpace α} { : MeasurableSpace β} [StandardBorelSpace β] (κ : Kernel α β) [IsMarkovKernel κ] [IsDeterministic κ] :
    ∃ (f : αβ) (hf : Measurable f), κ = deterministic f hf

    in a standard Borel space, a deterministic Markov kernel is a Dirac kernel of one measurable function.

    theorem ProbabilityTheory.Kernel.comp_parallelComp_comp_copy {α : Type u_1} {β : Type u_2} { : MeasurableSpace α} { : MeasurableSpace β} {γ : Type u_3} [MeasurableSpace γ] {κ : Kernel α β} {η : Kernel β γ} [IsMarkovKernel κ] [IsMarkovKernel η] [IsDeterministic (η.comp κ)] :
    ((η.comp κ).parallelComp κ).comp (copy α) = ((η.parallelComp Kernel.id).comp (copy β)).comp κ

    The equation of a Positive Markov category: if the composition of two Markov kernels η ∘ₖ κ is deterministic, the distribution over both η ∘ₖ κ and κ can be obtained by computing η ∘ₖ κ and κ independently.