Applicability of Integrating Automata and Z: A Case Study

System specification and functionality are primary requirements in modeling and design of complex and automated systems. Z notation is a powerful language used for specification. Automata theory is a graph-based tool for modeling and capturing behavior of automated systems. In this paper, an effective combination of the two approaches is presented to propose a novel integrated approach. The integration will help to program the automata for verification of systems. A case study of vending machine is taken to evaluate the proposed approach. First of all, abstract formal specification of Deterministic Finite Automata is presented. Then an automaton of vending machine is described. A linkage between abstract model of automata and real study of vending machine is investigated. A string accepter in automata helps to describe "buying the product" operation in the vending machine. The language accepter in automata is mapped with the complete functional machine. The specification is described using Z notation and analyzed using Z/Eves tool.

[1]  Wolfgang Grieskamp,et al.  A Modular Framework for the Integration of Heterogeneous Notations and Tools , 1999, IFM.

[2]  Nazir Ahmad Zafar,et al.  Construction of Intersection of Nondeterministic Finite Automata using Z Notation , 2008 .

[3]  Nazir Ahmad Zafar,et al.  Algorithmic Formal Proof of Equivalence of Nondeterministic and Deterministic Finite Automata , 2009, 2009 International Conference on Electronic Computer Technology.

[4]  Jin Song Dong,et al.  Integrating Object-Z with timed automata , 2005, 10th IEEE International Conference on Engineering of Complex Computer Systems (ICECCS'05).

[5]  Jeffrey D. Ullman,et al.  Introduction to automata theory, languages, and computation, 2nd edition , 2001, SIGA.

[6]  Nazir Ahmad Zafar,et al.  Formal Construction of Deterministic Finite Automata Recognizing Intersection of Regular Languages , 2008, Software Engineering Research and Practice.

[7]  Nazir Ahmad Zafar,et al.  Constructive formal conversion of Moore machine to deterministic finite automata , 2008 .

[8]  Robert Geisler,et al.  Specifying Safety-Critical Embedded Systems with Statecharts and Z: A Case Study , 1998, FASE.

[9]  M. W. Shields An Introduction to Automata Theory , 1988 .

[10]  Lv Yi,et al.  The State of the Art in Formal Methods:A Survey , 2003 .

[11]  Jonathan P. Bowen,et al.  Formal Methods , 2010, Computing Handbook, 3rd ed..

[12]  Jonathan P. Bowen,et al.  The use of industrial-strength formal methods , 1997, Proceedings Twenty-First Annual International Computer Software and Applications Conference (COMPSAC'97).

[13]  Xudong He,et al.  PZ nets a formal method integrating Petri nets with Z , 2001, Inf. Softw. Technol..

[14]  Borivoj Melichar,et al.  Finding Common Motifs with Gaps Using Finite Automata , 2006, CIAA.

[15]  Maria Sorea,et al.  Tempo: A Model Checker for Event-Recording Automata , 2001 .

[16]  A. Ali,et al.  Linking Finite Automata and Formal Methods Enhancing Modeling Power for Complex Systems , 2008, 2008 International Conference on Computer Science and Information Technology.

[17]  Eitan M. Gurari,et al.  Introduction to the theory of computation , 1989 .

[18]  Jeanine Souquières,et al.  Integration of UML and B specification techniques: systematic transformation from OCL expressions into B , 2002, Ninth Asia-Pacific Software Engineering Conference, 2002..

[19]  Erhard Plödereder,et al.  Myths and Facts about the Efficient Implementation of Finite Automata and Lexical Analysis , 1998, CC.

[20]  J. Michael Spivey,et al.  The Z notation - a reference manual , 1992, Prentice Hall International Series in Computer Science.