Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ sort
Method
sort
lean_py/z3/core.py:3149–3153 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
3147
super().__init__(ast, sort, vars)
3148
3149
def
sort(self) -> FPSortRef:
3150
s = self._sort
3151
if
isinstance(s, FPSortRef):
3152
return
s
3153
return
FPSortRef(0, 0)
3154
3155
def
ebits(self) -> int:
3156
return
self.sort().ebits()
Callers
13
ebits
Method · 0.95
sbits
Method · 0.95
_ctor_field_layout
Method · 0.45
test_expression_sort
Method · 0.45
test_fp_sort_method
Method · 0.45
test_int_var
Method · 0.45
test_nat_var
Method · 0.45
test_bitvec_var
Method · 0.45
test_bv2int
Method · 0.45
test_toreal
Method · 0.45
test_toint
Method · 0.45
pytest_collection_modifyitems
Function · 0.45
Calls
1
FPSortRef
Class · 0.85
Tested by
9
test_expression_sort
Method · 0.36
test_fp_sort_method
Method · 0.36
test_int_var
Method · 0.36
test_nat_var
Method · 0.36
test_bitvec_var
Method · 0.36
test_bv2int
Method · 0.36
test_toreal
Method · 0.36
test_toint
Method · 0.36
pytest_collection_modifyitems
Function · 0.36