3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-06 19:21:22 +00:00

add tactic name

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-12-07 13:37:57 -08:00
parent e3bd5badf2
commit 9f2b18cac5
73 changed files with 218 additions and 63 deletions

View file

@ -145,6 +145,8 @@ public:
~add_bounds_tactic() override {
dealloc(m_imp);
}
char const* name() const override { return "add_bounds"; }
void updt_params(params_ref const & p) override {
m_params = p;

View file

@ -27,6 +27,8 @@ struct arith_bounds_tactic : public tactic {
/* out */ goal_ref_buffer & result) override {
bounds_arith_subsumption(in, result);
}
char const* name() const override { return "arith_bounds"; }
tactic* translate(ast_manager & mgr) override {
return alloc(arith_bounds_tactic, mgr);

View file

@ -42,6 +42,8 @@ public:
~card2bv_tactic() override {
}
char const* name() const override { return "card2bv"; }
void updt_params(params_ref const & p) override {
m_params = p;
}

View file

@ -284,6 +284,8 @@ public:
dealloc(m_imp);
}
char const* name() const override { return "degree_shift"; }
void operator()(goal_ref const & in,
goal_ref_buffer & result) override {
(*m_imp)(in, result);

View file

@ -357,6 +357,8 @@ public:
dealloc(m_imp);
}
char const* name() const override { return "diff_neq"; }
void updt_params(params_ref const & p) override {
m_params = p;
m_imp->updt_params(p);

View file

@ -268,6 +268,8 @@ public:
tactic * translate(ast_manager & m) override {
return alloc(eq2bv_tactic, m);
}
char const* name() const override { return "eq2bv"; }
void collect_param_descrs(param_descrs & r) override {
}

View file

@ -294,6 +294,8 @@ public:
dealloc(m_imp);
}
char const* name() const override { return "factor"; }
void updt_params(params_ref const & p) override {
m_params = p;
m_imp->m_rw.cfg().updt_params(p);

View file

@ -300,6 +300,8 @@ public:
dealloc(m_imp);
}
char const* name() const override { return "fix_dl_var"; }
void updt_params(params_ref const & p) override {
m_params = p;
m_imp->updt_params(p);

View file

@ -1642,6 +1642,8 @@ public:
dealloc(m_imp);
}
char const* name() const override { return "fm"; }
void updt_params(params_ref const & p) override {
m_params = p;
m_imp->updt_params(p);

View file

@ -132,6 +132,8 @@ public:
dealloc(m_todo);
}
char const* name() const override { return "lia2card"; }
void updt_params(params_ref const & p) override {
m_params = p;
m_compile_equality = p.get_bool("compile_equality", true);

View file

@ -305,6 +305,8 @@ public:
dealloc(m_imp);
}
char const* name() const override { return "lia2pb"; }
void updt_params(params_ref const & p) override {
m_params = p;
m_imp->updt_params(p);

View file

@ -438,6 +438,8 @@ public:
~nla2bv_tactic() override {
}
char const* name() const override { return "nla2bv"; }
void updt_params(params_ref const & p) override {
m_params.append(p);
}

View file

@ -153,6 +153,8 @@ public:
dealloc(m_imp);
}
char const* name() const override { return "normalize_bounds"; }
void updt_params(params_ref const & p) override {
m_imp->updt_params(p);
}

View file

@ -1007,6 +1007,8 @@ public:
dealloc(m_imp);
}
char const* name() const override { return "pb2bv"; }
void updt_params(params_ref const & p) override {
m_params = p;
m_imp->updt_params(p);

View file

@ -49,6 +49,8 @@ public:
~propagate_ineqs_tactic() override;
char const* name() const override { return "propagate_ineqs"; }
void updt_params(params_ref const & p) override;
void collect_param_descrs(param_descrs & r) override {}

View file

@ -903,6 +903,8 @@ public:
~purify_arith_tactic() override {
}
char const* name() const override { return "purify_arith"; }
void updt_params(params_ref const & p) override {
m_params = p;
}

View file

@ -398,6 +398,8 @@ public:
dealloc(m_imp);
}
char const* name() const override { return "recover_01"; }
void updt_params(params_ref const & p) override {
m_params = p;
m_imp->updt_params(p);