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

Function SetSort

lean_py/z3/core.py:3607–3609  ·  view source on GitHub ↗

Set sort — implemented as Array(s, Bool).

(s: SortRef)

Source from the content-addressed store, hash-verified

3605
3606
3607def SetSort(s: SortRef) -> ArraySortRef:
3608 """Set sort — implemented as Array(s, Bool)."""
3609 return ArraySort(s, BoolSort())
3610
3611
3612def EmptySet(s: SortRef) -> ArrayRef:

Callers 3

test_set_sortMethod · 0.90
FiniteSetMapFunction · 0.85

Calls 2

ArraySortFunction · 0.85
BoolSortFunction · 0.85

Tested by 2

test_set_sortMethod · 0.72