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

概率控制流图的一种语义

A Semantics for Probabilistic Control-Flow Graphs

Torben Amtoft, Anindya Banerjee

摘要:

本文提出了一种新的操作语义的概率控制流图(pCFG)的概率命令式程序与随机分配和“观察”(或条件)语句。当控制从pCFG中的一个节点移动到另一个节点时,语义转换概率分布(在商店上)。我们将此语义的标准,预期转换,指称语义的结构化概率命令式程序,结构化程序翻译成(非结构化)pCFGs,并证明充分的翻译。这表明操作语义可以在不丢失信息的情况下使用,并且忠实于“预期”语义,因此可以用于推理,例如,转换的正确性(正如我们在配套文章中所做的那样)。

英文摘要:

This article develops a novel operational semantics for probabilistic control-flow graphs (pCFGs) of probabilistic imperative programs with random assignment and "observe" (or conditioning) statements. The semantics transforms probability distributions (on stores) as control moves from one node to another in pCFGs. We relate this semantics to a standard, expectation-transforming, denotational semantics of structured probabilistic imperative programs, by translating structured programs into (unstructured) pCFGs, and proving adequacy of the translation. This shows that the operational semantics can be used without loss of information, and is faithful to the "intended" semantics and hence can be used to reason about, for example, the correctness of transformations (as we do in a companion article).

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

↑