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

Name of constants affects satisfiability result when using Python API #1234

Closed
aengelke opened this issue Aug 25, 2017 · 3 comments
Closed

Comments

@aengelke
Copy link

aengelke commented Aug 25, 2017

When using hexadecimal random uuids (using uuid.uuid4().hex in Python) as part of the names of the constants, I noticed that an otherwise identical constraint system leads to different results depending on the names, i.e. sometimes gives sat and sometimes unsat.

I extracted an example which shows these differences, and also generated the Z3 logs for both cases (sat and unsat) using z3.open_log. Unfortunately, I wasn't able to reduce the size of this example.

Let me know if I can provide any further information.

System: Debian 9 (Stretch), x86-64
Z3: master (dca30ab), release build
Python 2.7.13

bugdata.zip

@NikolajBjorner
Copy link
Contributor

I get an assertion violation in one of the traces at the same place as #1233. Are these bugs related?

@aengelke
Copy link
Author

It might perfectly be the case that both issues have the same cause. If so, feel free to close one of the two issues. (When compiling in debug mode, I also get an assertion failure in src/smt/smt_conflict_resolution.cpp:580.)

@NikolajBjorner
Copy link
Contributor

I presume this is a duplicate of #1233, which was now fixed.

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

2 participants