3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 09:28:45 +00:00
Nikolaj Bjorner 2021-03-16 05:26:06 -07:00
parent dc5fa89de3
commit cb8c6ffafc
3 changed files with 8 additions and 4 deletions

View file

@ -340,6 +340,8 @@ namespace smt {
void context::ensure_internalized(expr* e) {
if (!e_internalized(e))
internalize(e, false);
if (is_app(e))
internalize_term(to_app(e));
}
/**
@ -354,9 +356,8 @@ namespace smt {
void context::internalize(expr* const* exprs, unsigned num_exprs, bool gate_ctx) {
internalize_deep(exprs, num_exprs);
for (unsigned i = 0; i < num_exprs; ++i) {
for (unsigned i = 0; i < num_exprs; ++i)
internalize_rec(exprs[i], gate_ctx);
}
}
void context::internalize_rec(expr * n, bool gate_ctx) {