mirror of
https://github.com/Z3Prover/z3
synced 2025-05-08 00:05:46 +00:00
updates to recfun_decl_plugin
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ccca063e54
commit
918a5b9e8c
2 changed files with 44 additions and 69 deletions
|
@ -55,9 +55,9 @@ namespace recfun {
|
|||
family_id fid,
|
||||
def * d,
|
||||
std::string & name,
|
||||
unsigned case_index,
|
||||
sort_ref_vector const & arg_sorts,
|
||||
unsigned num_guards,
|
||||
expr** guards,
|
||||
expr_ref_vector const& guards,
|
||||
expr* rhs);
|
||||
|
||||
void add_guard(expr_ref && e) { m_guards.push_back(e); }
|
||||
|
@ -104,7 +104,7 @@ namespace recfun {
|
|||
// compute cases for a function, given its RHS (possibly containing `ite`).
|
||||
void compute_cases(is_immediate_pred &, th_rewriter & th_rw,
|
||||
unsigned n_vars, var *const * vars, expr* rhs);
|
||||
void add_case(std::string & name, unsigned n_conds, expr ** conditions, expr* rhs, bool is_imm = false);
|
||||
void add_case(std::string & name, unsigned case_index, expr_ref_vector const& conditions, expr* rhs, bool is_imm = false);
|
||||
bool contains_ite(expr* e); // expression contains a test?
|
||||
public:
|
||||
symbol const & get_name() const { return m_name; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue