3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-27 08:28:44 +00:00

Fix quasi-macro detection

This commit is contained in:
Christoph M. Wintersteiger 2020-03-04 18:06:38 +00:00
parent 67497ba897
commit 6b12da0b45
No known key found for this signature in database
GPG key ID: BCF6360F86294467
2 changed files with 33 additions and 3 deletions

View file

@ -112,7 +112,8 @@ public:
bool is_pseudo_head(expr * n, unsigned num_decls, app_ref & head, app_ref & t);
bool is_pseudo_predicate_macro(expr * n, app_ref & head, app_ref & t, expr_ref & def);
bool is_quasi_macro_head(expr * n, unsigned num_decls, expr * def = NULL) const;
bool is_quasi_macro_head(expr * n, unsigned num_decls) const;
bool is_quasi_macro_ok(expr * n, unsigned num_decls, expr * def) const;
void quasi_macro_head_to_macro_head(app * qhead, unsigned & num_decls, app_ref & head, expr_ref & cond) const;
void mk_macro_interpretation(app * head, unsigned num_decls, expr * def, expr_ref & interp) const;