mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 01:55:32 +00:00
First version of refine_disequal_lin
This commit is contained in:
parent
eb9bfbb3d8
commit
28864e563c
5 changed files with 103 additions and 8 deletions
|
@ -405,7 +405,7 @@ namespace dd {
|
|||
bool is_zero() const { return m.is_zero(root); }
|
||||
bool is_linear() const { return m.is_linear(root); }
|
||||
bool is_var() const { return m.is_var(root); }
|
||||
/** Polynomial is of the form: a * x + b */
|
||||
/** Polynomial is of the form a * x + b for numerals a, b. */
|
||||
bool is_unilinear() const { return !is_val() && lo().is_val() && hi().is_val(); }
|
||||
bool is_unary() const { return !is_val() && lo().is_zero() && hi().is_val(); }
|
||||
bool is_binary() const { return m.is_binary(root); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue