Explaining Counterexample of Model Checking

Author
ShenShengYu
Advisor
LiSiKun
School
National University of Defense Science and Technology
Major
Computer Science and Technology
Classification
TN402 Design
Degree
Doctoral dissertation
Year
2005
Downloads
358
Citations
11

Request the full text

Abstract

In recent years, with the hardware system (especially VLSI) increasing scale, a simple dynamic simulation methods have been unable to provide adequate coverage to meet the system verifies the adequacy and completeness of the requirements. Therefore, model checking and other formal verification methods become complex hardware systems an important means of verification. And theorem proving and other formal verification methods, the main advantages of model checking: When the assertion is violated, the model test method can give counter-examples to explain the reasons for assertion is violated. However, counter-examples of complex systems is very difficult to understand, it takes a lot of time to check a large number of variables and events, to be able to find the source of the error. This leads to the model validation tests bring efficiency gains being wasted on inefficient and error counter-example to understand positioning. Therefore, from counter-example to extract useful information to help verification engineers to efficiently understand the counter-example and positioning errors, become a research hotspot. In addition, many model checking algorithms require storage and handling counter-examples or evidence case (witness). Removed from the anti case unrelated variables, you can make these algorithms in space and time complexity index improver obtained. Therefore, depending on the application requirements, the model checking counterexamples for further processing, has important significance. We refer to these methods collectively referred to as counter-examples explain. Different application environments, the anti-case interpretation methods have different requirements, mainly reflected in completeness, time cost and outcome dimensions. When the counter-example to explain the results from the verification engineer needs to read, understand and positioning error, for completeness and time overhead of less demanding, but requires that the result must be compact and streamlined. We call it \On the other hand, when the counter-example of the results need to be interpreted by the other algorithms for further processing (eg abstraction refinement model checking) for completeness and time overhead is very high, and the size of the result in the second place. We call it \In this paper, methods are not perfect and complete in-depth research, the completion of the main research work and the main results obtained are as follows: 1. Positioning error in the non-complete methodology proposed iterative search algorithm proof case. Recent evidence in cases of existing search algorithms in-depth analysis, we found that: In the breadth-first code inspection process, more recent evidence cases and high fan-in node positioning accuracy error would have a huge impact. To solve this problem, we propose an iterative search algorithm proof case. The algorithm iteratively searches recent evidence cases, differences in each iteration produces a set of predicates and added to a list of verbs backend. The more the front end of the list of predicates, the more likely is the actual error. Use this list as a predicate positioning results, avoid breadth-first search result in loss of accuracy. Test results show that the algorithm is the most recent card case with a simple search algorithm, the positioning accuracy is greatly improved. (2) the path for deterministic systems counterexample (path-like counterexample), was proposed based on refutation analysis and incremental SAT solving counterexample compression algorithms to reduce the time overhead BFL algorithm. BFL is the most efficient compression algorithm, typically more than 70% can eliminate irrelevant variables. However, BFL linear convergence characteristics led to its time overhead is too large. To this end we introduced a paradox in BFL analysis methods. The algorithm analyzes the reasons resulting paradox, which can eliminate multiple independent variables once, rather than, as BFL that can only remove an independent variable. We found that, BFL the adjacent SAT problem is very similar, there is considerable overlap state space. Solving the SAT problem alone, will cause these overlapping state spaces are repeatedly

Table of contents

