Research on Loop Invariant Development Technology

Author
WanSongSong
Advisor
XueJinYun
School
Jiangxi Normal University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
68
Citations
2

Request the full text

Abstract

The high reliability of software is a hot issue in the software development today. Ensure that the logical structure of the algorithm program properly, the best way to formal derivation of the algorithm and prove. Loop invariant software formal methods occupies a very important position, it is the understanding of the basis of proof and derivation algorithm and key. Using formal methods to prove or derivation algorithm program can not avoid a problem is to give the correct loop invariant. However, loop invariants developed algorithm design has been the most challenging, the most creative, but also one of the most difficult problems. Since the formal methods appear, many experts is committed to loop invariant developers, the loop invariant development technology, such as predicate abstraction techniques, dynamic detection technology. These techniques can detect loop invariant, a relatively simple problem but can not deal with complex problems. In essence, the loop invariant characterizes the characteristics of the loop variable variation and recycling program, a recycling program cycle invariant is not easily able to get, especially for complex algorithm must cycle can be found based on the program algorithm is essentially fully understood. The existing loop invariant definition do not reflect the nature of loop invariant, the lack of theoretical guidance based on the existing loop invariant definition of the technology, the tentative detection loop invariant process and blindness loop invariant, but also because of their technical limitations, and therefore unable to conclude that the complex problems. Professor Xue Jinyun academic team analyzed a large number of the essential characteristics of the algorithm and its loop invariant relations [15] to [20] found that the deficiencies of the existing loop invariant definition proposed new loop invariant defined and based on the new definition of loop invariant over the development of technology, formed on the basis of a practical algorithm formal development method - PAR method and its development environment, the complex algorithm and software formal development played an important role. This article is a continuation of the study of the PAR method and its development environment,, Xue Jinyun auspices of the National Natural Science Foundation of commitment \important research content. The main work of this paper the existing loop invariant definition and the existing development technology to conduct in-depth research and development of technology PAR method loop invariant compare, point out the inadequacies of existing development technologies; based on both Professor Xue Jinyun loop invariants new definitions and new development technologies, explore, study and preliminary loop invariant automatic development system. Specific research results are as follows: depth study loop invariant definition; 2. Loop invariant standard development strategy and the newer several loop invariant development technology analysis and comparison, analysis of its difficult applicable; 3. detailed analysis of the PAR method loops the invariants new definitions and new development strategy, its proposed as the basis of a new model of the loop invariant development system, and the initial realization of the loop invariant automatically Development System; 4 Dijkstra weakest front predicate method developed loop invariant correctness proof.

Table of contents

Abstract 3-5 ABSTRACT 5-9 Chapter 1 Introduction 9-11 1.1 Background 9-10 1.2 research 1.3 of this article organization 10-11 Chapter 2, the existing loop invariant Development Research Analysis 11-31 2.1 loop invariant existing definition 11-12 2.2 the loop invariant existing development technology 12-29 2.2.1 standard loop invariant development strategy 12-13 2.2.2 standards-based strategy automatically generate loop invariant law - the heuristic RCPV law 13-16 2.2.3 loop invariant dynamic detection technology 16-19 2.2.4 predicate abstraction technology 19-22 the 2.2.5 rule-based symbolic execution analysis 22-26 2.2.6 assertion-based loop invariant detection method 26-29 2.3 various types of technical analysis loop invariant detection 29-31 Chapter 3 PAR method of loop invariants new definition 31-43 The main idea of ??the 3.1 PAR method 31-35 3.1.1 RADL language and APLA language 32-35 3.2 loop invariants new definitions and new development strategy 35-38 3.2.1 loop invariant new definition 36 3.2.2 the loop invariant newly developed strategy 36-38 3.3 development unknown algorithm 38-40 3.3.1 the whole idea 38 3.3.2 development steps 38-39 3.3.3 development instance 39-40 3.4 development the existing algorithms program loop invariant 40-42 3.4.1 the whole idea 40-41 3.4.2 development steps 41 3.4.3 development instance 41-42 3.5 Review and Summary 42-43 Chapter 4 loop invariant Development System Research and Implementation 43-55 4.1 loop invariant development system design ideas and programs 43-46 4.1.1 system goals 43 4.1.2 overall system design thinking 43-44 4.1.3 loop invariant development system. 44-45 4.1.4 loop invariant detection systems function module description 45-46 4.2 loop invariant development system implementations 46-48 4.2.1 source language analysis principle module 46-47 4.2.2 quantifier operators corresponding to the relations \ 4.3 loop invariant proof of correctness 48-54 4.3.1 Preliminaries 49-50 4.3.2 instance explain 50-54 4.4 compared with existing development methods 54-55 Chapter 5 system intuitive introduction 55-60 5.1 Introduction to System Interface 55-56 5.2 Certain examples 56-60 Chapter 6 Summary and Outlook 60-61 the References 61-64 Acknowledgements 64

