mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
add a way to use new smt core for selected logics
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
73ce5c5fc8
commit
2328a6e839
8 changed files with 88 additions and 15 deletions
|
@ -37,6 +37,7 @@ Notes:
|
|||
#include "sat/sat_solver/inc_sat_solver.h"
|
||||
#include "tactic/smtlogics/qfaufbv_tactic.h"
|
||||
#include "tactic/smtlogics/qfbv_tactic.h"
|
||||
#include "tactic/smtlogics/smt_tactic_select.h"
|
||||
#include "solver/tactic2solver.h"
|
||||
#include "tactic/bv/bv_bound_chk_tactic.h"
|
||||
#include "ackermannization/ackermannize_bv_tactic.h"
|
||||
|
@ -181,8 +182,11 @@ tactic * mk_qfufbv_tactic(ast_manager & m, params_ref const & p) {
|
|||
|
||||
tactic * const preamble_st = mk_qfufbv_preamble(m, p);
|
||||
|
||||
tactic * st = using_params(and_then(preamble_st,
|
||||
cond(mk_is_qfbv_probe(), mk_qfbv_tactic(m), mk_smt_tactic(m))),
|
||||
tactic * st = using_params(
|
||||
and_then(preamble_st,
|
||||
cond(mk_is_qfbv_probe(),
|
||||
mk_qfbv_tactic(m),
|
||||
mk_smt_tactic_select(m, p))),
|
||||
main_p);
|
||||
|
||||
st->updt_params(p);
|
||||
|
@ -194,5 +198,5 @@ tactic * mk_qfufbv_ackr_tactic(ast_manager & m, params_ref const & p) {
|
|||
|
||||
tactic * const actual_tactic = alloc(qfufbv_ackr_tactic, m, p);
|
||||
return and_then(preamble_t,
|
||||
cond(mk_is_qfufbv_probe(), actual_tactic, mk_smt_tactic(m)));
|
||||
cond(mk_is_qfufbv_probe(), actual_tactic, mk_smt_tactic_select(m, p)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue