Finding Non-Terminating Executions in Distributed Asynchronous Programs
type: Dataset
description: Programming distributed and reactive asynchronous systems is complex due to the lack of synchronization between concurrently executing tasks, and arbitrary delay of message-based communication. As even simple programming mistakes have the capability to introduce divergent behavior, a key liveness property is eventual quiescence: for any finite number of external stimuli (e.g., client-generated events), only a finite number of internal messages are ever created. In this work we propose a practical three-step reduction-based approach for detecting divergent executions in asynchronous programs. As a first step, we give a code-to-code translation reducing divergence of an asynchronous program P to completed state-reachability--i.e., reachability to a given state with no pending asynchronous tasks--of a polynomially-sized asynchronous program P′. In the second step, we give a code-to-code translation under-approximating completed state-reachability of P′ by state-reachability of a polynomially-sized recursive sequential program P′′(K), for the given analysis parameter K ∈ N. Following Emmi et al. [8]'s delay-bounding approach, P′′(K) encodes a subset of P′'s, and thus of P's, behaviors by limiting scheduling nondeterminism. As K is increased, more possibly divergent behaviors of P are considered, and in the limit as K approaches infinity, our reduction is complete for programs with finite data domains. As the final step we give the resulting state-reachability query to an off-the-shelf SMT-based sequential program verification tool. We demonstrate the feasibility of our approach by implementing a prototype analysis tool called Alive, which detects divergent executions in several hand-coded variations of textbook distributed algorithms. As far as we are aware, our easy-to-implement prototype is the first tool which automatically detects divergence for distributed and reactive asynchronous programs.
issued: 2026-05-16T14:55:28.879911
language: en
modified: 2026-05-16T14:55:28.879916
contact point: Organization
  fn: CCSD
keyword: concurrency
keyword: d24-softwareprogram-verification-formal-methods-f31-specifying-and-verifying-and-reasoning
keyword: infoeu-reposemanticsreport
keyword: infoinfo-pfcomputer-science-csperformance-cspf
keyword: message-passing
keyword: reports
keyword: verification
landing page: https://hal.science/hal-00702306

Finding Non-Terminating Executions in Distributed Asynchronous Programs
type: Distribution
format: HTML
issued: 2026-05-16T14:55:28.891896
modified: 2026-05-16T14:55:28.855537
access URL: https://hal.science/hal-00702306

test_moissonnage_selune
type: Agent