コード例 #1
0
ファイル: qfufbv_tactic.cpp プロジェクト: Moondee/Artemis
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;
}
コード例 #2
0
ファイル: ufbv_tactic.cpp プロジェクト: jackluo923/juxta
tactic * mk_ufbv_preprocessor_tactic(ast_manager & m, params_ref const & p) {
    params_ref no_elim_and(p);
    no_elim_and.set_bool("elim_and", false);

    return and_then(
		mk_trace_tactic("ufbv_pre"),
                and_then(mk_simplify_tactic(m, p),
                         mk_propagate_values_tactic(m, p),
                         and_then(using_params(mk_macro_finder_tactic(m, no_elim_and), no_elim_and),
				  mk_simplify_tactic(m, p)),
                         and_then(mk_snf_tactic(m, p), mk_simplify_tactic(m, p)),
                         mk_elim_and_tactic(m, p),
                         mk_solve_eqs_tactic(m, p),
                         and_then(mk_der_fp_tactic(m, p), mk_simplify_tactic(m, p)),
                         and_then(mk_distribute_forall_tactic(m, p), mk_simplify_tactic(m, p))),
                and_then(and_then(mk_reduce_args_tactic(m, p), mk_simplify_tactic(m, p)),
                         and_then(mk_macro_finder_tactic(m, p), mk_simplify_tactic(m, p)),
                         and_then(mk_ufbv_rewriter_tactic(m, p), mk_simplify_tactic(m, p)),
                         and_then(mk_quasi_macros_tactic(m, p), mk_simplify_tactic(m, p)),
                         and_then(mk_der_fp_tactic(m, p), mk_simplify_tactic(m, p)),
                         mk_simplify_tactic(m, p)),
		mk_trace_tactic("ufbv_post"));
}