A Complete Axiomatization for Propositional Projection Temporal Logic and Formal Verifications

Author
ZhangNan
Advisor
DuanZhenHua
School
Xi'an University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
O141 Mathematical logic ( symbolic logic )
Degree
Doctoral dissertation
Year
2012
Downloads
46
Citations
0

Request the full text

Abstract

As a mainstream technology of formal verification, theorem proving has been used toverify software and hardware with success. Being different with model checking, theoremproving has no relation to states and does not suffer from the state explosion problem. It canbe used to verify finite systems, infinite systems and parameterized systems. In the approachof theorem proving, first, both the system and desired property are specified into logical for-mulas; second, the proof of the system formula implying the property formula is constructedby using the axioms and inference rules, by which way the system satisfying the propertyis verified. This thesis investigates the methodology for formal verification using theoremproving based on Propositional Projection Temporal Logic(PPTL). PPTL is an extension ofPITL including new projection operator prj, projection-plus operator prj⊕, and infiniteintervals. PPTL is decidable as well as has a full ω regular expressiveness. It can be used todescribe sequential behavior, parallel behavior, iteration and selective construct in concurrentprograms. For taking advantages of these features, a complete proof system for PPTL hasbeen proposed. It consists of a set of axioms and inference rules which express the semanticsof operators in PPTL. The proof system is demonstrated to be sound by proving that all theaxioms are valid and all the inference rules preserve validity in the model theory of PPTL.The proof system is also proved to be complete whose proof is significantly based on theconcept of PPTL normal form. To reduce the proofs of some complicated case studies, somefrequently used theorems are proved in advance. In addition, a mutual exclusion problem isverified to illustrate the proof system is workable.The methodology for specification and verification of real-time systems based on PPTLis investigated. We take the famous Deadline Driven Scheduler as an example to illustratehow to program using MSVL, how to transform the MSVL program into a PPTL formula,how to specify the desired property, and how to verify the program satisfying the property. Inthe verification, many lemmas are involved and their proofs are not so straightforward that anon-trivial effort is required.The methodology for specification and verification of hardware system based on PPTLis also studied. A full adder and a carry lookahead adder are selected to illustrate the specifi-cation and verification process.With the development of many-core processors, the specification, development and ver-ification of many-core parallel programs become a grand challenge. To be able to specify theautonomy, concurrency and communication among different processes over a many-core pro-cessor, a new semantic model named Cylinder Computation Model (CCM) is proposed based on PTL. In CCM, a fine-grain interval is taken to be a communal time axis which is surround-ed by a cylinder of many coarse-grain intervals. The programs to be interpreted over thesecoarse-grain intervals can be viewed as the processes running over different cores on the samechip. These processes communicate over the common projected states. Thus, many-core par-allel computing can be modeled by CCM. Its syntax and semantics are defined based on thatof sequence expressions. Moreover, the arithmetic laws for sequence expressions and logicallaws for CCM are also presented. This is to establish the model theory of CCM. To realizethe specification of many-core parallel programs using CCM constructs, we incorporate CCMinto MSVL. First, the operational semantics of CCM is established based on that of MSVL.Second, the reduced algorithms for CCM operators are formalized in terms of the operationalsemantics of CCM. Finally, a word processor is specified using CCM.

Table of contents

About the Author 3-4 Summary 4-5 Abstract 5-10 1 Introduction 10-18 1.1 Formal Methods 10-13 1.1.1 Formal Specification 11-12 1.1.2 Formal Verification 12-13 1.1.2.1 Model Checking 12-13 1.1.2.2 Theorem Proving 13 1.2 Temporal Logic and Temporal Logic Programming 13-16 1.2.1 Temporal Logic 13-15 1.2.2 Temporal Logic Programming 15-16 1.3 Contributions 16-17 1.4 The Organization of the Thesis 17-18 2 Propositional Projection Temporal Logic 18-28 2.1 Syntax and Semantics 18-22 2.1.1 Syntax 18 <br / > 2.1.2 Semantics 18-22 2.2 Precedence Rules and Properties of Formulas 22 2.2.1 Precedence Rules 22 2.2.2 Properties of Formulas 22 2.3 Discussion 22-24 2.3.1 Similarities 23 2.3.2 Specific Characteristics 23-24 2.4 Derived Formulas and Logical Laws 24-26 2.4.1 Derived Formulas 24-25 2.4.2 Logical Laws 25-26 2.5 Conclusion 26-28 3 The Proof System for Propositional Projection Temporal Logic 28-54 3.1 Proof System 28-32 3.1 .1 Axioms 28-31 3.1.2 Inference Rules 31-32 3.1.3 Formal Proof and Theorems 32 3.2 Soundness 32-38 3.3 Completeness 38-49 3.4 A Case Study - Mutual Exclusion 49-52 3.5 Conclusion 52-54 4 Cylinder Computation Model 54-78 4.1 Projection Temporal Logic 55-58 4.1.1 Syntax 55-56 4.1. 2 Semantics 56-58 4.2 Modeling, Simulation and Verification Language 58-60 4.2.1 Framing 58-59 4.2.2 Expressions and Statements 59-60 4.2.3 Normal Form of MSVL 60 4.3 Sequence Expression 60-63 4.4 CCM 63 -66 4.5 Operational Semantics 66-70 4.5.1 Operational Semantics of MSVL 66-67 4.5.2 Operational Semantics of CCM 67 -70 4.6 Implementation of CCM in MSVL 70-73 4.6.1 MSVL Interpreter 70-71 4.6.2 Implementation of CCM 71 -73 4.6.2.1 Reduction of Parallel 72 4.6.2.2 Reduction of Over 72-73 4.7 A Case Study - Word Processor 73 -76 4.8 Conclusion 76-78 5 Formal Verification of Real Time Systems 78-104 5.1 Deadline Driven Scheduler 78-79 5.2 Formalization of the Deadline Driven Scheduler 79-81 5.3 Proof of Liu and Layland's Theorem 81-103 5.3.1 Formal Proof of Theorems 81 -86 5.3.2 Lemmas 86-101 5.3.3 Sufficiency 101-102 5.3.4 Necessity 102-103 <br / > 5.4 Conclusion 103-104 6 Formal Verification of Hardware Designs 104-118 6.1 Verification of the Full Adder 104-109 6.1. 1 Full Adder 104-105 6.1.2 Modeling and Verification of the Full Adder 105-109 6.2 Formal Verification of Carry Lookahead Adder 109-116 6.2.1 Carry Lookahead Adder 109-112 6.2.2 Modeling and Verification of the Carry Lookahead Adder 112-116 6.3 Conclusion 116 - 118 7 Conclusions and Future Works 118-120 7.1 Conclusions 118-119 7.2 Future Works 119-120 Acknowledgements 120-122 References 122-130 Finished Papers 130-131

Related dissertations

  1. Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
  2. Research on Hard Real-time Multi-core Architecture Based on Shared Sram Automotive Control Applications
    ZhouXueWen ·Shanghai Jiaotong University ·2012 ·Master's thesis
  3. Lattice-valued Quantitative Verification of State Transition Systems
    PanHaiYu ·East China Normal University ·2012 ·Doctoral dissertation
  4. The application of formal verification and DS encoder and the theory of algebraic system
    LiLiMing ·Capital Normal University ·2012 ·Master's thesis
  5. Formal Verification of Hybrid Systems
  6. The Formal Verification Techniques for the Timed System Using Timed Automata
    XuQingGuo ·Shanghai University ·2007 ·Doctoral dissertation
  7. LTLC: for real-time hybrid system continuous sequential logic
  8. Research on Open Temporal Logic Based Formal Verification and Modular Reasoning of Aspect-Oriented Programs
    LvJia ·Zhejiang University ·2009 ·Doctoral dissertation
  9. Research of Policy-based Information Security Model and Formal Modeling
    LiuMiXia ·Lanzhou University of Technology ·2004 ·Master's thesis
  10. A BDI-VSK-T Logic-based Formal Model of Agent System
    ZhangJiangHua ·Yunnan Normal University ·2006 ·Master's thesis
  11. Study on the Application of Formal Verification
    ZhuXueShi ·Harbin Engineering University ·2004 ·Master's thesis
  12. The Analysis of Isabelle Theorem Prover and Its Application in PAR Method/PAR Platform
    YouZhen ·Jiangxi Normal University ·2009 ·Master's thesis
  13. The Development of Configuration Software for Monitoring and Controlling Based on C#
    WangGuang ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation
  15. Real-time Eye-gaze Tracing System Based on CPU+GPU
    LiFeiFei ·Tianjin University ·2012 ·Master's thesis
  16. Design and Implementation of Static Gesture Recognition System Based on FPGA
    ZhaoYuZuo ·Northeastern University ·2013 ·Master's thesis
  17. Implementation and Design of Multi-core Support for Micro-kernel Operating System
    YanJieJun ·Nanjing University ·2011 ·Master's thesis
  18. Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
  19. Research on AADL model transformation and verification
    LiuZuo ·Shaanxi Normal University ·2013 ·Master's thesis
  20. Research on the Scheduling Algorithm of Virtual Machine in Multi-core System
    ChenHuiXing ·Hunan University ·2013 ·Master's thesis