Skip to main content
QUICK REVIEW

[Paper Review] Reachability problems for communicating finite state machines

Jan Pachl|arXiv (Cornell University)|Jun 22, 2003
Formal Methods in VerificationComputer Science17 references27 citations
TL;DR

This paper investigates reachability problems in communicating finite state machines (CFSMs) with unbounded FIFO channels, proposing a formalism using rational and recognizable channel expressions to enable algorithmic decidability of key protocol properties. It establishes that while most reachability problems are undecidable in general, decidability is achieved for specific classes—such as affine SR-machines and rational-channel protocols—via abstract flow control and priority-based analysis, offering a practical framework for verifying deadlock-freedom and other safety properties in complex communication protocols.

ABSTRACT

The paper deals with the verification of reachability properties in a commonly used state transition model of communication protocols, which consists of finite state machines connected by potentially unbounded FIFO channels. Although simple reachability problems are undecidable for general protocols with unbounded channels, they are decidable for the protocols with the recognizable channel property. The decidability question is open for the protocols with the rational channel property.

Motivation & Objective

  • To address the challenge of verifying safety properties in communication protocols modeled as communicating finite state machines (CFSMs) with unbounded FIFO channels.
  • To identify conditions under which reachability problems—such as deadlock-freedom and boundedness—are algorithmically decidable despite the undecidability of these problems in general CFSM models.
  • To develop a formalism using rational and recognizable channel expressions that allows automatic verification of protocol properties through abstract flow control and priority schemes.
  • To provide a practical, checkable proof system for verifying deadlock-freedom in protocols that use channels in a 'simple manner'.
  • To generalize abstract flow control techniques to arbitrary communication graphs and establish decidability results for rational-channel CFSM protocols.

Proposed method

  • Introduces a hierarchy of protocol description formalisms: listing all interactions, CFSMs, and CFSMs augmented with channel expressions using rational languages.
  • Employs abstract flow control as a core technique to analyze global state reachability, enabling automated verification under certain constraints.
  • Applies priority schemes to guide state exploration and reduce the number of 'needlessly reachable' global states, improving algorithmic efficiency.
  • Uses rational expressions to describe channel content in terms of process states, enabling formal analysis of message flow and channel behavior.
  • Leverages results from Post's tag systems to prove undecidability of key problems, such as boundedness and termination, in general CFSM models.
  • Constructs a formal proof system for deadlock-freedom based on channel expression constraints, allowing automatic checking of proofs for protocols with simple channel usage.

Experimental results

Research questions

  • RQ1Under what conditions is the reachability problem decidable for communicating finite state machines with unbounded FIFO channels?
  • RQ2Can deadlock-freedom be algorithmically verified for CFSM protocols with unbounded channels?
  • RQ3How can abstract flow control and priority assignments be used to improve the decidability and efficiency of reachability analysis in CFSM models?
  • RQ4What role do rational and recognizable channel expressions play in enabling decidability of protocol properties?
  • RQ5To what extent can undecidability results for general CFSM models be circumvented by restricting channel behavior to rational or recognizable expressions?

Key findings

  • Most reachability properties, including deadlock-freedom and boundedness, are undecidable for general CFSMs with unbounded channels, as shown via reductions from Post's tag systems.
  • The problem of deciding whether a tag system eventually reaches the empty string is undecidable when |g|⁻ = 1 and |g|⁺ = 3, establishing a foundation for undecidability results.
  • The boundedness of a tag system's sequence (i.e., whether |sₙ(T)| ≤ c for some constant c and all n) is undecidable, even when the sequence never reaches λ.
  • For affine SR-machines, certain reachability properties are decidable, despite their structural similarity to undecidable cases.
  • Rational-channel CFSM protocols allow the construction of algorithms for solving reachability problems on certain communication graphs, thanks to abstract flow control and priority-based state space reduction.
  • Abstract flow control yields quantitative improvements in analysis efficiency, though these gains are difficult to estimate meaningfully for general protocols.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.