Proof Generation for Certifying Compiler

Author
YangSiMin
Advisor
ChenYiYun
School
University of Science and Technology of China
Major
Computer Software and Theory
Classification
TP314 Compiler,interpreter
Degree
Master's thesis
Year
2010
Downloads
40
Citations
1

Request the full text

Abstract

With the rapid development of computer science and technology, increasingly large-scale computer software, and more and more difficult to debug and maintain. On the other hand, software security situation is grim, untrusted source code security implementation issues gradually emerged. In this context, the relationship between the key areas of the national economy and the industry, the increasing demand for high trusted software. Formal procedures to verify the nature of the formal procedures in the various build high trusted software technology, and give a formal proof to guarantee the security of the software can theoretically guarantee program run without violation of safety norms. Certifying compiler as an important branch of verifying compiler, a combination of modern compiler technology and program verification methods the source annotation generates the corresponding proof of the nature of the proceeding in the assembly code is generated at the same time, according to the programmer. Code consumer side only need to use a trusted proof checker to statically check the generated proof, check the security of the program can be indirectly compiler to exclude the Trusted Computing Base. In the theoretical framework for certifying compiler, technology plays a key role in automated theorem proving. Does not support automatic theorem proving, proof of the nature of the proceeding all require programmers to manually enormous workload. Issued early in the laboratory on the basis of the proof of the compiler project PLCC, a certifying compiler CComp, and its main features is to use Hoare-style program verification methods have been designed and implemented, the application of separation logic express verification conditions, in particular with regard to pointer verification conditions, while the introduction of a modern automatic theorem proving automatic proof verification conditions, learn the formal definition based the stack verify assembler programming framework to build the back-end of the target program verification framework. Embedded automated theorem proving, the main support for the integer linear theory and separation logic, and can generate by the auxiliary theorem proving tools Coq check the prove. In this paper, we first introduce the background and current status of the project, and then briefly the certifying compiler design CComp, including the source language, the assertion language, source-level verification framework and target-level verification framework. Source-level verification framework, this paper focuses on the design and implementation of the Simplex algorithm and Boundand Branch-based approach integer linear theorem proving, and I put forward for the conservation, management prove proof library for information and generate proof mechanism described some key algorithm, truthfully number satisfiability checking process, prove the preservation process that information in the library, to prove the main algorithm generated. Finally, this paper gives two simple tests. The results show that the integer linear theorem prover can automatically prove certifying compiler validation conditions CComp generated integer linear program, and its proven superior Coq proving strategy Omega generate proof generated. The main contribution of this paper is as follows: 1. Based on the Simplex algorithm and Bound and Branch method, designed and implemented a support Proposition solving linear integer automatic theorem prover for proof of verification conditions CComp in linear integer. 2 presented its own set of proof items constructed for automatic theorem prover Coq. Inspection certificate is generated. This method can be automatically configured proof items need to select the already fragmented prove information, and combine them to form a substantially free of redundancy proof items. The proof items generate proof items with Coq comes proof strategy to generate even more than simple. The significance of this work is to check proof generation exploration the linear integer theorem proving machine, put forward a new method used to construct the proof items accumulated technical aspects of domain-specific logic automated theorem proving research experience laid the theoretical and technical foundation for the future to achieve automatic program verification, Building High Confidence Software.

Table of contents

Abstract 4-6 ABSTRACT 6-8 directory 8-10 table 10-11 illustrations 11-12 Chapter 1 Introduction 12-23 1.1 Background 12-15 1.1.1 High Confidence Software 1.1.2 program validation 12-13 1.1.3 Verification compiler 13-14 1.1.4 automated theorem prover 14 1.1.5 Coq 14-15 1.2 Research 15-20 1.2.1 program verification research 15-18 1.2.2 automated theorem proving techniques related research 18-20 1.3 Solution Overview 20-23 1.3.1 research 20-21 the contributions of this paper 1.3.2 21-22 1.3.3 chapters arranged 22-23 Chapter 2 certifying compiler CComp 23-32 2.1 source 24-29 2.1.1 Clike Language Introduction 24-26 2.1.2 assertion language 26-28 2.1.3 source code example 28-29 2.2 source-level verification system 29-31 2.2.1 automated theorem prover 29-31 2.3 target level verification system 31 2.4 This chapter Summary 31-32 Chapter 3 integer linear theorem proving 32-41 3.1 linear integer proposition decomposition 33 3.2 linear integer expressions standardized 33-34 3.3 Simplex algorithm-based decision-making process 34-37 3.4 linear integer expression handling 37-38 3.5 proof generated 38-40 3.6 This chapter Summary 40-41 Chapter 4 proven management and construction 41-52 4.1 Coq proof item 41-42 4.2 indicates proof of entry data structure 42-44 the of 4.3 proved library and supporting information saved 44-46 4.4 supporting items generated 46-51 4.5 of this chapter Summary 51-52 Chapter 5 experimental evaluation 52-56 5.1 integer linear theorem prover and Omega 52-53 5.2 certifying the compiler CComp in linear integer theorem prover test 53-54 5.3 Experimental results summarize 54-56 Chapter 6 Conclusion 56-59 6.1 thesis work summarizes 56-57 6.2 further work 57-59 the References 59-64 data structure the Appendix verification conditions defined 64-66 Acknowledgements 66-67 the papers published during reading the research achievements 67

Related dissertations

  1. Certifying Compilation in an Infrastructure for Developing Trustable Software
    GeLin ·University of Science and Technology of China ·2007 ·Doctoral dissertation
  2. Researches on Two Important Topics of Certifying Compiler
  3. A Method to Generate Assertion and Proof about Assembly Language Certifying Compiler
  4. Research on Geometry Theorem Proving Based on ontology and Prolog rules
  5. An Integration of Several Data Flow Analysis Techniques for Program Verification
    XingYuChen ·Nanjing University ·2013 ·Master's thesis
  6. Mechanization of General Topology and Related Problems in Automatic Deduction Based on Isabelle
    WangJianLin ·East China Normal University ·2012 ·Doctoral dissertation
  7. Generalized Lattice-Valued Modal Logic System and Resolution Automated Reasoning Based on Lattice Implication Algebra
    LiWenJiang ·Southwest Jiaotong University ·2002 ·Doctoral dissertation
  8. A Pointer Logic for Safety Verification of Pointer Programs
  9. Certifying the Safety of Assembly Pointer Programs
  10. Constraint Based Prolog Semantics and Its Applications in the Testing, Analysis and Verification of Prolog Programs
  11. Study on Program Verification Based on Symbolic Computation
    WuBin ·East China Normal University ·2010 ·Doctoral dissertation
  12. The Research of Partitioned Symbolic Execution Model and Its Environment Interaction Problem
  13. Program Verification Based on Computer Algebra
    ZhangZhiHai ·Beijing University ·2011 ·Doctoral dissertation
  14. Automated Loop Invariant Generation for Program Verification
  15. Research on Visually Dynamic Presentation of Proofs in Plane Geometry
    YeZheng ·Zhejiang University ·2010 ·Doctoral dissertation
  16. Study on Program Verification
  17. Concurrent Object-oriented Program Slicing and Its Application in Program Verification
    HeZhiXue ·Suzhou University ·2008 ·Master's thesis
  18. Research on Methods of Security Assurance Based on Computer-Assisted Proof
  19. Axiomatic semantics of the Java language 's exception handling mechanism
    QuWenJing ·Dalian University of Technology ·2004 ·Master's thesis
  20. Research on Automatic Theorem Proving Based on Grid Computation
    ZuoLiHui ·East China Normal University ·2007 ·Master's thesis