mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 17:58:06 +00:00
convert reduce-args to a simplifier
- convert reduce-args to a simplifier. Currently exposed as reduce-args2 tactic until the old tactic code gets removed. - bug fixes in model_reconstruction trail - allow multiple defs to be added with same pool of removed formulas - fix tracking of function symbols instead of expressions to filter replay - add nla_divisions to track (cheap) divisibility lemmas. -
This commit is contained in:
parent
246d6f7b77
commit
8ea49eed8e
23 changed files with 740 additions and 92 deletions
|
@ -31,8 +31,13 @@ void dependent_expr_state::freeze(func_decl* f) {
|
|||
}
|
||||
|
||||
void dependent_expr_state::freeze(expr* term) {
|
||||
if (is_app(term))
|
||||
if (is_app(term) && to_app(term)->get_num_args() == 0)
|
||||
freeze(to_app(term)->get_decl());
|
||||
else {
|
||||
ast_mark visited;
|
||||
freeze_terms(term, false, visited);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue