arXiv:2610.01440cs.FLOct 2026

Manuscript Offprint

arXiv:2610.01440

Integer reachability in VASS with transfers: a refined complexity analysis

Tymoteusz Kucharek, Piotr Hofman

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Integer reachability is NP-complete for vector addition systems with states (VASS), but becomes PSPACE-complete in the presence of transfer operations. We refine this complexity gap for single-transfer VASS by identifying structural features of transfers responsible for the increase in complexity. Each system induces a transfer graph whose vertices are counters and whose edges represent possible transfers. We classify its vertices as good or bad, according to the branching and cyclic structure of their reachable subgraphs.

Let bb be the number of bad vertices. We show that every positive instance admits a polynomially verifiable certificate of size ∣I∣O(b+1)|I|^{O(b+1)}, where ∣I∣|I| is the input size. Consequently, integer reachability for single-transfer VASS can be decided in nondeterministic time ∣I∣O(b+1)|I|^{O(b+1)}; in particular, it belongs to NP for every class with a bounded number of bad counters.

Conversely, we show that bad counters provide sufficient structural power to encode space-bounded computation. For every transfer graph with bb bad vertices, we construct a single-transfer VASS that encodes the acceptance of a Turing machine using bO(1)b^{O(1)} tape cells. This yields PSPACE-hardness for every polynomial-time constructible family of transfer graphs containing linearly many bad vertices. Our results isolate the transfer patterns responsible for the complexity of integer reachability.

2012 ACM Subject Classification Theory of computation → Logic and verification; Theory of computation → Problems, reductions and completeness; Theory of computation → Automata over infinite objects

Keywords and phrases VASS, VASS with Transfers, Petri Nets with Transfers, Affine nets, Reachability, Relaxed semantics, Integer reachability, NP-complete vs PSPACE

Acknowledgements This work was supported by Polish NCN grant UMO-2024/53/B/ST6/02776.

1 Introduction

Vector addition systems (VASS) are one of the most important classes of infinite-state systems. They are a mathematically elegant formalism that is equivalent to Petri nets, which are used to model computer systems [18], business process management [16], biology [1], and many other domains. VASS and Petri nets have been studied extensively in theoretical computer science [8, 10, 6].

In this paper we consider transfer VASS, which belong to the family of VASS extensions [5, 15] introduced to model operations with a global nature, in contrast to the local modifications of pure Petri nets or ordinary VASS. The best-known example of a global operation is a reset [17, 2].

Perhaps one of the most studied problems in computer science is reachability: given a system and two configurations, decide whether there is a run from the first configuration to the second. For ordinary VASS, the reachability problem is Ackermann-complete [6, 11, 12], while reachability is undecidable for both reset and transfer VASS [7, 1]. One approach to circumvent this undecidability is to consider relaxed semantics, such as integer semantics [14, 9, 3], where configurations are taken from Q×ZdQ \times Z^d instead of Q×NdQ \times N^d.

Integer reachability in VASS with transfers: a refined complexity analysis

It is known that integer reachability is NP-complete for VASS and for VASS with resets [9], while it is PSPACE-complete for VASS with transfers [3]. NP-completeness can still be considered manageable because of advances in SAT solvers, but PSPACE-completeness rules out the same practical applicability for transfer VASS that is possible for pure VASS. In this work we seek to better understand what makes transfer VASS hard. We identify a parameter that is precisely correlated with the exponent in the function bounding the length of a reachability witness.

Consider the directed graph G whose vertices are counters and whose edges represent transfers in the VASS. More precisely, there is an edge from vertex c1c_1 to vertex c2c_2 if the VASS has a transition that transfers the content of counter c1c_1 to counter c2c_2. We call this graph the transfer graph, and we use it to study the complexity of integer reachability. Vertices of this graph can be partitioned into good and bad vertices; the precise rules of partitioning are technically involved and appear in Definitions 6 and 7. The main claim is that the size of a polynomial-time verifiable witness for integer reachability depends exponentially on the number of bad vertices and polynomially on the number of good vertices. Intuitively, a vertex is good if the graph of nodes reachable from it is a path, so the choices are limited. Let B(G)B(G) be the set of bad vertices in the graph G. Fix B∈NB \in \mathbb{N}, and let CBC_B be the class of all transfer VASS whose transfer graph has at most B bad vertices.

Our main results are captured by Theorem 10, Corollary 11 and Lemma 19.

Theorem 10 establishes an upper bound on the size of a reachability witness, while Corollary 11 shows that integer reachability is in NP for transfer VASSes in CBC_B.

Lemma 19 gives a matching lower bound. In particular, for any fixed transfer graph G and any Turing machine using ∣B(G)∣30\frac{|B(G)|}{30} tape cells, we construct in polynomial time a transfer VASS whose transfer graph is G and two configurations such that the second configuration is reachable from the first if and only if the machine accepts.

These results both identify transfer VASS instances for which integer reachability is tractable and clarify which transfer patterns make transfer VASS hard.