Reachability in Continuous Pushdown VASS

A. R. Balasubramanian, Rupak Majumdar, Ramanathan S. Thinniyam, Georg Zetzsche

TL;DR

This paper tackles the notoriously difficult reachability problem for a computational model called Continuous Pushdown Vector Addition Systems with States (CPVASS). The authors prove that this problem is NEXPTIME-complete, a significant result that tightens the complexity bounds for this class of systems. This work is crucial for understanding the computational power of systems with both recursive structures (like program stacks) and continuous-valued resources.

What Problem Does This Paper Address?

The paper investigates the reachability problem for Continuous Pushdown Vector Addition Systems with States (CPVASS). PVASS are a powerful model combining pushdown automata (for recursion) and Vector Addition Systems with States (for concurrent resource management). The core challenge is determining if a system, starting from a given configuration, can reach another specific configuration. While reachability for standard PVASS remains an open problem, this paper focuses on a "continuous" variant where counters can hold rational numbers and transitions can be applied fractionally. This continuous semantics is an over-approximation of discrete systems and also models real-world systems with continuous rates. The paper aims to establish the precise computational complexity of the reachability problem for CPVASS, a fundamental question in theoretical computer science with implications for program analysis and verification.

Methods

The paper employs a multi-pronged approach involving reductions between different computational models and leveraging existing results in formal verification and complexity theory.

  • NEXPTIME Upper Bound: The authors first establish an upper bound for the reachability problem. This is achieved by translating the problem into a formula in Existential Linear Rational Arithmetic (ELRA). The satisfiability of ELRA formulas is known to be in NP, and by using a non-deterministic algorithm to construct the ELRA formula, they arrive at a NEXPTIME upper bound. This involves techniques like simulating grammar derivations and using cyclic Q+-VASS.
  • NEXPTIME Lower Bound: To prove the NEXPTIME-hardness, the authors construct a chain of reductions starting from a known hard problem: reachability in a machine with two counters that can be incremented or doubled (2CM²⁺¹). This problem is already NEXPTIME-hard.
  • They reduce 2CM²⁺¹ to a [0, 1]-VASS (a VASS where counters are restricted to [0, 1] and zero tests are allowed). This involves creating "gadgets" to simulate increment and doubling operations using fractional firings and complementary counters.
  • Next, they reduce the [0, 1]-VASS problem to a Q+-VASSRL (a VASS with a run-length constraint). This step introduces complementary counters to simulate zero tests and a controlling counter to enforce the run-length constraint.
  • Finally, they reduce the Q+-VASSRL problem to the CPVASS reachability problem. This is done by using a pushdown automaton to simulate a binary counter and then taking the product of this PDA with the Q+-VASS.
  • Coverability and State Reachability: The paper also analyzes the complexity of related problems like coverability and state reachability for CPVASS, showing they have different complexities than reachability.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Robustness of NEXPTIME-Completeness: A striking finding is that the NEXPTIME-completeness of CPVASS reachability holds even when counter values are specified in binary, and it remains NEXPTIME-hard for coverability even with bounded stack-height, fixed dimensions, and unary encodings. This indicates a high degree of inherent complexity.
  • Discrepancy in PVASS Complexity: Unlike standard PVASS where reachability, coverability, and state reachability are often polynomially inter-reducible, for CPVASS, state reachability is NP-complete, while reachability and coverability are NEXPTIME-complete. This highlights how the continuous semantics changes the problem landscape.
  • Novel Gadgets for Continuous Simulation: The paper introduces clever "gadgets" that use complementary counters and controlled fractional firings to simulate discrete operations (like increment, doubling, and zero tests) within the continuous framework of VASS. This is a key technical contribution for the lower bounds.
  • ELRA as a Tool: The use of Existential Linear Rational Arithmetic (ELRA) provides a powerful framework for expressing and analyzing the reachability relations in continuous systems.

Key Results

  • CPVASS Reachability is NEXPTIME-complete: This is the main theoretical result.
  • CPVASS Coverability is NEXPTIME-hard: This hardness holds even for 85-dimensional CPVASS with bounded stack-height and unary encodings.
  • CPVASS State Reachability is NP-complete: This is a significantly lower complexity than reachability and coverability.
  • The paper provides a comprehensive complexity landscape for reachability, coverability, and state reachability in CPVASS.

Limitations and Future Work

  • Open Problem for Discrete PVASS: The paper acknowledges that the reachability problem for standard (discrete) PVASS remains an open problem.
  • Extensions of CPVASS: The authors suggest exploring the complexity of CPVASS with additional features like zero tests on counters, resets, or transfers.
  • Higher-Order Stacks: Extending the decidability results to CPVASS with higher-order stacks is also proposed as future work.
  • Low-Dimensional Coverability: Investigating the coverability and reachability problems for CPVASS over low dimensions is mentioned as an interesting direction.

Summary updated

BibTeX
@article{balasubramanian2024reachability,
  author = {A. R. Balasubramanian and Rupak Majumdar and Ramanathan S. Thinniyam and Georg Zetzsche},
  title = {{Reachability in Continuous Pushdown VASS}},
  journal = {Proc. ACM Program. Lang.},
  year = {2024},
  doi = {10.1145/3633279},
}
Figure