Abstract
This paper presents an alternative approach to loose specifications of parameterized data types. The specification language is full first-order logic, and the semantics is a particular class of functions, mapping parameter algebras to (parameter generated) target algebras. We investigate monomorphicity and correctness of parameterized first-order specifications, and present simple syntactic criteria for these notions. Furthermore, correctness of standard parameter passing is studied. We give a characterization as well as a simple sufficient criterion for specifications with correct parameter passing. Finally, the interaction between parameter passing and correctness of specifications is investigated: We present conditions under which actualization of parameterized specifications preserves the correctness of the constituent specifications.
This research was partly sponsored by the BMFT-project KORSO.
Preview
Unable to display preview. Download preview PDF.
References
Broy, M., Dosch, H., Partsch, H., Pepper, P., Wirsing, M., Existential Quantifiers in Abstract Data Types, Proc. 6th ICALP, Graz 1979, Springer LNCS 71
Burstall, R.M., Goguen, J. A., The semantics of CLEAR, a specification language, in: D. Bjorner, ed., Proc. Advanced Course on Abstract Software Specifications, Springer LNCS 86, 1980
Broy, Facchi, Grosu, Hettler, Hussmann, Nazareth, Regensburger, Stolen, The Requirement and Design Specification Language SPECTRUM, technical report TUM-I9140, TU Munich, 1991
CIP-Group, The Munich Project CIP, Vol. 2, The Program Transformation System CIP-S, Springer LNCS 292 (1987)
Ehrich, H.-D., On the theory of specification, implementation, and parameterization, of abstract data types, JACM 29(1), 1982
Ehrig, Kreowski, Thatcher, Wagner, Wright, Parameterized data types in algebraic specification languages, Proc. Int. Coll. on Automata, Languages and Programming, Springer LNCS 85, 1980
Ehrig, H., Mahr, B., Fundamentals of Algebraic Specification 1, Equations and Initial Semantics, EATCS Monographs on Theoretical Computer Science, Vol. 6, Springer 1985
Ehrig, H., Mahr, B., Fundamentals of Algebraic Specification 2, Module Specifications and Constraints, EATCS Monographs on Theoretical Computer Science, Vol. 21, Springer 1990
Ganzinger, H., Parameterized Specifications: Parameter Passing and Implementation with Respect to Observability, ACM TOPLAS, Vol. 5, No. 3, July 1983
Gaudel, M.-C., Structuring and Modularizing Algebraic Specifications: the PLUSS specification language, evolutions and perspectives, Finkel, Jantzen (eds.), STACS 92, Springer LNCS 577, 1992
Giarratana, V., Gimona, F., Montanari, U., Observability Concepts in Abstract Data Type Specifications, 5th Symposium Math. Foundations of Computer Science (1976), Springer LNCS 45
Goguen, J., Thatcher, J., Wagner, E., An Initial Algebra Approach to the Specification, Correctness and Implementation of Abstract Data Types, Current Trends in Programming Methodology IV, Yeh, R. (Ed.), Prentice-Hall, Englewood Cliffs, 1978
Guttag, J.V., Abstract Data Types and The Development of Data Structures, Supplement to Proc. Conference on Data Abstraction, Definition, and Structure, SIGPLAN Notices 8 (1976)
Hornung, G., Raulefs, P., Terminal Algebra Semantics and Retractions for Abstract Data Types, DeBakker, van Leuwen, 7th ICALP, Springer LNCS 85, pp. 310–323 (1980)
Kamin, S., Final Data Types and Their Specification, ACM TOPLAS 5,1 1983
Liskov, B.H., Zilles, S.N., Programming with Abstract Data Types, SIGPLAN Notices 6 (1974)
Navarro M., Orejas F., Parameterized Horn Clause Specifications: Proof Theory and Correctness, TAPSOFT 87, Springer LNCS 249, 1987
Padawitz, P., Parameter Preserving Data Type Specifications, J. of Computer and System Sciences 34
Padawitz, P., Horn Logic and Rewriting for Functional and Logic Program Design, Universität Passau, Fakultät für Mathematik und Informatik, MIP-9002, März 1990
Reif, W., Correctness of Specifications and Generic Modules, Dissertation, Univ. of Karlsruhe, 1991
Reif, W., Correctness of Full First-order Specifications, Proc. International Conference on Software Engineering and Knowledge Engineering, Capri, Italy, IEEE press, 1992
Sanella, D., Sokolowski, S., Tarlecki, A., Toward formal development of programs from algebraic speci fications: parametrisation revisited, report ECS-LFCS-92-222, Laboratory for Foundations of Computer Science, University of Edinburgh, 1992
Sanella, D.,, Tarlecki, A., Specifications in an arbitrary institution, Inform. a. Comp. 76, 1988
Sanella D., Wirsing M., A kernel language for algebraic specification and implementation, Proc. Int. Conf. on Foundations of Conputation Theory, Borgholm, Springer LNCS 158, 1983
Thatcher, J., Wagner, E., Wright, J., Data Type Specification: Parametrization and the Power of Specification Techniques, ACM TOPLAS 4,4 1982
Wand, M., Final Algebra Semantics and Data Type Extensions, Journal of Computer and System Sciences 19, 1, 1979
Wirsing, M., Broy, M., An Analysis of Semantic Models for Algebraic Specifications, Theoretical Foundations of Programming Methodology, Broy, Schmidt (eds.), Nato ASIS, C91, Reidel, 1982
Wirsing, M., Structured algebraic specifications: a kernel language, Theoretical Computer Science 42, 1986
Wirsing, M., Algebraic Specification, Handbook of Theoretical Computer Science, J. van Leeuwen (ed.), volume B, Elsevier, 1990
Wirsing, M., Pepper, P., Partsch, H., Dosch, W., Broy, M., On Hierarchies of Abstract Data Types, Acta Informatica 20 (1983)
Author information
Authors and Affiliations
Corresponding author
Editor information
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Reif, W. (1993). An approach to parameterized first-order specifications: Semantics, correctness, parameter passing. In: Bjørner, D., Broy, M., Pottosin, I.V. (eds) Formal Methods in Programming and Their Applications. Lecture Notes in Computer Science, vol 735. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0039701
Download citation
DOI: https://doi.org/10.1007/BFb0039701
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-57316-6
Online ISBN: 978-3-540-48056-3
eBook Packages: Springer Book Archive