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

Function _fp_pred

lean_py/z3/core.py:3353–3359  ·  view source on GitHub ↗
(name: str, *args: ExprRef)

Source from the content-addressed store, hash-verified

3351
3352
3353def _fp_pred(name: str, *args: ExprRef) -> BoolRef:
3354 real_args = [a for a in args if not isinstance(a, FPRMRef)]
3355 merged: frozenset[tuple[str, ASTSort]] = frozenset()
3356 for a in real_args:
3357 if isinstance(a, ExprRef):
3358 merged = merged | a._vars
3359 return BoolRef(FpOpNode(name, tuple(a._ast for a in real_args)), merged)
3360
3361
3362# FP arithmetic

Callers 12

fpLEQFunction · 0.85
fpLTFunction · 0.85
fpGEQFunction · 0.85
fpGTFunction · 0.85
fpEQFunction · 0.85
fpIsNaNFunction · 0.85
fpIsInfFunction · 0.85
fpIsZeroFunction · 0.85
fpIsNormalFunction · 0.85
fpIsSubnormalFunction · 0.85
fpIsNegativeFunction · 0.85
fpIsPositiveFunction · 0.85

Calls 2

FpOpNodeClass · 0.90
BoolRefClass · 0.85

Tested by

no test coverage detected