Abstract
Module constructs in programming languages have protection mechanisms hindering unauthorised external access to internal operators of data types. In some cases, granting external access to internal operators would result in serious violation of a data type’s specified external properties. In order to reason consistently about specifications of such data types, it is necessary in general to incorporate a notion of protective abstraction barrier in proof strategies as well. We show how this can be done in equational calculus by simply restricting the congruence axiom, and see how the motivation for this naturally arises from FI and FRI approaches to specification refinement.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
M. Bidoit, D. Sannella, and A. Tarlecki. Behavioural encapsulation. CoFI Language Design Study Note, 1996. Available at ftp://ftp.brics.dk/Projects/CoFI/StudyNotes/Lang/MB+DTS+AT-1.ps.Z.
M.V. Cengarle. Formal Specification with Higher-Order Parameterization. PhD thesis, Fakultät für Mathematik, LMU, München, 1994.
O.-J. Dahl and O. Owe. Formal development with ABEL. Forskningsraport 552, Institutt for informatikk, Universitetet i Oslo, 1991.
H. Ehrig, H.-J. Kreowski, B. Mahr, and P. Padawitz. Algebraic implementation of abstract data types. Theoretical Computer Science, 20:209–263, 1982.
J. Farrés-Casals. Verification in ASL and Related Specification Languages, Report CST-92-92. PhD thesis, Dept. of Computer Science, University of Edinburgh, 1992.
J.E. Hannay. Referential opacity in equational reasoning. Tech. rep. ECS-LFCS-98-398, LFCS, Division of Informatics, Univ. of Edinburgh, 1998.
R. Hennicker. Structured specifications with behavioural operators: Semantics, proof methods and applications. Habilitationsschrift, Inst. für Informatik, LMU, München, 1997.
M. Hofmann. Extensional Concepts in Intensional Type Theory, Report CST-117-95 and Tech. Report ECS-LFCS-95-327. PhD thesis, Dept. of Computer Science, University of Edinburgh, 1995.
M. Hofmann and D. Sannella. On behavioural abstraction and behavioural satisfaction in higher-order logic. Theoretical Computer Science, 167:3–45, 1996.
C. Morgan. Programming from Specifications, 2nd ed. Prentice Hall International Series in Computer Science; C.A.R. Hoare, Series Editor. Prentice-Hall, UK, 1994.
X. Qian and A. Goldberg. Referential opacity in nondeterministic data re_nement. ACM LoPLaS, 2(1–4):233–241, 1993.
D. Sannella. Formal development in extended ML. In Proc. 3rd BCS/FACS Workshop on Refinement, pages 99–130, Hursley Park, 1991. Springer Workshops in Computing.
D. Sannella and A. Tarlecki. Toward formal development of programs from algebraic specifications: implementations revisited. Acta Inform., 25(3):233–281, 1988.
D. Sannella and A. Tarlecki. Essential concepts of algebraic specification and program development. Formal Aspects of Computing, 9:229–269, 1997.
O. Schoett. Data Abstraction and the Correctness of Modular Programming. PhD thesis, University of Edinburgh, 1986.
H. Søndergaard and P. Sestoft. Referential transparency, definiteness and unfoldability. Acta Inform., 27(6):505–517, 1990.
A.S. Troelstra and D. van Dalen. Constructivism in Mathematics, An Introduc-tion, volume 121 of Studies in Logic and The Foundations of Mathematics. North Holland, 1988.
M. Wirsing. Algebraic specification. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, chapter 13, pages 675–788. Elsevier, 1990.
M. Wirsing. Structured specifications: Syntax, semantics and proof calculus. In F.L. Bauer, W. Brauer, and H. Schwichtenberg, editors, Logic and Algebra of Specification, Intl. Summer School Marktoberdorf, NATO ASI Series F, pages 411–442. Springer, 1993.
M. Wirsing. Algebraic Specification Languages: An Overview. In E. Astesiano, G. Reggio, and A. Tarlecki, editors, Recent Trends in Data Type Specification, LNCS, pages 81–115. Springer, 1994.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1998 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Hannay, J.E. (1998). Abstraction Barriers in Equational Proof. In: Haeberer, A.M. (eds) Algebraic Methodology and Software Technology. AMAST 1999. Lecture Notes in Computer Science, vol 1548. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-49253-4_16
Download citation
DOI: https://doi.org/10.1007/3-540-49253-4_16
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-65462-9
Online ISBN: 978-3-540-49253-5
eBook Packages: Springer Book Archive