3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-11 19:53:34 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-02 05:16:48 -08:00
parent 3499fa7f0b
commit a319f4bf58
2 changed files with 2 additions and 1 deletions

View file

@ -1130,7 +1130,7 @@ br_status arith_rewriter::mk_power_core(expr * arg1, expr * arg2, expr_ref & res
result = m_util.mk_power(m_util.mk_div(m_util.mk_numeral(rational(1), false), arg1),
m_util.mk_numeral(-y, false));
result = m().mk_ite(m().mk_eq(arg1, m_util.mk_real(0)),
m_util.mk_real(1),
m_util.mk_real(0),
result);
return BR_REWRITE3;
}

View file

@ -1007,6 +1007,7 @@ class solve_eqs_tactic : public tactic {
SASSERT(g->is_well_sorted());
model_converter_ref mc;
tactic_report report("solve_eqs", *g);
TRACE("solve_eqs", g->display(tout););
m_produce_models = g->models_enabled();
m_produce_proofs = g->proofs_enabled();
m_produce_unsat_cores = g->unsat_core_enabled();