Skip to main content

An approach to parameterized first-order specifications: Semantics, correctness, parameter passing

  • Conference paper
  • First Online:
Formal Methods in Programming and Their Applications

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 735))

  • 137 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Broy, M., Dosch, H., Partsch, H., Pepper, P., Wirsing, M., Existential Quantifiers in Abstract Data Types, Proc. 6th ICALP, Graz 1979, Springer LNCS 71

    Google Scholar 

  2. 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

    Google Scholar 

  3. Broy, Facchi, Grosu, Hettler, Hussmann, Nazareth, Regensburger, Stolen, The Requirement and Design Specification Language SPECTRUM, technical report TUM-I9140, TU Munich, 1991

    Google Scholar 

  4. CIP-Group, The Munich Project CIP, Vol. 2, The Program Transformation System CIP-S, Springer LNCS 292 (1987)

    Google Scholar 

  5. Ehrich, H.-D., On the theory of specification, implementation, and parameterization, of abstract data types, JACM 29(1), 1982

    Google Scholar 

  6. Ehrig, Kreowski, Thatcher, Wagner, Wright, Parameterized data types in algebraic specification languages, Proc. Int. Coll. on Automata, Languages and Programming, Springer LNCS 85, 1980

    Google Scholar 

  7. Ehrig, H., Mahr, B., Fundamentals of Algebraic Specification 1, Equations and Initial Semantics, EATCS Monographs on Theoretical Computer Science, Vol. 6, Springer 1985

    Google Scholar 

  8. Ehrig, H., Mahr, B., Fundamentals of Algebraic Specification 2, Module Specifications and Constraints, EATCS Monographs on Theoretical Computer Science, Vol. 21, Springer 1990

    Google Scholar 

  9. Ganzinger, H., Parameterized Specifications: Parameter Passing and Implementation with Respect to Observability, ACM TOPLAS, Vol. 5, No. 3, July 1983

    Google Scholar 

  10. Gaudel, M.-C., Structuring and Modularizing Algebraic Specifications: the PLUSS specification language, evolutions and perspectives, Finkel, Jantzen (eds.), STACS 92, Springer LNCS 577, 1992

    Google Scholar 

  11. Giarratana, V., Gimona, F., Montanari, U., Observability Concepts in Abstract Data Type Specifications, 5th Symposium Math. Foundations of Computer Science (1976), Springer LNCS 45

    Google Scholar 

  12. 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

    Google Scholar 

  13. 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)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. Kamin, S., Final Data Types and Their Specification, ACM TOPLAS 5,1 1983

    Google Scholar 

  16. Liskov, B.H., Zilles, S.N., Programming with Abstract Data Types, SIGPLAN Notices 6 (1974)

    Google Scholar 

  17. Navarro M., Orejas F., Parameterized Horn Clause Specifications: Proof Theory and Correctness, TAPSOFT 87, Springer LNCS 249, 1987

    Google Scholar 

  18. Padawitz, P., Parameter Preserving Data Type Specifications, J. of Computer and System Sciences 34

    Google Scholar 

  19. 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

    Google Scholar 

  20. Reif, W., Correctness of Specifications and Generic Modules, Dissertation, Univ. of Karlsruhe, 1991

    Google Scholar 

  21. Reif, W., Correctness of Full First-order Specifications, Proc. International Conference on Software Engineering and Knowledge Engineering, Capri, Italy, IEEE press, 1992

    Google Scholar 

  22. 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

    Google Scholar 

  23. Sanella, D.,, Tarlecki, A., Specifications in an arbitrary institution, Inform. a. Comp. 76, 1988

    Google Scholar 

  24. 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

    Google Scholar 

  25. Thatcher, J., Wagner, E., Wright, J., Data Type Specification: Parametrization and the Power of Specification Techniques, ACM TOPLAS 4,4 1982

    Google Scholar 

  26. Wand, M., Final Algebra Semantics and Data Type Extensions, Journal of Computer and System Sciences 19, 1, 1979

    Google Scholar 

  27. 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

    Google Scholar 

  28. Wirsing, M., Structured algebraic specifications: a kernel language, Theoretical Computer Science 42, 1986

    Google Scholar 

  29. Wirsing, M., Algebraic Specification, Handbook of Theoretical Computer Science, J. van Leeuwen (ed.), volume B, Elsevier, 1990

    Google Scholar 

  30. Wirsing, M., Pepper, P., Partsch, H., Dosch, W., Broy, M., On Hierarchies of Abstract Data Types, Acta Informatica 20 (1983)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wolfgang Reif .

Editor information

Dines Bjørner Manfred Broy Igor V. Pottosin

Rights and permissions

Reprints 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

Publish with us

Policies and ethics