mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 17:54:43 +00:00
more cleanup
This commit is contained in:
parent
a8586746be
commit
6ee3941523
17 changed files with 328 additions and 104 deletions
|
@ -1009,7 +1009,11 @@ void theory_diff_logic<Ext>::new_eq_or_diseq(bool is_eq, theory_var v1, theory_v
|
|||
t2 = m_util.mk_numeral(k, m.get_sort(s2.get()));
|
||||
// t1 - s1 = k
|
||||
eq = m.mk_eq(s2.get(), t2.get());
|
||||
if (m.has_trace_stream()) log_axiom_instantiation(m.mk_eq(m.mk_eq(m_util.mk_add(s1, t2), t1), eq));
|
||||
if (m.has_trace_stream()) {
|
||||
app_ref body(m);
|
||||
body = m.mk_eq(m.mk_eq(m_util.mk_add(s1, t2), t1), eq);
|
||||
log_axiom_instantiation(body);
|
||||
}
|
||||
|
||||
TRACE("diff_logic",
|
||||
tout << v1 << " .. " << v2 << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue