The Complexity of Simulation and (Exotic) Matrix Multiplications

We study the complexity of computing the simulation preorder of finite transition systems, a crucial problem in model checking of temporal logic, showing that it is strongly related to some variants of matrix multiplication. We first show that any O(n)-time algorithm for n-states transition systems can be used to compute the product of two n × n boolean matrices in O(n) time. This reduction is the first evidence of the difficulty to get a truly subcubic combinatorial algorithm for the simulation preorder, and holds even restricting the problem to acyclic systems. For acyclic Kripke structures, we show an algorithm that employs fast (boolean) matrix multiplication and runs in n time (where ω < 2.4 is the exponent of matrix multiplication). Moreover, we exhibit O(n)-size canonical certificates that can be checked by verifying a constant number of n × n standard matrix multiplications over the integers, i.e., in O(n) (randomized) time. For cyclic structures, we give some evidence that the problem might possibly be harder. We define the max-semi-boolean matrix multiplication (MSBMM) as the matrix multiplication on the semi-ring (max,×) where one of the two matrices contains only 0’s and 1’s. We obtain O(n)-size canonical certificates for cyclic Kripke structures that can be checked by verifying a constant number of n × n MSBMMs. Then, we show that verifying a n × n MSBMM can be reduced to verifying the simulation preorder in a O(n log n)-states Kripke structure. Hence, for any α ≥ 2, if MSBMM can be verified in O(n) time, then the simulation preorder admits certificates that can be checked in O(n) time, otherwise the simulation preorder does not admit a O(n)-time algorithm. 1 ar X iv :1 60 5. 02 15 6v 1 [ cs .C C ] 7 M ay 2 01 6

[1]  Carla Piazza,et al.  From Bisimulation to Simulation: Coarsest Partition Problems , 2003, Journal of Automated Reasoning.

[2]  Bard Bloom,et al.  Transformational Design and Implementation of a New Efficient Solution to the Ready Simulation Problem , 1995, Sci. Comput. Program..

[3]  Marcin Jurdzinski,et al.  Small Progress Measures for Solving Parity Games , 2000, STACS.

[4]  Rance Cleaveland,et al.  A linear-time model-checking algorithm for the alternation-free modal mu-calculus , 1993, Formal Methods Syst. Des..

[5]  Abraham Waksman,et al.  A Permutation Network , 1968, JACM.

[6]  Tracy Kimbrel,et al.  A Probabilistic Algorithm for Verifying Matrix Products Using O(n²) Time and log_2 n + O(1) Random Bits , 1993, Inf. Process. Lett..

[7]  Jasen Markovski Saving Time in a Space-Efficient Simulation Algorithm , 2011, 2011 11th International Conference on Quality Software.

[8]  Rance Cleaveland,et al.  The concurrency workbench: a semantics-based tool for the verification of concurrent systems , 1993, TOPL.

[9]  Gérard Cécé Three Simulation Algorithms for Labelled Transition Systems , 2013, ArXiv.

[10]  Anoop Gupta,et al.  Parallel computer architecture - a hardware / software approach , 1998 .

[11]  Jirí Wiedermann,et al.  Deterministic Verification of Integer Matrix Multiplication in Quadratic Time , 2014, SOFSEM.

[12]  Ran Duan,et al.  Fast algorithms for (max, min)-matrix multiplication and bottleneck shortest paths , 2009, SODA.

[13]  Francesco Ranzato,et al.  A New Efficient Simulation Equivalence Algorithm , 2007, 22nd Annual IEEE Symposium on Logic in Computer Science (LICS 2007).

[14]  Rance Cleaveland,et al.  A linear-time model-checking algorithm for the alternation-free modal mu-calculus , 1993, Formal Methods Syst. Des..

[15]  Rusins Freivalds,et al.  Probabilistic Machines Can Use Less Running Time , 1977, IFIP Congress.

[16]  Don Coppersmith,et al.  Matrix multiplication via arithmetic progressions , 1987, STOC.

[17]  Raphael Yuster,et al.  All Pairs Bottleneck Paths and Max-Min Matrix Products in Truly Subcubic Time , 2009, Theory Comput..

[18]  Bloom Bard,et al.  Ready simulation, bisimulation, and the semantics of CCS-like languages , 1989 .

[19]  Francesco Ranzato,et al.  An efficient simulation algorithm based on abstract interpretation , 2007, Inf. Comput..

[20]  Orna Grumberg,et al.  Simulation Based Minimization , 2000, CADE.

[21]  Carla Piazza,et al.  Simulation as Coarsest Partition Problem , 2002, TACAS.

[22]  Thomas A. Henzinger,et al.  Computing simulations on finite and infinite graphs , 1995, Proceedings of IEEE 36th Annual Foundations of Computer Science.