summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/equality_query.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-07-02 20:08:53 -0500
committerGitHub <noreply@github.com>2018-07-02 20:08:53 -0500
commit0dec323ac1b45ce1ca194e9bb2a335c8def525d2 (patch)
treec201933c725ddfd7f68a1e03db8e4f85242d0d6c /src/theory/quantifiers/equality_query.cpp
parentbe58c8ead1d36ab3625faf848b2ebdce8d5de8a9 (diff)
Remove miscellaneous dead and unused code from quantifiers (#2121)
Diffstat (limited to 'src/theory/quantifiers/equality_query.cpp')
-rw-r--r--src/theory/quantifiers/equality_query.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/theory/quantifiers/equality_query.cpp b/src/theory/quantifiers/equality_query.cpp
index 1d582f597..ac07e13fb 100644
--- a/src/theory/quantifiers/equality_query.cpp
+++ b/src/theory/quantifiers/equality_query.cpp
@@ -67,7 +67,9 @@ bool EqualityQueryQuantifiersEngine::processInferences( Theory::Effort e ) {
}
Trace("term-db-lemma") << " add split on : " << eq << std::endl;
}
- d_qe->addSplit( eq );
+ eq = Rewriter::rewrite(eq);
+ Node split = NodeManager::currentNM()->mkNode(OR, eq, eq.negate());
+ d_qe->addLemma(split);
return false;
}else{
ee->assertEquality( eq, true, eq_exp );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback