Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ Bool
Function
Bool
lean_py/z3/core.py:1076–1077 ·
view source on GitHub ↗
(name: str)
Source
from the content-addressed store, hash-verified
1074
1075
1076
def
Bool(name: str) -> BoolRef:
1077
return
BoolRef(_AstVar(name), frozenset([(name, PropSort())]))
1078
1079
1080
def
Bools(names: str) -> tuple[BoolRef, ...]:
Callers
15
test_excluded_middle
Method · 0.90
test_prove_tautology
Method · 0.90
test_ite_bool_condition
Method · 0.90
test_is_expr_various
Method · 0.90
test_is_sort_types
Method · 0.90
test_expression_sort
Method · 0.90
test_prove_simple_tautology
Method · 0.90
test_double_negation
Method · 0.90
test_and_list
Method · 0.90
test_or_list
Method · 0.90
test_and_single
Method · 0.90
test_or_single
Method · 0.90
Calls
2
PropSort
Class · 0.90
BoolRef
Class · 0.85
Tested by
15
test_excluded_middle
Method · 0.72
test_prove_tautology
Method · 0.72
test_ite_bool_condition
Method · 0.72
test_is_expr_various
Method · 0.72
test_is_sort_types
Method · 0.72
test_expression_sort
Method · 0.72
test_prove_simple_tautology
Method · 0.72
test_double_negation
Method · 0.72
test_and_list
Method · 0.72
test_or_list
Method · 0.72
test_and_single
Method · 0.72
test_or_single
Method · 0.72