mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 13:40:52 +00:00
update new assertions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
5141477809
commit
ebcacaa26d
17 changed files with 331 additions and 199 deletions
|
@ -157,4 +157,22 @@ void elim_term_ite::reduce1_quantifier(quantifier * q) {
|
|||
}
|
||||
|
||||
|
||||
br_status elim_term_ite_cfg::reduce_app(func_decl* f, unsigned n, expr * const* args, expr_ref& result, proof_ref& result_pr) {
|
||||
if (!m.is_term_ite(f)) {
|
||||
return BR_FAILED;
|
||||
}
|
||||
|
||||
expr_ref new_def(m);
|
||||
proof_ref new_def_pr(m);
|
||||
app_ref r(m.mk_app(f, n, args), m);
|
||||
app_ref new_r(m);
|
||||
if (!m_defined_names.mk_name(r, new_def, new_def_pr, new_r, result_pr)) {
|
||||
return BR_FAILED;
|
||||
}
|
||||
result = new_r;
|
||||
|
||||
CTRACE("elim_term_ite_bug", new_def.get() == 0, tout << mk_ismt2_pp(r, m) << "\n";);
|
||||
m_new_defs.push_back(justified_expr(m, new_def, new_def_pr));
|
||||
return BR_DONE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue