The Tractability Border of Reachability in Simple Vector Addition Systems with States
Dmitry Chistikov, Wojciech Czerwiński, Filip Mazowiecki, Łukasz Orlikowski, Henry Sinclair-Banks, Karol Węgrzycki
TL;DR
The paper maps the tractability border for reachability in simple vector addition systems with states under unary encodings, identifying sharp NP-hardness results for unary $3$-SLPS and unitary $\alpha(k)$-SLPS, while delivering a polynomial-time algorithm for unary $2$-SLPS with binary-encoded endpoints. It introduces novel structural decompositions of runs and employs a controlling-counter framework to simulate zero tests, enabling SAT-based hardness reductions to be carried within restricted SLPS. The work also extends hardness results to ultraflat unary VASS and develops a polynomial-time DP algorithm for a key binary-encoded setting, thus advancing understanding of the intricate boundary between tractable and intractable reachability in Petri-net-like models. Overall, the paper contributes both hardness machinery and efficient algorithms that sharpen our view of how encoding and dimensional parameters impact reachability complexity in VASS-like systems.
Abstract
Vector Addition Systems with States (VASS), equivalent to Petri nets, are a well-established model of concurrency. The central algorithmic challenge in VASS is the reachability problem: is there a run from a given starting state and counter values to a given target state and counter values? When the input is encoded in binary, reachability is computationally intractable: even in dimension one, it is NP-hard. In this paper, we comprehensively characterise the tractability border of the problem when the input is encoded in unary. For our main result, we prove that reachability is NP-hard in unary encoded 3-VASS, even when structure is heavily restricted to be a simple linear path scheme. This improves upon a recent result of Czerwiński and Orlikowski (2022), in both the number of counters and expressiveness of the considered model, as well as answers open questions of Englert, Lazić, and Totzke (2016) and Leroux (2021). The underlying graph structure of a simple linear path scheme (SLPS) is just a path with self-loops at each node. We also study the exceedingly weak model of computation that is SPLS with counter updates in {-1,0,+1}. Here, we show that reachability is NP-hard when the dimension is bounded by O(α(k)), where αis the inverse Ackermann function and k bounds the size of the SLPS. We complement our result by presenting a polynomial-time algorithm that decides reachability in 2-SLPS when the initial and target configurations are specified in binary. To achieve this, we show that reachability in such instances is well-structured: all loops, except perhaps for a constant number, are taken either polynomially many times or almost maximally. This extends the main result of Englert, Lazić, and Totzke (2016) who showed the problem is in NL when the initial and target configurations are specified in unary.
