Category Theory
Zulip Server
Archive

You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.


Stream: theory: categorical probability

Topic: strengths of the Giry monad


view this post on Zulip Matteo Capucci (he/him) (Aug 29 2022 at 09:01):

Hi there,
could you help me check these facts?

  1. On the category of measurable spaces and measurable maps there is a monad DD sending (X,ΣX)(X, \Sigma_X) to the measurable space of probability measures on it, whose unit is given by Dirac measures, and whose multiplication is

DDXDXdPλA.DXP(A)dPDDX \to DX\\ \mathrm{d} \mathbb P \mapsto \lambda A \,.\, \int_{DX} \mathbb P(A)\,\mathrm{d} \mathbb P

  1. This monad has a right 'tensorial strength'

DX×YD(X×Y)(dP,y)PδyDX \times Y \to D(X \times Y)\\ (\mathrm{d} \mathbb P, y) \mapsto \mathbb P \otimes \delta_y

where \otimes denotes 'pointwise' product of measures: PQ(A)=P(A)Q(A)\mathbb P \otimes \mathbb Q(A) = \mathbb P(A)\mathbb Q(A)

  1. From the right strength we can get a 'closure strength' (enrichment), as explained at [[strong monad]]

σ:D(XY)(XDY)dfλx.evX,Y(dfδx)=λx.λA.XY1A(f(x))df\sigma : D(X \to Y) \to (X \to DY) \mathrm{d} f \mapsto \lambda x \,.\, ev^{X,Y}_* (\mathrm{d} f \otimes \delta_x) = \lambda x \,.\, \lambda A \,.\,\int_{X \to Y} {\mathbf 1}_A(f(x)) \,\mathrm{d} f

EDIT: now I wonder, what do I mean by '\to' in the category of measurable spaces? Could I get away with XY=xXYX \to Y = \prod_{x \in X} Y? But then I suspect evev might not even exist...

From now on I'm less sure of the correctness (to address the point above: pretend I'm working in a sufficiently nice category of measurable spaces now, such as qB spaces or Radon spaces or even finite spaces):

  1. There is another map given by taking cartesian products of probability spaces

K:(XDY)D(XY)(Px)xXxXPxK : (X \to DY) \to D(X \to Y)\\ (\mathbb P_x)_{x \in X} \mapsto \bigotimes_{x \in X} \mathbb P_x

If all the Px\mathbb P_x have density (call it pxp_x), then such a product measure has density λ(yx)xX.xXpx(yx)\lambda (y_x)_{x \in X} \,.\, \prod_{x \in X} p_x(y_x) (notice its resemblance to an S\mathsf S combinator!). Otherwise you define by extension of the product measures defined on finite cylinders, see here.

  1. The composite K;σK ; \sigma is the identity. I have a proof of this when XX and YY are finite (and 'YY is sober'), and I think it should extend in the same way the product of prob measures extends from finite to infinite products:

σ(K((Px)xX))=σ(xXPx)=λxˉ.λA.(xX(Px)xXδxˉ)(ev1A)=λxˉ.λA.xXPx(πxˉ{ff(xˉ)A}Y if xxˉA otherwise)=λxˉ.λA.Pxˉ(A)=(Px)xX\sigma(K((\mathbb P_x)_{x \in X})) = \sigma(\bigotimes_{x \in X} \mathbb P_x) = \lambda \bar x \,.\, \lambda A\,.\, (\bigotimes_{x \in X} (\mathbb P_x)_{x \in X} \otimes \delta_{\bar x})(ev^{-1} A)\\= \lambda \bar x \,.\, \lambda A \,.\, \prod_{x \in X} \mathbb P_x(\underbrace{\pi_{\bar x}\{f\mid f(\bar x) \in A\}}_{\text{$Y$ if $x \neq \bar x$, $A$ otherwise}}) = \lambda \bar x \,.\, \lambda A\,.\, \mathbb P_{\bar x}(A) = (\mathbb P_x)_{x \in X}

Hence KK is a section of σ\sigma and I don't think it admits a left-inverse too: given an XX-indexed family of prob measures on YY, this induces a prob measure on the function space XYX \to Y but the same prob measure could be induced by many different prob measures on XYX \to Y.

view this post on Zulip Sam Staton (Sep 01 2022 at 09:46):

Hi Matteo, your $K$ looks like what we have been calling stochastic memoization, is that right? e.g. in this short abstract.

view this post on Zulip Matteo Capucci (he/him) (Sep 02 2022 at 08:06):

Ha, that's interesting!

view this post on Zulip Matteo Capucci (he/him) (Sep 02 2022 at 08:06):

It does look exactly the same, yeah