mirror of
https://github.com/Z3Prover/z3
synced 2025-05-08 00:05:46 +00:00
misc
This commit is contained in:
parent
b0fd25f041
commit
4d55f83654
16 changed files with 107 additions and 54 deletions
|
@ -595,6 +595,7 @@ void arith_decl_plugin::get_op_names(svector<builtin_name>& op_names, symbol con
|
|||
op_names.push_back(builtin_name("abs", OP_ABS));
|
||||
if (logic == symbol::null || logic == symbol("ALL")) {
|
||||
op_names.push_back(builtin_name("^", OP_POWER));
|
||||
op_names.push_back(builtin_name("^0", OP_POWER0));
|
||||
op_names.push_back(builtin_name("sin", OP_SIN));
|
||||
op_names.push_back(builtin_name("cos", OP_COS));
|
||||
op_names.push_back(builtin_name("tan", OP_TAN));
|
||||
|
|
|
@ -294,6 +294,7 @@ public:
|
|||
bool is_to_int(expr const * n) const { return is_app_of(n, m_afid, OP_TO_INT); }
|
||||
bool is_is_int(expr const * n) const { return is_app_of(n, m_afid, OP_IS_INT); }
|
||||
bool is_power(expr const * n) const { return is_app_of(n, m_afid, OP_POWER); }
|
||||
bool is_power0(expr const * n) const { return is_app_of(n, m_afid, OP_POWER0); }
|
||||
|
||||
bool is_int(sort const * s) const { return is_sort_of(s, m_afid, INT_SORT); }
|
||||
bool is_int(expr const * n) const { return is_int(get_sort(n)); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue