3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-14 12:58:44 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-01-12 13:12:10 -08:00
parent 10dc8d7313
commit 0720998bac
2 changed files with 6 additions and 0 deletions

View file

@ -1494,6 +1494,7 @@ namespace arith {
case OP_IS_INT:
case OP_TO_INT:
case OP_TO_REAL:
case OP_NUM:
return false;
default:
return true;

View file

@ -60,6 +60,11 @@ namespace array {
ptr_vector<expr> args;
sort* srt = n->get_sort();
n = n->get_root();
if (a.is_as_array(n->get_expr())) {
values.set(n->get_expr_id(), n->get_expr());
return;
}
unsigned arity = get_array_arity(srt);
func_decl * f = mk_aux_decl_for_array_sort(m, srt);
func_interp * fi = alloc(func_interp, m, arity);