Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ is_not
Function
is_not
lean_py/z3/core.py:2514–2515 ·
view source on GitHub ↗
(a: ExprRef)
Source
from the content-addressed store, hash-verified
2512
2513
2514
def
is_not(a: ExprRef) -> bool:
2515
return
isinstance(a._ast, UnOpNode) and a._ast.op == UnOp.NOT
2516
2517
2518
def
is_implies(a: ExprRef) -> bool:
Callers
3
test_and_or_not
Method · 0.90
test_is_logical_ops
Method · 0.90
test_is_and_or_not
Method · 0.90
Calls
no outgoing calls
Tested by
3
test_and_or_not
Method · 0.72
test_is_logical_ops
Method · 0.72
test_is_and_or_not
Method · 0.72