3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 03:15:50 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-10-20 04:48:13 -07:00
parent f6595c161f
commit 2842c27e92
4 changed files with 10 additions and 8 deletions

View file

@ -276,6 +276,13 @@ struct goal2sat::imp : public sat::sat_internalizer {
m_lit2app.insert(l.index(), t);
m_cache_trail.push_back(t);
}
bool is_cached(app* t, sat::literal l) const override {
if (!m_app2lit.contains(t))
return false;
SASSERT(m_app2lit[t] == l);
return true;
}
void convert_atom(expr * t, bool root, bool sign) {
SASSERT(m.is_bool(t));