summaryrefslogtreecommitdiff
path: root/Source/Provers/TPTP/TPTPLineariser.cs
diff options
context:
space:
mode:
authorGravatar MichalMoskal <unknown>2011-01-19 23:39:03 +0000
committerGravatar MichalMoskal <unknown>2011-01-19 23:39:03 +0000
commitfe36b6833b854c3654dd2f7f9c717e1c96613863 (patch)
tree41b61af1b7213d1e4a70c88f9f0dab368d315d92 /Source/Provers/TPTP/TPTPLineariser.cs
parent7601e4dc4c5e0372eaec2529abb5830bf2ccdbd9 (diff)
Make the SMTLIB backend work again, particularly with /typeEncoding:m
Diffstat (limited to 'Source/Provers/TPTP/TPTPLineariser.cs')
-rw-r--r--Source/Provers/TPTP/TPTPLineariser.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Provers/TPTP/TPTPLineariser.cs b/Source/Provers/TPTP/TPTPLineariser.cs
index cc4f8060..78b87590 100644
--- a/Source/Provers/TPTP/TPTPLineariser.cs
+++ b/Source/Provers/TPTP/TPTPLineariser.cs
@@ -118,7 +118,6 @@ void ObjectInvariant()
case impliesName:
case iffName:
case eqName:
- case distinctName:
case TRUEName:
case FALSEName:
case "Array":
@@ -163,8 +162,6 @@ void ObjectInvariant()
internal const string subtypeName = "UOrdering2";
internal const string subtypeArgsName = "UOrdering3";
- internal const string distinctName = "distinct";
-
internal const string boolTrueName = "boolTrue";
internal const string boolFalseName = "boolFalse";
internal const string boolIteName = "ite";
@@ -534,7 +531,7 @@ void ObjectInvariant()
//Contract.Requires(node != null);
//Contract.Requires(options != null);
- ExprLineariser.AssertAsFormula(distinctName, options);
+ ExprLineariser.AssertAsFormula("distinct", options);
if (node.Length < 2) {
ExprLineariser.Linearise(VCExpressionGenerator.True, options);