mirror of
https://github.com/Z3Prover/z3
synced 2025-10-04 06:53:58 +00:00
merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
commit
05c5b3b07b
26 changed files with 331 additions and 125 deletions
|
@ -64,7 +64,10 @@ class dt2bv_tactic : public tactic {
|
|||
return;
|
||||
}
|
||||
|
||||
if (m_t.is_fd(a)) {
|
||||
if (m_t.is_fd(a) && a->get_num_args() > 0) {
|
||||
m_t.m_non_fd_sorts.insert(get_sort(a));
|
||||
}
|
||||
else if (m_t.is_fd(a)) {
|
||||
m_t.m_fd_sorts.insert(get_sort(a));
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -49,6 +49,7 @@ void extension_model_converter::operator()(model_ref & md, unsigned goal_idx) {
|
|||
TRACE("extension_mc", model_v2_pp(tout, *md); display_decls_info(tout, md););
|
||||
model_evaluator ev(*(md.get()));
|
||||
ev.set_model_completion(true);
|
||||
ev.set_expand_array_equalities(false);
|
||||
expr_ref val(m());
|
||||
unsigned i = m_vars.size();
|
||||
while (i > 0) {
|
||||
|
|
|
@ -28,6 +28,7 @@ Revision History:
|
|||
#include"ctx_simplify_tactic.h"
|
||||
#include"smt_tactic.h"
|
||||
#include"elim_term_ite_tactic.h"
|
||||
#include"probe_arith.h"
|
||||
|
||||
static tactic * mk_quant_preprocessor(ast_manager & m, bool disable_gaussian = false) {
|
||||
params_ref pull_ite_p;
|
||||
|
@ -107,8 +108,10 @@ tactic * mk_lra_tactic(ast_manager & m, params_ref const & p) {
|
|||
tactic * st = and_then(mk_quant_preprocessor(m),
|
||||
mk_qe_lite_tactic(m, p),
|
||||
cond(mk_has_quantifier_probe(),
|
||||
or_else(mk_qsat_tactic(m, p),
|
||||
and_then(mk_qe_tactic(m), mk_smt_tactic())),
|
||||
cond(mk_is_lira_probe(),
|
||||
or_else(mk_qsat_tactic(m, p),
|
||||
and_then(mk_qe_tactic(m), mk_smt_tactic())),
|
||||
mk_smt_tactic()),
|
||||
mk_smt_tactic()));
|
||||
st->updt_params(p);
|
||||
return st;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue