projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
913691e
)
Changed the splitting-on-demand lemmas of arithmetic to no longer contain the equalit...
author
Tim King
<taking@cs.nyu.edu>
Mon, 19 Nov 2012 17:16:16 +0000
(17:16 +0000)
committer
Tim King
<taking@cs.nyu.edu>
Mon, 19 Nov 2012 17:16:16 +0000
(17:16 +0000)
src/theory/arith/constraint.cpp
patch
|
blob
|
history
diff --git
a/src/theory/arith/constraint.cpp
b/src/theory/arith/constraint.cpp
index 792d4b16c3dc4b62e5c8256f5aef54d29a32ad4c..392d04f6c8c4c2862a4f5a2221ba9757fc5a07d7 100644
(file)
--- a/
src/theory/arith/constraint.cpp
+++ b/
src/theory/arith/constraint.cpp
@@
-590,10
+590,10
@@
Node ConstraintValue::split(){
TNode lhs = eqNode[0];
TNode rhs = eqNode[1];
- Node l
tNode = NodeBuilder<2>(kind::LT
) << lhs << rhs;
- Node g
tNode = NodeBuilder<2>(kind::GT
) << lhs << rhs;
+ Node l
eqNode = NodeBuilder<2>(kind::LEQ
) << lhs << rhs;
+ Node g
eqNode = NodeBuilder<2>(kind::GEQ
) << lhs << rhs;
- Node lemma = NodeBuilder<3>(OR) <<
eqNode << ltNode << gt
Node;
+ Node lemma = NodeBuilder<3>(OR) <<
leqNode << geq
Node;
eq->d_database->pushSplitWatch(eq);