mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
check for negation, not complement
This commit is contained in:
parent
42b42dd89a
commit
4628cb8e79
|
@ -2493,8 +2493,8 @@ expr_ref seq_rewriter::mk_der_op_rec(decl_kind k, expr* a, expr* b) {
|
||||||
unsigned ch;
|
unsigned ch;
|
||||||
if (u().is_char_le(e, ch1, ch2) && u().is_const_char(ch2, ch))
|
if (u().is_char_le(e, ch1, ch2) && u().is_const_char(ch2, ch))
|
||||||
return ch;
|
return ch;
|
||||||
// Fallback: use expression ID (but use same ID for complement)
|
// Fallback: use expression ID (but use same ID for negation)
|
||||||
re().is_complement(e, e);
|
m().is_not(e, e);
|
||||||
return e->get_id();
|
return e->get_id();
|
||||||
};
|
};
|
||||||
if (m().is_ite(a, ca, a1, a2)) {
|
if (m().is_ite(a, ca, a1, a2)) {
|
||||||
|
|
Loading…
Reference in a new issue