3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-15 15:25:26 +00:00

fixed some bugs with quantifiers in rule bodies

This commit is contained in:
Ken McMillan 2013-06-17 18:04:23 -07:00
parent a78564145b
commit 64acd9cac0
3 changed files with 38 additions and 2 deletions

View file

@ -556,11 +556,15 @@ namespace Duality {
friend expr clone_quantifier(const expr &, const expr &);
friend expr clone_quantifier(const expr &q, const expr &b, const std::vector<expr> &patterns);
friend std::ostream & operator<<(std::ostream & out, expr const & m){
m.ctx().print_expr(out,m);
return out;
}
void get_patterns(std::vector<expr> &pats) const ;
unsigned get_quantifier_num_bound() const {
return to_quantifier(raw())->get_num_decls();
}