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

Method var_sort

lean_py/z3/core.py:846–848  ·  view source on GitHub ↗

Return the sort of the i-th bound variable.

(self, i: int)

Source from the content-addressed store, hash-verified

844 return str(v._ast)
845
846 def var_sort(self, i: int) -> SortRef:
847 """Return the sort of the i-th bound variable."""
848 return self._bound[i]._sort
849
850 def weight(self) -> int:
851 """Return quantifier weight (default 0)."""

Callers 1

test_var_sortMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_var_sortMethod · 0.64