A Specification Logic for Programs in the Probabilistic Guarded Command Language (Extended Version)
Ra\'ul Pardo, Einar Broch Johnsen, Ina Schaefer, Andrzej, W\k{a}sowski

TL;DR
This paper introduces pDL, a formal specification logic for probabilistic programs in pGCL, enabling precise reasoning about both state and probabilistic reachability properties using a formal MDP semantics.
Contribution
It develops pDL, a novel logic that combines first-order and probabilistic reasoning for pGCL programs, extending existing probabilistic logics with a formal semantics and reasoning support.
Findings
pDL can express complex probabilistic properties of pGCL programs.
The logic supports reasoning about program behavior and properties.
Formal properties like weakening and distribution are established for pDL.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFormal Methods in Verification · Logic, Reasoning, and Knowledge · Logic, programming, and type systems
