diff --git a/src/smt/smt_context_pp.cpp b/src/smt/smt_context_pp.cpp index b06b2f463..d04165c5b 100644 --- a/src/smt/smt_context_pp.cpp +++ b/src/smt/smt_context_pp.cpp @@ -238,7 +238,7 @@ namespace smt { out << "equivalence classes:\n"; 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"; } } diff --git a/src/smt/theory_seq.cpp b/src/smt/theory_seq.cpp index 3c3d82402..61c09b020 100644 --- a/src/smt/theory_seq.cpp +++ b/src/smt/theory_seq.cpp @@ -1987,8 +1987,8 @@ void theory_seq::add_at_axiom(expr* e) { expr* 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); - x = mk_skolem(m_at_left, s); - y = mk_skolem(m_at_right, s); + x = mk_skolem(m_at_left, s, i); + y = mk_skolem(m_at_right, s, i); xey = mk_concat(x, e, y); zero = m_autil.mk_int(0); one = m_autil.mk_int(1);