×

Algebraic simulations. (English) Zbl 1184.68300

Summary: Rewriting logic is a flexible and general logic to specify concurrent systems. To prove properties about concurrent systems in temporal logic, it is very useful to use simulations that relate the transitions and atomic predicates of a system to those of a potentially much simpler one; then, if the simpler system satisfies a property \(\varphi \) in a suitable temporal logic we are guaranteed that the more complex system does too. In this paper, the suitability of rewriting logic as a formal framework not only to specify concurrent systems but also to specify simulations is explored in depth. For this, increasingly more general notions of simulation (allowing stuttering) are first defined for Kripke structures, and suitable temporal logics allowing properties to be reflected back by such simulations are characterized. The paper then proves various representability results à la Bergstra and Tucker, showing that recursive Kripke structures and recursive simulation maps (resp., r.eṡimulation relations) can always be specified in a finitary way in rewriting logic. Using simulations, typically requires both model checking and theorem proving since their correctness requires discharging proof obligations. In this regard, rewriting logic, by containing equational logic as a sublogic and having equationally-based inductive theorem proving at its disposal, is shown to be particularly well-suited for verifying the correctness of simulations.

MSC:

68Q42 Grammars and rewriting systems
68Q60 Specification and verification (program logics, model checking, etc.)
03B44 Temporal logic
68N17 Logic programming

Software:

Maude; CESAR; ITP; CafeOBJ
Full Text: DOI

References:

[1] L. Bachmair, N. Dershowitz, Commutation, transformation, and termination, in: J.H. Siekmann (Ed.), Proceedings of the 8th International Conference on Automated Deduction - CADE-8, Lecture Notes in Computer Science, vol. 230, Springer, 1986, pp. 5-20.; L. Bachmair, N. Dershowitz, Commutation, transformation, and termination, in: J.H. Siekmann (Ed.), Proceedings of the 8th International Conference on Automated Deduction - CADE-8, Lecture Notes in Computer Science, vol. 230, Springer, 1986, pp. 5-20. · Zbl 0642.68036
[2] J. Bergstra, J. Tucker. Characterization of computable data types by means of a finite equational specification method, in: J.W. de Bakker, J. van Leeuwen (Eds.), 7th International Conference on Automata, Languages and Programming, Lecture Notes in Computer Science, vol. 81, Springer, 1980, pp. 76-90.; J. Bergstra, J. Tucker. Characterization of computable data types by means of a finite equational specification method, in: J.W. de Bakker, J. van Leeuwen (Eds.), 7th International Conference on Automata, Languages and Programming, Lecture Notes in Computer Science, vol. 81, Springer, 1980, pp. 76-90. · Zbl 0449.68003
[3] Borovanský, P.; Kirchner, C.; Kirchner, H.; Moreau, P.-E., ELAN from a rewriting logic point of view, Theoret. Comput. Sci., 285, 2, 155-185 (2002) · Zbl 1001.68057
[4] Bouhoula, A.; Jouannaud, J.-P.; Meseguer, J., Specification and proof in membership equational logic, Theoret. Comput. Sci., 236, 35-132 (2000) · Zbl 0938.68057
[5] Browne, M. C.; Clarke, E. M.; Grümberg, O., Characterizing finite Kripke structures in propositional temporal logic, Theoret. Comput. Sci., 59, 115-131 (1988) · Zbl 0677.03011
[6] Bruni, R.; Meseguer, J., Semantic foundations for generalized rewrite theories, Theoret. Comput. Sci., 360, 1-3, 386-414 (2006) · Zbl 1097.68051
[7] E.M. Clarke, E.A. Emerson, Design and synthesis of synchronization skeletons using branching time temporal logic, in: D. Kozen (Ed.), Proceedings of the Workshop on Logic of Programs, Lecture Notes in Computer Science, vol. 131, Springer, 1981, pp. 52-71.; E.M. Clarke, E.A. Emerson, Design and synthesis of synchronization skeletons using branching time temporal logic, in: D. Kozen (Ed.), Proceedings of the Workshop on Logic of Programs, Lecture Notes in Computer Science, vol. 131, Springer, 1981, pp. 52-71. · Zbl 0546.68014
[8] Clarke, E. M.; Grumberg, O.; Long, D. E., Model checking and abstraction, ACM Trans. Program. Languages Syst., 16, 5, 1512-1542 (1994)
[9] Clarke, E. M.; Grumberg, O.; Peled, D. A., Model Checking (1999), MIT Press
[10] Clavel, M.; Durán, F.; Eker, S.; Lincoln, P.; Martí-Oliet, N.; Meseguer, J.; Quesada, J. F., Maude: specification and programming in rewriting logic, Theoret. Comput. Sci., 285, 2, 187-243 (2002) · Zbl 1001.68059
[11] M. Clavel, F. Durán, S. Eker, P. Lincoln, N. Martí-Oliet, J. Meseguer, C. Talcott, Maude manual (version 2.4) 2008. <http://maude.cs.uiuc.edu/maude2-manual/>.; M. Clavel, F. Durán, S. Eker, P. Lincoln, N. Martí-Oliet, J. Meseguer, C. Talcott, Maude manual (version 2.4) 2008. <http://maude.cs.uiuc.edu/maude2-manual/>.
[12] M. Clavel, F. Durán, S. Eker, P. Lincoln, N. Martí-Oliet, J. Meseguer, C.L. Talcott, All about Maude – a high-performance logical framework, in: How to Specify, Program and Verify Systems in Rewriting Logic, Lecture Notes in Computer Science, vol. 4350, Springer, 2007.; M. Clavel, F. Durán, S. Eker, P. Lincoln, N. Martí-Oliet, J. Meseguer, C.L. Talcott, All about Maude – a high-performance logical framework, in: How to Specify, Program and Verify Systems in Rewriting Logic, Lecture Notes in Computer Science, vol. 4350, Springer, 2007. · Zbl 1115.68046
[13] Clavel, M.; Durán, F.; Eker, S.; Meseguer, J., Building equational proving tools by reflection in rewriting logic, (Futatsugi, K.; Nakagawa, A. T.; Tamai, T., Cafe: An Industrial-Strength Algebraic Formal Method (2000), Elsevier), 1-31
[14] M. Clavel, M. Palomino, A. Riesco, Introducing the ITP tool: a tutorial, J. Univ. Comput. Sci. 12 (11) (2006) 1618-1650. Special issue with extended versions of selected papers from PROLE 2005: The Fifth Spanish Conference on Programming and Languages.; M. Clavel, M. Palomino, A. Riesco, Introducing the ITP tool: a tutorial, J. Univ. Comput. Sci. 12 (11) (2006) 1618-1650. Special issue with extended versions of selected papers from PROLE 2005: The Fifth Spanish Conference on Programming and Languages.
[15] M.A. Colón, T.E. Uribe, Generating finite-state abstractions of reactive systems using decision procedures, in: A.J. Hu, M.Y. Vardi (Eds.), Computer Aided Verification. 10th International Conference, CAV’98, Vancouver, BC, Canada, June 28-July 2, 1998, Proceedings, Lecture Notes in Computer Science, vol. 1427, Springer, 1998, pp. 293-304.; M.A. Colón, T.E. Uribe, Generating finite-state abstractions of reactive systems using decision procedures, in: A.J. Hu, M.Y. Vardi (Eds.), Computer Aided Verification. 10th International Conference, CAV’98, Vancouver, BC, Canada, June 28-July 2, 1998, Proceedings, Lecture Notes in Computer Science, vol. 1427, Springer, 1998, pp. 293-304.
[16] Dams, D.; Gerth, R.; Grumberg, O., Abstract interpretation of reactive systems, ACM Trans. Program. Languages Syst., 19, 253-291 (1997)
[17] S. Das, Predicate Abstraction, PhD thesis, Department of Electrical Engineering, Stanford University, December 2003.; S. Das, Predicate Abstraction, PhD thesis, Department of Electrical Engineering, Stanford University, December 2003.
[18] S. Das, D.L. Dill, S. Park, Experience with predicate abstraction, in: N. Halbwachs, D. Peled (Eds.), Computer Aided Verification. 11th International Conference, CAV’99, Trento, Italy, July 6-10, 1999, Proceedings, Lecture Notes in Computer Science, vol. 1633, Springer, 1999, pp. 160-171.; S. Das, D.L. Dill, S. Park, Experience with predicate abstraction, in: N. Halbwachs, D. Peled (Eds.), Computer Aided Verification. 11th International Conference, CAV’99, Trento, Italy, July 6-10, 1999, Proceedings, Lecture Notes in Computer Science, vol. 1633, Springer, 1999, pp. 160-171. · Zbl 1046.68589
[19] Dershowitz, N.; Jouannaud, J.-P., Rewrite systems, (van Leeuwen, J., Handbook of Theoretical Computer Science, vol. B (1990), North-Holland), 243-320 · Zbl 0900.68283
[20] S. Eker, J. Meseguer, A. Sridharanarayanan, The Maude LTL model checker, in: F. Gadducci, U. Montanari (Eds.), Proceedings Fourth International Workshop on Rewriting Logic and its Applications, WRLA’02, Pisa, Italy, September 19-21, 2002, Electronic Notes in Theoretical Computer Science, vol. 71, Elsevier, 2002.; S. Eker, J. Meseguer, A. Sridharanarayanan, The Maude LTL model checker, in: F. Gadducci, U. Montanari (Eds.), Proceedings Fourth International Workshop on Rewriting Logic and its Applications, WRLA’02, Pisa, Italy, September 19-21, 2002, Electronic Notes in Theoretical Computer Science, vol. 71, Elsevier, 2002. · Zbl 1272.68243
[21] K. Futatsugi, R. Diaconescu, CafeOBJ Report, World Scientific, AMAST Series, 1998.; K. Futatsugi, R. Diaconescu, CafeOBJ Report, World Scientific, AMAST Series, 1998. · Zbl 0962.68115
[22] S. Graf, H. Saïdi, Construction of abstract state graphs with PVS, in: O. Grumberg (Ed.), Computer Aided Verification. 9th International Conference, CAV’97, Haifa, Israel, June 22-25, 1997, Proceedings, Lecture Notes in Computer Science, vol. 1254, Springer, 1997, pp. 72-83.; S. Graf, H. Saïdi, Construction of abstract state graphs with PVS, in: O. Grumberg (Ed.), Computer Aided Verification. 9th International Conference, CAV’97, Haifa, Israel, June 22-25, 1997, Proceedings, Lecture Notes in Computer Science, vol. 1254, Springer, 1997, pp. 72-83.
[23] Hennessy, M., The Semantics of Programming Languages: An Elementary Introduction Using Structural Operational Semantics (1990), John Wiley & Sons · Zbl 0723.68067
[24] Lamport, L., What good is temporal logic, (Mason, R. E.A., Information Processing 83: Proceedings of the IFIP 9th World Congress (1983), North-Holland), 657-668
[25] Loiseaux, C.; Graf, S.; Sifakis, J.; Bouajjani, A.; Bensalem, S., Property preserving abstractions for the verification of concurrent systems, Formal Methods Syst. Des., 6, 1-36 (1995) · Zbl 0829.68053
[26] Lynch, N.; Vaandrager, F., Forward and backward simulations. Part I: untimed systems, Inform. Comput., 121, 2, 214-233 (1995) · Zbl 0834.68123
[27] P. Manolios, Mechanical Verification of Reactive Systems, Ph.D. thesis, University of Texas at Austin, August 2001.; P. Manolios, Mechanical Verification of Reactive Systems, Ph.D. thesis, University of Texas at Austin, August 2001.
[28] P. Manolios, A compositional theory of refinement for branching time, in: D. Geist, E. Tronci (Eds.), Correct Hardware Design and Verification Methods. 12th IFIP WG 10.5 Advanced Research Working Conference, CHARME 2003, L’Aquila, Italy, October 21-24, 2003, Proceedings, Lecture Notes in Computer Science, vol. 2860, Springer, 2003, pp. 304-318.; P. Manolios, A compositional theory of refinement for branching time, in: D. Geist, E. Tronci (Eds.), Correct Hardware Design and Verification Methods. 12th IFIP WG 10.5 Advanced Research Working Conference, CHARME 2003, L’Aquila, Italy, October 21-24, 2003, Proceedings, Lecture Notes in Computer Science, vol. 2860, Springer, 2003, pp. 304-318. · Zbl 1179.68088
[29] Martí-Oliet, N.; Meseguer, J., Rewriting logic as a logical and semantic framework, (Gabbay, D., Handbook of Philosophical Logic, vol. 9 (2002), Kluwer Academic Press), 1-81 · Zbl 1055.03001
[30] Martí-Oliet, N.; Meseguer, J., Rewriting logic: roadmap and bibliography, Theoret. Comput. Sci., 285, 2, 121-154 (2002) · Zbl 1027.68613
[31] N. Martí-Oliet, J. Meseguer, M. Palomino, Theoroidal maps as algebraic simulations, in: J.L. Fiadeiro, P. Mosses, F. Orejas (Eds.), Recent Trends in Algebraic Development Techniques. 17th International Workshop, WADT 2004. Barcelona, Spain, March 27-30, 2004. Revised Selected Papers, Lecture Notes in Computer Science, vol. 3423, Springer, 2005, pp. 126-143.; N. Martí-Oliet, J. Meseguer, M. Palomino, Theoroidal maps as algebraic simulations, in: J.L. Fiadeiro, P. Mosses, F. Orejas (Eds.), Recent Trends in Algebraic Development Techniques. 17th International Workshop, WADT 2004. Barcelona, Spain, March 27-30, 2004. Revised Selected Papers, Lecture Notes in Computer Science, vol. 3423, Springer, 2005, pp. 126-143. · Zbl 1119.68129
[32] McMillan, K. L., Symbolic Model Checking: An Approach to the State Explosion Problem (1993), Kluwer Academic Press · Zbl 0784.68004
[33] Meseguer, J., Conditional rewriting logic as a unified model of concurrency, Theoret. Comput. Sci., 96, 1, 73-155 (1992) · Zbl 0758.68043
[34] Meseguer, J., A logical theory of concurrent objects and its realization in the Maude language, (Agha, G.; Wegner, P.; Yonezawa, A., Research Directions in Concurrent Object-Oriented Programming (1993), MIT Press), 314-390
[35] J. Meseguer, Membership algebra as a logical framework for equational specification, in: F. Parisi-Presicce (Ed.), Recent Trends in Algebraic Development Techniques, 12th International Workshop, WADT’97, Tarquinia, Italy, June 3-7, 1997, Selected Papers, Lecture Notes in Computer Science, vol. 1376, Springer, 1998, pp. 18-61.; J. Meseguer, Membership algebra as a logical framework for equational specification, in: F. Parisi-Presicce (Ed.), Recent Trends in Algebraic Development Techniques, 12th International Workshop, WADT’97, Tarquinia, Italy, June 3-7, 1997, Selected Papers, Lecture Notes in Computer Science, vol. 1376, Springer, 1998, pp. 18-61. · Zbl 0903.08009
[36] J. Meseguer, Localized fairness: a rewriting semantics, in: J. Giesl (Ed.), Rewriting Techniques and Applications, 16th International Conference, RTA 2005, Nara, Japan, April 19-21, 2005, Proceedings, Lecture Notes in Computer Science, vol. 3467, Springer, 2005, pp. 250-263.; J. Meseguer, Localized fairness: a rewriting semantics, in: J. Giesl (Ed.), Rewriting Techniques and Applications, 16th International Conference, RTA 2005, Nara, Japan, April 19-21, 2005, Proceedings, Lecture Notes in Computer Science, vol. 3467, Springer, 2005, pp. 250-263. · Zbl 1078.68660
[37] J. Meseguer, The temporal logic of rewriting: a gentle introduction, in: P. Degano, R.D. Nicola, J. Meseguer (Eds.), Concurrency, Graphs and Models. Essays Dedicated to Ugo Montanari on the Occasion of His 65th Birthday, Lecture Notes in Computer Science, vol. 5065, Springer, 2008, pp. 354-382.; J. Meseguer, The temporal logic of rewriting: a gentle introduction, in: P. Degano, R.D. Nicola, J. Meseguer (Eds.), Concurrency, Graphs and Models. Essays Dedicated to Ugo Montanari on the Occasion of His 65th Birthday, Lecture Notes in Computer Science, vol. 5065, Springer, 2008, pp. 354-382. · Zbl 1143.68459
[38] J. Meseguer, M. Palomino, N. Martí-Oliet, Equational abstractions, in: F. Baader (Ed.), Automated Deduction - CADE-19. 19th International Conference on Automated Deduction, Miami Beach, FL, USA, July 28-August 2, 2003, Proceedings, Lecture Notes in Computer Science, vol. 2741, Springer, 2003, pp. 2-16.; J. Meseguer, M. Palomino, N. Martí-Oliet, Equational abstractions, in: F. Baader (Ed.), Automated Deduction - CADE-19. 19th International Conference on Automated Deduction, Miami Beach, FL, USA, July 28-August 2, 2003, Proceedings, Lecture Notes in Computer Science, vol. 2741, Springer, 2003, pp. 2-16. · Zbl 1026.00022
[39] Meseguer, J.; Palomino, M.; Martí-Oliet, N., Equational abstractions, Theoret. Comput. Sci., 403, 2-3, 239-264 (2008) · Zbl 1155.68050
[40] K.S. Namjoshi, A simple characterization of stuttering bisimulation, in: S. Ramesh, G. Sivakumar (Eds.), Foundations of Software Technology and Theoretical Computer Science. 17th Conference, Kharagpur, India, December 18-20, 1997. Proceedings, Lecture Notes in Computer Science, vol. 1346, Springer, 1997, pp. 284-296.; K.S. Namjoshi, A simple characterization of stuttering bisimulation, in: S. Ramesh, G. Sivakumar (Eds.), Foundations of Software Technology and Theoretical Computer Science. 17th Conference, Kharagpur, India, December 18-20, 1997. Proceedings, Lecture Notes in Computer Science, vol. 1346, Springer, 1997, pp. 284-296.
[41] Ohlebusch, E., Advanced Topics in Term Rewriting (2002), Springer · Zbl 0999.68095
[42] M. Palomino, Reflexión, abstracción y simulación en la lógica de reescritura, PhD thesis, Universidad Complutense de Madrid, Spain, March 2005. <http://maude.sip.ucm.es/ miguelpt/>.; M. Palomino, Reflexión, abstracción y simulación en la lógica de reescritura, PhD thesis, Universidad Complutense de Madrid, Spain, March 2005. <http://maude.sip.ucm.es/ miguelpt/>.
[43] M. Palomino, J. Meseguer, N. Martí-Oliet, A categorical approach to Kripke structures and simulations, in: J.L. Fiadeiro, N. Harman, M. Roggenbach, J. Rutten (Eds.), Algebra and Coalgebra in Computer Science. First International Conference, CALCO 2005, Swansea, UK, September 2005. Proceedings, Lecture Notes in Computer Science, vol. 3629, Springer, 2005, pp. 313-330.; M. Palomino, J. Meseguer, N. Martí-Oliet, A categorical approach to Kripke structures and simulations, in: J.L. Fiadeiro, N. Harman, M. Roggenbach, J. Rutten (Eds.), Algebra and Coalgebra in Computer Science. First International Conference, CALCO 2005, Swansea, UK, September 2005. Proceedings, Lecture Notes in Computer Science, vol. 3629, Springer, 2005, pp. 313-330. · Zbl 1151.68550
[44] D. Park, Concurrency and automata on infinite sequences, in: P. Deussen (Ed.), Theoretical Computer Science, 5th GI-Conference, Karlsruhe, Germany, March 23-25, 1981, Proceedings, Lecture Notes in Computer Science, vol. 104, Springer, 1981, pp. 167-183.; D. Park, Concurrency and automata on infinite sequences, in: P. Deussen (Ed.), Theoretical Computer Science, 5th GI-Conference, Karlsruhe, Germany, March 23-25, 1981, Proceedings, Lecture Notes in Computer Science, vol. 104, Springer, 1981, pp. 167-183. · Zbl 0457.68049
[45] J.P. Quielle, J. Sifakis, Specification and verification of concurrent systems in CESAR, in: M. Dezani-Ciancaglini, U. Montanari (Eds.), International Symposium on Programming, 5th Colloquium, Torino, Italy, April 6-8, 1982, Proceedings, Lecture Notes in Computer Science, vol. 137, Springer, 1982, pp. 337-351.; J.P. Quielle, J. Sifakis, Specification and verification of concurrent systems in CESAR, in: M. Dezani-Ciancaglini, U. Montanari (Eds.), International Symposium on Programming, 5th Colloquium, Torino, Italy, April 6-8, 1982, Proceedings, Lecture Notes in Computer Science, vol. 137, Springer, 1982, pp. 337-351. · Zbl 0482.68028
[46] Rogers, H., Theory of Recursive Functions and Effective Computability (1967), McGraw Hill · Zbl 0183.01401
[47] H. Saı¨di, N. Shankar, Abstract and model check while you prove, in: N. Halbwachs and D. Peled (Eds.), Computer Aided Verification. 11th International Conference, CAV’99, Trento, Italy, July 6-10, 1999, Proceedings, Lecture Notes in Computer Science, vol. 1633, Springer, 1999, pp. 443-454.; H. Saı¨di, N. Shankar, Abstract and model check while you prove, in: N. Halbwachs and D. Peled (Eds.), Computer Aided Verification. 11th International Conference, CAV’99, Trento, Italy, July 6-10, 1999, Proceedings, Lecture Notes in Computer Science, vol. 1633, Springer, 1999, pp. 443-454. · Zbl 1046.68608
[48] Shoenfield, J. R., Degrees of Unsolvability (1971), North-Holland · Zbl 0119.25105
[49] van Glabbeek, R. J., The linear time-branching time spectrum I: the semantics of concrete, sequential processes, (Bergstra, J. A.; Ponse, A.; Smolka, S. A., Handbook of Process Algebra (2001), North-Holland), 3-99 · Zbl 1035.68073
[50] A. Verdejo, N. Martí-Oliet, Executable structural operational semantics in Maude, Technical Report 134-03, Departamento de Sistemas Informáticos y Programación, Universidad Complutense de Madrid, 2003. <http://eprints.ucm.es/4888/>.; A. Verdejo, N. Martí-Oliet, Executable structural operational semantics in Maude, Technical Report 134-03, Departamento de Sistemas Informáticos y Programación, Universidad Complutense de Madrid, 2003. <http://eprints.ucm.es/4888/>.
[51] Viry, P., Equational rules for rewriting logic, Theoret. Comput. Sci., 285, 2, 487-517 (2002) · Zbl 1001.68058
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.