Cartesian Operator Automatic Refinement Research and Implementation in Z Specification

Author
WenXin
Advisor
WangHongSheng
School
Shenyang University of Technology
Major
Computer Applications
Classification
TP301.6 Algorithm Theory
Degree
Master's thesis
Year
2006
Downloads
23
Citations
0

Request the full text

Abstract

Z is the present most widespread a kind of form specification language. It takes the first order logic and the set theory as its form semantics foundation, having precise and concise characteristic. It mainly uses in the software demand stage, abandoning using the natural language description demand the fuzziness and the ambiguity. But because Z specification itself lacks one entire set of complete translation environment, the development is slower, in view of the fact that Z to the high-level program language automatic transformation thought is proposed. This paper mainly is automatic refinement of cartesian operator in set theory.The paper has included following several aspects: First study Z each kind of data type and their some relations. Next summary the Z specification grammars, form a Z subset, we called them as Smart Z. After transforms them the EBNF grammars and unambiguous SINS charts, we may write the corresponding procedure according to every chart. This article mainly studied cartesian operator the data refinement and the process refinement, cartesian essentially is a set of the ordered pair which every element of n sets is composed , so data refinement is transformed in C++ the record type, the process data refinement has used the C++ template and the STL technology, First the template which two and even many sets formed cartesion has compiled, next formulated two cartesion intersection, union and difference the refinement rules. Finally design Z to C compiler , output each kind of word and its code value in Z lexical analysis, leave corresponding wrong processing after the Z grammar analysis, finally through refinement rule to transform the C++ procedure code.Z specification to higher program language automatic transformation though is proposed, realize from the complete formal specification to the code automaticlly transformation .It will speed up Z widespread promotion in the industrial area., also will speed up the speed which the software development.

Table of contents

Summary 5-6 Abstract 6-10 1 Introduction research background 10-13 1.1 10-11 < br /> 1.1.1 Formal Methods 10 1.1.2 formal specification language to 10-11 Z 1.2 Development Status 11-12 1.3 the significance of the subject and task 12-13 2 Z Specification Summary 13-20 2.1 Z mode 13-14 2.2 Z language Symbol Description 2.3 Z 14 basic data types 14-17 2.3.1 basic types 14 2.3. 2 composite type 14-17 2.4 Z specification constructor 17-20 2.4.1 Z specification structure 17-18 2.4 .2 to write Z specification steps 18-20 Z grammar analysis 20-31 3.1 the EBNF Introduction 20-21 3.2 Z into the EBNF 21-24 3.3 EBNF syntax diagram into 24-25 3.4 syntax diagram of SI-NS rules convert 25 - 31 4 Z specifications automatic refinement 31-43 4.1 software refinement of the concept 31 4.2 software refinement process 31 - 32 4.3 refinement to meet the conditions 32-33 4.4 Cartesian product refinement 33-43 4.4.1 Cartesian product 33 4.4.2 Cartesian product data refinement a process refinement nbsp 33-34 4.4.3 Cartesian product; 34-43 Z Specifications automatic refinement system design 43-58 5.1 Z to C automatic refinement steps 43-48 5.1.1 lexical analysis are found; 43-44 < br /> 5.1.2 Parsing the 44-46 5.1.3 semantic analysis 46 5.1.4 object code generated 46 5.1 .5 symbol table organization 46-47 5.1.6 error processing 47-48 5.2 Z to C Auto refinement to achieve 48-58 < br /> 5.2.1 lexical analysis the 48-52 5.2.2 parsing the 52-55 5.2.3 Semantic analysis 55-57 <br / > 5.2.4 error handling 57-58 Z specification refinement automatically instance 58-64 6.1 lexical analysis 60-61 6.2 parsing 61 6.3 object code generation the 61-64 7 conclusions 64-65 Reference 65-69 Appendix AZ grammar SI-NS Figure 69-71 papers published during the study period 71-72 Acknowledgements 72

Related dissertations

  1. Set Theory Operator Automatic Refinement Research and Implementation in Z Specification
    LiWeiWei ·Shenyang University of Technology ·2005 ·Master's thesis
  2. The Research of Triangulation Mesh in Surface Domain
    WangBing ·Xiangtan University ·2013 ·Master's thesis
  3. Improvement and Development of Bosch Production System
    GaoLin ·Suzhou University ·2013 ·Master's thesis
  4. Merging Feature For JPEG Image Universal Steganalysis
    QuZuo ·Dalian University of Technology ·2012 ·Master's thesis
  5. Research of Virtual Product Design Based on FreeForm
    LiuLi ·RAILWAY ·2013 ·Master's thesis
  6. Research on Algorithm of3D Anti-collision Detection Based on Multi-axis CNC Milling Machine
    FengZhangJie ·Wuhan University of Technology ·2012 ·Master's thesis
  7. Research and Realization on the Remote Regeneration Technology of NC Machining 3D Scene
  8. Research on the Slicing Technology in Rapid Prototyping and Manufacturing
    PanHaiPeng ·Nanchang University ·2007 ·Doctoral dissertation
  9. Research on Key Method and Application of Visualization for the Complex Geometries Physical Field Based on Adaptive Layered Method
    WuPeiNing ·Zhejiang University ·2006 ·Doctoral dissertation
  10. Study on Internet Based Cartographic Symbolization
    LiJinPing ·Institute of Remote Sensing Applications ·2003 ·Doctoral dissertation
  11. Behavioral model based on evolutionary computation automatically refine and sort of learning methods
    WangShuaiQiang ·Shandong University ·2009 ·Doctoral dissertation
  12. A Study on Adaptive Surface Mesh Generation
    LiangYi ·Zhejiang University ·2009 ·Doctoral dissertation
  13. RP Software System Development Based on Component Technique
  14. Research on the Segmentation Methods of Dental Digital Model
  15. Research on STL Based CutCell Cartesian Grid Generation Algorithm and Its Application
  16. How Does God Change into Human Being?
    DuJuan ·Shaanxi Normal University ·2007 ·Master's thesis
  17. Universal relay logic development platform
  18. Relation and Function Mapping from Z Specification to C++STL
    YuYunHe ·Shenyang University of Technology ·2007 ·Master's thesis
  19. Research and Realization of Automatism Refinement of List and Bag in the Z Specification
    GuLi ·Shenyang University of Technology ·2007 ·Master's thesis
  20. About the Research of the Method of Reducing Artifacts and Parallel Imaging Algorithm in MRI
    ZhangTingFang ·Hebei University of Technology ·2006 ·Master's thesis