Back to Search Start Over

Angelic processes for CSP via the UTP.

Authors :
Ribeiro, Pedro
Cavalcanti, Ana
Source :
Theoretical Computer Science. Jan2019, Vol. 756, p19-63. 45p.
Publication Year :
2019

Abstract

Abstract Demonic and angelic nondeterminism play fundamental roles as abstraction mechanisms for formal modelling. In contrast with its demonic counterpart, in an angelic choice failure is avoided whenever possible. Although it has been extensively studied in refinement calculi, in the context of process algebras, and of the Communicating Sequential Processes (CSP) algebra for refinement, in particular, it has been elusive. We show here that a semantics for an extended version of CSP that includes both demonic and angelic choice can be provided using Hoare and He's Unifying Theories of Programming (UTP). Since CSP is given semantics in the UTP via reactive designs (pre and postcondition pairs) we have developed a theory of angelic designs and a conservative extension of the CSP theory using reactive angelic designs. To characterise angelic nondeterminism appropriately in an algebra of processes, however, a notion of divergence that can undo the history of events needs to be considered. Taking this view, we present a model for CSP where angelic choice completely avoids divergence just like in the refinement calculi for sequential programs. Highlights • Angelic nondeterminism, as understood in refinement calculi, is considered in CSP. • The UTP framework enables the systematic study of angelic nondeterminism. • A multirelational model for angelic choice in CSP requires a complete lattice. • Process algebras may be endowed with angelic choices that avoid divergence. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
03043975
Volume :
756
Database :
Academic Search Index
Journal :
Theoretical Computer Science
Publication Type :
Academic Journal
Accession number :
133749789
Full Text :
https://doi.org/10.1016/j.tcs.2018.10.008