summaryrefslogtreecommitdiff
path: root/Source/Provers/SMTLib/SMTLibLineariser.cs
diff options
context:
space:
mode:
authorGravatar MichalMoskal <unknown>2011-02-23 00:48:50 +0000
committerGravatar MichalMoskal <unknown>2011-02-23 00:48:50 +0000
commit52e2ae918c077e39858f8264d76bd267e60c7f34 (patch)
tree6e11daa894027f3fd917bc565eaf84dc6db89abe /Source/Provers/SMTLib/SMTLibLineariser.cs
parent972447d790adeb0e30342410df306784867de2b3 (diff)
Pass :skolemid to SMTLib prover
Diffstat (limited to 'Source/Provers/SMTLib/SMTLibLineariser.cs')
-rw-r--r--Source/Provers/SMTLib/SMTLibLineariser.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Provers/SMTLib/SMTLibLineariser.cs b/Source/Provers/SMTLib/SMTLibLineariser.cs
index 3c6c611c..4cec5ad4 100644
--- a/Source/Provers/SMTLib/SMTLibLineariser.cs
+++ b/Source/Provers/SMTLib/SMTLibLineariser.cs
@@ -245,7 +245,7 @@ namespace Microsoft.Boogie.SMTLib
var weight = QKeyValue.FindIntAttribute(infos.attributes, "weight", 1);
if (!ProverOptions.UseWeights)
weight = 1;
- var hasAttrs = node.Triggers.Count > 0 || infos.qid != null || weight != 1;
+ var hasAttrs = node.Triggers.Count > 0 || infos.qid != null || weight != 1 || infos.uniqueId != -1;
if (hasAttrs)
wr.Write("(! ");
@@ -258,6 +258,8 @@ namespace Microsoft.Boogie.SMTLib
wr.Write(" :named {0}\n", SMTLibNamer.QuoteId(infos.qid));
if (weight != 1)
wr.Write(" :weight {0}\n", weight);
+ if (infos.uniqueId != -1)
+ wr.Write(" :skolemid {0}\n", infos.uniqueId);
WriteTriggers(node.Triggers, options);
wr.Write(")");