From c83e39d3b8ab55ab0309bfc160ee951f244979e3 Mon Sep 17 00:00:00 2001 From: Murphy Berzish Date: Mon, 5 Sep 2016 17:45:10 -0400 Subject: [PATCH] fix incorrect axiom in theory_str for Contains check this partially fixes a regression in contains-034.smt2, which now is at least not a SAT-as-UNSAT --- src/smt/theory_str.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smt/theory_str.cpp b/src/smt/theory_str.cpp index 749b9c036..421a45e57 100644 --- a/src/smt/theory_str.cpp +++ b/src/smt/theory_str.cpp @@ -4773,7 +4773,7 @@ void theory_str::check_contain_by_eq_nodes(expr * n1, expr * n2) { // key1.first = key2.first /\ containPairBoolMap[] // ==> (containPairBoolMap[key1] --> containPairBoolMap[key2]) // ------------ - expr_ref implR(ctx.mk_eq_atom(contain_pair_bool_map[key1], contain_pair_bool_map[key2]), m); + expr_ref implR(rewrite_implication(contain_pair_bool_map[key1], contain_pair_bool_map[key2]), m); assert_implication(mk_and(litems4), implR); } }