mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
track dependencies in context solve
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6e3f05b986
commit
335040a4ff
|
@ -604,7 +604,7 @@ class solve_eqs_tactic : public tactic {
|
|||
expr* f = g.form(idx);
|
||||
thrw(f, tmp);
|
||||
rw(tmp, tmp2);
|
||||
g.update(idx, tmp2);
|
||||
g.update(idx, tmp2, g.pr(idx), g.dep(idx));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -774,8 +774,7 @@ class solve_eqs_tactic : public tactic {
|
|||
m_num_steps += m_r->get_num_steps() + 1;
|
||||
if (m_produce_proofs)
|
||||
new_pr = m().mk_transitivity(pr, new_pr);
|
||||
if (m_produce_unsat_cores)
|
||||
new_dep = m().mk_join(dep, new_dep);
|
||||
new_dep = m().mk_join(dep, new_dep);
|
||||
m_norm_subst->insert(v, new_def, new_pr, new_dep);
|
||||
// we updated the substituting, but we don't need to reset m_r
|
||||
// because all cached values there do not depend on v.
|
||||
|
|
Loading…
Reference in a new issue