Alloy is a language for describing structures and a tool for exploring them. It has been used in a wide range of applications from finding holes in security mechanisms to designing telephone switching networks. This repository contains the code for the tool.
I was very confused by the fact that this model did not find any instances:
sig Dummy {}
pred example { #Dummy = 8 }
run example for 10 //but 5 int
The problem is that run example for N does not increase the bitwidth, so N > 7 is useless without increasing the bitwidth. Perhaps a warning should be issued, or the bitwidth should automatically be increased?
I was very confused by the fact that this model did not find any instances:
The problem is that
run example for N
does not increase the bitwidth, soN > 7
is useless without increasing the bitwidth. Perhaps a warning should be issued, or the bitwidth should automatically be increased?