mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 11:07:51 +00:00
updates to solver interface and adding some saturation rules
This commit is contained in:
parent
172d0ea685
commit
21791f12bf
9 changed files with 178 additions and 206 deletions
|
@ -31,6 +31,18 @@ namespace polysat {
|
|||
}
|
||||
|
||||
|
||||
dependency inequality::dep() const {
|
||||
return c.get_dependency(id());
|
||||
}
|
||||
|
||||
bool inequality::is_l_v(pdd const& v, signed_constraint const& sc) {
|
||||
return sc.is_ule() && v == (sc.sign() ? sc.to_ule().rhs() : sc.to_ule().lhs());
|
||||
}
|
||||
|
||||
bool inequality::is_g_v(pdd const& v, signed_constraint const& sc) {
|
||||
return sc.is_ule() && v == (sc.sign() ? sc.to_ule().lhs() : sc.to_ule().rhs());
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue