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

remove stale assertions due to lambda #2446

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-07-30 14:35:09 +08:00
parent 74631265b9
commit e1fd167e01
2 changed files with 1 additions and 6 deletions

View file

@ -1278,7 +1278,6 @@ namespace qe {
in->reset(); in->reset();
in->inc_depth(); in->inc_depth();
result.push_back(in.get()); result.push_back(in.get());
std::cout << in->models_enabled() << " " << m_model_save.get() << "\n";
if (in->models_enabled()) { if (in->models_enabled()) {
model_converter_ref mc; model_converter_ref mc;
mc = model2model_converter(m_model_save.get()); mc = model2model_converter(m_model_save.get());

View file

@ -522,7 +522,6 @@ namespace smt {
} }
instantiation_set const * get_uvar_inst_set(quantifier * q, unsigned i) const { instantiation_set const * get_uvar_inst_set(quantifier * q, unsigned i) const {
//SASSERT(!has_quantifiers(q->get_expr()));
ast_idx_pair k(q, i); ast_idx_pair k(q, i);
node * r = nullptr; node * r = nullptr;
if (m_uvars.find(k, r)) if (m_uvars.find(k, r))
@ -1747,7 +1746,6 @@ namespace smt {
} }
CTRACE("model_finder_bug", has_quantifiers(m_flat_q->get_expr()), CTRACE("model_finder_bug", has_quantifiers(m_flat_q->get_expr()),
tout << mk_pp(q, m) << "\n" << mk_pp(m_flat_q, m) << "\n";); tout << mk_pp(q, m) << "\n" << mk_pp(m_flat_q, m) << "\n";);
// SASSERT(m.is_lambda_def(q) || !has_quantifiers(m_flat_q->get_expr()));
} }
~quantifier_info() { ~quantifier_info() {
@ -2193,8 +2191,7 @@ namespace smt {
m_info->m_is_auf = false; // unexpected occurrence of variable. m_info->m_is_auf = false; // unexpected occurrence of variable.
} }
else { else {
SASSERT(is_quantifier(curr)); // no nested quantifiers SASSERT(is_lambda(curr));
//UNREACHABLE();
} }
} }
} }
@ -2380,7 +2377,6 @@ namespace smt {
quantifier * q = d->get_flat_q(); quantifier * q = d->get_flat_q();
if (m.is_lambda_def(q)) return; if (m.is_lambda_def(q)) return;
expr * e = q->get_expr(); expr * e = q->get_expr();
//SASSERT(!has_quantifiers(e));
reset_cache(); reset_cache();
SASSERT(m_ttodo.empty()); SASSERT(m_ttodo.empty());
SASSERT(m_ftodo.empty()); SASSERT(m_ftodo.empty());