Skip to content

Commit e1fd167

Browse files
remove stale assertions due to lambda #2446
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 7463126 commit e1fd167

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/qe/qsat.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,6 @@ namespace qe {
12781278
in->reset();
12791279
in->inc_depth();
12801280
result.push_back(in.get());
1281-
std::cout << in->models_enabled() << " " << m_model_save.get() << "\n";
12821281
if (in->models_enabled()) {
12831282
model_converter_ref mc;
12841283
mc = model2model_converter(m_model_save.get());

src/smt/smt_model_finder.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,6 @@ namespace smt {
522522
}
523523

524524
instantiation_set const * get_uvar_inst_set(quantifier * q, unsigned i) const {
525-
//SASSERT(!has_quantifiers(q->get_expr()));
526525
ast_idx_pair k(q, i);
527526
node * r = nullptr;
528527
if (m_uvars.find(k, r))
@@ -1747,7 +1746,6 @@ namespace smt {
17471746
}
17481747
CTRACE("model_finder_bug", has_quantifiers(m_flat_q->get_expr()),
17491748
tout << mk_pp(q, m) << "\n" << mk_pp(m_flat_q, m) << "\n";);
1750-
// SASSERT(m.is_lambda_def(q) || !has_quantifiers(m_flat_q->get_expr()));
17511749
}
17521750

17531751
~quantifier_info() {
@@ -2193,8 +2191,7 @@ namespace smt {
21932191
m_info->m_is_auf = false; // unexpected occurrence of variable.
21942192
}
21952193
else {
2196-
SASSERT(is_quantifier(curr)); // no nested quantifiers
2197-
//UNREACHABLE();
2194+
SASSERT(is_lambda(curr));
21982195
}
21992196
}
22002197
}
@@ -2380,7 +2377,6 @@ namespace smt {
23802377
quantifier * q = d->get_flat_q();
23812378
if (m.is_lambda_def(q)) return;
23822379
expr * e = q->get_expr();
2383-
//SASSERT(!has_quantifiers(e));
23842380
reset_cache();
23852381
SASSERT(m_ttodo.empty());
23862382
SASSERT(m_ftodo.empty());

0 commit comments

Comments
 (0)