The Research and Application of New Strategies for Developing Loop Invariants on Recursive Problem

Author
YangQingHong
Advisor
XueJinYun
School
Jiangxi Normal University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2003
Downloads
119
Citations
3

Request the full text

Abstract

Software formalization is to improve software reliability and production efficiency, effective way for software automation. Loop invariant software formal methods occupies a very important position, it is the understanding of the basis of proof and derivation algorithm and key. Algorithm and program design books and teaching materials are widely used the loop invariant concepts and techniques. The loop invariant theory and development of technology, however, is still not complete, which directly affects the loop invariant to play a role in the formal development of the algorithm program, leading to a large number of complex algorithm derivation and proof of the lack of convincing, makes a lot of The computer scientists actively advocate of the famous Dijkstra, Hoare and Gries computer scientists algorithm formal development method feasibility and practicality doubt. In order to overcome the existing loop invariant developed technology limitations, Professor Xue Jinyun study in two National Natural Science Foundation of certain new algorithm design and proven methods and practical software formal methods and their development tools research funding, a systematic study of the loop invariant theory and methods, loop invariant new definitions and new development strategy, and formed on the basis of a practical algorithm formal development method (PAR method) and its development environment, has played an important role in the complex algorithm and software formal development. This article is a the PAR method of research and its development environment to continue, but also Xue Jinyun the auspices of the National Natural Science Foundation of commitment \The main objective of this study is the use of recursive definition proposed in the new strategy of developing loop invariant Professor Xue thinking, explore a class of recursively defined loop invariant development, and applied to a complex algorithm involving a combination of data structures Formal Reasoning and proof. The specific research results are as follows: 1. Further in-depth study of the status and role of the loop invariant algorithm formal methods; 2. Analysis and comparison of the existing loop invariant development technology, analyzes the difficult practical reasons; Based on the the recursive definition ideological the existing loop invariants development technology, develop complex recursive loop invariant two new strategies; 4. Abstract programming language the Apla accurately described six typical tree diagram program statute and algorithm program, developed a new strategy mentioned two loop invariant, strictly formal derivation or proof the PAR method algorithm program will be automatically converted Apla algorithm to convert into the corresponding Delphi and C <sup> </ sup> program are to obtain the correct run results significantly improve complex algorithms such procedures the reliability and efficiency of the development. In summary, the results obtained in this study can be applied to a class of complex algorithm formal derivation and proof, the method is simple and convenient, made a useful contribution to the formalization and automation algorithm design.

Table of contents

Chapter Introduction are found ; the 5-16 1.1 Background 5-6 1.2 research the 6-7 1.3 Preliminaries 7-16 Chapter II loop invariant algorithm formal methods 16-23 2.1 by cyclic invariant understand the algorithm program 16-17 2.2 loop invariant proof algorithm 17-18 loop invariant form 2.3 derivation algorithm program 18-23 Chapter cycle does not analysis and discussion of the variant existing development techniques are found ; 23-35 3.1 standard loop invariant development strategy 23-27 3.1.1 delete rear assertions in the aggregate take the component the 23-24 3.1.2 replace rear assertion constant for the variable the rear 24-25 3.1.3 expand the range of variables assertion is 25-26 3.1.4 joint pre- assertion and rear assertion the 26-27 3.1.5 standard loop invariant development strategy discussions 27 < br /> 3.2 state migration theory 27-28 3.3 loop invariant dynamic discovery technology 28 3.4 loop invariants new definition and development of new strategies 28-35 3.4.1 on loop invariants new definition 29 3.4.2 development of loop invariants new strategy 29-35 < br / > the fourth chapter recursive problems loop invariant development research and application of new strategies 35-56 4.1 recursive problems the loop invariant existing development technology 35-37 4.2 recursive loop invariant developed one of the new strategy 37-42 4.3 recursive problems loop invariants to develop new strategies 42-56 4.3.1 utilize strategy 4.2 solving tree transform the original data structure , Figure recursive problem the 43-48 4.3.2 use of strategy 4.2 solving the original data structure tree attributes judge , Figure recursive problem 48-52 4.3.3 using strategy 4.2 solving the order of the elements to manage irregular linear table recursive 52-56 Chapter Summary 56-57 References 57-60 Acknowledgements 60

Related dissertations

  1. The Research of Developing Algorithmic Program Based on PAR Method
    WangSen ·Jiangxi Normal University ·2004 ·Master's thesis
  2. The Analysis of Isabelle Theorem Prover and Its Application in PAR Method/PAR Platform
    YouZhen ·Jiangxi Normal University ·2009 ·Master's thesis
  3. The Applied Research of PAR Method in Numerical Methods
    YangShuQun ·Jiangxi Normal University ·2003 ·Master's thesis
  4. Development of APLA to C++ Automatic Program Transformation System
    LaiYong ·Jiangxi Normal University ·2002 ·Master's thesis
  5. Research on Loop Invariant Development Technology
    WanSongSong ·Jiangxi 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. Study on Formal Methods of Networked Software Requirements Verification
    LiuYang ·University of Electronic Science and Technology ·2013 ·Doctoral dissertation
  8. Modeling and Analysis of Embedded Periodic Control Systems
    WangZheng ·East China Normal University ·2012 ·Doctoral dissertation
  9. Research and Design on Key Technologies of Communication Networks of Automated Warehouse
    XieFei ·Lanzhou Jiaotong University ·2012 ·Master's thesis
  10. Real-time Analysis and Verrification of Real-Time Cyber Physical Systems
    LiuHui ·Guangdong University of Technology ·2012 ·Master's thesis
  11. Modeling and Verification of Cyber Physical Systems Based on Formal Method
    LiuQiuJin ·Guangdong University of Technology ·2012 ·Master's thesis
  12. The Research Form UML Modeling to Z Formal Specification
    JieFang ·Taiyuan University of Technology ·2013 ·Master's thesis
  13. Formalizing Hybrid Systems Using Event-B:Theory and Practice
    SuZuo ·East China Normal University ·2013 ·Doctoral dissertation
  14. Research on Generation of Loop Invariants
    LiuZiHeng ·Nanjing University ·2012 ·Master's thesis
  15. The Research of Several Key Techs on File Transfer Based on Petri Net
    ZhouTao ·West China University ·2013 ·Master's thesis
  16. Researches on Role-based Middleware in Wireless Sensor Network
    GuChuanLi ·Hunan University ·2011 ·Master's thesis
  17. The design and Realization of the system analysis of electric power fault based on Petri net
    YangZuo ·Fudan University ·2011 ·Master's thesis
  18. Formal Description and Verification of Railway Interlocking Safety Specification
    ZhangYue ·Beijing Jiaotong University ·2013 ·Master's thesis
  19. UAV flight control system design and Realization of interface information processing system
  20. Research on Probabilistic Model Checking of the PDGF Signaling Pathway
    YuanQiXia ·Shandong University ·2012 ·Master's thesis