Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Open access

Proving liveness for networks of communicating finite state machines

Published: 02 January 1986 Publication History

Abstract

Consider a network of communicating finite state machines that exchange messages over unbounded FIFO channels. Each machine in the network can be defined by a directed graph whose nodes represent the machine states and whose edges represent its transitions. In general, for a node in one of the machines to be live (i.e., encountered infinitely often during the course of communication), each machine in the network should progress in some fair fashion. We define three graduated notions of fair progress (namely, node fairness, edge fairness, and network fairness), and on this basis we define three corresponding degrees of node liveness. We discuss techniques to verify that a given node is live under each of these fairness assumptions. These techniques can be automated; and they are effective even if the network under consideration has an infinite number of reachable states. We use our techniques to establish the liveness of some practical communication protocols; these include an unbounded start-stop protocol, an unbounded alternating bit protocol, and a simplified version of the CSMA/CD protocol for local area networks.

References

[1]
BARLETT, K. A., SCANTLEBURY, R. A., AND WILKINSON, P.T. A note on reliable full-duplex transmission over half-duplex links. Comm. ACM 12, 5 (May 1969), 260-261.
[2]
BOCHMANN, G.V. Finite state description of communication protocols. Comput. Netw. 2 (1978), 361-371.
[3]
BOCHMANN, G. V., AND SUNSHINE, C. Formal methods in communication protocol design. IEEE Trans. Commun. (Apr. 1980), 624-631.{
[4]
BRAND, D., AND ZAFIROPULO, P. On communicating finite-state machines. J. ACM 30, 2 (Apr. 1983), 323-342.
[5]
CHANG, C. K., GOUDA, M. G., AND ROSIER, L. E. Deciding liveness for special classes of communicating finite state machines. In Proceedings 22nd Annual Allerton Conference on Communication, Control, and Computing (Oct. 1984), 931-939.
[6]
CHANG, C.K. Proving liveness properties for communicating machines. Ph.D. thesis. Univ. of Texas at Austin. In preparation.
[7]
GOUDA, M.G. Closed covers: To verify progress for communicating finite state machines. IEEE Trans. Softw. Eng. SE-IO, 6 (Nov. 1984), 846-855.
[8]
GOUDA, M. G., AND CHANG, C.K. A technique for proving liveness of communicating finite state machines with examples. In Proceedings of the 3rd Annual ACM Symposium on Principles of Distributed Computing (Aug. 1984), 38-49.
[9]
GOUDA, M. G., MANNING, E. G., AND YU, Y.T. On the progress of communication between two finite state machines. Inf. Control 63, 3 (Dec. 1984).
[10]
GOUDA, M. G., AND YU, Y.T. Synthesis of communicating finite state machines with guaranteed progress. IEEE Trans. Commun. COM-32, 7 (July 1984), 779-788.
[11]
HAILPERN, B. T., AND OWICKI, S.S. Modular verification of computer communication protocols. IEEE Trans. Commun. COM-31, 1 (Jan. 1983), 56-68.
[12]
MANNA, Z., AND PNUELI, A. How to cook a temporal proof system for your pet language. In Proceedings of the lOth Annual ACM Symposiutn on Principles of Programming Languages (Jan. 1983), 141-154.
[13]
MCNAMAgA, J.E. Technical aspects of data communication. Digital Equipment Corp., Maynard, Mass., 1977.
[14]
METCALFE, R. M., AND BOGGS, D.R. Ethernet: Distributed packet switching for local computer networks. Commun. ACM 19, 7 (July 1976), 395-404.
[15]
Miss^, J., ^NO CHANDY, K. M. Proof of networks of processes. 1EEE Trans. Softw. Eng. SE-7, 4 (July 1981), 417-426.
[16]
MISRA, J., CHANDY, K. M., AND SMITH, T. Proving safety and liveness of communicating processes with examples. In Proceedings ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing (Aug. 1982), 18-20.
[17]
OWICK1, S., AND LAMPORT, L. Proving liveness properties of concurrent programs. ACM Trans. Program. Lang. Syst. 4, 3 (July 1982), 455-495.
[18]
PNUELI, A. The temporal logic of programs. In Proceedings of the 18th Annual Symposium on Foundations of Computer Science (Oct. 1977), 46-57.
[19]
PNUELi, A. On the extremely fair treatment of probabilistic algorithms. In Proceedings 15th Annual Symposium on Theory of Computing (1983), 278-290.
[20]
Yu, Y. T., AND GOUDA, M.G. Deadlock detection for a class of communicating finite state machines. IEEE Trans. Commun. (Dec. 1982), 2514-2519.
[21]
ZAFIROPULO, P., WEST, C. H., RUDIN, H., BRAND, D., AND COWAN, D. Towards analyzing and synthesizing protocols. IEEE Trans. Commun. COM-28, 4 (Apr. 1980), 651-661.

Cited By

View all
  • (2020)Composing Communicating Systems, SynchronouslyLeveraging Applications of Formal Methods, Verification and Validation: Verification Principles10.1007/978-3-030-61362-4_3(39-59)Online publication date: 20-Oct-2020
  • (2020)Agent-Based Modeling, Mathematical Formalism forComplex Social and Behavioral Systems10.1007/978-1-0716-0368-0_10(683-703)Online publication date: 21-Aug-2020
  • (2017)Phase Transitions in Possible Dynamics of Cellular and Graph Automata Models of Sparsely Interconnected Multi-Agent SystemsProceedings of the 16th Conference on Autonomous Agents and MultiAgent Systems10.5555/3091125.3091195(474-483)Online publication date: 8-May-2017
  • Show More Cited By

Index Terms

  1. Proving liveness for networks of communicating finite state machines

                          Recommendations

                          Comments

                          Information & Contributors

                          Information

                          Published In

                          cover image ACM Transactions on Programming Languages and Systems
                          ACM Transactions on Programming Languages and Systems  Volume 8, Issue 1
                          The MIT Press scientific computation series
                          Jan. 1986
                          182 pages
                          ISSN:0164-0925
                          EISSN:1558-4593
                          DOI:10.1145/5001
                          Issue’s Table of Contents
                          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]

                          Publisher

                          Association for Computing Machinery

                          New York, NY, United States

                          Publication History

                          Published: 02 January 1986
                          Published in TOPLAS Volume 8, Issue 1

                          Permissions

                          Request permissions for this article.

                          Check for updates

                          Qualifiers

                          • Article

                          Contributors

                          Other Metrics

                          Bibliometrics & Citations

                          Bibliometrics

                          Article Metrics

                          • Downloads (Last 12 months)44
                          • Downloads (Last 6 weeks)13
                          Reflects downloads up to 30 Aug 2024

                          Other Metrics

                          Citations

                          Cited By

                          View all
                          • (2020)Composing Communicating Systems, SynchronouslyLeveraging Applications of Formal Methods, Verification and Validation: Verification Principles10.1007/978-3-030-61362-4_3(39-59)Online publication date: 20-Oct-2020
                          • (2020)Agent-Based Modeling, Mathematical Formalism forComplex Social and Behavioral Systems10.1007/978-1-0716-0368-0_10(683-703)Online publication date: 21-Aug-2020
                          • (2017)Phase Transitions in Possible Dynamics of Cellular and Graph Automata Models of Sparsely Interconnected Multi-Agent SystemsProceedings of the 16th Conference on Autonomous Agents and MultiAgent Systems10.5555/3091125.3091195(474-483)Online publication date: 8-May-2017
                          • (2014)Agent-Based Modeling, Mathematical Formalism forEncyclopedia of Complexity and Systems Science10.1007/978-3-642-27737-5_10-5(1-25)Online publication date: 24-May-2014
                          • (2012)ON THE COMPLEXITY OF COUNTING FIXED POINTS AND GARDENS OF EDEN IN SEQUENTIAL DYNAMICAL SYSTEMS ON PLANAR BIPARTITE GRAPHSInternational Journal of Foundations of Computer Science10.1142/S012905410600433917:05(1179-1203)Online publication date: 25-Jan-2012
                          • (2012)An enhanced flow analysis technique for detecting unreachability faults in concurrent systemsInformation Sciences: an International Journal10.1016/j.ins.2011.11.034194(254-269)Online publication date: 1-Jul-2012
                          • (2012)Agent Based Modeling, Mathematical Formalism forComputational Complexity10.1007/978-1-4614-1800-9_6(88-104)Online publication date: 2012
                          • (2009)Agent Based Modeling, Mathematical Formalism forEncyclopedia of Complexity and Systems Science10.1007/978-0-387-30440-3_10(160-176)Online publication date: 2009
                          • (2007)Predecessor existence problems for finite discrete dynamical systemsTheoretical Computer Science10.1016/j.tcs.2007.04.026386:1-2(3-37)Online publication date: 1-Oct-2007
                          • (2006)Complexity of reachability problems for finite discrete dynamical systemsJournal of Computer and System Sciences10.1016/j.jcss.2006.03.00672:8(1317-1345)Online publication date: 1-Dec-2006
                          • Show More Cited By

                          View Options

                          View options

                          PDF

                          View or Download as a PDF file.

                          PDF

                          eReader

                          View online with eReader.

                          eReader

                          Get Access

                          Login options

                          Full Access

                          Media

                          Figures

                          Other

                          Tables

                          Share

                          Share

                          Share this Publication link

                          Share on social media