You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CBMC version: Tested with CBMC 5.27.0 and 5.35.0
Operating system: Fedora 34
Test Case:
#include<assert.h>voidmain(){
assert(0);
}
Exact command line resulting in the issue:
$cbmc simpleProgram.c --mathsat | tail
SMT2 solver returned error message:
"The CNF conversion does not support quantifiers"
Running SMT2 QF_AUFBV using MathSAT
Runtime Solver: 0.0204232s
Runtime decision procedure: 0.0205809s
** Results:
simpleProgram.c functionmain
[main.assertion.1] line 4 assertion 0: ERROR
** 0 of 1 failed (1 iterations)
VERIFICATION ERROR
What behaviour did you expect: Mathsat returns SAT
What happened instead: MathSAT exits with an error message
I believe this is due to commit "Fixed SMT encoding of array_of_expr" first included in version 5.27.0, which enabled generation of using a quantifier-based initialization instead of lambda in smt2_conv.cpp line 4400, while MathSAT does not fully support quantifiers.
Version 5.26.0 correctly fails the verification.
This commit fixes an error introduced in diffblue#5974 where quantifiers
were produced for all SMT2 solvers despite only being supported by
Z3 and CVC4. The fix here reverts to the older behaviour for other
solvers.
Fixesdiffblue#6263
This commit fixes an error introduced in diffblue#5974 where quantifiers
were produced for all SMT2 solvers despite only being supported by
Z3 and CVC4. The fix here reverts to the older behaviour for other
solvers.
Fixesdiffblue#6263
CBMC version: Tested with CBMC 5.27.0 and 5.35.0
Operating system: Fedora 34
Test Case:
Exact command line resulting in the issue:
What behaviour did you expect: Mathsat returns SAT
What happened instead: MathSAT exits with an error message
I believe this is due to commit "Fixed SMT encoding of array_of_expr" first included in version 5.27.0, which enabled generation of using a quantifier-based initialization instead of lambda in smt2_conv.cpp line 4400, while MathSAT does not fully support quantifiers.
Version 5.26.0 correctly fails the verification.
Previously I created a question on the CProver Support list.
The text was updated successfully, but these errors were encountered: