Iowa State University
Under-approximation and over-approximation of the state space of a Petri net using decision diagrams
Abstract
dc:description.abstractApproximation techniques play a crucial role in Petri net analysis, addressing fundamental challenges that arise when dealing with complex concurrent and distributed systems. As Petri nets grow in size and complexity, they often suffer from the state space explosion problem, where the number of reachable states increases exponentially. Many key problems in Petri net theory, such as reachability and coverability, are PSPACE-complete or even undecidable for certain net classes. Approximation techniques offer a valuable trade-off between analytical precision and computational efficiency, allowing for the analysis of large-scale, real-world systems that would otherwise be beyond the reach of exact methods. Over-approximation techniques, like coverability analysis, can prove the absence of unsafe states (like a deadlock) by examining a superset of system behaviors, but may produce false alarms. Under-approximation techniques demonstrate desired behavior by exploring a subset of the state space, guaranteeing that any identified unsafe states are real but potentially missing others. Over-approximation enhances confidence in system correctness at the risk of false positives, while under-approximation efficiently finds concrete errors but may not detect all issues. Combining both approaches can provide a comprehensive understanding of system behavior, balancing safety proofs with specific vulnerability identification. By employing these approximation approaches, we can overcome the limitations of exact analysis, scale to industrial-sized problems, and gain crucial insights into system properties, even for Petri nets with infinite state spaces. This makes approximation an indispensable tool in the practical application of Petri nets to complex system modeling and verification. In this work, first, we focus on memory-constrained algorithms that employ a novel O(m log n)-time under-approximation technique for under-approximating multi-valued decision diagrams (MDDs), where m and n are the number of MDD edges and nodes, respectively. Our algorithm computes the above-state count of node p (i.e., the number of states from the root to p), below-state count of node p (i.e., the number of states from p to terminal 1), unique above set of node p (i.e., the set of nonterminal nodes strictly above p that would be removed if p were removed), and unique below set of node p (i.e., the set of nonterminal nodes below p that would be removed if p were removed). The method obtains these information by traversing an MDD and selecting either a node or a collection of nodes with the lowest density. The former is more accurate, but more time-consuming, whereas the latter has a better execution time, but it is more eager in deleting nodes, which may result in deleting more nodes than strictly necessary from the MDD. The effectiveness of our approach is demonstrated experimentally by a reduction in peak memory usage for the symbolic reachability computation of a set of Petri nets. The primary conclusion of the under-approximation study is that selecting a collection of nodes for deletion performs better in larger real-world problems in terms of execution time, although selecting one node for removal at a time delivers a more precise outcome. This work highlights the effectiveness of using an under-approximation approach when manipulating MDDs. A coverability set (CS) for a Petri net is a finite set of ω-markings representing all reachable states, including those in infinite state spaces, ω means infinity where n + ω = ω − n = ω for any natural number n. The CS over-approximates the reachable state space, enabling analysis of unbounded Petri nets through finite representation. The minimal coverability set (MCS) is the smallest CS with no proper subset being a CS itself. The MCS forms an antichain under the covering relation, ensuring no marking covers another, thus providing the most compact representation of the Petri net’s behavior in terms of coverability. Second, we present a novel symbolic approach for generating the MCS. Our new approach processes a set of markings or a relation over markings at a time, rather than evaluating them one at a time, this can lead to improved time efficiency. In other words, our new algorithm constructs a CS implicitly, by modifying the reachability relation to compute a CS more efficiently. When the algorithm modifies a relation to incorporate additional ω-markings, it subsequently updates the coverability relation to maintain consistency with these changes. Our symbolic approach utilizes a MDD for data storage, which results in significant savings in both time and memory. The main finding from the second part reveals that processing a set of markings or a relation over markings, rather than individual marking, significantly reduces both execution time and memory usage in most model analyses. This symbolic approach proves to be a more efficient computational strategy across a variety of model types and sizes.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- dissertation
- Discipline thesis:degree_discipline
- Computer science
- Department dc:contributor.department
- Department of Computer Science
- Grantor
- Iowa State University
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Hosseini, Seyedehzahra
- Advisors dc:contributor.advisor
-
- Ciardo, Gianfranco
- Miner, Andrew S
- Basu, Samik
- Cohen, Myra Beth
- Lathrop, James I
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/Yr3KnN2r