Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ is_false
Function
is_false
lean_py/z3/core.py:2462–2463 ·
view source on GitHub ↗
(a: ExprRef)
Source
from the content-addressed store, hash-verified
2460
2461
2462
def
is_false(a: ExprRef) -> bool:
2463
return
isinstance(a._ast, BoolLit) and a._ast.val is False
2464
2465
2466
def
is_int(a: ExprRef) -> bool:
Callers
3
test_is_true_false
Method · 0.90
test_or_empty
Method · 0.90
test_is_true_false
Method · 0.90
Calls
no outgoing calls
Tested by
3
test_is_true_false
Method · 0.72
test_or_empty
Method · 0.72
test_is_true_false
Method · 0.72