3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00
This commit is contained in:
Nikolaj Bjorner 2023-11-28 14:32:56 -08:00
parent f36f21fa8c
commit 8179f8b5d7
3 changed files with 12 additions and 3 deletions

View file

@ -899,6 +899,11 @@ namespace arith {
lp().random_update(vars.size(), vars.data());
}
bool solver::include_func_interp(enode* n) const {
func_decl* d = n->get_decl();
return d && include_func_interp(d);
}
bool solver::assume_eqs() {
if (delayed_assume_eqs())
return true;
@ -913,7 +918,7 @@ namespace arith {
theory_var v = (i + start) % sz;
if (is_bool(v))
continue;
if (!ctx.is_shared(var2enode(v)))
if (!ctx.is_shared(var2enode(v)) && !include_func_interp(var2enode(v)))
continue;
ensure_column(v);
if (!is_registered_var(v))

View file

@ -401,6 +401,7 @@ namespace arith {
bool delayed_assume_eqs();
bool is_eq(theory_var v1, theory_var v2);
bool use_nra_model();
bool include_func_interp(enode* n) const;
lbool make_feasible();
bool check_delayed_eqs();