mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 11:17:07 +00:00
54 lines
1.5 KiB
C++
54 lines
1.5 KiB
C++
/*++
|
|
Copyright (c) 2012 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
qfufbv_tactic.cpp
|
|
|
|
Abstract:
|
|
|
|
Tactic for QF_UFBV
|
|
|
|
Author:
|
|
|
|
Leonardo (leonardo) 2012-02-27
|
|
|
|
Notes:
|
|
|
|
--*/
|
|
#include"tactical.h"
|
|
#include"simplify_tactic.h"
|
|
#include"propagate_values_tactic.h"
|
|
#include"solve_eqs_tactic.h"
|
|
#include"elim_uncnstr_tactic.h"
|
|
#include"smt_tactic.h"
|
|
#include"max_bv_sharing_tactic.h"
|
|
#include"bv_size_reduction_tactic.h"
|
|
#include"reduce_args_tactic.h"
|
|
|
|
tactic * mk_qfufbv_tactic(ast_manager & m, params_ref const & p) {
|
|
params_ref main_p;
|
|
main_p.set_bool(":elim-and", true);
|
|
main_p.set_bool(":blast-distinct", true);
|
|
|
|
tactic * preamble_st = and_then(mk_simplify_tactic(m),
|
|
mk_propagate_values_tactic(m),
|
|
mk_solve_eqs_tactic(m),
|
|
mk_elim_uncnstr_tactic(m),
|
|
if_no_proofs(if_no_unsat_cores(mk_reduce_args_tactic(m))),
|
|
if_no_proofs(if_no_unsat_cores(mk_bv_size_reduction_tactic(m))),
|
|
mk_max_bv_sharing_tactic(m)
|
|
);
|
|
|
|
tactic * st = using_params(and_then(preamble_st,
|
|
mk_smt_tactic()),
|
|
main_p);
|
|
|
|
//cond(is_qfbv(),
|
|
// and_then(mk_bit_blaster(m),
|
|
// mk_sat_solver(m)),
|
|
// mk_smt_solver())
|
|
st->updt_params(p);
|
|
return st;
|
|
}
|