MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / mkFreshVar

Method mkFreshVar

smt/expr.cpp:341–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341expr expr::mkFreshVar(const char *prefix, const expr &type) {
342 C2(type);
343 return Z3_mk_fresh_const(ctx(), prefix, type.sort());
344}
345
346expr expr::some(const expr &type) {
347 return type.isBool() ? expr(false) : mkNumber("3", type);

Callers

nothing calls this directly

Calls 1

sortMethod · 0.80

Tested by

no test coverage detected