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

Function FreshBool

lean_py/z3/core.py:2165–2169  ·  view source on GitHub ↗

Create a fresh boolean constant.

(prefix: str = "b")

Source from the content-addressed store, hash-verified

2163
2164
2165def FreshBool(prefix: str = "b") -> BoolRef:
2166 """Create a fresh boolean constant."""
2167 r = FreshConst(BoolSort(), prefix)
2168 assert isinstance(r, BoolRef)
2169 return r
2170
2171
2172def FreshReal(prefix: str = "x") -> ArithRef:

Callers 2

test_fresh_boolMethod · 0.90

Calls 2

FreshConstFunction · 0.85
BoolSortFunction · 0.85

Tested by 2

test_fresh_boolMethod · 0.72