DocumentCode :
1224591
Title :
Invariants, frames and postconditions: a comparison of the VDM and B notations
Author :
Bicarregui, Juan ; Ritchie, Brian
Author_Institution :
Dept. of Inf., Rutherford Appleton Lab., Chilton, UK
Volume :
21
Issue :
2
fYear :
1995
fDate :
2/1/1995 12:00:00 AM
Firstpage :
79
Lastpage :
89
Abstract :
VDM and B are two “model-oriented” formal methods. Each gives a notation for the specification of systems as state machines in terms of a set of states with operations defined as relations on that set. Each has a notion of refinement of data and operations based on the principles of reduction of nondeterminism and increase in definedness. The paper makes a comparison of the two notations through an example of a communications protocol previously formalized by G. Bruns and S. Anderson (1994). Two abstractions and two reifications of the original specification are given. Particular attention is paid to three areas where the notations differ: the use of postconditions that assume the invariant as opposed to postconditions that enforce it; the explicit “framing” of operations as opposed to the “minimal frame” approach; and the use of relational postconditions as opposed to generalized substitutions
Keywords :
Vienna development method; formal specification; protocols; specification languages; B notations; VDM; communications protocol; explicit framing; invariant; minimal frame; model-oriented formal methods; relational postconditions; specification; state machines; Carbon capture and storage; Data models; Design engineering; Embedded software; Formal specifications; Informatics; Microprocessors; Protocols; Safety;
fLanguage :
English
Journal_Title :
Software Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
0098-5589
Type :
jour
DOI :
10.1109/32.345824
Filename :
345824
Link To Document :
بازگشت