summaryrefslogtreecommitdiff
path: root/Source/Provers/SMTLib/Z3.cs
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2011-10-28 10:09:28 +0200
committerGravatar wuestholz <unknown>2011-10-28 10:09:28 +0200
commita71355ebb544626df13100bc2dd12275ba2b80f2 (patch)
tree176d3001de0cd599a7a93e2f02d47aaf4fa01dbf /Source/Provers/SMTLib/Z3.cs
parentba953b527ddbe21d2e209de815fff0e70d718774 (diff)
Boogie: Updated the error message for old versions of Z3.
Diffstat (limited to 'Source/Provers/SMTLib/Z3.cs')
-rw-r--r--Source/Provers/SMTLib/Z3.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Provers/SMTLib/Z3.cs b/Source/Provers/SMTLib/Z3.cs
index bbe13453..2b426f0b 100644
--- a/Source/Provers/SMTLib/Z3.cs
+++ b/Source/Provers/SMTLib/Z3.cs
@@ -33,7 +33,7 @@ namespace Microsoft.Boogie.SMTLib
static void FindExecutable()
// throws ProverException, System.IO.FileNotFoundException;
- {
+ {
Contract.Ensures(_proverPath != null);
var proverExe = "z3.exe";
@@ -101,8 +101,8 @@ namespace Microsoft.Boogie.SMTLib
}
if (major < minMajor || (major == minMajor && minor < minMinor)) {
- throw new ProverException(string.Format("Found version {0}.{1} of Z3. Please install version {0}.{1} or later. " +
- "(More conservative users might opt to supply -prover:Z3 option instead to get the historic Simplify back-end)",
+ throw new ProverException(string.Format("Found version {0}.{1} of Z3. Please install version {2}.{3} or later. " +
+ "(More conservative users might opt to supply -prover:Z3 option instead to get the historic Simplify back-end)",
major, minor, minMajor, minMinor));
}
}
@@ -146,7 +146,7 @@ namespace Microsoft.Boogie.SMTLib
options.AddWeakSmtOption("NNF_SK_HACK", "true");
// don't use model-based quantifier instantiation; it never finishes on non-trivial Boogie problems
- options.AddWeakSmtOption("MBQI", "false");
+ options.AddWeakSmtOption("MBQI", "false");
// More or less like MAM=0.
options.AddWeakSmtOption("QI_EAGER_THRESHOLD", "100");