{"title":"Double Reduction of Ada-ECATNet Representation using Rewriting Logic","authors":"Noura Boudiaf, Allaoua Chaoui","volume":22,"journal":"International Journal of Computer and Systems Engineering","pagesStart":3557,"pagesEnd":3564,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/13359","abstract":"One major difficulty that faces developers of\r\nconcurrent and distributed software is analysis for concurrency based\r\nfaults like deadlocks. Petri nets are used extensively in the\r\nverification of correctness of concurrent programs. ECATNets [2] are\r\na category of algebraic Petri nets based on a sound combination of\r\nalgebraic abstract types and high-level Petri nets. ECATNets have\r\n'sound' and 'complete' semantics because of their integration in\r\nrewriting logic [12] and its programming language Maude [13].\r\nRewriting logic is considered as one of very powerful logics in terms\r\nof description, verification and programming of concurrent systems.\r\nWe proposed in [4] a method for translating Ada-95 tasking\r\nprograms to ECATNets formalism (Ada-ECATNet). In this paper,\r\nwe show that ECATNets formalism provides a more compact\r\ntranslation for Ada programs compared to the other approaches based\r\non simple Petri nets or Colored Petri nets (CPNs). Such translation\r\ndoesn-t reduce only the size of program, but reduces also the number\r\nof program states. We show also, how this compact Ada-ECATNet\r\nmay be reduced again by applying reduction rules on it. This double\r\nreduction of Ada-ECATNet permits a considerable minimization of\r\nthe memory space and run time of corresponding Maude program.","references":"[1] K. Barkaoui and J-F Pradat-Peyre. \"Verification in Concurrent\r\nProgramming with Petri nets Structural Techniques\". In Proceedings\r\nThird IEEE International High-Assurance Systems Engineering\r\nSymposium November 13 - 14, 1998 Washi, 1998.\r\n[2] M. Bettaz, M. Maouche. \"How to specify Non Determinism and True\r\nConcurrency with Algebraic Term Nets\". Volume 655 of LNCS, Spring-\r\nVerlag, p. 11-30, 1993.\r\n[3] M. Bettaz, A. Chaoui, K. Barkkaoui. \"On Finding Structural Deadlocks\r\nin ECATNets Using a Logic of Concurrency\". Journal on Computing\r\nand Information, Vol 2 No 1, pp. 495-506, 1996.\r\n[4] N. Boudiaf, A. Chaoui, \"Towards Automated Analysis of Ada-95\r\nTasking Behavior By Using ECATNets\". ISIIT-04, Jordan, 2004.\r\n[5] N. Boudiaf, K. Barkaoui, Allaoua Chaoui. \"Impl\u00e9mentation Des R\u00e8gles\r\nde R\u00e9duction des ECATNets dans Maude\". Proceedings de la\r\nConf\u00e9rence Mosim-06, 2-5 avril, Rabat, Maroc, pp. 1505-514, 2006.\r\n[6] N. Boudiaf, K. Barkaoui and Allaoua Chaoui. \"Applying Reduction\r\nRules to ECATNets\". Proceedings of AVIS'06 Workshop (Co-located\r\nwith the conferences ETAPS'06), 1st April, Vienna, Austria, To appear\r\nin ENTCS, 2006.\r\n[7] E. Bruneton and J-F. Pradat-Peyre. \"Automatic Verification of\r\nConcurrent Ada Programs\", In Proceedings Reliable Software\r\nTechnologies-Ada-Europe'99, 1999.\r\n[8] M. Clavel and al., \"The Maude 2.0 System\". In Proc. Rewriting\r\nTechniques and Applications, V. 2706 of LNCS, Spring-Verlag, 2003.\r\n[9] S. Evangelista, C. Kaiser, J. F. Pradat-Peyre, and P. Rousseau. \"Quasar:\r\na new tool for analyzing concurrent programs\". In Ada-Europe 2003,\r\nLNCS. Springer-Verlag, 2003.\r\n[10] Ravi K. Gedela, Sol M. Shatz and Haiping Xu. \"Compositional Petri Net\r\nModels of Advanced Tasking in Ada-95\". Comput. Lang. 25(2): 55-87,\r\n1999.\r\n[11] ISO\/IEC 8652. \"Information Technology - Programming Languages -\r\nAda\", 1995.\r\n[12] J. Meseguer \"Rewriting Logic as a Semantic Framework of\r\nConcurrency: a Progress Report\". Seventh International Conference on\r\nConcurrency Theory (CONCUR'96), Volume 1119 of LNCS, Springer\r\nVerlag, p. 331-372, 1996.\r\n[13] J. Meseguer \"Rewriting logic and Maude: a Wide-Spectrum Semantic\r\nFramework for Object-based Distributed Systems\". In S. Smith and C.L.\r\nTalcott, editors, Formal Methods for Open Object-based Distributed\r\nSystems. Kluwer, 2000.\r\n[14] T. Murata, B. Shenker, S. M. Shatz. \"Detection of Ada Static Deadlocks\r\nUsing Petri Nets Invariants\". IEEE trans. Oo Software Engineering, vol.\r\n15, No. 3, pp 314-326, 1989.\r\n[15] S. M. Shatz, S. Tu, T. Murata, S. Duri. \"An Application of Petri Net\r\nReduction for Ada Tasking Deadlock Analysis\". IEEE Transactions on\r\nParallel and Distributed Systems,1996.\r\n[16] K. Schmidt. \"Applying Reduction Rules to Algebraic Petri Nets\". TKK\r\nMonoistamo; Otaniemi 1997, ISSN 0783 5396, ISBN 951-22-3495-5,\r\n1997.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 22, 2008"}