Research and Implementation of the First Order Predicate Logic Operator Automatic Refinement in Z Specification
- Author
- WangXiaoLong
- Advisor
- WangHongSheng
- School
- Shenyang University of Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 71
- Citations
- 1
Abstract
With the rapid development of the computer industry , software development scale expanding , increasingly high requirements on the efficiency of software development and security , various development methods came into being . Z language as a software engineering languages ??and formal methods , standardized application software documentation with remarkable results. In recent years, the Z language at home and abroad is gradually increasing . Z language and other symbol systems is a significant feature of its specifications can be used for reasoning and refinement . Past this refinement process by done manually , it automatically refinement to achieve , but progress has been slow . Z specification refinement automatically purpose constraint Z language the computer can not be achieved or is not easy to achieve part of a subset of the Smart Z Z language design and standard C and STL as a tool , the use of compiler technology to achieve a Smart z specification of first-order logic operator refinement . Determine whether a computer can be done automatically refinement , depends critically on the ability to find the specification of the syntax , semantic algorithms . The syntax and semantics to achieve reducible to a solvable problem , and through this problem solvable algorithm running on a general-purpose computer model - the Turing machine , to prove that the specification refinement decidability . The Smart Z inherits the Z language the integer , collection and predicates , while ensuring its specifications rectifiable fine , and a set of formal methods - regular expressions and EBNF paradigm describes the language system . This article uses compiler technology Smart Z syntax analysis , semantic analysis and conversion to object code , in this article for the specifications described in its own characteristics , to improve the related algorithms to create conditions for the realization of the automatic refinement operator for first-order logic . Smart z -order logic operators , including quantifiers and conjunctions , etc. In this paper, the refinement algorithm , and an example to demonstrate the automatic refinement process of the specification and the logical operator . The final conclusion of this article Z specification is \make a meaningful attempt.
Table of contents
Abstract 5-6
Abstract 6-10
1 Introduction 10-16
1.1 subject background 10-14 <br / > 1.2 main research 14-15
1.3 research methods and steps 15-16
the Z language constraints and Smart Z decidability are found; 16-26
2.1 Z language features 16-17
2.2 constraints of the problem 17-18
2.3 Z language type constraints 18-23
2.3.1 atomic type constraints 18-19
2.3.2 power set of type constraints 19-20
2.3.3 collection of constraints and decidability 20-23
2.4 Z language predicate constraint 23-25 ??
2.4.1 predicate constraint decidability 23-25 ??<br / > 2.4.2 predicate mode scalability 25
2.5 Summary 25-26
the Smart Z the syntax Design 26-40
3.1 the Smart Z design method nbsp 26-30
3.1.1 formal language. describe methods; 26-27
3.1.2 lexical description regex 27 - 28
3.1.3 context-free grammars and EBNF a 28-30 3.2 Smart Z
lexical 30-32
3.2.1 alphabet 30
3.2.2 wordlist 30-32
3.3 Smart Z grammar Xiangjie 32-40
3.3.1 specification grammar 32-33
3.3.2 paragraph grammar the 33-34
3.3.3 expression grammar 34-37
3.3.4 predicate grammar 37-38 < br /> 3.3.5 the axiom and mode grammar 38-40
Semantic Analysis and Implementation of Smart Z the basic steps 40-56
4.1 specification refinement 40-41
4.2 lexical analysis 41-44
4.3 parsing 44-45
4.4 semantic analysis 45-48 <br / > 4.4.1 generate semantic tree 45-47
the 4.4.2 symbol table management 47-48
4.5 object code generated 48-50 <br / > the 4.5.1 main program entry 48
4.5.2 the STL collection implementations 48-49
the 4.5.3 target program generated 49-50
4.6 error handling 50
4.7 expression processing 50-56
4.7.1 expression of functional classification and parsing 50-53 < br /> 4.7.2 expression to Reverse Polish Notation conversion algorithm 53-56
first-order logic operator automatic refinement realization 56-63
5.1 a automatic refinement steps of the first-order logic operator 56-59
5.1.1 first-order logic operators target code generation 56-58
5.1.2 first-order logic operators sub-object code sequence 58-59
5.2 a model example of refinement nbsp the; 59-63
6 Conclusion nbsp a; 63-64
Reference 64-67
Appendix A Smart Z lexical 67-68 the
Appendix B Smart Z lexical DFA to grammar nbsp 68-69
Appendix C Smart Z ; 69-72
the outcome of the study, 72-73
Acknowledgements 73
Related dissertations
- Research on the Refined Management of Tax Inspection
- Elaborate Spatial Distribution of Precipitation in Quanzhou and Analysis of Relationships between Precipitation and Terrain
- Research on Safety Verification Techniques for Logic Control
- Formal Analysis and Research of Rudp Protocol
- Process Calculus with Data Structure and Its Model Checking Algorithm
- On Algebraic Theory of Automata
- Some Topological Characterizations of Fuzzy Finite Automata and Automata Based on Quantum Logic
- Study of Transformation from UML2.0Sequence Diagram to Event Deterministic Finite Automata
- Research on Public Key Cryptographic Algorithm Recognition Technology
- The Research on Operating Specifications for Double-action and Two Plans under New Standard of Geography for Senior High School
- The Research on Specifications of Our Government’s" Three Public " Consumptions
- Researches into Application of Logic in Computer Science
- Inspirational drama creation mode in Japan as the research samples of inspirational drama
- The Study of Mainstream Newspapers’ Lettered-words Which Used on the Present Situation in China
- Design and Implementation of Visualization System for Summer Maize Individual
- Design and Development of General Interpreter Program for CNC System Base on Automation Theroy
- The Research on Extraction, Reifning, and Application of Grape Seed Oil
- Study on Enzymatic Preparation of Heparin Sodium Critical Technolorigy
- Research on Intelligent Fine-grained Software Rejuvenation Policy and Related Techniques
- Research on Key Techniques of Web Services Composition