mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
fixes to sat.euf ematching #5573
This commit is contained in:
parent
f78546cd7c
commit
115203e87c
6 changed files with 98 additions and 95 deletions
|
@ -149,6 +149,12 @@ namespace q {
|
|||
if (false && em.propagate(true, f.nodes(), gen, *f.c, new_propagation))
|
||||
return;
|
||||
|
||||
#if 0
|
||||
std::cout << mk_pp(q, m) << "\n";
|
||||
std::cout << num_bindings << "\n";
|
||||
for (unsigned i = 0; i < num_bindings; ++i)
|
||||
std::cout << mk_pp(f[i]->get_expr(), m) << " " << mk_pp(f[i]->get_sort(), m) << "\n";
|
||||
#endif
|
||||
auto* ebindings = m_subst(q, num_bindings);
|
||||
for (unsigned i = 0; i < num_bindings; ++i)
|
||||
ebindings[i] = f[i]->get_expr();
|
||||
|
@ -161,6 +167,9 @@ namespace q {
|
|||
stat->inc_num_instances();
|
||||
|
||||
m_stats.m_num_instances++;
|
||||
|
||||
// f.display(ctx, std::cout << mk_pp(f.q(), m) << "\n" << instance << "\n") << "\n";
|
||||
|
||||
|
||||
euf::solver::scoped_generation _sg(ctx, gen);
|
||||
sat::literal result_l = ctx.mk_literal(instance);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue