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

Method unop_fold

smt/expr.cpp:710–713  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

708}
709
710expr expr::unop_fold(Z3_ast(*op)(Z3_context, Z3_ast)) const {
711 C();
712 return simplify_const(op(ctx(), ast()), *this);
713}
714
715#define binopc(op, exprop, z3app, identity, absorvent) \
716 binop_commutative(rhs, op, &expr::exprop, &expr::identity, &expr::absorvent, \

Callers

nothing calls this directly

Calls 1

simplify_constFunction · 0.85

Tested by

no test coverage detected