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

Method test_set_sort_creation

tests/test_z3_compat.py:1961–1966  ·  view source on GitHub ↗

SetSort creates ArraySortRef.

(self)

Source from the content-addressed store, hash-verified

1959 """Tests for Set sort and operations."""
1960
1961 def test_set_sort_creation(self):
1962 """SetSort creates ArraySortRef."""
1963 from lean_py.z3 import ArraySortRef
1964
1965 s = SetSort(IntSort())
1966 assert isinstance(s, ArraySortRef)
1967
1968 def test_empty_set(self):
1969 """EmptySet creates an array expression."""

Callers

nothing calls this directly

Calls 2

SetSortFunction · 0.90
IntSortFunction · 0.90

Tested by

no test coverage detected