Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ is_int
Function
is_int
lean_py/z3/core.py:2466–2467 ·
view source on GitHub ↗
(a: ExprRef)
Source
from the content-addressed store, hash-verified
2464
2465
2466
def
is_int(a: ExprRef) -> bool:
2467
return
isinstance(a._sort._ast_sort, IntASTSort)
2468
2469
2470
def
is_real(a: ExprRef) -> bool:
Callers
15
test_simplify_returns_same_type
Method · 0.90
test_ite_type_preservation
Method · 0.90
test_string_length
Method · 0.90
test_indexof
Method · 0.90
test_str_to_int_and_back
Method · 0.90
test_is_sort_types
Method · 0.90
test_consts_int
Method · 0.90
test_bv2int
Method · 0.90
test_toint
Method · 0.90
test_sum_variadic
Method · 0.90
test_sum_list
Method · 0.90
test_product_variadic
Method · 0.90
Calls
no outgoing calls
Tested by
15
test_simplify_returns_same_type
Method · 0.72
test_ite_type_preservation
Method · 0.72
test_string_length
Method · 0.72
test_indexof
Method · 0.72
test_str_to_int_and_back
Method · 0.72
test_is_sort_types
Method · 0.72
test_consts_int
Method · 0.72
test_bv2int
Method · 0.72
test_toint
Method · 0.72
test_sum_variadic
Method · 0.72
test_sum_list
Method · 0.72
test_product_variadic
Method · 0.72