-
Notifications
You must be signed in to change notification settings - Fork 273
remove encoding of arrays of bools into bitvector #6206
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
base: develop
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #6206 +/- ##
===========================================
- Coverage 76.81% 76.81% -0.01%
===========================================
Files 1582 1582
Lines 182776 182750 -26
===========================================
- Hits 140405 140378 -27
- Misses 42371 42372 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I remember this being a MathSAT thing. Have you checked if they now support it?
Sadly this looks true.
|
Yeah... IIRC it was because MathSAT has a strong separation between terms and formulae and so you can't have a formula-level proposition appearing in a term-level sort / expression. Formally they are correct but it is a bit of a pain and one of the reasons why the foundations of SMT-LIB 3 are changing. |
Is there interest in updating this PR to include special handling for MathSAT? Even if @kroening is not interested in doing the change, if the end result is desirable I don't mind picking up from here and adding a special case for MathSAT to this code. |
b1d3d55
to
b487c53
Compare
b487c53
to
052b420
Compare
The encoding of arrays of booleans as arrays of (_ bitvec 1) was necessary when solvers did not support arrays of booleans. This support is now broadly available, removing the need for this code path.
052b420
to
475a878
Compare
The encoding of arrays of booleans as arrays of
(_ bitvec 1)
was necessarywhen solvers did not support arrays of booleans.
This support is now broadly available, removing the need for this code path.