mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 17:54:43 +00:00
debugging mc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c7ee532173
commit
e4f29a7b8a
38 changed files with 143 additions and 123 deletions
|
@ -265,10 +265,10 @@ struct bv_size_reduction_tactic::imp {
|
|||
subst.insert(v, new_def);
|
||||
if (m_produce_models) {
|
||||
if (!m_mc)
|
||||
m_mc = alloc(bv_size_reduction_mc, m);
|
||||
m_mc = alloc(bv_size_reduction_mc, m, "bv_size_reduction");
|
||||
m_mc->add(v, new_def);
|
||||
if (!m_fmc && new_const)
|
||||
m_fmc = alloc(generic_model_converter, m);
|
||||
m_fmc = alloc(generic_model_converter, m, "bv_size_reduction");
|
||||
if (new_const)
|
||||
m_fmc->hide(new_const);
|
||||
}
|
||||
|
@ -334,7 +334,7 @@ struct bv_size_reduction_tactic::imp {
|
|||
m_mc = alloc(bv_size_reduction_mc, m);
|
||||
m_mc->insert(v->get_decl(), new_def);
|
||||
if (!m_fmc && new_const)
|
||||
m_fmc = alloc(generic_model_converter, m);
|
||||
m_fmc = alloc(generic_model_converter, m, "bv_size_reduction");
|
||||
if (new_const)
|
||||
m_fmc->hide(new_const);
|
||||
}
|
||||
|
|
|
@ -65,7 +65,7 @@ class bvarray2uf_tactic : public tactic {
|
|||
model_converter_ref mc;
|
||||
|
||||
if (m_produce_models) {
|
||||
generic_model_converter * fmc = alloc(generic_model_converter, m_manager);
|
||||
generic_model_converter * fmc = alloc(generic_model_converter, m_manager, "bvarray2uf");
|
||||
mc = fmc;
|
||||
m_rw.set_mcs(fmc);
|
||||
}
|
||||
|
|
|
@ -25,7 +25,6 @@ Revision History:
|
|||
#include "ast/datatype_decl_plugin.h"
|
||||
#include "ast/bv_decl_plugin.h"
|
||||
#include "ast/rewriter/rewriter_def.h"
|
||||
#include "tactic/generic_model_converter.h"
|
||||
#include "ast/rewriter/var_subst.h"
|
||||
#include "ast/ast_util.h"
|
||||
#include "ast/rewriter/enum2bv_rewriter.h"
|
||||
|
@ -128,7 +127,7 @@ public:
|
|||
for (sort* s : m_non_fd_sorts)
|
||||
m_fd_sorts.remove(s);
|
||||
if (!m_fd_sorts.empty()) {
|
||||
ref<generic_model_converter> filter = alloc(generic_model_converter, m);
|
||||
ref<generic_model_converter> filter = alloc(generic_model_converter, m, "dt2bv");
|
||||
enum2bv_rewriter rw(m, m_params);
|
||||
rw.set_is_fd(&m_is_fd);
|
||||
expr_ref new_curr(m);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue