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:
parent
e3bd5badf2
commit
9f2b18cac5
73 changed files with 218 additions and 63 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 {
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 {}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue