Abstract
Abstract
We extend process algebra with guards, comparable to the guards in guarded commands or conditions in common programming constructs such as ‘if — then — else — fi’ and ‘while — do — od’.
The extended language is provided with an operational semantics based on transitions between pairs of a process and a (data-)state. The data-states are given by a data environment that also defines in which data-states guards hold and how atomic actions (non-deterministically) transform these states. The operational semantics is studied modulo strong bisimulation equivalence. For basic process algebra (without operators for parallelism) we present a small axiom system that is complete with respect to a general class of data environments. Given a particular data environmentL we add three axioms to this system, which is then again complete, provided weakest preconditions are expressible andL is sufficiently deterministic.
Then we study process algebra with parallelism and guards. A two phase-calculus is provided that makes it possible to prove identities between parallel processes. Also this calculus is complete. In the last section we show that partial correctness formulas can easily be expressed in this setting. We use process algebra with guards to prove the soundness of a Hoare logic for linear processes by translating proofs in Hoare logic into proofs in process algebra.
- [AuB84] Algèbre de processus et synchronisationsTheoretical Computer Science198430191131Google Scholar
Cross Ref
- [Apt81] Ten years of Hoare's logic: a survey — Part IACM Transactions on Programming Languages and Systems198134431483Google Scholar
Digital Library
- [Apt84] Ten years of Hoare's logic: a survey — Part II; NondeterminismTheoretical Computer Science19842883109Google Scholar
Cross Ref
- [Bak80] de Bakker, J.W.:Mathematical theory of program correctness. Prentice Hall International, 1980.Google Scholar
- [BaB88] Global renaming operators in concrete process algebraInformation and Computation1988783205245Google Scholar
Digital Library
- [BaB90] Baeten, J.C.M. and Bergstra, J.A.: Process algebra with signals and conditions. In M. Broy, editor,Programming and Mathematical Methods, Proceedings Summer School Marktoberdorf 1991, NATO ASI Series F88, pages 273–323, Springer-Verlag, 1991.Google Scholar
- [BvG87] Baeten, J.C.M. and van Glabbeek, R.J.: Merge and termination in process algebra. In K.V. Nori, editor,Proceedings 7thConference on Foundations of Software Technology and Theoretical Computer Science, Pune, India, volume 287 ofLecture Notes in Computer Science, pages 153–172. Springer-Verlag, 1987.Google Scholar
- [BeK84a] Bergstra, J.A. and Klop, J.W.: The algebra of recursively defined processes and the algebra of regular processes. In J. Paredaens, editor,Proceedings 11thICALP, Antwerp, volume 172 ofLecture Notes in Computer Science, pages 82–95. Springer-Verlag, 1984.Google Scholar
- [BeK84b] Process algebra for synchronous communicationInformation and Computation1984601/3109137Google Scholar
- [BeK86] Bergstra, J.A. and Klop, J.W.: Verification of an alternating bit protocol by means of process algebra. In W. Bibel and K.P. Jantke, editors,Math. Methods of Spec. and Synthesis of Software Systems '85, Math. Research 31, pages 9–23, Berlin, 1986. Akademie-Verlag. First appeared as: Report CS-R8404, CWI, Amsterdam, 1984.Google Scholar
- [BKT85] Bergstra, J.A. Klop, J.W. and Tucker, J.V.: Process algebra with asynchronous communication mechanisms. In S.D. Brookes, A.W. Roscoe, and G. Winskel, editors,Seminar on Concurrency, volume 197 ofLecture Notes in Computer Science, pages 76–95. Springer-Verlag, 1985.Google Scholar
- [BaW90] Baeten, J.C.M. and Weijland, W.P.:Process algebra. Cambridge Tracts in Theoretical Computer Science 18. Cambridge University Press, 1990.Google Scholar
- [Da183] van Dalen, D.:Logic and Structure. Springer-Verlag, 1983.Google Scholar
- [Dij76] A Discipline of Programming1976Englewood CliffsPrentice Hall InternationalGoogle Scholar
Digital Library
- [Gla90] van Glabbeek, R.J.: The linear time — branching time spectrum. In J.C.M. Baeten and J.W. Klop, editors,Proceedings CONCUR 90, Amsterdam, volume 458 ofLecture Notes in Computer Science, pages 278–297. Springer-Verlag, 1990.Google Scholar
- [Gla93] van Glabbeek, R.J.: The linear time — branching time spectrum II (the semantics of sequential systems with silent moves). In E. Best, editor,Proceedings CONCUR 93, Hildesheim,Lecture Notes in Computer Science, Springer-Verlag, to appear.Google Scholar
- [vGV89] van Glabbeek, R.J. and Vaandrager, F.W.: Modular specifications in process algebra — with curious queues (extended abstract). In M. Wirsing and J.A. Bergstra, editors,Algebraic Methods: Theory, Tools and Applications, Workshop Passau 1987, volume 394 ofLecture Notes in Computer Science, pages 465–506. Springer-Verlag, 1989.Google Scholar
- [Hen91] A proof system for communicating processes with value-passingFormal Aspects of Computing19913346366Google Scholar
Digital Library
- [HHJ87] Laws of programmingCommunications of the ACM1987308672686Google Scholar
Digital Library
- [Hoa69] Hoare, C.A.R.: An axiomatic basis for computer programming.Communications of the ACM, 12(10), October 1969.Google Scholar
- [Hoa85] Hoare, C.A.R.:Communicating Sequential Processes. Prentice Hall International, 1985.Google Scholar
- [HoU79] Hopcroft, J.E. and Ullman, J.D.:Introduction to Automata Theory, Languages and Computation. Addison-Wesley, 1979.Google Scholar
- [ISO87] ISO.Information processing systems — open systems interconnection — LOTOS — a formal description technique based on the temporal ordering of observational behaviour, 1987. ISO/TC97/SC21/N DIS8807.Google Scholar
- [Lam80] The ‘Hoare logic’ of concurrent programsActa Informatica1980142137Google Scholar
Digital Library
- [MaA86] Manes, E.G. and Arbib, M.A.:Algebraic Approaches to Program Semantics. Texts and Monographs in Computer Science. Springer-Verlag, 1986.Google Scholar
- [Man74] Manna, Z.:Mathematical Theory of Computation. McGraw-Hill Book Co., 1974.Google Scholar
- [Mil80] Milner, R.:A Calculus of Communicating Systems, volume 92 ofLecture Notes in Computer Science. Springer-Verlag, 1980.Google Scholar
- [Mil89] Milner, R.:Communication and concurrency. Prentice Hall International, 1989.Google Scholar
- [OwG76] Owicki, S. and Gries, D.: An axiomatic proof technique for parallel programs.Acta Informatica, pages 319–340, 1976.Google Scholar
- [Par81] Park, D.M.R.: Concurrency and automata on infinite sequences. In P. Deussen, editor, 5thGI Conference, volume 104 ofLecture Notes in Computer Science, pages 167–183. Springer-Verlag, 1981.Google Scholar
- [Plo81] Plotkin, G.D.: A structural approach to operational semantics. Report DAIMI FN-19, Computer Science Department, Aarhus University, 1981.Google Scholar
- [Pon91] Process expressions and Hoare's logicInformation and Computation1991952192217Google Scholar
Digital Library
- [Sio64] Equational bases of Boolean algebrasJournal of Symbolic Logic1964293115124Google Scholar
Cross Ref
- [SPE90] SPECS-Semantics and Analysis.Definition of MR and CRL Version 2.1. Specification and Programming Environment for Communicating Software (SPECS), RACE Ref: 1046, Report 46/SPE/WP5/DS/A/017/b1, December 1990.Google Scholar
- [Sti88] A generalization of Owicki-Gries's Hoare logic for a concurrent whilelanguageTheoretical Computer Science19885834359Google Scholar
- [Vaa89] Vaandrager, F.W.: Specificatie en verificatie van communicatieprotocollen met procesalgebra. Dept. of Computer Science, University of Amsterdam, 1989. Lecture notes, in Dutch.Google Scholar
Index Terms
Process algebra with guards: Combining Hoare logic with process algebra
Recommendations
Using Hoare Logic in a Process Algebra Setting
This paper concerns the relation between process algebra and Hoare logic. We investigate the question whether and how a Hoare logic can be used for reasoning about how data change in the course of a process when reasoning equationally about that process. ...
On Hoare logic and Kleene algebra with tests
We show that Kleene algebra with tests (KAT) subsumes propositional Hoare logic (PHL). Thus the specialized syntax and deductive apparatus of Hoare logic are inessential and can be replaced by simple equational reasoning. In addition, we show that all ...
Embedding Kozen-Tiuryn Logic into Residuated One-Sorted Kleene Algebra with Tests
Logic, Language, Information, and ComputationAbstractKozen and Tiuryn have introduced the substructural logic for reasoning about correctness of while programs (ACM TOCL, 2003). The logic distinguishes between tests and partial correctness assertions, representing the latter by special ...





Comments