Issues in validation and executability of formal specifications in the Z notation

The work considers issues in the execution of the Z notation in a logic programming language. A subset of Z which is capable of being animated is identified, together with the necessary theoretical foundations for the relationship of Z to its executable form. The thesis also addresses the transition...

Full description

Bibliographic Details
Main Author: West, Margaret Mary
Other Authors: Birtwistle, G. M.
Published: University of Leeds 2002
Subjects:
Online Access:http://ethos.bl.uk/OrderDetails.do?uin=uk.bl.ethos.529165
id ndltd-bl.uk-oai-ethos.bl.uk-529165
record_format oai_dc
spelling ndltd-bl.uk-oai-ethos.bl.uk-5291652017-10-04T03:34:56ZIssues in validation and executability of formal specifications in the Z notationWest, Margaret MaryBirtwistle, G. M.2002The work considers issues in the execution of the Z notation in a logic programming language. A subset of Z which is capable of being animated is identified, together with the necessary theoretical foundations for the relationship of Z to its executable form. The thesis also addresses the transition from research results to potentially useful tools. The thesis has 4 major parts: Tools Survey: A survey of tools which support the animation of Z is presented and the advantages (and disadvantages) to be gained from an animating system which uses a logic programming language are discussed. Requirements, particularly correctness, are described and discussed and weaknesses in the current tools are identified. Correctness - Program Synthesis: If a program can be deduced directly from the specification, then it is partially correct with respect to the specification. This method of obtaining a program from a specification is one form of logic programming synthesis. We examine such formal links between a specification (in Z) and an executable form and also some translation techniques for synthesising a logic program from a Z specification. The techniques are illustrated by examples which reveal important shortcomings. Translation Rules to Godel: New techniques for the animation of Z utilising the Godel logic programming language are presented which circumvent these shortcomings. The techniques are realised via translation rules known as structure simulation . Two substantial case studies are examined as proof of concept. These indicate both the coverage of the Z notation by structure simulation and the practicality of the rules. Correctness - Abstract Approximation: Published criteria for correctness of an animation are compared and contrasted with the method of Abstract Interpretation (AI). In AI a concrete semantics is related to an approximate one that explicitly exhibits an underlying structure present in the richer concrete structure. In our case, the concrete semantics is Z associated with ZF set theory . The approximate semantics of the execution are the outputs of Z. The criteria are applied to a logic programming language (the original w as applied to a functional language). Formal arguments are presented which show that the structure simulation rules obey the criteria for correctness. Finally, areas of work which had been omitted by the original authors are presented explicitly.004.01University of Leedshttp://ethos.bl.uk/OrderDetails.do?uin=uk.bl.ethos.529165http://etheses.whiterose.ac.uk/1305/Electronic Thesis or Dissertation
collection NDLTD
sources NDLTD
topic 004.01
spellingShingle 004.01
West, Margaret Mary
Issues in validation and executability of formal specifications in the Z notation
description The work considers issues in the execution of the Z notation in a logic programming language. A subset of Z which is capable of being animated is identified, together with the necessary theoretical foundations for the relationship of Z to its executable form. The thesis also addresses the transition from research results to potentially useful tools. The thesis has 4 major parts: Tools Survey: A survey of tools which support the animation of Z is presented and the advantages (and disadvantages) to be gained from an animating system which uses a logic programming language are discussed. Requirements, particularly correctness, are described and discussed and weaknesses in the current tools are identified. Correctness - Program Synthesis: If a program can be deduced directly from the specification, then it is partially correct with respect to the specification. This method of obtaining a program from a specification is one form of logic programming synthesis. We examine such formal links between a specification (in Z) and an executable form and also some translation techniques for synthesising a logic program from a Z specification. The techniques are illustrated by examples which reveal important shortcomings. Translation Rules to Godel: New techniques for the animation of Z utilising the Godel logic programming language are presented which circumvent these shortcomings. The techniques are realised via translation rules known as structure simulation . Two substantial case studies are examined as proof of concept. These indicate both the coverage of the Z notation by structure simulation and the practicality of the rules. Correctness - Abstract Approximation: Published criteria for correctness of an animation are compared and contrasted with the method of Abstract Interpretation (AI). In AI a concrete semantics is related to an approximate one that explicitly exhibits an underlying structure present in the richer concrete structure. In our case, the concrete semantics is Z associated with ZF set theory . The approximate semantics of the execution are the outputs of Z. The criteria are applied to a logic programming language (the original w as applied to a functional language). Formal arguments are presented which show that the structure simulation rules obey the criteria for correctness. Finally, areas of work which had been omitted by the original authors are presented explicitly.
author2 Birtwistle, G. M.
author_facet Birtwistle, G. M.
West, Margaret Mary
author West, Margaret Mary
author_sort West, Margaret Mary
title Issues in validation and executability of formal specifications in the Z notation
title_short Issues in validation and executability of formal specifications in the Z notation
title_full Issues in validation and executability of formal specifications in the Z notation
title_fullStr Issues in validation and executability of formal specifications in the Z notation
title_full_unstemmed Issues in validation and executability of formal specifications in the Z notation
title_sort issues in validation and executability of formal specifications in the z notation
publisher University of Leeds
publishDate 2002
url http://ethos.bl.uk/OrderDetails.do?uin=uk.bl.ethos.529165
work_keys_str_mv AT westmargaretmary issuesinvalidationandexecutabilityofformalspecificationsintheznotation
_version_ 1718545107944210432