Abstract
Modularization is the central design paradigm for large software systems, and the correctness of modules is one of the basic building blocks for the verification of large systems. In this paper we investigate the correctness problem for generic modules. The export- and import interfaces of a generic module are parameterized first-order specifications, and its implementation is written in an imperative programming language. We define the semantics and the correctness of generic modules, and present a logical characterization of correctness in terms of Dynamic Logic. This characterization paves the way for automated verification of generic modules in the KIV system (Karlsruhe Interactive Verifier), a tactical theorem prover for Dynamic Logic.
This research was partly sponsored by the BMFT-project KORSO.
Preview
Unable to display preview. Download preview PDF.
References
Antoniou, G.,Sperschneider, V., On The Verification of Modules, CSL 89, Springer LNCS 440, pp. 16–35
Blum, E.K., Ehrig, H., Parisi-Presicce, F., Algebraic Specification of Modules and Their Basic Interconnections, Journal of Computer and System Sciences 34 (1987), pp. 293–339
Boyer, R., Moore, J, A Computational Logic, Academic Press, New York 1979
Bergstra, J., Klop, J., Proving Program Inclusion Using HOARE's Logic, Theoretical Computer Science 30 (1984), pp. 1–48
R. Burstall, Program Proving as Hand Simulation with a little Induction, Information Processing 74, North-Holland Publishing Company (1974)
Chandy, K.M., Misra, J., Parallel Program Design, A Foundation. Addison Wesley 1988
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
Goguen, J., Meseguer, J., Universal Realization, Persistent Interconnection and Implementation of Abstract Modules, Proc. 9th ICALP, 1982, Springer LNCS 45, 265–281
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, pp. 80–149
Goldblatt, R., Axiomatising the Logic of Computer Programming, Springer LNCS 130
Gries, D. The Science of Programming, Springer-Verlag (1981)
Harel, D., First-Order Dynamic Logic, Springer, LNCS 68, 1979
Hoare, C.A.R., An Axiomatic Basis for Computer Programming, Comm. ACM 12 (1969)
Hoare, C.A.R., Proof of Correctness of Data Representations, Acta Informatica 1,4 (1972), pp. 271–281
Heisel, M., Reif, W., Stephan, W., Implementing Verification Strategies in the KIV-System, Proc. 9th International Conference on Automated Deduction, E. Lusk, R. Overbeek (eds), Springer LNCS 310 (1988), pp. 131–140
Heisel, M., Reif, W., Stephan, W., A Dynamic Logic for Program Verification, Meyer, A., Taitslin, M., Logic at Botik 1989, Pereslavl-Zalessky, USSR, Springer LNCS 363, pp. 134–145
Heisel, M., Reif, W., Stephan, W., Tactical Theorem Proving in Program Verification, 10th International Conference on Automated Deduction, Kaiserslautern, FRG, July 1990, Springer LNCS 449, pp. 117–131
Heisel, M., Reif, W., Stephan, W., Formal Software Development in the KIV System, in Automating Software Design, Lowry McCartney (eds), AAAI press 1991, and Proc. Workshop on Automating Software Design, IJCAI-89, Kestrel Institute, Palo Alto (1989), pp. 115–124.
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, University of Karlsruhe, 1991 (in German)
Stolboushkin, A.P., Taitslin, M.A., Deterministic dynamic logic is strictly weaker than dynamic logic, Information and Control 57, pp. 48–55, 1983
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1992 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Reif, W. (1992). Correctness of generic modules. In: Nerode, A., Taitslin, M. (eds) Logical Foundations of Computer Science — Tver '92. LFCS 1992. Lecture Notes in Computer Science, vol 620. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0023893
Download citation
DOI: https://doi.org/10.1007/BFb0023893
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-55707-4
Online ISBN: 978-3-540-47276-6
eBook Packages: Springer Book Archive