mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
This commit is contained in:
parent
4a870966ad
commit
267e9e827d
|
@ -428,11 +428,15 @@ struct evaluator_cfg : public default_rewriter_cfg {
|
|||
}
|
||||
else if (!fi && m_au.is_considered_partially_interpreted(f, num, args, f_ui)) {
|
||||
fi = m_model.get_func_interp(f_ui);
|
||||
|
||||
if (fi) {
|
||||
var_subst vs(m, false);
|
||||
result = vs(fi->get_interp(), num, args);
|
||||
result = m.mk_ite(m.mk_eq(m_au.mk_real(rational(0)), args[1]), result, m.mk_app(f, num, args));
|
||||
return BR_DONE;
|
||||
auto interp = fi->get_interp();
|
||||
if (interp) {
|
||||
var_subst vs(m, false);
|
||||
result = vs(fi->get_interp(), num, args);
|
||||
result = m.mk_ite(m.mk_eq(m_au.mk_real(rational(0)), args[1]), result, m.mk_app(f, num, args));
|
||||
return BR_DONE;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!fi && m_fpau.is_considered_uninterpreted(f, num, args)) {
|
||||
|
|
Loading…
Reference in a new issue