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

Method __invert__

lean_py/z3/core.py:687–692  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

685 return _coerce_bv(other, self._sort)._binop(BinOp.BXOR, self)
686
687 def __invert__(self) -> BitVecRef:
688 return BitVecRef(
689 UnOpNode(UnOp.BNOT, self._ast),
690 self._sort, # type: ignore[arg-type]
691 self._vars,
692 )
693
694 def __lshift__(self, other: BitVecRef | int) -> BitVecRef:
695 return self._binop(BinOp.BSHL, other)

Callers

nothing calls this directly

Calls 2

UnOpNodeClass · 0.90
BitVecRefClass · 0.85

Tested by

no test coverage detected