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

概率与并发程序的指称语义

Denotational Semantics for Probabilistic and Concurrent Programs

Noam Zilberstein, Daniele Gorla, Alexandra Silva

AI总结:

本文针对兼具概率动作与并行组合的命令式程序,提出具有良好域论性质的指称模型,并通过两个适当性定理证明其统一涵盖并发与概率非确定语义。

摘要:

我们为概率且并发的命令式程序开发了一种指称模型,这类程序具有通过条件语句和 while 循环实现的标准控制流,以及概率动作和并行组合。尽管单独针对并发程序或随机化程序的语义已得到充分研究,但二者的结合尚未被深入探讨,并带来了独特挑战。问题的关键在于,控制流、概率动作和并发执行之间的交互,无法通过分别直接推广以往关于 pomsets 和凸语言(这些效应的重要模型)的工作来刻画。我们的模型具有良好的域论性质,这对于无界循环的语义十分重要。我们还证明了两个适当性定理,表明该模型涵盖了典型的并发幂域语义以及概率非确定性的凸幂域语义。

英文摘要:

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.

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

↑