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

Function FreshReal

lean_py/z3/core.py:2172–2176  ·  view source on GitHub ↗

Create a fresh real constant.

(prefix: str = "x")

Source from the content-addressed store, hash-verified

2170
2171
2172def FreshReal(prefix: str = "x") -> ArithRef:
2173 """Create a fresh real constant."""
2174 r = FreshConst(RealSort(), prefix)
2175 assert isinstance(r, ArithRef)
2176 return r
2177
2178
2179# ---------------------------------------------------------------------------

Callers 2

test_fresh_real_sortMethod · 0.90
test_fresh_realMethod · 0.90

Calls 2

FreshConstFunction · 0.85
RealSortFunction · 0.85

Tested by 2

test_fresh_real_sortMethod · 0.72
test_fresh_realMethod · 0.72