arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.06908cs.LO
收藏

从分布上的多重集到多重集上的分布

From Multisets over Distributions to Distributions over Multisets

Bart Jacobs

摘要:

在程序设计语言的语义中,一个众所周知的挑战是如何将非确定性和概率结合起来。在技术层面上,这个问题源于这样一个事实,即幂集单子和分布单子之间不存在分配律--正如普洛特金在大约20年前注意到的那样。最近,已经清楚的是,在分布单子上存在多集单子的分配律。本文详细阐述了这种分配性,并表明有一个丰富的基础理论有关的多集和概率分布。证明了新的分配律,称为平行多项式律,可以(至少)用四种等价的方式定义。它涉及到把多项分布并行和交换与超几何分布。此外,它表明,这种分配法与一种新的形式的多重压缩交换。抽象地说,当提升到分布单子的Kleisli范畴时,这可以用固定大小的多集函子的monoidal结构来描述。具体地说,抽样语义理论的应用。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