Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ Not
Function
Not
lean_py/z3/core.py:1337–1338 ·
view source on GitHub ↗
(a: BoolRef)
Source
from the content-addressed store, hash-verified
1335
1336
1337
def
Not(a: BoolRef) -> BoolRef:
1338
return
BoolRef(UnOpNode(UnOp.NOT, a._ast), a._vars)
1339
1340
1341
def
Implies(a: BoolRef, b: BoolRef) -> BoolRef:
Callers
15
check
Method · 0.90
_apply
Method · 0.90
test_and_or_not
Method · 0.90
test_demorgan_proof
Method · 0.90
test_demorgan2_proof
Method · 0.90
test_contrapositive_proof
Method · 0.90
test_excluded_middle
Method · 0.90
test_xor_definition
Method · 0.90
test_prove_tautology
Method · 0.90
test_dependency_chain
Method · 0.90
test_conflict
Method · 0.90
test_is_logical_ops
Method · 0.90
Calls
2
UnOpNode
Class · 0.90
BoolRef
Class · 0.85
Tested by
15
test_and_or_not
Method · 0.72
test_demorgan_proof
Method · 0.72
test_demorgan2_proof
Method · 0.72
test_contrapositive_proof
Method · 0.72
test_excluded_middle
Method · 0.72
test_xor_definition
Method · 0.72
test_prove_tautology
Method · 0.72
test_dependency_chain
Method · 0.72
test_conflict
Method · 0.72
test_is_logical_ops
Method · 0.72
test_double_negation
Method · 0.72
test_not_repr
Method · 0.72