mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 03:07:07 +00:00
parent
3f5eb7fcf2
commit
ddbe17d581
|
@ -2279,6 +2279,9 @@ class ArithSortRef(SortRef):
|
|||
"""
|
||||
return self.kind() == Z3_INT_SORT
|
||||
|
||||
def is_bool(self):
|
||||
return False
|
||||
|
||||
def subsort(self, other):
|
||||
"""Return `True` if `self` is a subsort of `other`."""
|
||||
return self.is_int() and is_arith_sort(other) and other.is_real()
|
||||
|
|
Loading…
Reference in a new issue