summaryrefslogtreecommitdiff
path: root/Source/Provers
diff options
context:
space:
mode:
authorGravatar qadeer <qadeer@microsoft.com>2012-04-02 17:21:49 -0700
committerGravatar qadeer <qadeer@microsoft.com>2012-04-02 17:21:49 -0700
commit7119f6238657fe4c419c6366e801ff067ffb8506 (patch)
tree250c260a455c8d2157ac364b30533a7810c564cd /Source/Provers
parentbc42f101e4389d954afadae0e9fe95f7acc6c4ad (diff)
deleted the option UseUnsatCoreForInlining
Split ApiChecker.CheckAssumptions into two different methods, one which computes the unsatCore and one which does not Further edits to the MaxSat code
Diffstat (limited to 'Source/Provers')
-rw-r--r--Source/Provers/SMTLib/ProverInterface.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Provers/SMTLib/ProverInterface.cs b/Source/Provers/SMTLib/ProverInterface.cs
index 5e262f87..9987e6f4 100644
--- a/Source/Provers/SMTLib/ProverInterface.cs
+++ b/Source/Provers/SMTLib/ProverInterface.cs
@@ -85,7 +85,7 @@ namespace Microsoft.Boogie.SMTLib
{
currentLogFile = OpenOutputFile("");
}
- if (CommandLineOptions.Clo.ProcedureCopyBound > 0 || CommandLineOptions.Clo.UseUnsatCoreForInlining)
+ if (CommandLineOptions.Clo.ProcedureCopyBound > 0)
{
SendThisVC("(set-option :produce-unsat-cores true)");
this.usingUnsatCore = true;
@@ -835,7 +835,7 @@ namespace Microsoft.Boogie.SMTLib
DeclCollector.Push();
}
- public override Outcome CheckAssumptions(List<VCExpr> hardAssumptions, List<VCExpr> softAssumptions, out List<int> unsatisfiedSoftAssumptions) {
+ public override Outcome CheckAssumptions(List<VCExpr> hardAssumptions, List<VCExpr> softAssumptions, out List<int> unsatisfiedSoftAssumptions, ErrorHandler handler) {
unsatisfiedSoftAssumptions = new List<int>();
Push();
@@ -863,7 +863,7 @@ namespace Microsoft.Boogie.SMTLib
SendThisVC("(assert " + a + ")");
}
Check();
- outcome = GetResponse();
+ outcome = CheckOutcomeCore(handler);
Pop();
if (outcome != Outcome.Valid)
break;