mirror of
https://github.com/Z3Prover/z3
synced 2025-08-15 15:25:26 +00:00
turn on ho-matcher for completion
This commit is contained in:
parent
1b3c3c2716
commit
0c5b0c3724
10 changed files with 166 additions and 63 deletions
|
@ -88,6 +88,8 @@ public:
|
|||
expr_ref_vector core(m);
|
||||
m_solver->get_unsat_core(core);
|
||||
for (auto c : core) {
|
||||
if (c == nf)
|
||||
continue;
|
||||
auto [pr, dep] = m_e2d[c];
|
||||
d = m.mk_join(d, dep);
|
||||
}
|
||||
|
@ -96,6 +98,8 @@ public:
|
|||
SASSERT(pr);
|
||||
expr_safe_replace rep(m);
|
||||
for (auto c : core) {
|
||||
if (c == nf)
|
||||
continue;
|
||||
auto [p, dep] = m_e2d[c];
|
||||
rep.insert(m.mk_asserted(c), p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue