mirror of
https://github.com/Z3Prover/z3
synced 2026-06-06 09:00:52 +00:00
stoi lemmas might have been forgotten so we need to reassert
This commit is contained in:
parent
6fa354102a
commit
e62ba9b60b
1 changed files with 7 additions and 3 deletions
|
|
@ -1594,11 +1594,15 @@ namespace smt {
|
||||||
ctx.mk_th_axiom(get_id(), 3, clause);
|
ctx.mk_th_axiom(get_id(), 3, clause);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_stoi_depth.insert_if_not_there(stoi_e, 0);
|
if (m_stoi_depth.contains(stoi_e)) {
|
||||||
m_stoi_depth[stoi_e] = k;
|
unsigned prev = m_stoi_depth[stoi_e];
|
||||||
|
ctx.push_trail(remove_obj_map(m_stoi_depth, stoi_e, prev));
|
||||||
|
m_stoi_depth.remove(stoi_e);
|
||||||
|
}
|
||||||
|
ctx.push_trail(insert_obj_map(m_stoi_depth, stoi_e));
|
||||||
|
m_stoi_depth.insert(stoi_e, k);
|
||||||
progress = true;
|
progress = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return !progress;
|
return !progress;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue