Please use this identifier to cite or link to this item: https://scholarbank.nus.edu.sg/handle/10635/113265
Title: Comparative Studies, Formal Semantics and PVS Encoding of CSP#
Authors: SHI LING
Keywords: Concurrency, Shared Variables, Denotational Semantics, UTP, Encoding, PVS
Issue Date: 15-Aug-2014
Citation: SHI LING (2014-08-15). Comparative Studies, Formal Semantics and PVS Encoding of CSP#. ScholarBank@NUS Repository.
Abstract: Concurrency becomes an important and necessary property of large and complex systems. Many concurrent systems feature various interactions between execution processes, which are often communications via synchronous/asynchronous message passing or through shared resources. The intricate execution nature and common mission-critical feature of concurrent systems demand rigorous modelling and analysis methods at the early system design stage.

Communicating Sequential Processes (CSP) is a well-known formal specification language to model and analyse concurrent systems. Considerable efforts have been made to extend CSP to support emerging system features like data aspects by integrating declarative specification languages like Z, although the resulting CSP extensions lack automated analysis support.

Recently, Communicating Sequential Programs (CSP#) has been proposed to integrate high- level CSP-like process operators with low-level program constructs on the shared variables. Although these CSP-like extensions support similar types of concurrent systems, there are subtle and substantial differences between them, not only modelling features, but also tool support and verifiability. Our first work is to conduct comprehensive comparisons between CSP# and CSPM (a noticeable CSP extension) from the perspectives of operational semantics and verification capabilities together with eight benchmark systems. These comparisons provide insights for users to select suitable languages/tools for various concurrent systems.

CSP# operational semantics has been defined and used in its PAT model checker. However, it is not compositional, and lacks the support of compositional verification. Our second work is to propose a compositional denotational semantics of CSP# using the Unifying Theories of Programming (UTP). Our denotational semantics blends communication events with state transitions containing shared variables, and captures all possible concurrency behaviours. It also considers the interference of the environment to process behaviours. We further define a set of algebraic laws capturing the distinct features of CSP#.

Proving our defined algebraic laws is important as such proofs can validate the correctness of the CSP# denotational semantics, although manual proving is tedious and subtle mistakes can easily occur. Moreover, a high grade of automated verification can save much human effort. Therefore, our third work is to encode CSP# denotational semantics into the Prototype Verification System (PVS), an integrated framework for formal specification and verification. Our encoding not only checks the semantics consistency, but also builds up a theoretic foundation for mechanical verification of CSP# models.
URI: http://scholarbank.nus.edu.sg/handle/10635/113265
Appears in Collections:Ph.D Theses (Open)

Show full item record
Files in This Item:
File Description SizeFormatAccess SettingsVersion 
ShiL.pdf1.25 MBAdobe PDF

OPEN

NoneView/Download

Page view(s)

155
checked on Feb 27, 2021

Download(s)

166
checked on Feb 27, 2021

Google ScholarTM

Check


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.