3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

Disable problematic resolve_with_assignment

This commit is contained in:
Jakob Rath 2022-10-31 15:17:32 +01:00
parent eca72ffda1
commit eba59356f3

View file

@ -429,6 +429,7 @@ namespace polysat {
// The reason for lit is conceptually:
// x1 = v1 /\ ... /\ xn = vn ==> lit
SASSERT(s.m_bvars.is_value_propagation(lit));
SASSERT(contains(lit));
SASSERT(!contains(~lit));
@ -441,9 +442,12 @@ namespace polysat {
// If evaluation depends on a decision,
// then we rather keep the more general constraint c instead of inserting "x = v"
bool has_decision = false;
#if 0
// TODO: this is problematic; may skip relevant decisions
for (pvar v : c->vars())
if (s.is_assigned(v) && s.m_justification[v].is_decision())
m_bail_vars.insert(v), has_decision = true;
#endif
if (!has_decision) {
remove(c);
@ -452,6 +456,9 @@ namespace polysat {
m_vars.insert(v);
}
SASSERT(!contains(lit));
SASSERT(!contains(~lit));
logger().log(inf_resolve_with_assignment(s, lit, c));
}