Design and Implementation of Algorithms for Checking Bisimilarity
- Author
- WengJingYing
- Advisor
- DengYuXin
- School
- Shanghai Jiaotong University
- Major
- Computer Software and Theory
- Classification
- TP301.6 Algorithm Theory
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 36
- Citations
- 0
Abstract
With the rapid development of computer networks and telecommunication tech-nologies, innovations of multi-core CPU systems and cloud computing, and the popu-larization of distributed computing, modeling and analysis of concurrent systems havebecome one of the most important computer technologies. Since 1980s, widely re-searches have been done on concurrent systems. Various formal models of concurrentsystems are proposed. An ideal concurrent model should have the characteristics ofconcurrency, distribution, real-time, heterogeneous, and interaction. Due to the intrin-sic complexities, compared to sequential computations of traditional models, there areso many unclear ?elds on concurrent models.Process algebra describes concurrent computing through algebraic models. Theyare able to depict concurrent phenomena that many processes are activated concurrent-ly, completing their expected work through exchanging information. It becomes themost representative model due to its perfect algebraic properties, standard grammars,and concise semantics. One of the important research approaches on process algebraand concurrent theory is the equivalence relations, which are able to judge whether andwhen two processes have similar behaviors. There have been various kinds of equiv-alences and preorder relations proposed in recent 30 years, among which, bisimilarityis the most standard one. Bisimilarity is the basis of organizing processes, and de?n-ing other equivalences. It has perfect mathematical properties, and is used to depictrelationship between processes naturally.However, duetotheundecidabilityofbisimulations, therearelackoftechnologiesfor automatic checking bisimulation, which need restriction and approximation. Mostalgorithms for checking bisimilarity including global and local algorithms are based on ?nite state labeled transition systems. Although global algorithms are e?cient ,they are not very practical, since they should memorize the transfer relation of wholesystem states. Local algorithms lean on better practicality by considering only currentand relative states.This thesis introduces and implements two algorithms for automatic checkingbisimulation on ?nite state labeled transition systems. One is a local algorithm andthe other is a quasi-local algorithm with both local and global algorithm merits.Local algorithm: We analyze the pair of target states on LTSs, combine thechecking of the bisimulation with generation of the system’s state space. Todetermine whether the initial states are bisimilarity, the algorithm attempts toconstruct a relation relating the states of the LTSs incrementally starting withthe pair of initial states. This algorithm generates the product dynamically soit is also called“On-the-Fly”veri?cation algorithm. In fact, the procedure ofsearching may have to execute several times to get the answer.Quasi-LocalAlgorithm: WestartwithconstructingtheproductoftwoLTSswithstates relating to the initial pair of states. The synchronous product obtained iscalled DLTS. We label states (s∥t) in the DLTS with 0 if s and t have di?erentinitial actions. Otherwise we label state 1. Then we propagate label 0 step bystep to all pairs of states those are not bisimilar, until all the labels of statesin the DLTS are not changed. Although this algorithm needs to generate thesynchronous product (L1∥L2) by a preprocessing step, it quickly terminatesand gives the right result in most cases.The two algorithms have their own advantages when checking the bisimulationunder different processes. We experiment several test cases after implementing them.We also investigate what kind of condition, one may act more e?cient than the other.Furthermore, we give the analysis on their respective applicabilities, merits and draw-backs. The result turns out the bisimilarity in ?nite state systems can be determined.The quasi-local algorithm have a lower theoritical time complexity, and runs faster inmost cases. We believe this article could serve as a good introductory work for futureresearches on bisimilarity in in?nite state system.
Table of contents
Summary 3-5
ABSTRACT 5-8
directory 8-11
main symbol table 11-12 <br / > the first chapter background and significance of the study 12-18
1.1 Status 12-14
1.2 research 14-15
1.3 this article the main contribution organizational structure 15-17
1.4 article 17-18
the second chapter ready knowledge 18-28
2.1 process calculus 18-21
2.1.1 nature of the process calculus 20-21
2.1.2 The process of semantic expression 21
2.2 CCS calculus syntax and semantic 21-23
2.3 migration system and double label label migration system 23-25 ??
2.4 bisimilarities 25-26
2.4 .1 bisimilarities definition bisimulation on 25-26
2.5 LTS finite state system verification algorithm 26-27
2.6 Summary 27-28
The third chapter local algorithm 28-35
3.1 to \data structures and pseudo-code first search traversal case 29-34
3.2.1 using depth 29-33
3.2.2 using breadth-first traversal of the search condition 33-34
3.3 Summary 34-35
Chapter IV quasi- local algorithm generate 35-44
4.1 dual label migration system 35-37
4.2 bisimilarities proved by double labeling method nbsp migration system ; 37-39
4.3 algorithm thinking 39-43
4.3.1 implementation and data structures 39-41
4.3.2 pseudo code 41-42
4.3.3 depth-first search and breadth-first search 42-43 <br / > 4.4 Summary achieve 43-44
Chapter algorithms and comparative analysis 44-55
5.1 applicability and advantages and disadvantages of the two algorithms 44 achieve -45
5.2 algorithm 45-53
5.2.1 local algorithm 45-49
5.2.2 quasi- local algorithm 49-53
5.3 data sample test results and comparison 53-54
5.4 summary 54-55
sixth chapter summary and outlook 55 -57
6.1 The main 55-56
6.2 future Work Prospects 56-57
References 57-62
Appendix A source code 62-71
A.1 quasi-local algorithm 62-65
A.2 \71
Thanks published during 71-72
pursue a degree academic catalog 72-73
studying for a degree to participate in the project during 73-75
Related dissertations
- Study of Real-time Value-passing and Real-time Mobile Systems
- Research on a Formal Model of Web Services
- Research on Process Calculus with Distance-Limited Communication
- A Study on Key Techniques of Aggregate Query in Wireless Sensor Networks
- On the Bisimualtion Theory, Expressiveness and Proof System of Some Name-passing Calculi
- The Research of Process Improvement Control Based on ARIS in the Construction of Enterprise System
- Research on Several Issues of Workflow
- Diagnosis of the deviation from the software process behavior based on EPMM modeling
- Lattice-valued Quantitative Verification of State Transition Systems
- Process Calculi for Mobile AD Hoc Networks from a Group Perspective
- The Research on Key Technologies of Secure Coverage in Wireless Sensor Networks
- Action Refinement Theory with Quantitative Constraints
- On the Bisimulation Theory and Axiomatization of Higher-order Process Calculi
- Research on Formal Methods for Safe Software Architecture
- Research on Key Technology of Networkonvergence
- Model Checking Methods for Value-Passing and Mobile Processes
- Study on CPN in Model the Mobile Communication Service Based on PI-calculus and Its Applications
- Study of Formal Model of Web Services Composition
- Dynamic semantics of UML in the form of sub-graph
- Research on the Key Issues of Customized Business Process