Generic Tools via General Refinement

被引:0
|
作者
Reeves, Steve [1 ]
Streader, David [1 ]
机构
[1] Univ Waikato, Dept Comp Sci, Hamilton, New Zealand
关键词
basis for tools; refinement; theory morphism; flexible refinement;
D O I
10.1016/j.entcs.2008.03.093
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Tools have become essential in the formal model-driven development of software but are very time consuming to build and often restricted to a particular semantic interpretation of a particular syntax. This is regrettable since there is large amount in common between tools, even if they do "implement" different syntaxes and different semantics. We propose splitting tools into front-and back-ends where an operational semantics acts as the link between the two. We will not have much to say about the front-end and the link in this paper since it is theoretically straightforward. Instead, we concentrate on the second part and provide a well-motivated, general, mathematical framework to form the underlying theory that gives great flexibility to the back-end of a tool which is concerned with developing software via stepwise refinement. From a general model of refinement between two entities, where the refinement is parameterised on contexts and observations, we build logical theories which have refinement as implication. Further, we consider what can be expected of a guarantee concerning the behaviour of an implementation relative to a specification. Then by fixing the contexts and observations in suitable ways, and so getting particular, special models of refinement, we give a formal interpretation of a guarantee. To this we add theory morphisms between special models, where a theory morphism can change the contexts and observations we can make in controlled and useful ways, mainly by preserving a refinement relation between entities even as we change them. We show how the generality brought about by the parameterisation allows an example from the literature, which seems formally not to be a refinement, to be captured as a refinement, in accordance with our intuitions about the example. In this way we show the flexibility of our theory for a refinement tool back-end. From this it follows that the effort put into building a tool based on our theory will be well-spent-a single tool should be parameterised (just as our theory is) to deal with the many different notions of refinement found in the literature. Thus we make a contribution to the problem of ensuring correctness and dependability of software using formal methods and tools of modelling, design, verification and validation.
引用
收藏
页码:187 / 202
页数:16
相关论文
共 50 条
  • [1] REFINEMENT OF THE PROCESSUAL GENERIC MODEL
    Sukniak, Anna Kurik
    Jirotkova, Darina
    INTERNATIONAL SYMPOSIUM ELEMENTARY MATHEMATICS TEACHING: BROADENING EXPERIENCES IN ELEMENTARY SCHOOL MATHEMATICS, 2021, : 448 - 450
  • [2] Experiences with a generic refinement toolkit
    Boswell, R
    Craw, S
    KNOWLEDGE ENGINEERING AND KNOWLEDGE MANAGEMENT, PROCEEDINGS: METHODS, MODELS, AND TOOLS, 2000, 1937 : 249 - 256
  • [3] Knowledge modelling for a generic refinement framework
    Sch. of Comp. and Math. Sciences, Robert Gordon Univ., St Andrew S., Aberdeen, United Kingdom
    Knowl Based Syst, 5-6 (317-325):
  • [4] Knowledge modelling for a generic refinement framework
    Boswell, R
    Craw, S
    KNOWLEDGE-BASED SYSTEMS, 1999, 12 (5-6) : 317 - 325
  • [5] A generic theorem prover of CSP refinement
    Isobe, Y
    Roggenbach, M
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2005, 3440 : 108 - 123
  • [6] Crystals: Refinement and Validation Tools
    Watkin, David J.
    Cooper, Richard I.
    Thompson, Amber L.
    ACTA CRYSTALLOGRAPHICA A-FOUNDATION AND ADVANCES, 2009, 65 : S314 - S314
  • [7] Modal Tools for Separation and Refinement
    Struth, Georg
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 214 : 81 - 101
  • [8] General Refinement, Part Two: Flexible Refinement
    Reeves, Steve
    Streader, David
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2008, 214 (309-329) : 309 - 329
  • [9] Global context, generic tools
    Reid, SWJ
    Menzies, F
    PREVENTIVE VETERINARY MEDICINE, 2003, 60 (01) : 1 - 1
  • [10] Refinement of the general form of the two-point quadrature formulas via convexity
    Benchettah, D. C.
    Lakhdari, A.
    Meftah, B.
    JOURNAL OF APPLIED MATHEMATICS STATISTICS AND INFORMATICS, 2023, 19 (01) : 93 - 101