A Complete Axiomatisation of Equivalence for Discrete Probabilistic Programming
<|reference_start|>A Complete Axiomatisation of Equivalence for Discrete Probabilistic Programming: We introduce a sound and complete equational theory capturing equivalence of discrete probabilistic programs, that is, programs extended with primitives for Bernoulli distributions and conditioning, to model distributions over finite sets of events. To do so, we translate these programs into a graphical syntax of probabilistic circuits, formalised as string diagrams, the two-dimensional syntax of symmetric monoidal categories. We then prove a first completeness result for the equational theory of the conditioning-free fragment of our syntax. Finally, we extend this result to a complete equational theory for the entire language. Note these developments are also of interest for the development of probability theory in Markov categories: our first result gives a presentation by generators and equations of the category of Markov kernels, restricted to objects that are powers of the two-elements set.<|reference_end|>
@article{piedeleu2024a,
    title={A Complete Axiomatisation of Equivalence for Discrete Probabilistic
  Programming},
    author={Robin Piedeleu, Mateo Torres-Ruiz, Alexandra Silva, Fabio Zanasi},
    journal={arXiv preprint arXiv:2408.14701},
    year={2024},
    archivePrefix={arXiv},
    eprint={2408.14701},
    primaryClass={cs.LO}
}