Arithmetic. More...
Inheritance diagram for ArithSortRef:Public Member Functions | |
| def | is_real |
| def | is_int |
| def | subsort |
| def | cast |
Public Member Functions inherited from SortRef | |
| def | as_ast |
| def | kind |
| def | subsort |
| def | cast |
| def | name |
| def | __eq__ |
| def | __ne__ |
Public Member Functions inherited from AstRef | |
| def | __init__ |
| def | __del__ |
| def | __str__ |
| def | __repr__ |
| def | sexpr |
| def | as_ast |
| def | ctx_ref |
| def | eq |
| def | translate |
| def | hash |
Public Member Functions inherited from Z3PPObject | |
| def | use_pp |
Data Fields | |
| ctx | |
| def is_int | ( | self | ) |
Return `True` if `self` is the real sort.
>>> x = Int('x')
>>> x.is_int()
True
>>> (x + 1).is_int()
True
>>> x = Real('x')
>>> x.is_int()
False
Definition at line 1751 of file z3py.py.
Referenced by ArithSortRef.cast().
| def is_real | ( | self | ) |
Return `True` if `self` is the integer sort.
>>> x = Real('x')
>>> x.is_real()
True
>>> (x + 1).is_real()
True
>>> x = Int('x')
>>> x.is_real()
False
Definition at line 1737 of file z3py.py.
Referenced by ArithSortRef.cast().
| def subsort | ( | self, | |
| other | |||
| ) |
| ctx |
Definition at line 1785 of file z3py.py.
Referenced by Probe.__eq__(), Probe.__ge__(), ApplyResult.__getitem__(), Probe.__gt__(), Probe.__le__(), Probe.__lt__(), Probe.__ne__(), Tactic.apply(), ApplyResult.as_expr(), ApplyResult.convert_model(), Fixedpoint.get_assertions(), Fixedpoint.get_cover_delta(), Fixedpoint.get_rules(), Tactic.param_descrs(), Fixedpoint.parse_file(), Fixedpoint.parse_string(), Tactic.solver(), and Fixedpoint.statistics().
1.8.2