Alloy is a modeling language developed by the Software Design Group at MIT. Its associated tool is the Alloy Analyzer. In this assignment, you will set up the required Alloy environment and take a first peek at the Alloy language.
Make sure you have Alloy running as described in the tools setup document.
Before doing this assignment, you might want to do the quick tutorial from the Alloy website (http://alloy.mit.edu/quickstart.php).
The Alloy Analyzer takes a different approach from PVS. Instead of providing powerful theorem-proving tools to help you prove your model is correct, it instead "simulates" your model and tries to find counterexamples. The existance of counterexamples indicates that your model has inconsistencies. This approach greatly simplifies matters for the user, since you don't have to develop a proof. However, the tool does not actually prove a model is correct. It can only claim that the model may be valid. To gain more confidence that the model is correct, you can increase the scope, which increases the size of the instances that the Alloy Analyzer checks.
150 points total.
Email homework6.txt and your modified birthday_book.als to meghan@cs.wm.edu.
Back to CSci 420/520 Homepage.
Last changed May 21 2008 15:31:40.
David Coppit,
coppit@cs.wm.edu
There have been 1323602 hits since Thu Jun 9 14:49:55 2005