MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / BoolVal

Function BoolVal

lean_py/z3/core.py:1156–1157  ·  view source on GitHub ↗
(b: bool)

Source from the content-addressed store, hash-verified

1154
1155
1156def BoolVal(b: bool) -> BoolRef:
1157 return BoolRef(BoolLit(b))
1158
1159
1160def BitVecVal(val: int, width: int) -> BitVecNumRef:

Callers 15

get_answerMethod · 0.90
get_ground_sat_answerMethod · 0.90
resolve_exprMethod · 0.90
as_exprMethod · 0.90
test_solver_resetMethod · 0.90
test_is_true_falseMethod · 0.90
test_no_free_varsMethod · 0.90
test_prove_trueMethod · 0.90
test_boolvalMethod · 0.90

Calls 2

BoolLitClass · 0.90
BoolRefClass · 0.85

Tested by 15

test_solver_resetMethod · 0.72
test_is_true_falseMethod · 0.72
test_no_free_varsMethod · 0.72
test_prove_trueMethod · 0.72
test_boolvalMethod · 0.72
test_boolval_reprMethod · 0.72
test_simplify_boolvalMethod · 0.72
test_add_ruleMethod · 0.72