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

Request the full text

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

  1. Research on the Refined Management of Tax Inspection
    ShaoYanRen ·Nanjing Agricultural College ·2013 ·Master's thesis
  2. Elaborate Spatial Distribution of Precipitation in Quanzhou and Analysis of Relationships between Precipitation and Terrain
  3. Research on Safety Verification Techniques for Logic Control
    TianFengQi ·Northeastern University ·2010 ·Master's thesis
  4. Formal Analysis and Research of Rudp Protocol
    ZhaoFuKui ·Shandong University ·2013 ·Master's thesis
  5. Process Calculus with Data Structure and Its Model Checking Algorithm
  6. On Algebraic Theory of Automata
    TianJing ·Northwestern University ·2012 ·Doctoral dissertation
  7. Some Topological Characterizations of Fuzzy Finite Automata and Automata Based on Quantum Logic
    FengNa ·Sichuan Normal University ·2012 ·Master's thesis
  8. Study of Transformation from UML2.0Sequence Diagram to Event Deterministic Finite Automata
  9. Research on Public Key Cryptographic Algorithm Recognition Technology
  10. The Research on Operating Specifications for Double-action and Two Plans under New Standard of Geography for Senior High School
    WuRiNa ·Inner Mongolia Normal ·2013 ·Master's thesis
  11. The Research on Specifications of Our Government’s" Three Public " Consumptions
    LiuXinKai ·Tianjin Normal University ·2012 ·Master's thesis
  12. Researches into Application of Logic in Computer Science
    CheFuCui ·Yanshan University ·2011 ·Master's thesis
  13. Inspirational drama creation mode in Japan as the research samples of inspirational drama
    YanMi ·Shanghai Theatrical Institute ·2012 ·Master's thesis
  14. The Study of Mainstream Newspapers’ Lettered-words Which Used on the Present Situation in China
    WangChao ·Ningbo University ·2012 ·Master's thesis
  15. Design and Implementation of Visualization System for Summer Maize Individual
    WangJuCai ·Henan Agricultural University ·2012 ·Master's thesis
  16. Design and Development of General Interpreter Program for CNC System Base on Automation Theroy
    ChengShen ·Shanghai Jiaotong University ·2009 ·Master's thesis
  17. The Research on Extraction, Reifning, and Application of Grape Seed Oil
    ZhaoZuoRong ·Xinjiang University ·2013 ·Master's thesis
  18. Study on Enzymatic Preparation of Heparin Sodium Critical Technolorigy
    XuJunTao ·Henan Agricultural University ·2012 ·Master's thesis
  19. Research on Intelligent Fine-grained Software Rejuvenation Policy and Related Techniques
  20. Research on Key Techniques of Web Services Composition
    ShiYuLiang ·Fudan University ·2006 ·Doctoral dissertation