Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SatHanoi appears unsafe (and UnsatHanoi is safe) #1

Open
jtoman opened this issue Sep 17, 2019 · 0 comments
Open

SatHanoi appears unsafe (and UnsatHanoi is safe) #1

jtoman opened this issue Sep 17, 2019 · 0 comments

Comments

@jtoman
Copy link

jtoman commented Sep 17, 2019

In the lpar17 benchmark suite (and jayhorn-set), the SatHanoi.java test case appears to actually be unsafe. The comment states // result and the counter should be the same! but the program asserts false if the values are equal (UnsatHanoi appears to assert equality correctly). Removing the call to Random.nextInt and replacing it with a value in the range [1,31] confirms that SatHanoi indeed hits an assertion failure, and is therefore unsafe (similarly, UnsatHanoi does not appear to throw an exception). Am I misinterpreting the Sat/Unsat labels here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant