Reachability in trace-pushdown systems

Chris Köcher, Dietrich Kuske

TL;DR

This paper extends the classic reachability results for pushdown systems from sequential words to Mazurkiewicz traces, which model concurrent behavior. By introducing a new class of "left-closed" (lc-rational) trace relations, the authors prove that reachability in these systems is decidable in polynomial time and preserves key structural properties of trace languages.

What Problem Does This Paper Address?

In formal verification, pushdown systems (PDS) are the standard model for programs with recursive procedure calls. A classic result by Didier Caucal (1988) shows that the set of configurations reachable in a PDS is "regular" (or rational), making safety properties decidable.

However, classical PDS assume a linear, sequential stack of words. Modern distributed and concurrent systems are better modeled using Mazurkiewicz traces, where some actions can happen in any order (independent) while others must follow a specific sequence (dependent).

The challenge is that the mathematical tools used for words often break when applied to traces. Specifically, "rational relations" on traces are not closed under composition—meaning if you can go from A to B, and B to C, the combined relation from A to C might not be "rational" anymore. This paper seeks to find the right constraints and definitions to make reachability analysis work for these trace-based stacks.

Methods

The authors define Trace-Pushdown Systems (tPDS) and introduce two natural structural conditions on their transitions:

  1. Condition (P1): Ensures that any word written to the stack is "covered" by the dependence of the letter it replaces.
  2. Condition (P2): A "diamond property" for transitions, ensuring that if two independent actions can occur, the order in which they are processed doesn't fundamentally change the reachability logic.

The core innovation is the introduction of lc-rational (left-closed rational) relations. Standard rational trace relations fail to preserve language properties under composition. By enforcing "left-closure"—a property ensuring that if a trace is related to another, its equivalent reorderings are also handled consistently—the authors create a framework where composition works.

To prove reachability, they use a saturation algorithm. They add "shortcut" transitions to the system until any complex execution path can be simplified into a bounded number of "phases" (where the stack either only grows or only shrinks).

Datasets

Not discussed in the paper. As a theoretical contribution to formal language theory and verification, the paper relies on mathematical proofs rather than empirical benchmarks or datasets.

Key Insights and Ideas

  • The Rationality vs. Recognizability Split: In classical word theory, rational and recognizable languages are the same (regular languages). In trace theory, they diverge. The authors discovered a beautiful symmetry: backwards reachability preserves recognizability, while forwards reachability preserves rationality.
  • Twin Index Complexity: The complexity of their algorithms isn't just tied to the alphabet size, but to the "twin index"—the number of groups of letters that share the exact same dependencies.
  • Bounded Phases: While a classical PDS path can always be reduced to two phases (shrink then grow), a trace-pushdown system requires a number of phases linear to the twin index of the dependence alphabet. This accounts for the "shuffling" allowed by concurrency.

Key Results

  • Decidability: It is decidable in polynomial time whether a recognizable set of configurations can be reached from a rational set of configurations in a tPDS.
  • Closure Properties:
    • If the starting set of configurations is recognizable, the set of configurations that can reach it (backwards reachability) is also recognizable.
  • If the starting set is rational, the set of configurations reachable from it (forwards reachability) is also rational.
  • Algorithmic Efficiency: All constructions (transducers and NFAs) are polynomial in the size of the system, assuming the dependence alphabet is fixed.

Limitations and Future Work

The results rely on the two specific conditions (P1 and P2) placed on the transition structure. While the authors argue these are "natural," they are nonetheless restrictions.

The authors identify several open questions:

  • Recurrent Reachability: Can we decide if a system can visit a certain state infinitely often?
  • Alternating Reachability: How do these results extend to games or systems with adversarial inputs?
  • Expressive Power: The exact boundaries of what a trace-pushdown system can compute compared to other models (like multi-stack systems) remain unknown.

Summary updated

BibTeX
@article{kocher2026reachability,
  author = {Chris Köcher and Dietrich Kuske},
  title = {{Reachability in trace-pushdown systems}},
  journal = {Theoretical Computer Science},
  year = {2026},
  doi = {10.1016/j.tcs.2026.115971},
}
Figure