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

Method arity

lean_py/z3/core.py:940–942  ·  view source on GitHub ↗

Return the number of arguments.

(self)

Source from the content-addressed store, hash-verified

938 return self._name
939
940 def arity(self) -> int:
941 """Return the number of arguments."""
942 return len(self._domain)
943
944 def domain(self, i: int) -> SortRef:
945 """Return the sort of the i-th argument."""

Callers 6

test_arityMethod · 0.45
test_unary_functionMethod · 0.45
test_tuple_accessorsMethod · 0.45
test_triple_sortMethod · 0.45

Calls

no outgoing calls

Tested by 6

test_arityMethod · 0.36
test_unary_functionMethod · 0.36
test_tuple_accessorsMethod · 0.36
test_triple_sortMethod · 0.36