-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Randomly incorrect result using only Booleans #5808
Comments
Is there a way to replicate the behavior of Python's |
I managed to get similar results by calling |
I am sad to report that I tried out this change and upon searching over random seeds the misbehavior actually seems to happen more often. Here's a new pair of seeds on my updated test case:
|
I've added the crude bash script I was using to search for misbehaving random seeds. Tomorrow if I can I will continue trying to find a truly minimal test case. |
Tested against both the canned SMT file and my original application, all looks 👍! Thanks. |
I discovered this when a puzzle solver I'm building broke unexpectedly:
(All three results should be
sat
.) I get the incorrect result about 1% of the time. The problem uses onlyBool
,not
,and
,or
, andpb_eq
.I apologize for the size of the test case; I'll try to reduce it if I find time but for now it's basically the problem I was working on.
Tested on 4.8.14 and current master (
6a412f7
).The text was updated successfully, but these errors were encountered: