mirror of
https://github.com/Z3Prover/z3
synced 2025-08-30 15:00:08 +00:00
cleaned up lemma instantiation code
This commit is contained in:
parent
6917aa3eb9
commit
e8befc072c
2 changed files with 46 additions and 12 deletions
|
@ -135,7 +135,9 @@ public:
|
|||
unsigned level () const {return m_lvl;}
|
||||
void set_level (unsigned lvl) {m_lvl = lvl;}
|
||||
app_ref_vector& get_bindings() {return m_bindings;}
|
||||
void add_binding(app_ref_vector const &binding) {m_bindings.append(binding);}
|
||||
bool has_binding(app_ref_vector const &binding);
|
||||
void add_binding(app_ref_vector const &binding);
|
||||
void instantiate(expr * const * exprs, expr_ref &result, expr *e = nullptr);
|
||||
void mk_insts(expr_ref_vector& inst, expr* e = nullptr);
|
||||
bool is_ground () {return !is_quantifier (get_expr());}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue