mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
parent
825fbf1832
commit
d530d1314b
4 changed files with 11 additions and 3 deletions
|
@ -52,6 +52,9 @@ class distribute_forall_tactic : public tactic {
|
|||
new_args.push_back(elim_unused_vars(m, tmp_q, params_ref()));
|
||||
}
|
||||
result = m.mk_and(new_args.size(), new_args.c_ptr());
|
||||
if (m.proofs_enabled()) {
|
||||
result_pr = m.mk_push_quant(old_q, result);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -70,6 +73,9 @@ class distribute_forall_tactic : public tactic {
|
|||
new_args.push_back(elim_unused_vars(m, tmp_q, params_ref()));
|
||||
}
|
||||
result = m.mk_and(new_args.size(), new_args.c_ptr());
|
||||
if (m.proofs_enabled()) {
|
||||
result_pr = m.mk_push_quant(old_q, result);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -483,10 +483,11 @@ reduce_args_tactic::~reduce_args_tactic() {
|
|||
void reduce_args_tactic::operator()(goal_ref const & g,
|
||||
goal_ref_buffer & result) {
|
||||
SASSERT(g->is_well_sorted());
|
||||
fail_if_proof_generation("reduce-args", g);
|
||||
fail_if_unsat_core_generation("reduce-args", g);
|
||||
result.reset();
|
||||
m_imp->operator()(*(g.get()));
|
||||
if (!m_imp->m().proofs_enabled()) {
|
||||
m_imp->operator()(*(g.get()));
|
||||
}
|
||||
g->inc_depth();
|
||||
result.push_back(g.get());
|
||||
SASSERT(g->is_well_sorted());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue