3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

more ematching

This commit is contained in:
Nikolaj Bjorner 2021-01-29 13:39:14 -08:00
parent 41a4d102f4
commit 4af9132f2e
12 changed files with 263 additions and 108 deletions

View file

@ -76,6 +76,10 @@ namespace q {
return out;
}
std::ostream& solver::display_constraint(std::ostream& out, sat::ext_constraint_idx idx) const {
return m_ematch.display_constraint(out, idx);
}
void solver::collect_statistics(statistics& st) const {
st.update("quantifier asserts", m_stats.m_num_quantifier_asserts);
m_mbqi.collect_statistics(st);
@ -87,7 +91,6 @@ namespace q {
}
bool solver::unit_propagate() {
TRACE("q", tout << "propagate\n";);
return ctx.get_config().m_ematching && m_ematch.propagate();
}
@ -281,4 +284,8 @@ namespace q {
return m_expanded;
}
void solver::get_antecedents(sat::literal l, sat::ext_justification_idx idx, sat::literal_vector& r, bool probing) {
m_ematch.get_antecedents(l, idx, r, probing);
}
}