Although model checking is expected as a practical formal verification approach for its automatic nature, it still suffers from difficulties in writing the formal descriptions to be verified and applying model checking tools to them effectively. The difficulties are found mainly in grasping the exact system behaviors, representing them in formal languages, and using model checking tools that fit the best to the verification problems. Even capable software developers need extensive education to overcome the difficulties. In this paper, we report our education course of practical applications of model checking in our education project called Top SE. Our approach consists of the following two features. First, we adopt UML as the design specification language and create the descriptions for each specific model checking tool from the UML diagrams, to enable easy practical application of model checking. Second, we build taxonomies of system behaviors, in particular behaviors of concurrent systems that are main targets of model checking. We can organize the knowledge and the techniques of practical model checking according to the taxonomies. The taxonomies are based on several aspects of system behaviors such as synchronization of transitions, synchronization of communications, and modeling of system environments. In addition, we make clear which model checking tools fit which types of systems. We treat the three different model checking tools: SPIN, SMV, and LTSA. Each tool has its specific features that make the tool easier or more difficult to be applied to specific problems than others. In our education course, we explain the taxonomies, the knowledge, and the techniques using very simple examples. We also assign the students exercises to apply the knowledge and the techniques to more complicated problems such as the dining philosopher problem, data copying between a DVD recorder and a hard disk recorder, and the alternating bit protocol.
[1]
Yasuyuki Tahara,et al.
Top SE: Educating Superarchitects Who Can Apply Software Engineering Tools to Practical Development in Japan
,
2007,
29th International Conference on Software Engineering (ICSE'07).
[2]
Vitaly Shmatikov,et al.
Security Protocols
,
2007,
Lecture Notes in Computer Science.
[3]
Shin Nakajima,et al.
The SPIN Model Checker : Primer and Reference Manual
,
2004
.
[4]
Kenneth L. McMillan,et al.
Symbolic model checking
,
1992
.
[5]
George S. Avrunin,et al.
Patterns in property specifications for finite-state verification
,
1999,
Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002).
[6]
Richard H. Carver,et al.
Modern Multithreading : Implementing, Testing, and Debugging Multithreaded Java and C++/Pthreads/Win32 Programs
,
2005
.
[7]
Jeff Magee,et al.
Concurrency - state models and Java programs
,
2006
.