Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ is_var
Function
is_var
lean_py/z3/core.py:2490–2491 ·
view source on GitHub ↗
(a: ExprRef)
Source
from the content-addressed store, hash-verified
2488
2489
2490
def
is_var(a: ExprRef) -> bool:
2491
return
isinstance(a._ast, _AstVar)
2492
2493
2494
def
is_quantifier(a: ExprRef) -> bool:
Callers
4
test_string_variable
Method · 0.90
test_is_const_var
Method · 0.90
test_is_const_var
Method · 0.90
test_fresh_const_is_var
Method · 0.90
Calls
no outgoing calls
Tested by
4
test_string_variable
Method · 0.72
test_is_const_var
Method · 0.72
test_is_const_var
Method · 0.72
test_fresh_const_is_var
Method · 0.72