Related dissertations

  1. The Research and Application of New Strategies for Developing Loop Invariants on Recursive Problem
    YangQingHong ·Jiangxi Normal University ·2003 ·Master's thesis
  2. The Application and Research of PAR Platform in Software Outsourcing Services
    WuGang ·Jiangxi Normal University ·2013 ·Master's thesis
  3. Research on Generation of Loop Invariants
    LiuZiHeng ·Nanjing University ·2012 ·Master's thesis
  4. Study on Program Verification Based on Symbolic Computation
    WuBin ·East China Normal University ·2010 ·Doctoral dissertation
  5. The Research of Developing Algorithmic Program Based on PAR Method
    WangSen ·Jiangxi Normal University ·2004 ·Master's thesis
  6. The Primary Research of PAR Applied to MIS Development Method
    ShiZuo ·Jiangxi Normal University ·2004 ·Master's thesis
  7. Design and Implementation of Apla to C# Automatic Program Transformation System
    ZuoZhengKang ·Jiangxi Normal University ·2004 ·Master's thesis
  8. Apla-Java Automatic Program Transformation System with Generic Programming Supported
    ShiHaiHe ·Jiangxi Normal University ·2004 ·Master's thesis
  9. The Research and Implementation of Programming ICAI with Function of Automatic Reasoning Based on Case and Rule
    LiuXiao ·Jiangxi Normal University ·2004 ·Master's thesis
  10. The Research on ICAI of Programming with Function of Automatic Reasoning
    XiongWanZuo ·Jiangxi Normal University ·2003 ·Master's thesis
  11. Research on ICAI Environment of Programming Based on J2EE
    HuQiMin ·Jiangxi Normal University ·2003 ·Master's thesis
  12. APLA-Delphi Automatic Program Transformation System with Generic Programming Surpported
    ZhouZuo ·Jiangxi Normal University ·2003 ·Master's thesis
  13. Research on the Parallel and Concurrent Mechanism of Apla-Java Reusable Components
    JieAnQuan ·Jiangxi Normal University ·2003 ·Master's thesis
  14. The Applied Research of PAR Method in Numerical Methods
    YangShuQun ·Jiangxi Normal University ·2003 ·Master's thesis
  15. RADL->APLA Algorithm Program Automatic Transformor Experiment System Study
    YingYong ·Jiangxi Normal University ·2003 ·Master's thesis
  16. The Research on the Application of PAR Method in Constructing High-Reliability MIS
    HuangHaiFei ·Jiangxi Normal University ·2007 ·Master's thesis
  17. The Research and Implementation of Component Software Development Based on PAR Method
    LvMingZuo ·Jiangxi Normal University ·2007 ·Master's thesis
  18. The Applied Research of PAR Method on the Problems of the Informatics Olympiad Race
    LuoXiaoJuan ·Jiangxi Normal University ·2006 ·Master's thesis
  19. The Applied Research of PAR Method on Combinatorics Problems
    SunLingYu ·Jiangxi Normal University ·2005 ·Master's thesis
  20. Research and Application of On-line Network Teaching System Using PAR Method Based on Streaming Media Technology
    WangWuZhen ·Jiangxi Normal University ·2005 ·Master's thesis