diff options
author | Pantazis Deligiannis <pdeligia@me.com> | 2013-07-22 14:41:52 +0100 |
---|---|---|
committer | Pantazis Deligiannis <pdeligia@me.com> | 2013-07-22 14:41:52 +0100 |
commit | 7025b1947fabb10e8a9213ff2ce764df03e6d53c (patch) | |
tree | 3f80d0919e1e82e4d776c410c26c5ac7eb580890 /Source/Provers | |
parent | 4c2312777919bdd02ec735d6297adba605e03f75 (diff) |
fix
Diffstat (limited to 'Source/Provers')
-rw-r--r-- | Source/Provers/SMTLib/ProverInterface.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/Provers/SMTLib/ProverInterface.cs b/Source/Provers/SMTLib/ProverInterface.cs index 086a1823..36e45fbc 100644 --- a/Source/Provers/SMTLib/ProverInterface.cs +++ b/Source/Provers/SMTLib/ProverInterface.cs @@ -109,14 +109,10 @@ namespace Microsoft.Boogie.SMTLib if (path == null)
path = Z3.ExecutablePath();
return SMTLibProcess.ComputerProcessStartInfo(path, "AUTO_CONFIG=false -smt2 -in");
- case SolverKind.CVC3:
- if (path == null)
- path = "cvc3";
- return SMTLibProcess.ComputerProcessStartInfo(path, "-lang smt2 +interactive -showPrompt");
case SolverKind.CVC4:
if (path == null)
path = "cvc4";
- return SMTLibProcess.ComputerProcessStartInfo(path, "--smtlib2 --no-strict-parsing");
+ return SMTLibProcess.ComputerProcessStartInfo(path, "--lang=smt --no-strict-parsing --no-condense-function-values --incremental");
default:
Debug.Assert(false);
return null;
@@ -560,7 +556,7 @@ namespace Microsoft.Boogie.SMTLib // Concatenate all the arguments
string modelString = resp[0].Name;
// modelString = modelString.Substring(7, modelString.Length - 8); // remove "(model " and final ")"
- var models = Model.ParseModels(new StringReader("Z3 error model: \n" + modelString));
+ var models = Model.ParseModels(new StringReader("Z3 error model: \n" + modelString), "");
if (models == null || models.Count == 0)
{
HandleProverError("no model from prover: " + resp.ToString());
|