Changed the splitting-on-demand lemmas of arithmetic to no longer contain the equalit...
authorTim King <taking@cs.nyu.edu>
Mon, 19 Nov 2012 17:16:16 +0000 (17:16 +0000)
committerTim King <taking@cs.nyu.edu>
Mon, 19 Nov 2012 17:16:16 +0000 (17:16 +0000)
src/theory/arith/constraint.cpp

index 792d4b16c3dc4b62e5c8256f5aef54d29a32ad4c..392d04f6c8c4c2862a4f5a2221ba9757fc5a07d7 100644 (file)
@@ -590,10 +590,10 @@ Node ConstraintValue::split(){
   TNode lhs = eqNode[0];
   TNode rhs = eqNode[1];
 
-  Node ltNode = NodeBuilder<2>(kind::LT) << lhs << rhs;
-  Node gtNode = NodeBuilder<2>(kind::GT) << lhs << rhs;
+  Node leqNode = NodeBuilder<2>(kind::LEQ) << lhs << rhs;
+  Node geqNode = NodeBuilder<2>(kind::GEQ) << lhs << rhs;
 
-  Node lemma = NodeBuilder<3>(OR) << eqNode << ltNode << gtNode;
+  Node lemma = NodeBuilder<3>(OR) << leqNode << geqNode;
 
 
   eq->d_database->pushSplitWatch(eq);