Abstract
This paper presents a simple algebraic description of the semantics of non-deterministic recursive flow diagram programs with parallel assignment, culminating in a method for proving their partial correctness which generalizes the well-known Floyd-Naur method for ordinary flow diagram programs. Our treatment involves first considering a program scheme, and then interpreting it in an appropriate semantic model. The program schemes are conveniently viewed as diagrams in an algebraic theory, with semantic model a relational algebra. Some examples are given in a simple programming language whose features correspond precisely to our algebraic framework.
Supported in part by the U.S. National Science Foundation, Grant No. MCS 72-03633 A04.
Partially supported by a March Foundation Research Fellowship.
Preview
Unable to display preview. Download preview PDF.
References
ADJ (coauthored by J. A. Goguen, J. W. Thatcher, E.C. Wagner and J. B. Wright) (1975) "An introduction to categories, algebraic theories and algebras," IBM Research Report RC 5369.
(1976) "A junction between computer science and category theory: I, Basic definitions and examples," Part 2, IBM Research Report RC 5908.
Burstall, R. M. (1972) "An algebraic description of programs with assertions, verification, and simulation," Proc ACM Confr. Proving Assertions about programs, Las Cruces, New Mexico, 7–14.
Eilenberg, S., and Wright, J. B. (1967) "Automata in general algebras," Inf. Control 11, 452–470.
Goguen, J. A. (1974) "On homomorphisms, correctness termination, unfoldments and equivalence of flow diagram programs," J. Comp. Sys. Sci. 8, 333–365.
(1974a) "Set theoretic correctness proofs," Semantics and Theory of Computation Report No. 1, UCLA Computer Science Dept.
Lawvere, F. W. (1963) "Functorial semantics of algebraic theories," thesis, Columbia University; summarized in Proc. Ntl. Acad. Sci. U.S.A. 50, 869–872.
Mac Lane, S. (1971) Category Theory for the Working Mathematician, Springer-Verlag.
Pareigis, B. (1970) Categories and functors, Academic Press, New York.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1977 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Goguen, J.A., Meseguer, J. (1977). Correctness of recursive flow diagram programs. In: Gruska, J. (eds) Mathematical Foundations of Computer Science 1977. MFCS 1977. Lecture Notes in Computer Science, vol 53. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-08353-7_183
Download citation
DOI: https://doi.org/10.1007/3-540-08353-7_183
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-08353-5
Online ISBN: 978-3-540-37285-1
eBook Packages: Springer Book Archive