Illustration Index 8-9 table index 9-10 Summary 10-12 ABSTRACT 12-15 The first chapter 15-29 1.1 Background 15 1.2 model test method outlined 15-22 1.2.1 System description 16-17 1.2.2 assertions describe 17 1.2.3 model checking algorithm 17-20 1.2.4 After successful treatment 20-22 1.3 of the problem and related research 22-25 1.3.1 counterexample compression 22-23 1.3.2 Error positioning method 23-24 1.3.3 to prove counter-example annotation step 24 1.3.4 Other methods 24-25 1.4 The main work and innovation 25-27 1.5 paper structure 27-29 The second chapter is based on an iterative search for evidence case error localization method 29-40 2.1 Introduction 29-30 2.2 Background 30-31 2.2.1 counterfactual, distance measure and why 30-31 2.2.2 Pseudo-Boolean SAT 31 2.2.3 bounded model checking and model checking 31 2.3 Parallel recent evidence cases the impact on the positioning accuracy and solutions 31-32 2.4 Error localization algorithm 32-37 2.4.1 Algorithm overall process 32-33 2.4.2 predicate extraction 33 2.4.3 card case search 33-35 2.4.4 predicate filter 35-36 2.4.5 card case shielded 36-37 2.5 Experimental results and analysis 37-39 2.5.1 Accuracy metric 37 2.5.2 Introduction experimental subjects 37-38 2.5.3 Experimental results 38 2.5.4 Analysis 38-39 2.6 Conclusion 39-40 The third chapter is based on refutation analysis and incremental solving quick counter-example compression algorithm 40-51 3.1 Introduction 40-41 3.2 Background 41-43 3.2.1 bounded model checking 41-42 3.2.2 SAT solver conflicts learning mechanism 42 3.2.3 BFL counterexample compression algorithm and its problems 42-43 3.3 Paradox counterexample based compression algorithm 43-46 3.3.1 Algorithms 43-44 3.3.2 Paradox 44-45 3.3.3 correctness proof 45-46 3.3.4 Complexity Analysis 46 3.4 incremental SAT solving method 46-47 3.5 Experimental results and analysis 47-49 3.5.1 test object 47 3.5.2 Test Method 47-48 3.5.3 Test results 48-49 3.5.4 Analysis 49 3.6 Conclusion 49-51 Chapter counterexample low storage overhead compression algorithm 51-59 4.1 Introduction 51-52 4.2 Background 52-53 4.2.1 SAT solver 52 4.2.2 Model checking and counter-examples 52-53 4.2.3 BFL counterexample compression algorithm 53 4.3 stepping BFL 53-56 4.3.1 problem decomposition 53-54 4.3.2 sub-problem solving 54-55 4.3.3 Complexity Analysis 55-56 4.4 stepper unit nuclear extracts 56-57 4.5 Results and discussion 57-58 4.6 Conclusion 58-59 Chapter non-deterministic systems invariant assertions counterexample compression 59-71 5.1 Introduction 59-60 5.2 Background 60-63 5.2.1 SAT solver 60 5.2.2 Model Checking 60-61 5.2.3-state collection cubic representation 61-62 5.2.4 SAT-based pre-image operation 62-63 5.2.5 to determine the system of counter-examples compression 63 5.3 non-deterministic systems counterexample compression principle 63-65 5.3.1 compression standard counter-examples 63-64 5.3.2 determine the difference between non-deterministic systems 64 5.3.3 Compression counterexample definition 64-65 5.4 algorithm, proof and complexity analysis 65-69 5.4.1 Algorithm Description 65-67 5.4.2 correctness proof 67-68 5.4.3 algorithm complexity 68-69 5.5 Experimental results and analysis 69-70 5.6 Conclusion 70-71 Chapter comprehensive ACTL counterexamples compression algorithm 71-81 6.1 Introduction 71-72 6.2 Background 72-76 6.2.1 binary decision diagram (Binary Decision Diagrams) 72 6.2.2 CTL temporal logic 72-73 6.2.3 Model Checking 73-74 6.2.4 fairness constraint 74-75 6.2.5 counterexamples generated 75-76 6.2.6-state collection cubic representation 76 6.3 card case path compression algorithm 76-77 6.3.1 EX card case compression 76-77 6.3.2 EU card case compression 77 6.4 EG ring card case compression 77-79 6.4.1 Loop compression 77-79 6.4.2 Stem compression 79 6.5 Experimental results 79-80 6.6 Conclusion 80-81 Chapter VII of the error location and counter-examples compression prototype system implementation 81-93 7.1 NuSMV model checker 81-83 7.2 Zchaff solver 83-85 7.2.1 basic data structures and operations 83-84 7.2.2 incremental solving mechanisms 84-85 7.3 PBS pseudo-Boolean solver 85-86 7.4 Incomplete error locating prototype system 86-90 7.4.1 predicate extraction 87-88 7.4.2 generates assertions and counter-assertions CNF file 88 7.4.3 extract the signal mapping extraction counterexample predicate assignment 88-89 7.4.4 generated certificate cases constraints 89 7.4.5 PBS recent evidence cases search 89 7.4.6 Predicate difference extraction 89-90 7.4.7 code breadth-first search 90 7.5 complete counterexample compression prototype system 90-93 7.5.1 generated assertions CNF file 90-91 7.5.2 extract the signal mapping relationship 91 7.5.3 Target negated 91 7.5.4 adds fully constrained 91 7.5.5 Select a variable has not yet been removed v, v, and delete the assignment clause 91 7.5.6 adds v assignment phrase 91 7.5.7 Excluding paradox results 91-93 Chapter VIII Conclusion 93-97 8.1 main contribution of this paper 93-94 8.2 Prospects for future research work 94-97 8.2.1 counterexample in the non-complete interpretation: 95 8.2.2 Completeness of counter-examples in compression 95-96 8.2.3 Error correction in respect 96-97 doctoral published during the recruitment and writing papers 97-99 doctoral major research projects during participation 99-100 Thanks 100-102 References 102-112

Related dissertations

  1. Software Trustworthiness Mesurement Based on Model Checking
    HanZuo ·Beijing University of Technology ·2012 ·Master's thesis
  2. Application of model checking to the formal verification of security protocols
  3. Lattice-valued Quantitative Verification of State Transition Systems
    PanHaiYu ·East China Normal University ·2012 ·Doctoral dissertation
  4. Formal Verification of Hybrid Systems
  5. Research on Some Problems about Proving the Correctness of Programming
    FanNianBai ·Hunan University ·2005 ·Doctoral dissertation
  6. Compositional Verification Based on Interface Automata
  7. Research of UML-Oriented Model Checking
  8. Research on Verification of Secure Operating System Based on Model Checking
  9. Research on the Formal Verification of ASIP Architecture Level Design
    GaoZuoZuo ·University of Science and Technology of China ·2009 ·Doctoral dissertation
  10. Research on SAT-based Formal Verification Approach for Digital Circuits
    WangXiuQin ·Harbin Engineering University ·2009 ·Doctoral dissertation
  11. Research on Formal Methods for Digital Circuit Verification Based on Polynomial Symbolic Algebra
    YangZhi ·Harbin Engineering University ·2009 ·Doctoral dissertation
  12. Model Checking of WLAN IEEE 802.11 Authentication Protocol
    JinXiu ·Hunan University ·2008 ·Master's thesis
  13. Design and Implementation of the model checker front-end system
  14. Sequential logic circuit of formal verification methods
    LvYi ·Institute of Computing Technology ·2000 ·Master's thesis
  15. Formal Verification of Hybrid Systems and Its Application
    ZhangYaShun ·Hefei University of Technology ·2006 ·Master's thesis
  16. Study on the Application of Formal Verification
    ZhuXueShi ·Harbin Engineering University ·2004 ·Master's thesis
  17. High-Level Model Checking Using Wu’s Method
    YangZhi ·Harbin Engineering University ·2008 ·Master's thesis
  18. Incremental SAT-based Formal Verification of Security Protocols
    WuTao ·Beijing Jiaotong University ·2009 ·Master's thesis
  19. Analyzing and Verifying Network Protocols by Model Checking
    HuangGu ·Hunan University ·2009 ·Master's thesis
  20. HMIPv6 Formal Verification Research Based on Color Petri Nets
    KangZhiHui ·Inner Mongolia University ·2011 ·Master's thesis