mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 08:58:44 +00:00
parent
65b2037ba2
commit
c6b4641050
8 changed files with 36 additions and 22 deletions
|
@ -66,6 +66,8 @@ std::ostream& expr_substitution::display(std::ostream& out) {
|
|||
|
||||
void expr_substitution::insert(expr * c, expr * def, proof * def_pr, expr_dependency * def_dep) {
|
||||
obj_map<expr, expr*>::obj_map_entry * entry = m_subst.insert_if_not_there2(c, nullptr);
|
||||
SASSERT(!def_pr || to_app(m_manager.get_fact(def_pr))->get_arg(0) == c);
|
||||
SASSERT(!def_pr || to_app(m_manager.get_fact(def_pr))->get_arg(1) == def);
|
||||
if (entry->get_data().m_value == nullptr) {
|
||||
// new entry
|
||||
m_manager.inc_ref(c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue