Create a fresh real constant.
(prefix: str = "x")
| 2170 | |
| 2171 | |
| 2172 | def 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 | # --------------------------------------------------------------------------- |