summaryrefslogtreecommitdiff
path: root/Source/Provers/SMTLib/SMTLibLineariser.cs
diff options
context:
space:
mode:
authorGravatar MichalMoskal <unknown>2011-02-23 22:22:03 +0000
committerGravatar MichalMoskal <unknown>2011-02-23 22:22:03 +0000
commit408127c0fb6f2d38ce41d5e838777b7df36df438 (patch)
treefd106da3619f9700c20a402c5e047fbfd01ac3d7 /Source/Provers/SMTLib/SMTLibLineariser.cs
parent547dbaec94fac399b24cfd4ac56557379ab556a0 (diff)
Add MULTI_TRACES prover option (equivalent of /z3multipleErrors)
Diffstat (limited to 'Source/Provers/SMTLib/SMTLibLineariser.cs')
-rw-r--r--Source/Provers/SMTLib/SMTLibLineariser.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Provers/SMTLib/SMTLibLineariser.cs b/Source/Provers/SMTLib/SMTLibLineariser.cs
index 4884b44f..35c4d5f0 100644
--- a/Source/Provers/SMTLib/SMTLibLineariser.cs
+++ b/Source/Provers/SMTLib/SMTLibLineariser.cs
@@ -511,12 +511,11 @@ namespace Microsoft.Boogie.SMTLib
wr.Write("({0} {1} ", op.pos ? "lblpos" : "lblneg", SMTLibNamer.QuoteId(op.label));
}
- if (!op.pos)
- wr.Write("(or {0} ", SMTLibNamer.QuoteId(SMTLibNamer.BlockedLabel(op.label)));
+ wr.Write("({0} {1} ", op.pos ? "and" : "or", SMTLibNamer.QuoteId(SMTLibNamer.LabelVar(op.label)));
ExprLineariser.Linearise(node[0], options);
- if (!op.pos) wr.Write(")");
+ wr.Write(")");
if (ExprLineariser.ProverOptions.UseLabels)
wr.Write(")");