Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliveToolkit/alive2
/ isConst
Method
isConst
smt/expr.cpp:377–381 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
375
}
376
377
bool expr::isConst() const {
378
C();
379
return Z3_is_numeral_ast(ctx(), ast()) ||
380
Z3_get_bool_value(ctx(), ast()) != Z3_L_UNDEF;
381
}
382
383
bool expr::isVar() const {
384
C();
Callers
15
print_single_varval
Function · 0.45
error
Function · 0.45
check_refinement
Function · 0.45
calculateAndInitConstants
Function · 0.45
verify
Method · 0.45
simplify_const
Function · 0.45
is_power2
Function · 0.45
binop_commutative
Method · 0.45
operator+
Method · 0.45
operator*
Method · 0.45
add_no_soverflow
Method · 0.45
add_no_uoverflow
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected