Research on Symbolic Model-Checking Algorithms

Author
ZhangYanZhi
Advisor
OuYangDanTong
School
Jilin University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
272
Citations
1

Request the full text

Abstract

Origins from 1980s’, Model Checking is a kind of formal verification technology, whose birth is to overcome the limitation in the verification of finite-state concurrent systems by simulation and theorem proving technology. It is an automation technology for determining whether a finite system satisfies a given specification that has been successfully used in verifying the complex sequential circuit designs and communication protocols, and also achieves a lot in testing the reliability of software.The process of model checking consists of three steps: modeling the system by the Kripke structure, describing the desired property of the system using propositional temporal logic formula and verifying whether the Kripke structure satisfies the formula. Among this, Kripke structure is a four-tuple defining on a set of atomic propositions and is used to represent the states and the transition relation of the system; propositional temporal logic includes CTL*( computation tree logic) and its two sub-logic that is LTL (linear time temporal logic) and CTL (branching time temporal logic). Assumes that M is the Kripke structure of the system, s is the initial state for the system, while propositional temporal logic formula f describes the property which the system is going to meet, this article will focus on talking about model checking algorithms.Generally, there are two types of basic model checking algorithms: explicit model checking algorithms and symbolic model checking algorithms, and the former includes the Labelling algorithm and the Tableau algorithm. The Labelling algorithm which is used for CTL model checking is proceeding by labeling the state of M by the subformula of f which is true on it, and deal with each formula in turn from the min-subformula (true, false and atomics) to the outside by finally returning the set of states labeled by the formula f, at last we can determine whether M satisfies f by checking if the set contains the initial state s. The Tableau algorithm which is used for LTL model checking consists of three steps: first, it constructs a Tableau T?f for the path formula?f which contains all the paths that satisfy that path formula; and then combines M and T?f to generate a new Kripke structure M ’ which contains all the paths that appear in both M and T?f ; at last tests whether there is a path from s in M ’, if so then M doesn’t satisfy the LTL formula Af and the path funded is the count-example to illustrate the conclusion, otherwise we can say M satisfy the LTL formula Af. The above explicit model checking algorithms use directed graphs or tables to represent the state space of the system, for the state space has an exponential increment with the system size, the time and space complexity is out of tolerance by using this algorithm to check complex system, this kind of state space explosion problem greatly limits the scope of its application.Symbolic model checking which is first proposed by McMillan is a technology of representing the state space of the system using symbolic method, the main idea of it is to use Boolean functions to express the set of states and the transition relation of the system, and then use OBDDs(Ordered Binary Decision Diagram) to store these functions in the computer with implementing the operations of them by OBDDs, it finally calculates the set of states that satisfy the given specification based on the fixed point theory in theμ-calculus. This technology usually operates on states set and transitions set rather than individual state and transition, for there is no direct relationship between the system size and the size of sets represented using OBDDs, it greatly alleviates the state space explosion problem, and has wide use in designing the system of large-scale integrated circuits with the ability of verifying systems over 10120 states.So far, there are symbolic model checking algorithms for CTL and LTL, but a number of the famous symbolic model checking tools don’t support checking CTL* which is more expressive than CTL and LTL, even though some scholars have also given the symbolic method of the CTL* Model Checking, they didn’t consider the fairness constraints. In this paper we propose an algorithm framework of symbolic model checking for CTL* with the ability to deal with fairness constraints, which includes the process of representing the system model by using OBDDs, the characterization of the temporal logic operator by fixed point theory and the symbolic algorithm of CTL* model checking.First, the states are coded with the labeling function of M which labels each state with the set of atomic popositions true in that state in order to express states set as Boolean functions; each of the transitions is related to a link of two states code correspondingly, so the transition relationship of the system can also be expressed by Boolean function. Then we can get the symbolic Kripke structure by generating the OBDDs of the Boolean functions which identify the entire states and transitions.Secondly, the power set of states set of M forms a complete lattice under the set inclusion ordering, each element of the lattice is called a predicate, and from the Knaster-Tarski theorem we can know that every monotonic predicate transformer defined on the lattice has a unique greatest and unique least fixed point. Each basic CTL operator can be defined as a monotonic predicate transformer on the lattice in order to have a fixed point characterization, although operator EX don’t have a fixed point characterization, it can be expressed by a quantified boolean formula with nested existential quantifiers, for it is convenient to calculate the quantified boolean formula as well as greatest and least fixed point, we can get the symbolic model checking algorithm for CTL. The Tableau algorithm has given a method of converting the LTL model checking to a CTL model checking with fairness constrains, we can easily get the symbolic model checking algorithm for LTL by making the conversion symbolic and having a fixed point characterization for fairness constrains.At last, a decomposition theorem is proposed to deal with symbolic model checking problem for CTL* with fairness constraint, which converts the problem to symbolic model checking for LTL and CTL with fairness, the basic idea is to replace the max-replaced-subformula in the CTL* formula with states set which contains all the states that satisfy the subformula, the new formula after replacement can be checked by the symbol model checking algorithm for CTL and LTL, we continue to decompose the subformula until it is a CTL or LTL formula. Fairness constraint in CTL can be handled symbolic by using its fixed point characteration, while in LTL it can be integrated into the LTL formula to form a new LTL formula which can be checked by the symbolic model checking algorithm for LTL without fairness constraint. By dealing with fairness constraint in the symbolic model checking procedure for LTL and CTL, the algorithm framework proposed in this paper can symbolic model checking CTL* formula with fairness constraint. Based on the source code of open source model checker NuSMV, the framework is implemented and verified through some examples.

