mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 04:43:39 +00:00
fix breaking change to theory-seq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
81fce55d78
commit
caf0a1e80d
1 changed files with 4 additions and 2 deletions
|
@ -3732,16 +3732,18 @@ void theory_seq::new_diseq_eh(theory_var v1, theory_var v2) {
|
||||||
|
|
||||||
literal lit = mk_eq(e1, e2, false);
|
literal lit = mk_eq(e1, e2, false);
|
||||||
|
|
||||||
|
|
||||||
if (m_util.str.is_empty(e2)) {
|
if (m_util.str.is_empty(e2)) {
|
||||||
std::swap(e1, e2);
|
std::swap(e1, e2);
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
if (false && m_util.str.is_empty(e1)) {
|
if (false && m_util.str.is_empty(e1)) {
|
||||||
expr_ref head(m), tail(m), conc(m);
|
expr_ref head(m), tail(m), conc(m);
|
||||||
mk_decompose(e2, head, tail);
|
mk_decompose(e2, head, tail);
|
||||||
conc = mk_concat(head, tail);
|
conc = mk_concat(head, tail);
|
||||||
propagate_eq(~lit, e2, conc, true);
|
propagate_eq(~lit, e2, conc, true);
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
|
|
||||||
// (e1 = "" & e2 = xdz) or (e2 = "" & e1 = xcy) or (e1 = xcy & e2 = xdz & c != d) or (e1 = x & e2 = xdz) or (e2 = x & e1 = xcy)
|
// (e1 = "" & e2 = xdz) or (e2 = "" & e1 = xcy) or (e1 = xcy & e2 = xdz & c != d) or (e1 = x & e2 = xdz) or (e2 = x & e1 = xcy)
|
||||||
// e1 = "" or e1 = xcy or e1 = x
|
// e1 = "" or e1 = xcy or e1 = x
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue