mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
count lazy bindings
This commit is contained in:
parent
3abecc3428
commit
2e176a0e02
|
@ -240,6 +240,7 @@ namespace q {
|
||||||
b->m_nodes[i] = _binding[i];
|
b->m_nodes[i] = _binding[i];
|
||||||
binding::push_to_front(c.m_bindings, b);
|
binding::push_to_front(c.m_bindings, b);
|
||||||
ctx.push(remove_binding(ctx, c, b));
|
ctx.push(remove_binding(ctx, c, b));
|
||||||
|
++m_stats.m_num_delayed_bindings;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ematch::on_binding(quantifier* q, app* pat, euf::enode* const* _binding, unsigned max_generation, unsigned min_gen, unsigned max_gen) {
|
void ematch::on_binding(quantifier* q, app* pat, euf::enode* const* _binding, unsigned max_generation, unsigned min_gen, unsigned max_gen) {
|
||||||
|
@ -612,6 +613,7 @@ namespace q {
|
||||||
st.update("q redundant", m_stats.m_num_redundant);
|
st.update("q redundant", m_stats.m_num_redundant);
|
||||||
st.update("q units", m_stats.m_num_propagations);
|
st.update("q units", m_stats.m_num_propagations);
|
||||||
st.update("q conflicts", m_stats.m_num_conflicts);
|
st.update("q conflicts", m_stats.m_num_conflicts);
|
||||||
|
st.update("q delayed bindings", m_stats.m_num_delayed_bindings);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostream& ematch::display(std::ostream& out) const {
|
std::ostream& ematch::display(std::ostream& out) const {
|
||||||
|
|
|
@ -41,6 +41,7 @@ namespace q {
|
||||||
unsigned m_num_propagations;
|
unsigned m_num_propagations;
|
||||||
unsigned m_num_conflicts;
|
unsigned m_num_conflicts;
|
||||||
unsigned m_num_redundant;
|
unsigned m_num_redundant;
|
||||||
|
unsigned m_num_delayed_bindings;
|
||||||
|
|
||||||
stats() { reset(); }
|
stats() { reset(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue