3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00

working on relevancy=3

This commit is contained in:
Nikolaj Bjorner 2021-12-30 17:07:14 -08:00
parent b87b464e69
commit e8833f4dac
15 changed files with 65 additions and 62 deletions

View file

@ -248,7 +248,7 @@ namespace euf {
expr_ref at_least2(pb.mk_at_least_k(eqs.size(), eqs.data(), 2), m);
sat::literal lit = si.internalize(at_least2, m_is_redundant);
s().mk_clause(1, &lit, st);
add_root(1, &lit);
add_root(lit);
}
}
@ -351,7 +351,7 @@ namespace euf {
// contains a parent application.
family_id th_id = m.get_basic_family_id();
for (auto p : euf::enode_th_vars(n)) {
for (auto const& p : euf::enode_th_vars(n)) {
family_id id = p.get_id();
if (m.get_basic_family_id() != id) {
if (th_id != m.get_basic_family_id())