Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ EmptySet
Function
EmptySet
lean_py/z3/core.py:3612–3614 ·
view source on GitHub ↗
Empty set — constant array of False.
(s: SortRef)
Source
from the content-addressed store, hash-verified
3610
3611
3612
def
EmptySet(s: SortRef) -> ArrayRef:
3613
""
"Empty set — constant array of False."
""
3614
return
K(s, BoolVal(False))
3615
3616
3617
def
FullSet(s: SortRef) -> ArrayRef:
Callers
15
test_empty_set
Method · 0.90
test_is_member
Method · 0.90
test_set_add
Method · 0.90
test_set_union
Method · 0.90
test_set_intersect
Method · 0.90
test_set_complement
Method · 0.90
test_set_difference
Method · 0.90
test_is_subset
Method · 0.90
test_set_has_size_raises
Method · 0.90
test_empty_set
Method · 0.90
test_set_add
Method · 0.90
test_is_member
Method · 0.90
Calls
2
K
Function · 0.85
BoolVal
Function · 0.85
Tested by
15
test_empty_set
Method · 0.72
test_is_member
Method · 0.72
test_set_add
Method · 0.72
test_set_union
Method · 0.72
test_set_intersect
Method · 0.72
test_set_complement
Method · 0.72
test_set_difference
Method · 0.72
test_is_subset
Method · 0.72
test_set_has_size_raises
Method · 0.72
test_empty_set
Method · 0.72
test_set_add
Method · 0.72
test_is_member
Method · 0.72