mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
call nlsat
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
151397a067
commit
e32a6714a5
13 changed files with 86 additions and 68 deletions
|
@ -1895,4 +1895,23 @@ bool core::influences_nl_var(lpvar j) const {
|
|||
return false;
|
||||
}
|
||||
|
||||
bool core::factorization_has_real(const factorization& f) const {
|
||||
for (const factor& fc: f) {
|
||||
lpvar j = var(fc);
|
||||
if (!var_is_int(j))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool core::monic_has_real(const monic& m) const {
|
||||
if (!var_is_int(m.var()))
|
||||
return true;
|
||||
for (lpvar j : m) {
|
||||
if (!var_is_int(j))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
} // end of nla
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue