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

Method __le__

lean_py/z3/core.py:532–537  ·  view source on GitHub ↗
(self, other: ArithRef | int | float)

Source from the content-addressed store, hash-verified

530 )
531
532 def __le__(self, other: ArithRef | int | float) -> BoolRef:
533 other = _coerce_arith(other, self._sort)
534 return BoolRef(
535 BinOpNode(BinOp.LE, self._ast, other._ast),
536 _merge(self._vars, other._vars),
537 )
538
539 def __gt__(self, other: ArithRef | int | float) -> BoolRef:
540 other = _coerce_arith(other, self._sort)

Callers

nothing calls this directly

Calls 4

BinOpNodeClass · 0.90
_coerce_arithFunction · 0.85
BoolRefClass · 0.85
_mergeFunction · 0.85

Tested by

no test coverage detected