mirror of
https://github.com/Z3Prover/z3
synced 2026-05-17 07:29:28 +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);
|
||||
}
|
||||
|
||||
m_stoi_depth.insert_if_not_there(stoi_e, 0);
|
||||
m_stoi_depth[stoi_e] = k;
|
||||
if (m_stoi_depth.contains(stoi_e)) {
|
||||
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;
|
||||
}
|
||||
|
||||
return !progress;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue