mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
nit
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c7129d2537
commit
c894efd777
1 changed files with 1 additions and 7 deletions
|
@ -231,15 +231,9 @@ namespace polysat {
|
||||||
// (extension to arbitrary monomials for 'x' should be fairly easy too)
|
// (extension to arbitrary monomials for 'x' should be fairly easy too)
|
||||||
if (!x.is_unary())
|
if (!x.is_unary())
|
||||||
return false;
|
return false;
|
||||||
unsigned x_var = x.var();
|
|
||||||
rational x_coeff = x.hi().val();
|
rational x_coeff = x.hi().val();
|
||||||
pdd xz = x;
|
pdd xz = x;
|
||||||
if (!c.rhs.try_div(x_coeff, xz))
|
return c.rhs.try_div(x_coeff, xz) && xz.factor(x.var(), 1, z);
|
||||||
return false;
|
|
||||||
if (!xz.factor(x_var, 1, z))
|
|
||||||
return false;
|
|
||||||
LOG("zx > yx: " << show_deref(c.src));
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool inf_saturate::verify_Xy_l_XZ(pvar v, inequality const& c, pdd const& x, pdd const& z) {
|
bool inf_saturate::verify_Xy_l_XZ(pvar v, inequality const& c, pdd const& x, pdd const& z) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue