Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2414639.2414647acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
research-article

A relational trace logic for simple hierarchical actor-based component systems

Published: 21 October 2012 Publication History

Abstract

We present a logic for proving functional properties of concurrent component-based systems. A component is either a single actor or a group of dynamically created actors. The component hierarchy is based on the actor creation tree. The actors work concurrently and communicate asynchronously. Each actor is an instance of an actor class. An actor class determines the behavior of its instances. We assume that specifications of the behavior of the actor classes are available. The logic allows deriving properties of larger components from specifications of smaller components hierarchically.
The behavior of components is expressed in terms of traces where a trace is a sequence of events. A component specification relates traces of input events to traces of output events. Generalizing Hoare-like logics from states to traces and from statements to components, we write {p} C {q} to mean that if an input trace satisfies p, component C produces output traces satisfying q; that is, p and q are assertions over traces. Such specifications are partial in that they only specify the reaction of C to input traces satisfying p.
This paper develops the trace semantics and specification technique for actor-based component systems, presents important proof rules, proves soundness of the rules, and illustrates the interplay between the trace semantics, the specification technique and the proof rules by an example derived from an industrial Erlang case study.

Supplementary Material

ZIP File (agere04.zip)
A Relational Trace Logic for Simple Hierarchical Actor-Based Component Systems - The supplementary material contains a pdf file describing the proof of all lemmas in the main paper.

References

[1]
G. Agha. Actors: A Model of Concurrent Computation in Distributed Systems. MIT Press, Cambridge, MA, USA, 1986.
[2]
G. Agha, I. A. Mason, S. F. Smith, and C. L. Talcott. A foundation for actor computation. JFP, 7 (1): 1--72, 1997.
[3]
W. Ahrendt and M. Dylla. A system for compositional verification of asynchronous objects. SCP, 77 (12): 1289--1309, 2012.
[4]
K. R. Apt, F. S. de Boer, and E.-R. Olderog. Verification of Sequential and Concurrent Programs, 3rd Ed. Springer, 2009.
[5]
T. Arts and M. Dam. Verifying a distributed database lookup manager written in Erlang. In WCFM, pages 682--700, 1999.
[6]
M. Broy. A logical basis for component-oriented software and systems engineering. Comput. J., 53 (10): 1758--1782, 2010.
[7]
n(2001)}BroyS01M. Broy and K. Stølen. Specification and Development of Interactive Systems: Focus on Streams, Interfaces, and Refinement. Springer, 2001.
[8]
W. D. Clinger. Foundations of Actor Semantics. PhD thesis, MIT, Cambridge, MA, 1981.
[9]
M. Dam, L.-Å. Fredlund, and D. Gurov. Toward parametric verification of open distributed systems. In COMPOS, pages 150--185, 1997.
[10]
J. Darlington and Y. Guo. Formalising actors in linear logic. In OOIS, pages 37--53, 1994.
[11]
F. S. de Boer. A Hoare logic for dynamic networks of asynchronously communicating deterministic processes. TCS, 274 (1--2): 3--41, 2002.
[12]
R. De Nicola and M. Hennessy. Testing equivalences for processes. TCS, 34: 83--133, 1984.
[13]
C. C. Din, J. Dovland, E. B. Johnsen, and O. Owe. Observable behavior of distributed systems: Component reasoning for concurrent objects. JALP, 81 (3): 227--256, 2012.
[14]
C. H. C. Duarte. Proof-theoretic foundations for the design of actor systems. phMSCS, 9 (3): 227--252, 1999.
[15]
C. Hewitt and H. G. Baker. Laws for communicating parallel processes. In IFIP Congress, pages 987--992, 1977.
[16]
C. A. R. Hoare. An axiomatic basis for computer programming. CACM, 12 (10): 576--580, Oct. 1969.
[17]
C. A. R. Hoare. Communicating sequential processes. CACM, 21 (8): 666--677, Aug. 1978.
[18]
E. B. Johnsen, O. Owe, and I. C. Yu. Creol: A type-safe object-oriented model for distributed concurrent systems. TCS, 365 (1--2): 23--66, 2006.
[19]
E. B. Johnsen, R. Hahnle, J. Schafer, R. Schlatte, and M. Steffen. ABS: A core language for abstract behavioral specification. In FMCO 2010, LNCS, pages 142--164. Springer, 2011.
[20]
N. A. Lynch. Distributed Algorithms. Morgan Kaufmann, 1996. ISBN 1--55860--348--4.
[21]
R. Milner, J. Parrow, and D. Walker. A calculus of mobile processes. Inf. Comput., 100 (1): 1--77, 1992.
[22]
A. Poetzsch-Heffter. Specification and Verification of Object-Oriented Programs. Habil. thesis, TU Munich, Jan. 1997.
[23]
S. Schacht. Formal reasoning about actor programs using temporal logic. In LNCS, pages 445--460. Springer, 2001.
[24]
S. F. Smith and C. L. Talcott. Specification diagrams for actor systems. HOSC, 15 (4): 301--348, 2002.
[25]
N. Soundarajan. Axiomatic semantics of communicating sequential processes. ACM TOPLAS, 6 (4): 647--662, Oct. 1984.
[26]
C. L. Talcott. Composable semantic models for actor theories. HOSC, 11 (3): 281--343, 1998.
[27]
P. Thati, C. L. Talcott, and G. Agha. Techniques for executing and reasoning about specification diagrams. In AMAST, pages 521--536, 2004.
[28]
V. T. Vasconcelos and M. Tokoro. Traces semantics for actor systems. In Object-Based Concurrent Computing, LNCS, pages 141--162. Springer, 1991.

Cited By

View all

Index Terms

  1. A relational trace logic for simple hierarchical actor-based component systems

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Conferences
      AGERE! 2012: Proceedings of the 2nd edition on Programming systems, languages and applications based on actors, agents, and decentralized control abstractions
      October 2012
      150 pages
      ISBN:9781450316309
      DOI:10.1145/2414639
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Sponsors

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 21 October 2012

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. actors
      2. open system
      3. specification techniques

      Qualifiers

      • Research-article

      Conference

      SPLASH '12
      Sponsor:

      Acceptance Rates

      Overall Acceptance Rate 19 of 35 submissions, 54%

      Upcoming Conference

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)0
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 13 Jan 2025

      Other Metrics

      Citations

      Cited By

      View all
      • (2016)Actor ServicesProceedings of the 25th European Symposium on Programming Languages and Systems - Volume 963210.5555/3089528.3089555(699-726)Online publication date: 2-Apr-2016
      • (2016)Actor ServicesProgramming Languages and Systems10.1007/978-3-662-49498-1_27(699-726)Online publication date: 2016
      • (2016)Modeling Actor Systems Using Dynamic I/O AutomataPerspectives of System Informatics10.1007/978-3-319-41579-6_15(186-202)Online publication date: 28-Jun-2016
      • (2012)Verification of Open Concurrent Object SystemsRevised Lectures of the 11th International Symposium on Formal Methods for Components and Objects - Volume 786610.1007/978-3-642-40615-7_3(83-118)Online publication date: 24-Sep-2012

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media