English

Denotational Semantics for Probabilistic and Concurrent Programs

Programming Languages 2025-06-10 v2 Logic in Computer Science

Abstract

We develop a denotational model for probabilistic and concurrent imperative programs, a class of programs with standard control flow via conditionals and while-loops, as well as probabilistic actions and parallel composition. Whereas semantics for concurrent or randomized programs in isolation is well studied, their combination has not been thoroughly explored and presents unique challenges. The crux of the problem is that interactions between control flow, probabilistic actions, and concurrent execution cannot be captured by straightforward generalizations of prior work on pomsets and convex languages, prominent models for those effects, individually. Our model has good domain theoretic properties, important for semantics of unbounded loops. We also prove two adequacy theorems, showing that the model subsumes typical powerdomain semantics for concurrency and convex powerdomain semantics for probabilistic nondeterminism.

Keywords

Cite

@article{arxiv.2503.02768,
  title  = {Denotational Semantics for Probabilistic and Concurrent Programs},
  author = {Noam Zilberstein and Daniele Gorla and Alexandra Silva},
  journal= {arXiv preprint arXiv:2503.02768},
  year   = {2025}
}
R2 v1 2026-06-28T22:06:40.132Z