Mathlib.Probability.Kernel.Category.Stoch
12 declarations. Mathlib docs · Source
Stoch
The category of measurable spaces with Markov kernels is a positive Markov category.
Main definition
Stoch is defined as the wide subcategory WideSubcategory StochHom of SFinKer, where
StochHom selects Markov kernels, and this construction provides in particular the instance
PositiveCategory Stoch.
Implementation notes
Among categories of measurable spaces and probability kernels, Stoch stands out as the unique
positive Markov category. In contrast, SFinKer and the category of finite kernels (not
implemented) do not satisfy positivity. 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 positivity equation fails.
References
- [A synthetic approach to Markov kernels, conditional independence and theorems on sufficient statistics][fritz2020]
abbrev StochHom E3 #
CategoryTheory.MorphismProperty SFinKer
Morphism property selecting Markov kernels in SFinKer.
instance instIsStableUnderBraidingSFinKerStochHom E0 #
StochHom.IsStableUnderBraiding
instance instIsStableUnderComonoidSFinKerStochHom E0 #
∀ {X : SFinKer}, StochHom.IsStableUnderComonoid X
abbrev Stoch E3 #
Type (u_1 + 1)
Stoch is the wide subcategory of SFinKer with Markov-kernel morphisms.
instance instDeterministicStochOfSFinKerHomWideSubcategoryStochHom E0 #
∀ {X Y : Stoch} (κ : X ⟶ Y) [CategoryTheory.Deterministic κ.hom], CategoryTheory.Deterministic κ
instance instDeterministicStochComul E0 #
∀ {X : Stoch}, CategoryTheory.Deterministic CategoryTheory.ComonObj.comul
instance instDeterministicStochCounit E0 #
∀ {X : Stoch}, CategoryTheory.Deterministic CategoryTheory.ComonObj.counit
instance instDeterministicStochMkWideSubcategorySFinKerStochHomMk E0 #
∀ (X Y : Stoch) (κ : ProbabilityTheory.Kernel X.obj.carrier Y.obj.carrier) [inst : ProbabilityTheory.IsDeterministic κ]
[inst_1 : ProbabilityTheory.IsMarkovKernel κ],
CategoryTheory.Deterministic { hom := { hom := κ, property := ⋯ }, property := ⋯ }
instance instIsMarkovKernelCarrierObjSFinKerStochHomHomHomWideSubcategory E0 #
∀ {X Y : Stoch} (κ : X ⟶ Y), ProbabilityTheory.IsMarkovKernel κ.hom.hom
instance instDeterministicSFinKerHomWideSubcategoryStochHomOfStoch E0 #
∀ {X Y : Stoch} (κ : X ⟶ Y) [CategoryTheory.Deterministic κ], CategoryTheory.Deterministic κ.hom
instance instIsDeterministicCarrierObjSFinKerStochHomHomHomWideSubcategoryOfDeterministicStoch E0 #
∀ {X Y : Stoch} (κ : X ⟶ Y) [CategoryTheory.Deterministic κ], ProbabilityTheory.IsDeterministic κ.hom.hom
instance instPositiveCategoryStoch E0 #
CategoryTheory.PositiveCategory Stoch