Skip to content

Commit

Permalink
fix #4930
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Jan 8, 2021
1 parent e902e1e commit 3d39f37
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/smt/smt_conflict_resolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -839,8 +839,7 @@ namespace smt {
unsigned num_args;
switch (js.get_kind()) {
case eq_justification::AXIOM:
UNREACHABLE();
return nullptr;
return m.mk_hypothesis(m.mk_eq(n1->get_expr(), n2->get_expr()));
case eq_justification::EQUATION:
TRACE("proof_gen_bug", tout << js.get_literal() << "\n"; m_ctx.display_literal_info(tout, js.get_literal()););
return norm_eq_proof(n1, n2, get_proof(js.get_literal()));
Expand Down Expand Up @@ -1137,9 +1136,8 @@ namespace smt {
while (lhs != rhs) {
eq_justification js = lhs->m_trans.m_justification;
switch (js.get_kind()) {
case eq_justification::AXIOM:
UNREACHABLE();
break;
case eq_justification::AXIOM:
break;
case eq_justification::EQUATION:
if (get_proof(js.get_literal()) == nullptr)
visited = false;
Expand Down

0 comments on commit 3d39f37

Please sign in to comment.