3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-03 12:51:22 +00:00

generalize macro head detection and elaboration

This commit is contained in:
Nikolaj Bjorner 2022-11-20 11:36:45 +07:00
parent fcaa85d7a8
commit b9f34286a7
2 changed files with 53 additions and 8 deletions

View file

@ -107,6 +107,8 @@ private:
void try_resolve_definition(func_decl* p);
void insert_macro(app_ref& head, expr_ref& def, expr_dependency_ref& dep);
bool has_macro(func_decl* p, app_ref& head, expr_ref& def, expr_dependency_ref& dep);
expr_ref bind_free_variables_in_def(clause& cl, app* head, expr* def);
bool can_be_macro_head(app* head, unsigned num_bound);
bool is_macro_safe(expr* e);
void try_resolve(func_decl* p);