3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00

Re-enable saturation

This commit is contained in:
Jakob Rath 2022-11-29 10:00:25 +01:00
parent 4aa04fa475
commit 630276dbad
3 changed files with 9 additions and 8 deletions

View file

@ -57,13 +57,13 @@ TODO:
namespace polysat {
class conflict_resolver {
saturation m_saturate;
saturation m_saturation;
ex_polynomial_superposition m_poly_sup;
free_variable_elimination m_free_variable_elimination;
public:
conflict_resolver(solver& s)
: m_saturate(s)
: m_saturation(s)
, m_poly_sup(s)
, m_free_variable_elimination(s)
{}
@ -71,8 +71,8 @@ namespace polysat {
bool try_resolve_value(pvar v, conflict& core) {
if (m_poly_sup.perform(v, core))
return true;
// if (m_saturate.perform(v, core))
// return true;
if (m_saturation.perform(v, core))
return true;
return false;
}

View file

@ -80,7 +80,7 @@ namespace polysat {
// return false;
SASSERT(c.bvalue(s) != l_true);
m_lemma.insert(c);
m_lemma.insert_eval(c);
core.add_lemma(m_rule, m_lemma.build());
return true;
}
@ -91,7 +91,7 @@ namespace polysat {
}
void saturation::insert_omega(pdd const& x, pdd const& y) {
m_lemma.insert(s.umul_ovfl(x, y));
m_lemma.insert_eval(s.umul_ovfl(x, y));
}
/*