mirror of
https://github.com/Z3Prover/z3
synced 2026-02-20 07:24:40 +00:00
fix #8105
This commit is contained in:
parent
d0add7e3d8
commit
8b683787d4
2 changed files with 7 additions and 1 deletions
|
|
@ -566,6 +566,8 @@ struct ctx_simplify_tactic::imp {
|
|||
}
|
||||
|
||||
void operator()(goal & g) {
|
||||
if (g.inconsistent())
|
||||
return;
|
||||
m_occs.reset();
|
||||
m_occs(g);
|
||||
m_num_steps = 0;
|
||||
|
|
@ -578,6 +580,8 @@ struct ctx_simplify_tactic::imp {
|
|||
proof_ref new_pr(m.mk_rewrite(t, r), m);
|
||||
new_pr = m.mk_modus_ponens(pr, new_pr);
|
||||
g.update(idx++, r, new_pr, dep);
|
||||
if (g.inconsistent())
|
||||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue