Stutter-invariant PPTL and Model Checking

Author
YangZuo
Advisor
DuanZhenHua
School
Xi'an University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TN915.04 Communication protocols, communication protocols
Degree
Doctoral dissertation
Year
2010
Downloads
22
Citations
0

Request the full text

Abstract

This thesis introduces Stutter-invariant Propositional Projection Temporal Logic (PPTLst) and use the logic to verify unconditional communication protocols. The verifica-tion is based on model checking approach where PPTLst is employed as the specification language.Model checking of finite-state systems with specifications given as formulae of Proposi-tional Projection Temporal Logic (PPTL) was proposed in recent years. Since PPTL has the expressiveness ofω-regular so that it is more powerful than other linear-time propositional temporal logics, and projection together with chop operators in PPTL allows us to define more flexible properties, PPTL becomes a promising formalism for specification and verifi-cation of concurrent systems. However, like other formal verification methods, PPTL model checking suffers from state explosion. To combat state explosion problem, we define the stutter-invariant fragment of PPTL, written as PPTLst, and this fragment proves to capture all stutter-invariant properties expressible in PPTL. Specifications given by PPTLst formulas do not distinguish between the stutter-equivalent behaviors of a system. This allows partial order reduction to reduce state space since the verification is performed using representatives from the equivalent classes of behaviors. Furthermore, we implement a model checker to support verifying PPTLst specifications using partial-order reduction.Moreover, as a specification language, PPTLst can help designers get rid of irrelevant detail in compositional verification of a concurrent system. That is because the projection and chop constructs in PPTLst allows designers to assert properties over points of interest through an execution. In this way, modules can be abstracted based on their local properties by considering only relevant state-changes, importantly, because of stutter-invariance, substi-tution of modules by the abstracted ones will not affect overall properties of the system. Since the verification proceeds a hierarchy of levels of abstraction, the state space is also largely reduced.In addition to techniques for reducing the size of model or optimizing state space search, by our experiences, simple formulas for specifications can also bring low complexity of veri-fication. This encourages us to investigate the complexity of PPTLst and factors affecting the complexity, so we study the upper bound for complexity of PPTLst. To this end, a Complete Normal Graph (CNG) for PPTLst formulas is defined, and an algorithm translating formulas to CNG is formalized. With CNG the upper bound for complexity of PPTLst is proved to be non-elementary. Significantly, from the proof it is found that the complexity is affected only by the number of distinct atomic propositions and the depth of nested negation of chop (or projection) appearing in the formula. Therefore, specifications should be expressed by formu-las which hold small depth of nested negation of chop (or projection) and bounded number of atomic propositions.For developing a practice use of our approach, we investigates Russian Cards problem for the purpose of unconditional secured communication. The original protocol is confined to 3 players and 7 cards. We generalize the problem to tackle n players and n(n-1)+1 cards so that a safe public communication protocol can be established, namely Russian Cards protocol. Also, we give the safe communication condition, and formalize the algorithm for constructing safe communication sequence. Further, we verify the protocol by PPTLst based compositional method, and we check each module using PPTLst based partial-order reduction. The experimental results show integration of the two techniques can combat state explosion problem, and thus can be used for verification of large-scale concurrent system.

Table of contents

Summary 5-6 Abstract 6-13 1 Introduction 13-25 1.1 Temporal Logic and Model Checking 13-18 1.2 Existing problems and Research Focuses 18-21 1.3 Thesis Overview and Contributions 21-25 2 Background 25-35 2.1 Propositional Projection Temporal Logic 25-29 2.2 Model Checking Using Automata 29-31 2.2.1 ω-Automata 29-30 2.2 .2 Specification using ω-Automata 30-31 2.3 Model Checking Using PPTL Specification 31-33 2.4 Summary 33-35 3 Upper Bound of Complexity for PPTL 35-49 3.1 Inductive Method of Complete Normal Form 36-41 3.2 Definition of Complete Normal Graph 41-44 <br / > 3.3 Upper bound of complexity for satisfiability of PPTL 44-48 3.4 Summary 48-49 4 Stutter-invariant PPTL 49-71 4.1 Motivation of Introducing Stutter-invariance in PPTL 49-52 4.2 Stutter-Invariance of PPTL 52-57 4.2.1 Stutter-invariance 52-53 4.2.2 Stutter-invariant PPTL (PPTL_ (st)) 53-56 4.2.3 Complexity of Determining Stutter-invariance 56-57 4.3 Case Study of Compositional Verification in PPTL_ (st) 57-59 4.4 Partial-order Model-checking Using PPTL_ (st) Specification 59-66 4.5 Compositional Verification of Automatic Gas Station 66-69 4.6 Summary 69-71 5 Russian Cards Protocols 71-97 5.1 Russian Cards Problem 71 - 75 5.1.1 Russian Cards problem 71 5.1.2 What is a Safe Communication? 71-75 5.2 Generalization of Russian Cards Problem 75-92 5.2.1 Picking Rule 76-86 5.2.1.1 Construction of B ~ k in Row Case 76-82 5.2.1.2 Construction of B ~ k in Column Case 82-86 5.2.2 Deleting Rule 86-89 5.2.3 Safety Proof for R_ ((n)) in Row Case 89-91 5.2.4 Safety Proof for R_ ((n)) in Column Case 91-92 5.3 Example 92-95 5.3. 1 R_ ((5)) in Row Case 92-95 5.4 Summary 95-97 6 Verifying Russian Cards Protocol with PPTL_ (st) 97 - 115 6.1 Modeling Russian Cards Protocol R_ ((3)) 97-104 6.1.1 The definition of the data structures and initial work 98-99 6.1.2 The definition of honest processes and an intruder 99-102 6.1.3 Safety property specified in PPTL_ (st) 102-103 6.1.4 Correspondence of automaton and Never Claim 103-104 6.1.5 Partial-order model checking R_ ((3)) 104 6.2 Verification of R_ ((4)) and R_ (( 5)) 104-114 6.3 Summary 114-115 7 Conclusion and Future Work 115-119 Acknowledgements 119 - 121 References 121-131 Publications 131

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. The Socket Communication Program Analysis System Based on SPIN
    YuLiQuan ·Nanchang University ·2012 ·Master's thesis
  4. Lattice-valued Quantitative Verification of State Transition Systems
    PanHaiYu ·East China Normal University ·2012 ·Doctoral dissertation
  5. Formal Verification of Hybrid Systems
  6. Paraconsistent Temporal Logic and Its Model Checking
    ChenDongHuo ·Chengdu Institute of Computer Applications ·2006 ·Doctoral dissertation
  7. Compositional Verification Based on Interface Automata
  8. Simulation-based theoretical model checking
  9. Symbolic model checking based on a number of issues of research and application
    KongQingAi ·Jilin University ·2008 ·Master's thesis
  10. Application of Model Checking to Software
    LiWuPing ·Jilin University ·2008 ·Master's thesis
  11. Research on Model Checking of Concurrent System Based on Partial-order Reduction
    WangZuo ·Northwestern University ·2007 ·Master's thesis
  12. Model Checking Propositional Projection Temporal Logic with Infinite Model
  13. Modeling and Verification of the Workflows Based on UML-Statecharts
    LuGongZheng ·Suzhou University ·2006 ·Master's thesis
  14. Research on Formal Verification of Diagnosability Via Model-Checking
    HuangYa ·Jilin University ·2006 ·Master's thesis
  15. Model Checking of LSC Specifications
  16. Framed Temporal Logic Programming Interpreter and Model Checker
  17. Model Checking Propositional Projection Temporal Logic Based on SPIN
  18. UML interaction model checking based on temporal logic
    ZhaoZuo ·Qingdao University ·2008 ·Master's thesis
  19. The Effective Analysis System of Network Security Protocol
    WuChang ·Nanchang University ·2008 ·Master's thesis
  20. Model detection in security protocol verification in Research and Application