mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 01:32:17 +00:00
proper fix to #6476
This commit is contained in:
parent
9b58135876
commit
b76ed6a47f
3 changed files with 5 additions and 11 deletions
|
@ -847,12 +847,9 @@ struct match_args_aux_proc {
|
|||
SASSERT(r.get_offset() == 1);
|
||||
throw no_match();
|
||||
}
|
||||
else {
|
||||
m_subst.insert(n, 0, expr_offset(n, 1));
|
||||
}
|
||||
}
|
||||
else
|
||||
throw no_match();
|
||||
else
|
||||
m_subst.insert(n, 0, expr_offset(n, 1));
|
||||
}
|
||||
void operator()(quantifier * n) { throw no_match(); }
|
||||
void operator()(app * n) {}
|
||||
|
|
|
@ -111,8 +111,6 @@ class demodulator_match_subst {
|
|||
typedef std::pair<expr *, expr *> expr_pair;
|
||||
typedef obj_pair_hashtable<expr, expr> cache;
|
||||
|
||||
void reset();
|
||||
|
||||
ast_manager & m;
|
||||
substitution m_subst;
|
||||
cache m_cache;
|
||||
|
@ -229,7 +227,6 @@ class demodulator_rewriter final {
|
|||
void remove_bwd_idx(expr* q);
|
||||
bool check_fwd_idx_consistency();
|
||||
void show_fwd_idx(std::ostream & out);
|
||||
bool can_rewrite(expr * n, expr * lhs);
|
||||
|
||||
expr * rewrite(expr * n);
|
||||
bool rewrite1(func_decl * f, expr_ref_vector const & args, expr_ref & np);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue