MCPcopy 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
2514def is_not(a: ExprRef) -> bool:
2515 return isinstance(a._ast, UnOpNode) and a._ast.op == UnOp.NOT
2516
2517
2518def is_implies(a: ExprRef) -> bool:

Callers 3

test_and_or_notMethod · 0.90
test_is_logical_opsMethod · 0.90
test_is_and_or_notMethod · 0.90

Calls

no outgoing calls

Tested by 3

test_and_or_notMethod · 0.72
test_is_logical_opsMethod · 0.72
test_is_and_or_notMethod · 0.72