Vector addition system
A vector addition system (VAS) is one of several mathematical modeling languages for the description of distributed systems. Vector addition systems were introduced by Richard M. Karp and Raymond E. Miller in 1969,[1] and generalized to vector addition systems with states (VASS) by John E. Hopcroft and Jean-Jacques Pansiot in 1979.[2] Both VAS and VASS are equivalent in many ways to Petri nets introduced earlier by Carl Adam Petri.

Informal definition
[edit]A vector addition system consists of a finite set of integer vectors with all vectors having the same length. An initial vector is seen as the initial values of multiple counters, and the vectors of the VAS are seen as updates. These counters may never drop below zero. More precisely, given an initial vector with non negative values, the vectors of the VAS can be added componentwise, given that every intermediate vector has non negative values. A vector addition system with states is a VAS equipped with control states. More precisely, it is a finite directed graph with arcs labelled by integer vectors. VASS have the same restriction that the counter values should never drop below zero.
Vector addition systems can be seen as a weak counter machine, which is unable to test that a counter is zero (but it can verify that a counter is positive, by trying to decrement it. If the test fails, execution terminates).
Formal definitions and basic terminology
[edit]- A VAS is a finite set for some .
- A VASS is a finite directed graph such that for some .
Transitions
[edit]- Let be a VAS. Given a vector , the vector can be reached, in one transition, if and .
- Let be a VASS. Given a configuration , the configuration can be reached, in one transition, if and .
VASS and VAS
[edit]A VAS is obviously a special case of VASS. On the other hand, a VASS of dimension n can be simulated by a VAS of dimension n+3, as shown by Hopcroft and Pansiot[3]. In this system, the additional three coordinates encode the state. Each transition of the VASS is simulated by a sequence of three VAS transitions, where the first two just manipulate the state-encoding coordinates.
VASS and Petri Nets
[edit]A Petri net can be seen as a VASS: consider a Petri net , where
- is a finite set of places
- T is a finite set of transitions
- specifies the number of tokens that a transition consumes and produces.
Then a marking of the net can be seen as a vector in , where , and a transition t as a pair of VASS transitions where q is an auxiliary control state, and . Similarly, a VAS can be formulated as a Petri net.
Properties of VAS(S) and Decision Procedures
[edit]Reachability
[edit]The reachability problem for Petri nets is to decide, given a A VAS(S) and a state (a vector in the case of VAS, a vector and a control state in the case of VASS) whether another given state is reachable from it by a any finite sequence of transitions.
This problem was shown to be EXPSPACE-hard[4] years before it was shown to be decidable at all[5]. In 2021, this problem was shown to be Ackermann-complete (thus not primitive recursive), independently by Jerome Leroux[6] and by Wojciech Czerwiński and Łukasz Orlikowski[7]. The Ackermannian upper bound is due to Leroux and Schmitz[8] whose algorithm admits a primitive-recursive upper bound when the dimension is a constant.
The mutual reachability problem (aka reversible reachability) asks for two states, x and y, whether x is reachable from y and vice versa. This problem is much easier than unidirectional reachability, and was proved to be EXPSPACE-complete[9].
Coverability
[edit]Given two states of a VAS, x and y, the coverability question asks whether there is a sequence of transitions that takes the initial state x into a state such that (comparison is element-wise). In a VASS, one also specifies the control states, and the problem is equivalent to the (superficially) simpler problem of asking whether a given control state, q, is reachable from initial state . The coverability problem is EXPSPACE-complete[4].
Boundedness
[edit]The boundedness problem for a VASS is: given initial state , is the set of states reachable from finite? This decision problem is also EXPSPACE-complete[10].
See also
[edit]- Petri net
- Finite-state machine
- Communicating finite-state machine
- Kahn process networks
- Process calculus
- Actor model
- Trace theory
References
[edit]- ^ Karp, Richard M.; Miller, Raymond E. (May 1969). "Parallel program schemata". Journal of Computer and System Sciences. 3 (2): 147–195. doi:10.1016/S0022-0000(69)80011-5.
- ^ Hopcroft, John E.; Pansiot, Jean-Jacques (1979). "On the reachability problem for 5-dimensional vector addition systems". Theoretical Computer Science. 8 (2): 135–159. doi:10.1016/0304-3975(79)90041-0. hdl:1813/6102.
- ^ Hopcroft, John; Pansiot, Jean-Jacques. "On the reachability problem for 5-dimensional vector addition systems". Theoretical Computer Science. 8 (2). Elsevier: 135–159.
- ^ a b Lipton, R. (1976). "The Reachability Problem Requires Exponential Space". Technical Report 62. Yale University: 305–329.
- ^ Mayr, Ernst W. "An Algorithm for the General Petri Net Reachability Problem". SIAM Journal on Computing. 13 (3). SIAM: 441–460.
- ^ Leroux, Jérôme (2021). The Reachability Problem for Petri Nets is Not Primitive Recursive. 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS). arXiv:2104.12695.
- ^ Czerwiński, Wojciech; Orlikowski, Łukasz (2021). Reachability in Vector Addition Systems is Ackermann-complete. 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS). arXiv:2104.13866.
- ^ Leroux, Jérôme; Schmitz, Sylvain. "Reachability in vector addition systems is primitive-recursive in fixed dimension". 34th Annual ACM/IEEE Symposium on Logic in Computer Scienc. LICS. IEEE.
- ^ Leroux, Jérôme (2013). "Vector addition system reversible reachability problem". Logical Methods in Computer Science. 9 (1). doi:10.2168/LMCS-9(1:5)2013.
- ^ Rackoff, Charles. "The covering and boundedness problems for vector addition systems". Theoretical Computer Science. 6 (2). Elsevier: 223–23.