MCPcopy 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
2462def is_false(a: ExprRef) -> bool:
2463 return isinstance(a._ast, BoolLit) and a._ast.val is False
2464
2465
2466def is_int(a: ExprRef) -> bool:

Callers 3

test_is_true_falseMethod · 0.90
test_or_emptyMethod · 0.90
test_is_true_falseMethod · 0.90

Calls

no outgoing calls

Tested by 3

test_is_true_falseMethod · 0.72
test_or_emptyMethod · 0.72
test_is_true_falseMethod · 0.72