English

A Bunched Logic for Conditional Independence

Logic in Computer Science 2021-05-04 v2 Programming Languages

Abstract

Independence and conditional independence are fundamental concepts for reasoning about groups of random variables in probabilistic programs. Verification methods for independence are still nascent, and existing methods cannot handle conditional independence. We extend the logic of bunched implications (BI) with a non-commutative conjunction and provide a model based on Markov kernels; conditional independence can be directly captured as a logical formula in this model. Noting that Markov kernels are Kleisli arrows for the distribution monad, we then introduce a second model based on the powerset monad and show how it can capture join dependency, a non-probabilistic analogue of conditional independence from database theory. Finally, we develop a program logic for verifying conditional independence in probabilistic programs.

Keywords

Cite

@article{arxiv.2008.09231,
  title  = {A Bunched Logic for Conditional Independence},
  author = {Jialu Bao and Simon Docherty and Justin Hsu and Alexandra Silva},
  journal= {arXiv preprint arXiv:2008.09231},
  year   = {2021}
}

Comments

44 pages

R2 v1 2026-06-23T18:00:16.310Z