The semantics of probabilistic languages has been extensively studied, but specification languages for their properties have received little attention. This paper introduces the probabilistic dynamic logic pDL, a specification logic for programs in the probabilistic guarded command language (pGCL) of McIver and Morgan. The proposed logic pDL can express both first-order state properties and probabilistic reachability properties, addressing both the non-deterministic and probabilistic choice operators of pGCL. In order to precisely explain the meaning of specifications, we formally define the satisfaction relation for pDL. Since pDL embeds pGCL programs in its box-modality operator, pDL satisfiability builds on a formal MDP semantics for pGCL programs. The satisfaction relation is modeled after PCTL, but extended from propositional to first-order setting of dynamic logic, and also embedding program fragments. We study basic properties of pDL, such as weakening and distribution, that can support reasoning systems. Finally, we demonstrate the use of pDL to reason about program behavior.
翻译:对概率语言的语义进行了广泛研究,但对其属性的规格语言很少引起注意。本文介绍了概率动态逻辑 pDL,这是McIver和Morgan的概率保护指令语言(pGCL)程序的一个逻辑。提议的逻辑pDL既可以表达第一顺序状态属性,也可以表达概率可达性属性,既涉及PGCL的非确定性和概率选择操作员。为了准确解释规格的含义,我们正式界定了pDL的满意度关系。由于pDL将 pGCL 程序嵌入其箱式模式操作器中的 pGCL 程序,pDL 卫星可建立于一种正式的 MDP 命令语言(pGCL ) 。 满意度关系以 PCTL 模式建模, 但它从动态逻辑的首顺序设置扩展到程序碎片。 我们研究了 pDL 的基本属性, 如削弱和分布, 能够支持推理系统。 最后, 我们展示了 PDL 的使用, 也就是程序行为的理由。