mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
align translation cache with scopes and variable elimination
This commit is contained in:
parent
11efe33aa0
commit
69070a7486
7 changed files with 65 additions and 19 deletions
|
@ -279,6 +279,11 @@ namespace euf {
|
|||
}
|
||||
}
|
||||
|
||||
void solver::set_eliminated(bool_var v) {
|
||||
si.uncache(literal(v, false));
|
||||
si.uncache(literal(v, true));
|
||||
}
|
||||
|
||||
void solver::asserted(literal l) {
|
||||
expr* e = m_bool_var2expr.get(l.var(), nullptr);
|
||||
if (!e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue