Re nement and State Machine
نویسندگان
چکیده
Most SVRC technical reports are available via anonymous ftp, from svrc.it.uq.edu.au in the directory /pub/techreports. Abstracts and compressed postscript les are available via Abstract Precise module interface speciications are essential in modular software development. The role of state in these speciications has been the issue of some debate and is central to the notion of data reenement. In previous work, Hooman and Strooper introduce a state-abstraction lattice that deenes a partial order on speciications for deterministic and complete languages. They use this lattice to deene a notion of state abstractness and show that this intuitive notion corresponds to the use of the terms \abstract" and \concrete" as used in data-reenement proofs. In this paper, we extend this work for a class of speciications and languages that we call demonic and semi-deterministic. We also introduce a notion of backward reenement and prove that backward reenement together with the common forward reenement of VDM and Z form a sound and complete reenement technique with respect to a partial order on languages deened by demonic speciications. We illustrate the ideas using simple languages and speciications.
منابع مشابه
Reasoning about Abstract State Machines: The WAM Case Study
This paper describes the rst half of the formal veri cation of a Prolog compiler with the KIV (\Karlsruhe Interactive Veri er") system. Our work is based on [BR95], where an operational Prolog semantics is de ned using the formalism of Gurevich Abstract State Machines, and then re ned in several steps to the Warren Abstract Machine (WAM). We de ne a general translation of sequential Abstract St...
متن کاملComposition and Re nement of Behavioral Speci cations
This paper presents a mechanizable framework for specifying, developing, and reasoning about complex systems. The framework combines features from algebraic speci cations, abstract state machines, and renement calculus, all couched in a categorical setting. In particular, we show how to extend algebraic speci cations to evolving speci cations (especs) in such a way that composition and re nemen...
متن کاملA Structured Presentation of a Closure-Based Compilation Method for a Scoping Notion in Logic Programming
We present a systematic reconstruction of a compilation method for an extension to logic programming that permits procedure de nitions to be given a scope. At a logical level, this possibility is realized by permitting implications to be embedded in goals. Program clauses that appear in the antecedents of such implications may contain variables that are bound by external quanti ers, leading to ...
متن کاملVeri cation of Compiler Correctness for the WAM
Relying on a derivation of the Warren Abstract Machine WAM by stepwise re nement of Prolog models by B orger and Rosen zweig we present a formalization of an operational semantics for Prolog Then we develop four re nement steps towards the Warren Abstract Machine WAM The correctness and completeness proofs for each step have been elaborated with the theorem prover Isabelle using the logic HOL
متن کاملTowards an Action Re nement
Reenement is the process of deriving speciications on a lower level of abstraction from those on a higher level. A reenement calculus for Abstract State Machines allowing to derive action speciications from another { preserving the semantics of the abstract speciication { will be outlined. Abstract state machines are rephrased as objects with local state. These objects are the structures in whi...
متن کاملConvergence Re nement
Re nement tools such as compilers do not necessarily preserve fault-tolerance. That is, given a fault-tolerant program in a high-level language as input, the output of a compiler in a lower-level language will not necessarily be fault-tolerant. In this paper, we identify a special class of re nement, namely \convergence re nement", that preserves the fault-tolerance property of stabilization. W...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000