Abstract
This paper describes a refinement tool we are developing, with special emphasis on the use of tactics. The operation of the tool is illustrated by stepping through the derivation of a selection sort algorithm. Several aspects of the tool and its implementation are then discussed in more detail, stressing the way in which the tool assists the user in deriving programs using the refinement calculus.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
J.-R. Abrial, S. T. Davies, M. K. O. Lee, D. S. Neilson, P. N. Scharbach and I. H. Sorensen, The B Method, BP Research, Sunbury Research Centre, U.K., 1991.
R. J. R. Back, “A Calculus of Refinements for Program Derivations”, Acta Informatica, 25: 593–624, 1988.
R. J. R. Back, “Refinement Diagrams”, Proceedings Fourth Refinement Workshop, Cambridge, 9–11 January, 1991, British Computer Society.
R. J. R. Back and J. von Wright, “Refinement Concepts Formalised in Higher Order Logic”, Formal Aspects of Computing, 2: 247–272, 1990.
F. L. Bauer et al. (The CIP Language Group), The Munich Project CIP, Volume I: The Wide Spectrum Language CIP-L, Springer-Verlag, Lecture Notes in Computer Science 183, 1985.
F. L. Bauer et al. (The CIP System Group), The Munich Project CIP, Volume II: The Program Transformation System CIP-S, Springer-Verlag, Lecture Notes in Computer Science 292, 1987.
Mats Carlsson and Johan Widén, SICStus Prolog User’s Manual,Swedish Institute of Computer Science, 1988.
D. A. Carrington and K. A. Robinson, “Tool Support for the Refinement Calculus”, Computer Aided Verification Workshop, New Jersey, June 1990.
R. L. Constable et al., Implementing Mathematics with the Nuprl Proof Development System,Prentice-Hall, 1986.
E. W. Dijkstra, “A Constructive Approach to the Problem of Program Correctness”, BIT, 8 (3): 181–185, 1969.
E. W. Dijkstra, A Discipline of Programming, Academic Press, 1976.
Geoff Dromey, Program Derivation: The Development of Programs from Specifications,Addison-Wesley, 1989.
Mireille Ducassé and Anna-Maria Emde, “OPIUM: A Debugging Environment for Prolog Development and Debugging Research”, ACM Software Engineering Notes, 16 (2): 67–72, April 1991.
R. W. Floyd, Towards Interactive Design of Correct Programs, Technical Report CS-235, Stanford University, September 1971.
David Gries, The Science of Programming,Springer-Verlag, 1981.
L. J. Groves and R. G. Nickson, Towards a Program Derivation Editor, Technical Report, Department of Computer Science, Victoria University of Wellington, 1988.
C. B. Jones, K.D. Jones, P.A. Lindsay and R. Moore, mural: A Formal Development Support System, Springer-Verlag, 1991.
Anne Kaldewaij, Programming: The Derivation of Algorithms,Prentice-Hall, 1990.
Ted Kim, XWIP Reference Manual, University of California, Los Angeles, 1989.
Carroll Morgan and Ken Robinson, “Specification Statements and Refinement”, IBM Journal of Research and Development, 31 (5): 546–555, September 1987.
Carroll Morgan, “Types and Invariants in the Refinement Calculus”, in Mathematics of Program Construction,J. L. A. van de Snepscheut (Ed.), Springer Verlag, Lecture Notes in Computer Science 375, 1989, pp 363–378.
Carroll Morgan, Programming from Specification,Prentice-Hall, 1990.
Carroll Morgan and Paul Gardiner, “Data Refinement by Calculation”, Acta Informatica, 27: 481–503, 1990.
Joseph M. Morris, “A Theoretical Basis for Stepwise Refinement and the Programming Calculus”, Science of Computer Programming, 9: 287–306, 1987.
M. Neilson, K. Havelund, K. R. Wagner and E. Saaman, “The RAISE Language, Method and Tools”, Formal Aspects of Computing, 1: 85–114, 1989.
H. Partsch and R. Steinbrüggen, “Program Transformation Systems”, ACM Computing Surveys, 15: 199–236, 1983.
L. C. Paulson, Logic and Computation: Interactive Proof with Cambridge LCF, Cambridge University Press, 1987.
Brian Ritchie and Paul Taylor, The Interactive Proof Editor: An Experiment in Interactive Theorem (sic), Technical Report LFCS-88–61, University of Edinburgh, July, 1988.
Robert W. Scheifler and Jim Gettys, “The X Win- dow System”, ACM Transactions on Graphics, 5 (2): 79–109, April 1986.
T. Vickers, “An Overview of a Refinement Editor”, 5th Aus-tralian Software Engineering Conference,May 1990, Sydney, pp. 39–44.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1992 Springer-Verlag London
About this paper
Cite this paper
Groves, L., Nickson, R., Utting, M. (1992). A Tactic Driven Refinement Tool. In: Jones, C.B., Shaw, R.C., Denvir, T. (eds) 5th Refinement Workshop. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3550-0_14
Download citation
DOI: https://doi.org/10.1007/978-1-4471-3550-0_14
Publisher Name: Springer, London
Print ISBN: 978-3-540-19752-2
Online ISBN: 978-1-4471-3550-0
eBook Packages: Springer Book Archive