Exploiting interleaving semantics in symbolic state-space generation

Gianfranco Ciardo, Gerald Lüttgen, Andrew S. Miner
2007 Formal methods in system design  
Symbolic techniques based on Binary Decision Diagrams (BDDs) are widely employed for reasoning about temporal properties of hardware circuits and synchronous controllers. However, they often perform poorly when dealing with the huge state spaces underlying systems based on interleaving semantics, such as communications protocols and distributed software, which are composed of independently acting subsystems that communicate via shared events. This article shows that the efficiency of
more » ... exploration techniques using decision diagrams can be drastically improved by exploiting the interleaving semantics underlying many event-based and component-based system models. A new algorithm for symbolically generating state spaces is presented that (i) encodes a model's state vectors with Multi-valued Decision Diagrams (MDDs) rather than flattening them into BDDs and (ii) partitions the model's Kronecker-consistent next-state function by event and subsystem, thus enabling multiple lightweight next-state transformations rather than a single heavyweight one. Together, this paves the way for a novel iteration order, called saturation, which replaces the breadth-first search order of traditional algorithms. The resulting saturation algorithm is implemented in the tool S M A R T, and experimental studies show that it is often several orders of magnitude better in terms of time efficiency, final memory consumption, and peak memory consumption than existing symbolic algorithms.
doi:10.1007/s10703-006-0033-y fatcat:57jp2co2ljbmhfd5szwujhtzi4