mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
fix axiomatization for at
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6aed3c3a44
commit
c9373ebc9f
2 changed files with 3 additions and 3 deletions
|
@ -238,7 +238,7 @@ namespace smt {
|
||||||
out << "equivalence classes:\n";
|
out << "equivalence classes:\n";
|
||||||
first = false;
|
first = false;
|
||||||
}
|
}
|
||||||
out << "#" << n->get_id() << " -> #" << r->get_id() << "\n";
|
out << "#" << n->get_id() << " -> #" << r->get_id() << ": ";
|
||||||
out << mk_pp(n, m_manager) << " -> " << mk_pp(r, m_manager) << "\n";
|
out << mk_pp(n, m_manager) << " -> " << mk_pp(r, m_manager) << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1987,8 +1987,8 @@ void theory_seq::add_at_axiom(expr* e) {
|
||||||
expr* s, *i;
|
expr* s, *i;
|
||||||
VERIFY(m_util.str.is_at(e, s, i));
|
VERIFY(m_util.str.is_at(e, s, i));
|
||||||
expr_ref x(m), y(m), lx(m), le(m), xey(m), zero(m), one(m), len_e(m), len_x(m);
|
expr_ref x(m), y(m), lx(m), le(m), xey(m), zero(m), one(m), len_e(m), len_x(m);
|
||||||
x = mk_skolem(m_at_left, s);
|
x = mk_skolem(m_at_left, s, i);
|
||||||
y = mk_skolem(m_at_right, s);
|
y = mk_skolem(m_at_right, s, i);
|
||||||
xey = mk_concat(x, e, y);
|
xey = mk_concat(x, e, y);
|
||||||
zero = m_autil.mk_int(0);
|
zero = m_autil.mk_int(0);
|
||||||
one = m_autil.mk_int(1);
|
one = m_autil.mk_int(1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue