PTSC: probability, time and shared-variable concurrency

Complex software systems typically involve features like time, concurrency and probability, where probabilistic computations play an increasing role. It is challenging to formalize languages comprising all these features. In this paper, we integrate probability, time and concurrency in one single model, where the concurrency feature is modelled using shared-variable-based communication. The probability feature is represented by a probabilistic nondeterministic choice, probabilistic guarded choice and a probabilistic version of parallel composition. We formalize an operational semantics for such an integration. Based on this model we define a bisimulation relation, from which an observational equivalence between probabilistic programs is investigated and a collection of algebraic laws are explored. We also implement a prototype of the operational semantics to animate the execution of probabilistic programs.

[1]  Gordon D. Plotkin,et al.  A structural approach to operational semantics , 2004, J. Log. Algebraic Methods Program..

[2]  Robin Milner,et al.  Communication and concurrency , 1989, PHI Series in computer science.

[3]  Shengchao Qin,et al.  Integrating Probability with Time and Shared-Variable Concurrency , 2006, 2006 30th Annual IEEE/NASA Software Engineering Workshop.

[4]  Manuel Núñez,et al.  Algebraic theory of probabilistic processes , 2003, J. Log. Algebraic Methods Program..

[5]  Sebastian Thrun,et al.  A probabilistic language based upon sampling functions , 2005, POPL '05.

[6]  Jing Li,et al.  Unifying Denotational Semantics with Operational Semantics for Web Services , 2007, ICDCIT.

[7]  Jeff W. Sanders,et al.  Reasoning about a Distributed Probabilistic System , 2009, CATS.

[8]  Alan Bundy,et al.  Constructing Induction Rules for Deductive Synthesis Proofs , 2006, CLASE.

[9]  Jifeng He Provably Correct Systems: Modelling of Communication Languages and Design of Optimized Compilers , 1994 .

[10]  Erik P. de Vink,et al.  Mixing Up Nondeterminism and Probability: a preliminary report , 1998, PROBMIV.

[11]  den Jeremy Ian Hartog,et al.  Probabilistic Extensions of Semantical Models , 2002 .

[12]  Erik P. de Vink,et al.  Verifying Probabilistic Programs Using a Hoare Like Logic , 2002, Int. J. Found. Comput. Sci..

[13]  Manuel Núñez,et al.  Acceptance Trees for Probabilistic Processes , 1995, CONCUR.

[14]  Annabelle McIver,et al.  Partial correctness for probabilistic demonic programs , 2001, Theor. Comput. Sci..

[15]  Jing Li,et al.  An Observational Model for Transactional Calculus of Services Orchestration , 2008, ICTAC.

[16]  Annabelle McIver,et al.  Probabilistic predicate transformers , 1996, TOPL.

[17]  Jonathan P. Bowen Combining Operational Semantics, Logic Programming and Literate Programming in the Specification and Animation of the Verilog Hardware Description Language , 2000, IFM.

[18]  William F. Clocksin,et al.  Programming in Prolog , 1981, Springer Berlin Heidelberg.

[19]  Annabelle McIver,et al.  Probabilistic Models for the Guarded Command Language , 1997, Sci. Comput. Program..

[20]  He Jifeng,et al.  Formalising VERILOG , 2000, ICECS 2000. 7th IEEE International Conference on Electronics, Circuits and Systems (Cat. No.00EX445).

[21]  Jing Li,et al.  Algebraic Approach to Linking the Semantics of Web Services , 2007, SEFM.

[22]  J. W. deBakker,et al.  Control flow semantics , 1996 .

[23]  Shengchao Qin,et al.  Verifying BPEL-Like Programs with Hoare Logic , 2008, TASE.

[24]  Jing Li,et al.  A Formal Model for Compensable Transactions , 2007, 12th IEEE International Conference on Engineering Complex Computer Systems (ICECCS 2007).

[25]  Erik P. de Vink,et al.  Metric Semantics and Full Abstractness for Action Refinement and Probabilistic Choice , 2001, MFCSIT.

[26]  Robin Milner,et al.  Communicating and mobile systems - the Pi-calculus , 1999 .

[27]  David de Frutos-Escrig,et al.  Testing Semantics for Probabilistic LOTOS , 1995, FORTE.

[28]  Annabelle McIver,et al.  Abstraction, Refinement And Proof For Probabilistic Systems (Monographs in Computer Science) , 2004 .

[29]  Jifeng He,et al.  An animatable operational semantics of the Verilog hardware description language , 2000, ICFEM 2000. Third IEEE International Conference on Formal Engineering Methods.

[30]  C. A. R. Hoare,et al.  Unifying theories of programming , 1998, RelMiCS.

[31]  Gregor von Bochmann,et al.  Formal Description Techniques VIII, Proceedings of the IFIP TC6 Eighth International Conference on Formal Description Techniques, Montreal, Canada, October 1995 , 1996, FORTE.

[32]  Huibiao Zhu,et al.  Linking the semantics of a multithreaded discrete event simulation language , 2005 .