3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

remove redudant is_well_sorted checks after var_subst

var_subst already checks for well sortedness of the resulting expression

Signed-off-by: Nuno Lopes <nuno.lopes@ist.utl.pt>
This commit is contained in:
Nuno Lopes 2012-11-22 15:03:11 +00:00
parent 0ccae8e2e3
commit 5af1e4bdf4
2 changed files with 0 additions and 2 deletions

View file

@ -489,7 +489,6 @@ void macro_util::normalize_expr(app * head, expr * t, expr_ref & norm_t) const {
tout << "#" << i << " -> " << mk_pp(var_mapping[i], m_manager) << "\n";
});
subst(t, var_mapping.size(), var_mapping.c_ptr(), norm_t);
SASSERT(is_well_sorted(m_manager, norm_t));
}
else {
norm_t = t;

View file

@ -102,7 +102,6 @@ class skolemizer {
}
}
s(body, substitution.size(), substitution.c_ptr(), r);
SASSERT(is_well_sorted(m(), r));
p = 0;
if (m().proofs_enabled()) {
if (q->is_forall())