mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
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
This commit is contained in:
parent
7b34efada7
commit
c83e39d3b8
1 changed files with 1 additions and 1 deletions
|
@ -4773,7 +4773,7 @@ void theory_str::check_contain_by_eq_nodes(expr * n1, expr * n2) {
|
|||
// key1.first = key2.first /\ containPairBoolMap[<eqc(key2.second), eqc(key1.second)>]
|
||||
// ==> (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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue