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

Method __init__

lean_py/z3/core.py:287–295  ·  view source on GitHub ↗
(
        self,
        ast: ASTNode,
        sort: SortRef,
        vars: frozenset[tuple[str, ASTSort]] = frozenset(),
    )

Source from the content-addressed store, hash-verified

285 __slots__ = ("_ast", "_sort", "_vars")
286
287 def __init__(
288 self,
289 ast: ASTNode,
290 sort: SortRef,
291 vars: frozenset[tuple[str, ASTSort]] = frozenset(),
292 ) -> None:
293 self._ast = ast
294 self._sort = sort
295 self._vars = vars
296
297 def sort(self) -> SortRef:
298 return self._sort

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected