summaryrefslogtreecommitdiff
path: root/Source/Provers/SMTLib
diff options
context:
space:
mode:
authorGravatar Valentin Wüstholz <wuestholz@gmail.com>2015-05-20 19:39:24 +0200
committerGravatar Valentin Wüstholz <wuestholz@gmail.com>2015-05-20 19:39:24 +0200
commit5bcf7c6c005233137cde6f908c6801a911aeca0a (patch)
treee43ac2b869ef6cc087fa8d97ceb9615167e564ea /Source/Provers/SMTLib
parentacb3bb31dffcdba7f63e9ab041bb83d26f23e7b8 (diff)
Minor changes
Diffstat (limited to 'Source/Provers/SMTLib')
-rw-r--r--Source/Provers/SMTLib/ProverInterface.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Provers/SMTLib/ProverInterface.cs b/Source/Provers/SMTLib/ProverInterface.cs
index 9ec8b6f1..594f2509 100644
--- a/Source/Provers/SMTLib/ProverInterface.cs
+++ b/Source/Provers/SMTLib/ProverInterface.cs
@@ -1310,6 +1310,10 @@ namespace Microsoft.Boogie.SMTLib
break;
}
}
+ else
+ {
+ mod = 2;
+ }
lastCnt = cnt;
if (0 < split0.Count)
@@ -1439,6 +1443,10 @@ namespace Microsoft.Boogie.SMTLib
expr = VCExprGen.AndSimp(expr, lit);
}
SendThisVC("(assert " + VCExpr2String(expr, 1) + ")");
+ if (options.Solver == SolverKind.Z3)
+ {
+ SendThisVC("(apply (then (using-params propagate-values :max_rounds 1) simplify) :print false)");
+ }
FlushLogFile();
SendThisVC("(check-sat)");
return GetResponse();