Skip to content

Commit cacd7ab

Browse files
committed
Direct CVC4 to use ALL logics
This changes CVC4 to use ALL logics when solving. This has the advantages that: 1. We will no longer receive errors when quantified expressions are sent to CVC4. 2. We may now solve more problems. The disadvantages are: A. Solving may take longer in some cases when quantifiers are not used. B. CVC4 can now (more easily?) report "unknown". Note that due to introducing quantifiers in expressions in prior commits/work, reporting of unknown is now handled and can be achieved with z3 already.
1 parent 7e291a5 commit cacd7ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/solvers/smt2/smt2_conv.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ smt2_convt::smt2_convt(
9696
break;
9797

9898
case solvert::CVC4:
99+
logic = "ALL";
99100
use_array_of_bool = true;
100101
use_as_const = true;
101102
break;

0 commit comments

Comments
 (0)