Scenario-based specifications such as message sequence charts (MSC) offer an intuitive and visual way to describe design requirements. MSC-graphs allow convenient expression of multiple scenarios, and can be viewed as an early model of the system that can be subjected to a variety of analyses. Problems such as LTL model checking are undecidable for MSC-graphs in general, but are known to be decidable for the class of bounded MSC-graphs.Our first set of results concerns checking realizability of bounded MSC-graphs. An MSC-graph is realizable if there is a distributed implementation that generates precisely the behaviors in the graph. There are two notions of realizability, weak and safe, depending on whether or not we require the implementation to be deadlock-free. It is known that for a finite set of MSCs, weak realizability is coNP-complete while safe realizability has a polynomial-time solution. We establish that for bounded MSC-graphs, weak realizability is, surprisingly, undecidable, while safe realizability is in EXPSPACE.Our second set of results concerns verification of MSC-graphs. While checking properties of a graph G, besides verifying all the scenarios in the set L(G) of MSCs specified by G, it is desirable to verify all the scenarios in the set Lw(G)--the closure of G, that contains the implied scenarios that any distributed implementation of G must include. For checking whether a given MSC M is a possible behavior, checking M ∈ L(G) is NP-complete, but checking M ∈ Lw(G) has a quadratic solution. For temporal logic specifications, considering the closure makes the verification problem harder: while checking LTL properties of L(G) is PSPACE-complete for bounded graphs G, checking even simple "local" properties of Lw(G) is undecidable.
[1]
Rémi Morin,et al.
Recognizable Sets of Message Sequence Charts
,
2002,
STACS.
[2]
Gerard J. Holzmann,et al.
Design tools for requirements engineering
,
1997,
Bell Labs Technical Journal.
[3]
Rajeev Alur,et al.
Inference of Message Sequence Charts
,
2003,
IEEE Trans. Software Eng..
[4]
Hanêne Ben-Abdallah,et al.
MESA: Support for Scenario-Based Design of Concurrent Systems
,
1998,
TACAS.
[5]
Hanêne Ben-Abdallah,et al.
Syntactic Detection of Process Divergence and Non-local Choice inMessage Sequence Charts
,
1997,
TACAS.
[6]
Anca Muscholl,et al.
Deciding Properties for Message Sequence Charts
,
1998,
FoSSaCS.
[7]
Doron A. Peled,et al.
Specification and Verification of Message Sequence Charts
,
2000,
FORTE.
[8]
Anca Muscholl,et al.
Message Sequence Graphs and Decision Problems on Mazurkiewicz Traces
,
1999,
MFCS.
[9]
Thomas J. Schaefer,et al.
The complexity of satisfiability problems
,
1978,
STOC.
[10]
Madhavan Mukund,et al.
On Message Sequence Graphs and Finitely Generated Regular MSC Languages
,
2000,
ICALP.
[11]
Ivar Jacobson,et al.
The Unified Modeling Language User Guide
,
1998,
J. Database Manag..
[12]
Rajeev Alur,et al.
Model Checking of Message Sequence Charts
,
1999,
CONCUR.
[13]
Giancarlo Mauri,et al.
Membership Problems for Regular and Context-Free Trace Languages
,
1989,
Inf. Comput..
[14]
Markus Lohrey.
Safe Realizability of High-Level Message Sequence Charts
,
2002,
CONCUR.
[15]
Rajeev Alur,et al.
An Analyser for Mesage Sequence Charts
,
1996,
TACAS.
[16]
Anca Muscholl,et al.
Deciding Properties of Message Sequence Charts
,
2003,
Scenarios: Models, Transformations and Tools.