posted on 2012-10-15, 08:47authored byRiccardo Bresciani, Andrew Butterfield
We present an encoding of the semantics of the probabilis-
tic guarded command language (pGCL) in the Unifying Theories of
Programming (UTP) framework. Our contribution is a UTP encoding
that captures pGCL programs as predicate-transformers, on predicates
over probability distributions on before- and after-states: these predi-
cates capture the same information as the models traditionally used to
give semantics to pGCL; in addition our formulation allows us to de-
ne a generic choice construct, that covers conditional, probabilistic and
non-deterministic choice. As an example we study the Monty Hall game
in this framework.
History
Publication
Integrated Formal Methods 2012. Lecture Notes in Computer Science;7321, pp. 191-205
Publisher
Springer
Note
peer-reviewed
Other Funding information
SFI
Rights
The original publication is available at www.springerlink.com