{"title":"Construction of Intersection of Nondeterministic Finite Automata using Z Notation","authors":"Nazir Ahmad Zafar, Nabeel Sabir, Amir Ali","volume":16,"journal":"International Journal of Computer and Information Engineering","pagesStart":1057,"pagesEnd":1063,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/12799","abstract":"Functionalities and control behavior are both primary\r\nrequirements in design of a complex system. Automata theory plays\r\nan important role in modeling behavior of a system. Z is an ideal\r\nnotation which is used for describing state space of a system and then\r\ndefining operations over it. Consequently, an integration of automata\r\nand Z will be an effective tool for increasing modeling power for a\r\ncomplex system. Further, nondeterministic finite automata (NFA)\r\nmay have different implementations and therefore it is needed to\r\nverify the transformation from diagrams to a code. If we describe\r\nformal specification of an NFA before implementing it, then\r\nconfidence over transformation can be increased. In this paper, we\r\nhave given a procedure for integrating NFA and Z. Complement of a\r\nspecial type of NFA is defined. Then union of two NFAs is\r\nformalized after defining their complements. Finally, formal\r\nconstruction of intersection of NFAs is described. The specification\r\nof this relationship is analyzed and validated using Z\/EVES tool.","references":"[1] M. Y. Vardi, and T. Wilke, \"Automata - from logic to\r\nalgorithms,\" Logic and Automata - History and Perspectives, 2007.\r\n[2] J. M. Spivey, \"The Z notation, A Reference Manual,\" Englewood Cliffs,\r\nNJ, Prentice-Hall, 1989.\r\n[3] I. J. Holub, \"Finding Common Motifs with Gaps using Finite\r\nAutomata,\" In Implementation and Application of Automata, Springer-\r\nVerlag, pp: 69-77, ISBN 3-540-37213-X, 2006.\r\n[4] K. Brouwer, W. Gellerich and E. Ploedereder, \"Myths and Facts about\r\nthe Efficient Implementation of Finite Automata and Lexical Analysis,\"\r\nSpringer-Berlin, ISBN 978-3-540-64304-3, 2006.\r\n[5] I. Meisels and M. Saaltink, \"The Z\/EVES Reference Manual,\" TR-97-\r\n5493-03, ORA Canada, CANADA, 1997.\r\n[6] E. A. Boiten, J. Derrick and G. Smith, \"Integrated Formal Methods\r\n(IFM 2004),\" Canterbury, UK, Springer-Verlag, 2004.\r\n[7] J. Davies and J. Gibbons, \"Integrated Formal Methods (IFM 2007),\"\r\nOxford, UK, Springer-Verlag, 2007.\r\n[8] J. Romijn, G. Smith and J. v. d. Pol, \"Integrated Formal Methods (IFM\r\n2005),\" Eindhoven, The Netherlands, Springer-Verlag, 2005.\r\n[9] K. Araki, A. Galloway and K. Taguchi, \"Integrated Formal Methods\r\n(IFM 99),\" York, UK, Springer-Verlag, 1999.\r\n[10] M. Butler, L. Petre and K. Sere, \"Integrated Formal Methods (IFM\r\n2002),\" Turku, Finland, Springer-Verlag, 2002.\r\n[11] W. Grieskamp, T. Santen and B. Stoddart, \"Integrated Formal Methods\r\n(IFM 2000),\" Dagstuhl Castle, Germany, Springer-Verlag, 2000.\r\n[12] J. S. Dong, R. Duke and P. Hao, \"Integrating Object-Z with Timed\r\nAutomata,\" 12th IEEE International Conference on Engineering\r\nComplex Computer Systems (ICECCS 2005), pp: 488-497, 2005.\r\n[13] J. S. Dong et al, \"Timed Patterns: TCOZ to Timed Automata,\" 6th\r\nInternational Conference on Formal Engineering Methods (ICFEM-04),\r\nLNCS, pp: 483-498, 2004.\r\n[14] R. L. Constable, P. B. Jackson, P. Naumov and J. Uribe, \"Formalizing\r\nAutomata II: Decidable Properties,\" Cornell University, 1997.\r\n[15] R. L. Constable, P. B. Jackson, P. Naumov and J. Uribe,\r\n\"Constructively Formalizing Automata Theory,\" Foundations Of\r\nComputing Series, MIT Press, ISBN:0-262-16188-5, 2000.\r\n[16] R. Bussow and W. Grieskamp, \"A Modular Framework for the\r\nIntegration of Heterogeneous Notations and Tools,\" Integrated Formal\r\nMethods (IFM 99), York, UK, Springer-Verlag, pp: 211-230, 1999.\r\n[17] R. B\u251c\u255dssow, R. Geisler and M. Klar, \"Specifying Safety-Critical\r\nEmbedded Systems with Statecharts and Z: A Case Study,\"\r\nFundamental Approaches to Software Engineering, Springer Berlin,\r\nISBN, 978-3-540-64303-6, 2004.\r\n[18] M. Heiner and M. Heisel, \"Modeling safety-critical systems with Z and\r\nPetri nets,\" International Conference on Computer Safety, Reliability\r\nand Security, LNCS, Springer, pp: 361-374, 1999.\r\n[19] X. He, \"Pz nets a formal method integrating petri nets with z,\"\r\nInformation & Software Technology, 43(1), pp: 1-18, 2001.\r\n[20] H. Leading and J. Souquieres, \"Integration of UML and B Specification\r\nTechniques: Systematic Transformation from OCL Expressions into B,\"\r\nProceedings of Asia-Pacific Software Engineering Conference\r\n(APSEC02), Australia, 2002.\r\n[21] H. Leading and J. Souquieres, \"Integration of UML Views using B\r\nNotation,\" Proceedings of Workshop on Integration and Transformation\r\nof UML models (WITUML02), Spain, 2002.\r\n[22] C. Heitmeyer, \"On the Need for Practical Formal Methods,\" Lecture\r\nNotes in Computer Science, Vol.1486, pp: 18-26, 1998.\r\n[23] E. Ciapessoni, A. C. Porisini, E. Crivelli, D. Mandrioli, P. Mirandola\r\nand A. Morzenti, \"From Formal Models to Formally-Based Methods:\r\nAn Industrial Experience,\" TOSEM, Vol.8, No.1, pp: 79-113, 1999.\r\n[24] J. P. Bowen, \"Ten Commandments of Formal Methods,\" IEEE\r\nComputer, Vol.28, No.4, pp: 56-63, 1995.\r\n[25] J. P. Bowen and M. G. Hinchey, \"The Use of Industrial-Strength of\r\nFormal Methods,\" Proceedings of 21st International Computer Software\r\n& Application Conference (COMPSAC'97), pp: 332-337, 1997.\r\n[26] M. Barjaktarovic, \"The State-of-the-Art in Formal Methods,\" AFOSR\r\nSummer Research Technical Report for Rome Research Site, Formal\r\nMethods Framework-Monthly Status Report, F30602-99-C-0166,\r\nWetStone Technologies, 1998.\r\n[27] R. W. Butler, \"What is Formal Methods?,\" NASA LaRC Formal\r\nMethods Program, 2001.\r\n[28] S. Easterbrook, R. Lutz, R. Covington, J. Kelly, Y. Ampo and D.\r\nHamilton, \"Experiences Using Lightweight Formal Methods for\r\nRequirements Modeling,\" IEEE Transactions on Software Engineering,\r\nVol.24, No.1, pp: 4-14, 1998.\r\n[29] J. M. Wing, \"A Specifier-s Introduction to Formal Methods,\" IEEE\r\nComputer, Vol.23, No.9, pp: 8-24, 1990.\r\n[30] H. A. Gabbar, \"Fundamentals of Formal Methods, Modern Formal\r\nMethods and Applications,\" Springer Netherlands, ISBN, 978-1-4020-\r\n4222-5, 2006.\r\n[31] J. E. Hopcroft, R. Motwani and J. D. Ullman, \"Introduction to Automata\r\nTheory, Language and Computation,\" Addison-Wesley, Reading, 2001.\r\n[32] M. Sipser, \"Introduction to the Theory of Computation,\" Course\r\nTechnology, ISBN-13: 9780534950972, 2005.\r\n[33] C. T. Chou, \"A Formal Theory of Undirected Graphs in Higher Order\r\nLogic,\" 7th International Workshop on Higher Order Logic Theorem\r\nProving and Application, pp: 144-157, 1994.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 16, 2008"}