mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 06:15:46 +00:00
find_upper_bound
This commit is contained in:
parent
64ce6cb5c1
commit
18411afda2
3 changed files with 29 additions and 12 deletions
|
@ -36,6 +36,8 @@ namespace polysat {
|
|||
};
|
||||
|
||||
class inf_saturate : public inference_engine {
|
||||
bool find_upper_bound(pvar x, signed_constraint& c, rational& bound);
|
||||
|
||||
bool push_omega_mul(conflict_core& core, clause_builder& reason, unsigned level, pdd const& x, pdd const& y);
|
||||
signed_constraint ineq(unsigned level, bool strict, pdd const& lhs, pdd const& rhs);
|
||||
void push_c(conflict_core& core, signed_constraint const& c, clause_builder& reason);
|
||||
|
@ -59,6 +61,9 @@ namespace polysat {
|
|||
// c := v ~ rhs
|
||||
bool is_g_v(pvar v, inequality const& c);
|
||||
|
||||
// c := x ~ Y
|
||||
bool is_x_l_Y(pvar x, inequality const& c, pdd& y);
|
||||
|
||||
// c := X*y ~ X*Z
|
||||
bool is_Xy_l_XZ(pvar y, inequality const& c, pdd& x, pdd& z);
|
||||
bool verify_Xy_l_XZ(pvar y, inequality const& c, pdd const& x, pdd const& z);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue