mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
parent
3f5eb7fcf2
commit
ddbe17d581
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue