Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1156
def
BoolVal(b: bool) -> BoolRef:
1157
return
BoolRef(BoolLit(b))
1158
1159
1160
def
BitVecVal(val: int, width: int) -> BitVecNumRef:
Callers
15
get_answer
Method · 0.90
get_ground_sat_answer
Method · 0.90
resolve_expr
Method · 0.90
as_expr
Method · 0.90
test_function_injectivity_pattern
Method · 0.90
test_solver_reset
Method · 0.90
test_is_true_false
Method · 0.90
test_tactic_solve_trivial
Method · 0.90
test_no_free_vars
Method · 0.90
test_prove_true
Method · 0.90
test_prove_false_claim
Method · 0.90
test_boolval
Method · 0.90
Calls
2
BoolLit
Class · 0.90
BoolRef
Class · 0.85
Tested by
15
test_function_injectivity_pattern
Method · 0.72
test_solver_reset
Method · 0.72
test_is_true_false
Method · 0.72
test_tactic_solve_trivial
Method · 0.72
test_no_free_vars
Method · 0.72
test_prove_true
Method · 0.72
test_prove_false_claim
Method · 0.72
test_boolval
Method · 0.72
test_boolval_repr
Method · 0.72
test_boolval_no_children
Method · 0.72
test_simplify_boolval
Method · 0.72
test_add_rule
Method · 0.72