fix(kernel/level): add (trivial) case for is_geq predicate: l >= 0 for any l
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
045fa911d1
commit
f816487f4b
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ bool is_equivalent(level const & lhs, level const & rhs) {
|
|||
}
|
||||
|
||||
bool is_geq_core(level l1, level l2) {
|
||||
if (l1 == l2)
|
||||
if (l1 == l2 || is_zero(l2))
|
||||
return true;
|
||||
if (is_max(l2))
|
||||
return is_geq(l1, max_lhs(l2)) && is_geq(l1, max_rhs(l2));
|
||||
|
|
Loading…
Reference in a new issue