Abstract
We present an approach to the study of nondeterministic programs, consisting essentially in using binary relations as semantic objects representing the input-output behaviour of programs. These relations include an explicit representation of non-terminating computations. Based on the relational model we introduce a weakest precondition total correctness predicate transformer. We then show how to build up this predicate transformer starting from others of a more elementar kind. Finally,we obtain a characterization of its healthiness properties in terms of set-theoretical properties of the relations involved.
Preview
Unable to display preview. Download preview PDF.
References
R.-J,Back, "Semantics of unbounded nondeterminism". Proceedings ICALP 80, Lect. Notes Comp. Sci. 85, Springer (1980).
E.W. Dijkstra, "Guarded commands, nondeterminacy and formal derivation of programs". CACM 18,8 (August 1975), pp. 453–457.
E.W.Dijkstra, "A Discipline of Programming". Prentice Hall (1976).
P. Guerreiro, "A relational model for nondeterministic programs and predicate transformers". Fourth International Colloquium on Programming, Paris, Lect. Notes Comp. Sci. 83, Springer (1980), pp. 136–146.
P.Guerreiro,"Semantique Relationnelle des Programmes Non-deterministes et des Processus Communicants". These de зeme Cycle, Univ. Grenoble I, (July 1981).
D.Harel, "On the total correctness of nondeterministic programs". IBM Research Report RC7691 (1979).
C.A.R. Hoare, "Some properties of predicate transformers". JACM 25,3 (July 1978), pp. 461–480.
W.P. de Roever, "Dijkstra's predicate transformer, non-determinism, recursion and termination". Math. Found. Comp. Sci. 1976, Lect. Notes Comp. Sci. 45, Springer (1976), pp.472–481.
J.Sifakis. "A unified approach for studying properties of transition systems". Rapport de Recherche 179, IMAG, Grenoble, (December 1979). To appear in Theoretical Computer Science.
M. Wand, "A characterization of weakest preconditions". Journal of Computer and Systems Sciences 15, (1977), pp. 209–212.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1982 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Guerreiro, P. (1982). Another characterization of weakest preconditions. In: Dezani-Ciancaglini, M., Montanari, U. (eds) International Symposium on Programming. Programming 1982. Lecture Notes in Computer Science, vol 137. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-11494-7_12
Download citation
DOI: https://doi.org/10.1007/3-540-11494-7_12
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-11494-9
Online ISBN: 978-3-540-39184-5
eBook Packages: Springer Book Archive