The document discusses using the Alloy analyzer software on Mac OS. It provides instructions on installing Alloy, describes basic concepts like signatures and facts in Alloy's modeling language, and includes sample models and commands to run analyses. Screenshots are included to demonstrate the Alloy user interface and results of commands like checking assertions and executing queries.
15. N. Shimizu <chikoski@gmail.com> 2011/08/18
2.1:
module tour/addressBook1#
sig Name, Addr {}#
sig Book{#
#addr: Name -> lone Addr#
}#
pred show{}#
run show for 3 but 1 Book
18. N. Shimizu <chikoski@gmail.com> 2011/08/18
3
module tour/addressBook1#
sig Name, Addr {}#
sig Book{#
#addr: Name -> lone Addr#
}#
pred show{}#
run show for 3 but 1 Book
19. N. Shimizu <chikoski@gmail.com> 2011/08/18
b -> n -> a
module tour/addressBook1#
sig Name, Addr {}#
sig Book{#
#addr: Name -> lone Addr#
}#
pred show{}#
run show for 3 but 1 Book
20. N. Shimizu <chikoski@gmail.com> 2011/08/18
addr: b -> n -> a
Book
Name
Addr
b0
n0
a0
b0
n1
a1
b0
n2
a1
b1
n0
a2
b1
n3
a2
b1
n4
a1
21. N. Shimizu <chikoski@gmail.com> 2011/08/18
module tour/addressBook1#
sig Name, Addr {}#
sig Book{#
#addr: Name -> lone Addr#
}#
pred show{}#
run show for 3 but 1 Book
22. N. Shimizu <chikoski@gmail.com> 2011/08/18
module tour/addressBook1#
sig Name, Addr {}#
sig Book{#
#addr: Name -> lone Addr#
}#
pred show{}#
run show for 3 but 1 Book
23. N. Shimizu <chikoski@gmail.com> 2011/08/18
module tour/addressBook1#
sig Name, Addr {}#
sig Book{#
#addr: Name -> lone Addr#
}#
pred show{}#
run show for 3 but 1 Book
25. N. Shimizu <chikoski@gmail.com> 2011/08/18
module tour/addressBook1#
sig Name, Addr {}#
sig Book{#
#addr: Name -> lone Addr#
}#
pred show{}#
run show for 3 but 1 Book
56. N. Shimizu <chikoski@gmail.com> 2011/08/18
module tour/addressBook2#
#
abstract sig Target {}#
sig Addr extends Target {}#
abstract sig Name extends Target{}#
sig Alias, Group extends Name {}#
sig Book { addr: Name -> Target}