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
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
- The Research of Developing Algorithmic Program Based on PAR Method
- The Analysis of Isabelle Theorem Prover and Its Application in PAR Method/PAR Platform
- The Applied Research of PAR Method in Numerical Methods
- Development of APLA to C++ Automatic Program Transformation System
- Research on Loop Invariant Development Technology
- The Application and Research of PAR Platform in Software Outsourcing Services
- Study on Formal Methods of Networked Software Requirements Verification
- Modeling and Analysis of Embedded Periodic Control Systems
- Research and Design on Key Technologies of Communication Networks of Automated Warehouse
- Real-time Analysis and Verrification of Real-Time Cyber Physical Systems
- Modeling and Verification of Cyber Physical Systems Based on Formal Method
- The Research Form UML Modeling to Z Formal Specification
- Formalizing Hybrid Systems Using Event-B:Theory and Practice
- Research on Generation of Loop Invariants
- The Research of Several Key Techs on File Transfer Based on Petri Net
- Researches on Role-based Middleware in Wireless Sensor Network
- The design and Realization of the system analysis of electric power fault based on Petri net
- Formal Description and Verification of Railway Interlocking Safety Specification
- UAV flight control system design and Realization of interface information processing system
- Research on Probabilistic Model Checking of the PDGF Signaling Pathway