From Multisets over Distributions to Distributions over Multisets

05/14/2021
by   Bart Jacobs, et al.
0

A well-known challenge in the semantics of programming languages is how to combine non-determinism and probability. At a technical level, the problem arises from the fact that there is a no distributive law between the powerset monad and the distribution monad - as noticed some twenty years ago by Plotkin. More recently, it has become clear that there is a distributive law of the multiset monad over the distribution monad. This article elaborates the details of this distributivity and shows that there is a rich underlying theory relating multisets and probability distributions. It is shown that the new distributive law, called parallel multinomial law, can be defined in (at least) four equivalent ways. It involves putting multinomial distributions in parallel and commutes with hypergeometric distributions. Further, it is shown that this distributive law commutes with a new form of zipping for multisets. Abstractly, this can be described in terms of monoidal structure for a fixed-size multiset functor, when lifted to the Kleisli category of the distribution monad. Concretely, an application of the theory to sampling semantics is included.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/27/2021

Generating Negations of Probability Distributions

Recently it was introduced a negation of a probability distribution. The...
research
01/25/2023

Multisets and Distributions

We give a lightweight alternative construction of Jacobs's distributive ...
research
02/17/2020

Re-evaluating scaling methods for distributed parallel systems

The paper explains why Amdahl's Law shall be interpreted specifically fo...
research
09/01/2023

Exploring the law of text geographic information

Textual geographic information is indispensable and heavily relied upon ...
research
09/13/2023

Pearl's and Jeffrey's Update as Modes of Learning in Probabilistic Programming

The concept of updating a probability distribution in the light of new e...
research
01/09/2020

The empirical structure of word frequency distributions

The frequencies at which individual words occur across languages follow ...
research
12/29/2016

Verifying Heaps' law using Google Books Ngram data

This article is devoted to the verification of the empirical Heaps law i...

Please sign up or login with your details

Forgot password? Click here to reset