mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 05:30:51 +00:00
fix #6355
conversion from AIG to expressions should always use the optimized conversion function. the aig-tactic should throttle regarding output bloat from AIG. If the expression after AIG simpification, for whatever reason, is bloated the rewrite does not take place.
This commit is contained in:
parent
b0d0c36b11
commit
c24d445886
3 changed files with 53 additions and 55 deletions
|
@ -90,9 +90,6 @@ static tactic * mk_qfbv_tactic(ast_manager& m, params_ref const & p, tactic* sat
|
|||
params_ref solver_p;
|
||||
solver_p.set_bool("preprocess", false); // preprocessor of smt::context is not needed.
|
||||
|
||||
params_ref big_aig_p;
|
||||
big_aig_p.set_bool("aig_per_assertion", false);
|
||||
|
||||
tactic* preamble_st = mk_qfbv_preamble(m, p);
|
||||
tactic * st = main_p(and_then(preamble_st,
|
||||
// If the user sets HI_DIV0=false, then the formula may contain uninterpreted function
|
||||
|
@ -107,10 +104,7 @@ static tactic * mk_qfbv_tactic(ast_manager& m, params_ref const & p, tactic* sat
|
|||
and_then(using_params(and_then(mk_simplify_tactic(m),
|
||||
mk_solve_eqs_tactic(m)),
|
||||
local_ctx_p),
|
||||
if_no_proofs(cond(mk_produce_unsat_cores_probe(),
|
||||
mk_aig_tactic(),
|
||||
using_params(mk_aig_tactic(),
|
||||
big_aig_p))))),
|
||||
if_no_proofs(mk_aig_tactic()))),
|
||||
sat),
|
||||
smt))));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue