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

note non-false literals in clause

This commit is contained in:
Jakob Rath 2023-10-24 13:14:35 +02:00
parent aea1b7836c
commit be993485d0

View file

@ -89,6 +89,13 @@ namespace polysat {
void clause_builder::insert_eval(signed_constraint c) {
if (c.bvalue(*m_solver) == l_undef)
m_solver->assign_eval(~c.blit());
if (c.bvalue(*m_solver) != l_false) {
IF_VERBOSE(1,
verbose_stream() << "clause_builder: " << (m_name ? m_name : "<null>") << "\n";
verbose_stream() << " constraint is not b:false: " << lit_pp(*m_solver, c) << "\n";
);
}
// SASSERT_EQ(c.bvalue(*m_solver), l_false);
insert(c);
}