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

Method __init__

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

Source from the content-addressed store, hash-verified

436 __slots__ = ()
437
438 def __init__(
439 self,
440 ast: ASTNode,
441 sort: ArithSortRef,
442 vars: frozenset[tuple[str, ASTSort]] = frozenset(),
443 ) -> None:
444 super().__init__(ast, sort, vars)
445
446 def _binop(self, op: str, other: ArithRef | int | float) -> ArithRef:
447 other = _coerce_arith(other, self._sort)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected