Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ is_real
Function
is_real
lean_py/z3/core.py:2470–2471 ·
view source on GitHub ↗
(a: ExprRef)
Source
from the content-addressed store, hash-verified
2468
2469
2470
def
is_real(a: ExprRef) -> bool:
2471
return
isinstance(a._sort._ast_sort, RealASTSort)
2472
2473
2474
def
is_bool(a: ExprRef) -> bool:
Callers
15
test_mixed_arith_toreal
Method · 0.90
test_ratval_construction
Method · 0.90
test_toreal_ast
Method · 0.90
test_is_sort_types
Method · 0.90
test_is_sort_cross
Method · 0.90
test_fresh_real_sort
Method · 0.90
test_ratval_is_real
Method · 0.90
test_ratval_arithmetic
Method · 0.90
test_realval_int
Method · 0.90
test_toreal
Method · 0.90
test_real_vector
Method · 0.90
test_sqrt
Method · 0.90
Calls
no outgoing calls
Tested by
15
test_mixed_arith_toreal
Method · 0.72
test_ratval_construction
Method · 0.72
test_toreal_ast
Method · 0.72
test_is_sort_types
Method · 0.72
test_is_sort_cross
Method · 0.72
test_fresh_real_sort
Method · 0.72
test_ratval_is_real
Method · 0.72
test_ratval_arithmetic
Method · 0.72
test_realval_int
Method · 0.72
test_toreal
Method · 0.72
test_real_vector
Method · 0.72
test_sqrt
Method · 0.72