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

Method domain

lean_py/z3/core.py:944–946  ·  view source on GitHub ↗

Return the sort of the i-th argument.

(self, i: int)

Source from the content-addressed store, hash-verified

942 return len(self._domain)
943
944 def domain(self, i: int) -> SortRef:
945 """Return the sort of the i-th argument."""
946 return self._domain[i]
947
948 def range(self) -> SortRef:
949 """Return the range (return) sort."""

Callers 14

MapFunction · 0.45
SetUnionFunction · 0.45
SetIntersectFunction · 0.45
SetComplementFunction · 0.45
IsSubsetFunction · 0.45
FiniteSetMapFunction · 0.45
FiniteSetFilterFunction · 0.45
EmptyFunction · 0.45
FullFunction · 0.45
ExtFunction · 0.45
test_domainMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_domainMethod · 0.36
test_unary_functionMethod · 0.36