Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix reflexivity for tree-order
  • Loading branch information
NikolajBjorner committed Mar 31, 2023
1 parent 7664429 commit e0a066e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/smt/theory_special_relations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,12 @@ namespace smt {
TRACE("special_relations", tout << "already: " << a.v2() << " <= " << a.v1() << "\n";);
continue;
}
if (a.v1() == a.v2()) {
r.m_explanation.reset();
r.m_explanation.push_back(a.explanation());
set_conflict(r);
return l_false;
}
// the nodes visited from v1 become target for v2
if (r.m_graph.reachable(a.v2(), visited, target, w)) {
//
Expand Down

0 comments on commit e0a066e

Please sign in to comment.