3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-14 03:04:44 +00:00

Refactor assignment and search state

This commit is contained in:
Jakob Rath 2022-11-21 17:25:15 +01:00
parent 022c06f75d
commit 6e72a97727
22 changed files with 326 additions and 211 deletions

View file

@ -24,6 +24,10 @@ Author:
namespace polysat {
bool constraint::is_currently_false(solver& s, bool is_positive) const {
return is_currently_false(s.assignment(), is_positive);
}
bool signed_constraint::is_eq() const {
return is_positive() && m_constraint->is_eq();
}