Table of contents

Summary 4-7 Chapter 1 Introduction 7-9 1.1 Background 7-8 1.2 of this article the main content 8-9 model checking , Chapter 2 Overview 9-19 2.1 model checking features 9-10 2.2 model checking process 10-11 2.3 Kripke structure 11 when 2.4 Temporal Logic 11-17 2.4.1 computation tree logic of the CTL to * 12-14 2.4.2 Linear temporal logic the LTL 14-15 temporal logic 2.4.3 branch of the CTL 15-17 2.4.4 three kinds of temporal logic between 17 2.5 fairness constraints 17-19 Chapter 3 explicit model checking algorithm 19-29 3.1 Labelling algorithm 19-22 3.2 fairness constraint handling 22-23 3.3 Tableau algorithm 23-27 3.4 Summary 27-29 Chapter 4 symbolic model checking algorithm 29-44 4.1 quantified Boolean formula 29-30 4.2 ordered binary decision diagram 30-33 4.3 fixed point theory basis 33-34 4.4 symbolic model checking CTL ~ * algorithm framework 34-43 4.4.1 Kripke structure of the symbolic process 35-36 modal operator 4.4.2 Fixed Point Characterization 36-38 4.4.3 the CTL symbolic model checking algorithm 38-43 4.5 Summary 43-44 Chapter 5 system 44-52 5.1 NuSMV About 44-45 5.2 concrete realization 45-51 5.3 Summary 51-52 Chapter 6 Summary and outlook 52-53 6.1 summarizes 52 6.2 Looking 52-53 References 53-57 papers read during 57-58 thank 58-59 Summary 59-61 Abstract 61-63

Related dissertations

  1. The Improvement and Application of the PPTL Model Checker
  2. The Extension and Application of the Modeling,Simulation and Verification Tool
  3. Software Evolution Process Models Verification Based on Symbolic Model Checking
    LiuJinZhuo ·Yunnan University ·2013 ·Doctoral dissertation
  4. The Socket Communication Program Analysis System Based on SPIN
    YuLiQuan ·Nanchang University ·2012 ·Master's thesis
  5. Lattice-valued Quantitative Verification of State Transition Systems
    PanHaiYu ·East China Normal University ·2012 ·Doctoral dissertation
  6. Research on Authentication Methods of Security Protocols Based on Temporal Logic
  7. Study of quantified modal logic and its applications in model checking
    ShiHuiZuo ·Shaanxi Normal University ·2013 ·Doctoral dissertation
  8. A Complete Axiomatization for Propositional Projection Temporal Logic and Formal Verifications
  9. Formal Verification of Hybrid Systems
  10. The Strand Spaces Theory and Its Application to the Analysis of Security Protocols
    LongShiGong ·Guizhou University ·2007 ·Doctoral dissertation
  11. The Research and Application of Active Mechanism in Active Object-Oriented Database Systems
    LiQingZhong ·Institute of Computing Technology ·2000 ·Doctoral dissertation
  12. Research on Computer Animation Description Model and Rendering Technique
    MaHuaDong ·Institute of Computing Technology ·1995 ·Doctoral dissertation
  13. The Application Study on Formalism and Model Checking Techniques of Electronic Commerce Protocols
    WenJingHua ·Guizhou University ·2006 ·Doctoral dissertation
  14. Paraconsistent Temporal Logic and Its Model Checking
    ChenDongHuo ·Chengdu Institute of Computer Applications ·2006 ·Doctoral dissertation
  15. LTLC: for real-time hybrid system continuous sequential logic
  16. Research on Open Temporal Logic Based Formal Verification and Modular Reasoning of Aspect-Oriented Programs
    LvJia ·Zhejiang University ·2009 ·Doctoral dissertation
  17. Reasoning and Symbolic Model Checking of Extended Temporal Logics
  18. Aspect-oriented Modeling and Analysis Techniques for Software Fault Tolerance
  19. Stutter-invariant PPTL and Model Checking
  20. Research of Symbol Model Checking
    WeiXiaoYong ·Xi'an University of Technology ·2008 ·Master's thesis