Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ DeclareSort
Function
DeclareSort
lean_py/z3/core.py:234–235 ·
view source on GitHub ↗
(name: str)
Source
from the content-addressed store, hash-verified
232
233
234
def
DeclareSort(name: str) -> UninterpretedSortRef:
235
return
UninterpretedSortRef(UninterpASTSort(name))
236
237
238
class
BitVecSortRef(SortRef):
Callers
15
resolve_sort
Method · 0.90
process_command
Method · 0.90
test_socrates_syllogism
Method · 0.90
test_uninterpreted_sort_vars
Method · 0.90
test_consts_uninterpreted
Method · 0.90
test_uninterp_sort_name
Method · 0.90
test_sort_kind_uninterpreted
Method · 0.90
test_function_decl
Method · 0.90
test_uninterpreted_sort_tracked
Method · 0.90
test_socrates
Method · 0.90
test_uninterpreted_sort_field
Method · 0.90
test_uninterp_sort_field_disjointness
Method · 0.90
Calls
2
UninterpASTSort
Class · 0.90
UninterpretedSortRef
Class · 0.85
Tested by
14
test_socrates_syllogism
Method · 0.72
test_uninterpreted_sort_vars
Method · 0.72
test_consts_uninterpreted
Method · 0.72
test_uninterp_sort_name
Method · 0.72
test_sort_kind_uninterpreted
Method · 0.72
test_function_decl
Method · 0.72
test_uninterpreted_sort_tracked
Method · 0.72
test_socrates
Method · 0.72
test_uninterpreted_sort_field
Method · 0.72
test_uninterp_sort_field_disjointness
Method · 0.72
test_congruence
Method · 0.72
test_congruence_binary
Method · 0.72