3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-05 21:53:23 +00:00
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-01-20 18:41:24 -08:00
parent 3344151aca
commit 5d938a5fe2

View file

@ -4236,7 +4236,14 @@ namespace realclosure {
bool refine_algebraic_interval(algebraic * a, unsigned prec) {
save_interval_if_too_small(a, prec);
if (a->sdt() != 0) {
// we can't bisect the interval, since it contains more than one root.
// We don't bisect the interval, since it contains more than one root.
// To bisect this kind of interval we would have to use Tarski queries.
return false;
}
else {
mpbqi & a_i = a->interval();
if (a_i.lower_is_inf() || a_i.upper_is_inf()) {
// we can't bisect the infinite intervals
return false;
}
else {
@ -4277,6 +4284,7 @@ namespace realclosure {
return true;
}
}
}
bool refine_algebraic_interval(rational_function_value * v, unsigned prec) {
SASSERT(v->ext()->is_algebraic());