Abstract
Unordered data Petri nets (UDPN) are an extension of classical Petri nets with tokens that carry data from an infinite domain and where transitions may check equality and disequality of tokens. UDPN are well-structured, so the coverability and termination problems are decidable, but with higher complexity than for Petri nets. On the other hand, the problem of reachability for UDPN is surprisingly complex, and its decidability status remains open. In this paper, we consider the continuous reachability problem for UDPN, which can be seen as an over-approximation of the reachability problem. Our main result is a characterization of continuous reachability for UDPN and polynomial time algorithm for solving it. This is a consequence of a combinatorial argument, which shows that if continuous reachability holds then there exists a run using only polynomially many data values.
Introduction
Petri nets are a fundamental formalism for modeling concurrent systems. However, they often lack the expressiveness needed for systems where tokens represent entities with unique identities, such as IDs, barcodes, or timestamps. Unordered Data Petri Nets (UDPN) address this by allowing tokens to carry values from an infinite data domain. While this extension is powerful, it introduces significant analytical challenges. Discrete reachability for UDPN is known to be at least Ackermannian-hard, and its decidability remains a major open question.
To circumvent this complexity, researchers often study continuous reachability. In this relaxation, tokens are treated as a continuous fluid (represented by non-negative rational numbers) rather than discrete units. Continuous reachability serves as an over-approximation: if a state is unreachable in the continuous model, it is guaranteed to be unreachable in the discrete one. This paper investigates whether the addition of data to the continuous model preserves the polynomial-time (PTime) solvability characteristic of standard continuous Petri nets.
Methodology
The authors establish the PTime complexity of continuous reachability for UDPNs through several key technical contributions:
- Data Value Bounding: The central theoretical result is that if a continuous run exists between two configurations, there is a run that utilizes only a polynomially bounded number of distinct data values. This is proven via a "decrease transformation" that uniformizes data values in a run to minimize their count.
- Histograms: To manage the representation of data without exponential growth, the authors utilize histograms. These structures provide a compressed mathematical description of how transitions affect various data values.
- Loop-less Transformation: The authors demonstrate that any UDPN can be converted into an equivalent "loop-less" version in polynomial time. In loop-less nets, continuous reachability is significantly easier to characterize as it avoids the complexities of simultaneous token consumption and production.
- Linear Programming with Implications: The reachability conditions are ultimately encoded into a system of linear equations with implications (e.g., "if transition $t$ fires, place $p$ must contain fluid"). Such systems are efficiently solvable in PTime.
Key Results
The paper provides a definitive complexity characterization for continuous reachability in UDPNs:
- $\mathbb{Q}$-Reachability is in PTime: Solving the state equation (allowing intermediate negative token counts) is shown to be in PTime.
- Continuous ($\mathbb{Q}^+$) Reachability is in PTime: The main result confirms that deciding reachability while maintaining non-negative fluid levels throughout the process is also in PTime.
- Complexity Parity: This result matches the complexity of continuous reachability for standard Petri nets, indicating that the inclusion of unordered data does not inherently increase the computational cost of this specific verification task.
Discussion and Future Work
While this work provides a strong theoretical foundation, several avenues for future research remain. The algorithm, though PTime, has not yet been implemented in a practical tool. The lack of standardized UDPN benchmarks also presents a hurdle for empirical evaluation. Furthermore, this study focuses on unordered data (equality checks only). Extending these results to ordered data, which would allow for comparisons like "greater than," represents a significant challenge and a necessary step for analyzing more complex systems like Timed Petri Nets.
Summary updated