- SPIN model checker
SPIN is a general tool for verifying the correctness of distributed software (software design) in a rigorous and mostly automated fashion. It was written by
Gerard J. Holzmann and others, and has evolved for more than 15 years. SPIN is an automata-based model checker. Systems to be verified are described inPromela (Process Meta Language), which supports modeling of asynchronousdistributed algorithm s as non-deterministic automata ("SPIN" stands for "Simple Promela Interpreter"). Properties to be verified are expressed as Linear Temporal Logic (LTL) formulas, which are negated and then converted into Büchi automata as part of the model-checking algorithm. In addition to model-checking, SPIN can also operate as a simulator, following one possible execution path through the system and presenting the resulting execution trace to the user.Unlike many model-checkers, SPIN does not actually perform model-checking itself, but instead generates C sources for a problem-specific model checker. This rather antique technique saves memory and improves performance, while also allowing the direct insertion of chunks of C code into the model. SPIN also offers a large number of options to further speed up the model-checking process and save memory, such as:
*partial order reduction ;
*state compression;
*bitstatehashing (instead of storing whole states, only their hash code is remembered in a bitfield; this saves a lot of memory but voidscompleteness );
*weak fairness enforcement.Since
1995 , (approximately) annual SPIN workshops have been held for SPIN users, researchers, and those generally interested inmodel checking . In2001 , theAssociation for Computing Machinery awarded SPIN its System Software Award.ee also
*
NuSMV References
*Holzmann, G. J., "The SPIN Model Checker: Primer and Reference Manual".
Addison-Wesley ,2004 . ISBN 0-321-22862-6.External links
* [http://www.spinroot.com/ SPIN website]
Wikimedia Foundation. 2010.