The Weakest Pre-Predicate Generator Design and Implementation Based PAR

Author
YangChen
Advisor
XueJinYun
School
Jiangxi Normal University
Major
Computer Science and Technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2010
Downloads
17
Citations
0

Request the full text

Abstract

From the sixties of the last century, with the rapid development of large-scale software requirements to software quality up higher, especially software correctness requirements. The computer industry to ensure software quality, especially in the high reliability of the software many new theoretical research program correctness proof is the one program correctness proof is to use rigorous mathematical methods to evaluate a program to achieve predetermined performance . But in the process of correct certification procedures involves a lot of mathematical symbols and mathematical theory of knowledge makes program verification takes a certain amount of time and effort to master this knowledge. And even verify a very short program as it relates to the mathematical theory require cumbersome verification process, resulting in often to prove that the process is more complex than the program you want to prove many of these kinds of unfavorable conditions makes may rely on manual procedures to prove the correctness of produce many adverse consequences. In order to overcome the handmade correctness verification process caused the adverse consequences of the program, many computer scientists started to use the machine to automatically verify program to gradually reduce manual intervention program verification process, the ultimate aim is to verify program correctness toward fully automated. According to Dijkstra the weakest front predicate theory, the program {Q} S {R}, if they can prove that: Q == gt; WP (\It is based on this theory, this paper as an auxiliary tool part of the PAR platform, the goal is to develop an automatic calculation of Apla program the weakest front predicate system, to reduce the Apla program correctness verification artificial intervention in the known S, R automatically solve the case of the the weakest front predicate. Around the purpose of this article to do the following work: 1, a deep understanding of the proposed algorithm automatically calculates the the APLA language weakest front predicate based on Dijkstra weakest front predicate. Select several Apla program to test the experimental results show that the system automatically calculates the weakest front predicate preliminary. 3, attempts to integrate Dijkstra weakest Lead predicate generated automatically to the PAR platform, making it the PAR of an auxiliary tool; the PAR platform can effectively support. Late to improve the functions of the system; further improve the reliability and robustness of the system; strengthen the analysis and solution algorithm of the complexity of the algorithms and classical figures.

Table of contents

Summary 3-4 Abstract 4-8 Chapter Introduction 8-12 1.1 the research backgrounds Research -9 1.2 Content 9-10 1.3 Research significance 10 1.4 This work 10-12 Chapter II algorithm the procedural correctness proof 12-21 2.1 program correctness theory 12-18 2.1.1 Floyd inductive assertion method are found; 13-14 2.1.2 Hoare axiomatic method well-ordered set 14-15 2.1.3 the 15-16 2.1.4 counter methods 16 2.1 .5 Dijkstra the weakest front predicate method the PAR method 16-18 2.2 / PAR platform Introduction the 18-21 2.2.1 algorithm design language Radl 19 2.2.2 abstract programming language Apla the 2.2.3 the PAR method development step 19 nbsp 19-21 Chapter weakest front predicate calculation method ; 21-27 3.1 weakest pre the predicate Overview 21-22 assignment statement 3.2 22-23 3.3 conditional statement nbsp calculated loop statement; 23 3.4 23-26 3.5 procedure call statements to calculate 26-27 Chapter weakest pre-predicate generator design 27-32 4.1 system design principles 27-28 4.2 overall system design the 4.2.1 system hierarchy design 28-29 28 4.2.2 system logic structure design 28 the 4.2.3 system function structure design 28-29 4.3 system algorithm design 29 - 32 4.3.1 Problem Statement the algorithm 29 4.3.2 29-32 Chapter weakest front predicate builder to achieve 32-49 5.1 overall system functions described 32-36 5.1.1 system overall functional diagram nbsp 32-34 5.1.2 system data dictionary ; 34-36 5.2 system main function modules the 36-46 5.2.1 lexical analysis module 36-39 5.2.2 assignment statement module 39-44 5.2.3 select statement module 44-45 5.2.4 loop statement module 45-46 5.3 system applications the 46-49 sixth chapter. Summary and Outlook the 49-51 6.1 summarizes to 6.2 Looking 49 49-51 References 51-54 Acknowledgements 54-55 to study the degree participation during research projects 55

Related dissertations

  1. Development of APLA-JAVA Automatic Program Transformation System
    LuoJian ·Jiangxi Normal University ·2002 ·Master's thesis
  2. Implementation of Composed Data Type in APLA Through C++
    JiangYiJian ·Jiangxi Normal University ·2002 ·Master's thesis
  3. Development of APLA to C++ Automatic Program Transformation System
    LaiYong ·Jiangxi Normal University ·2002 ·Master's thesis
  4. Implementation of Composed Data Type in Apla Through Delphi
    KangLiang ·Jiangxi Normal University ·2008 ·Master's thesis
  5. Based on a combination of data types Delphi PAR method to achieve
    LiaoWeiBing ·East China Normal University ·2008 ·Master's thesis
  6. The Application and Research of PAR Platform in Software Outsourcing Services
    WuGang ·Jiangxi Normal University ·2013 ·Master's thesis
  7. BJ Electric Company Limited Engineering Project Construction Worker's Performance Appraisal System Research
    PengYuJun ·Guangxi University ·2012 ·Master's thesis
  8. Clock generator probabilistic model output study of the nature of the sequence
    HuangXiaoYing ·PLA Information Engineering University ·2003 ·Doctoral dissertation
  9. The Prevalence, Risk Factors and Evaluation of Intervention Effects of Injuries among Construction Workers
    ZhengLei ·Huazhong University of Science and Technology ·2010 ·Doctoral dissertation
  10. The Investigation of Knowledge, Attitude, Behavior and the Research of Health Education Intervention on AIDS Prevention among Construction Workers
  11. The Research of Developing Algorithmic Program Based on PAR Method
    WangSen ·Jiangxi Normal University ·2004 ·Master's thesis
  12. The Primary Research of PAR Applied to MIS Development Method
    ShiZuo ·Jiangxi Normal University ·2004 ·Master's thesis
  13. Design and Implementation of Apla to C# Automatic Program Transformation System
    ZuoZhengKang ·Jiangxi Normal University ·2004 ·Master's thesis
  14. Apla-Java Automatic Program Transformation System with Generic Programming Supported
    ShiHaiHe ·Jiangxi Normal University ·2004 ·Master's thesis
  15. 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
  16. The Research on ICAI of Programming with Function of Automatic Reasoning
    XiongWanZuo ·Jiangxi Normal University ·2003 ·Master's thesis
  17. Research on ICAI Environment of Programming Based on J2EE
    HuQiMin ·Jiangxi Normal University ·2003 ·Master's thesis
  18. APLA-Delphi Automatic Program Transformation System with Generic Programming Surpported
    ZhouZuo ·Jiangxi Normal University ·2003 ·Master's thesis
  19. Research on the Parallel and Concurrent Mechanism of Apla-Java Reusable Components
    JieAnQuan ·Jiangxi Normal University ·2003 ·Master's thesis
  20. The Research and Application of New Strategies for Developing Loop Invariants on Recursive Problem
    YangQingHong ·Jiangxi Normal University ·2003 ·Master's thesis