mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
resurrecting assertion stack
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
c9722a1313
commit
26ffee95fc
4 changed files with 477 additions and 2 deletions
|
@ -114,6 +114,10 @@ public:
|
|||
virtual unsigned get_num_steps() const {
|
||||
return m_replacer.get_num_steps();
|
||||
}
|
||||
|
||||
virtual void reset() {
|
||||
m_replacer.reset();
|
||||
}
|
||||
};
|
||||
|
||||
expr_replacer * mk_default_expr_replacer(ast_manager & m) {
|
||||
|
@ -149,6 +153,11 @@ public:
|
|||
virtual unsigned get_num_steps() const {
|
||||
return m_r.get_num_steps();
|
||||
}
|
||||
|
||||
virtual void reset() {
|
||||
m_r.reset();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
expr_replacer * mk_expr_simp_replacer(ast_manager & m, params_ref const & p) {
|
||||
|
|
|
@ -43,8 +43,8 @@ public:
|
|||
void reset_cancel() { set_cancel(false); }
|
||||
virtual void set_cancel(bool f) = 0;
|
||||
virtual unsigned get_num_steps() const { return 0; }
|
||||
|
||||
|
||||
virtual void reset() = 0;
|
||||
|
||||
void apply_substitution(expr * s, expr * def, proof * def_pr, expr_ref & t);
|
||||
void apply_substitution(expr * s, expr * def, expr_ref & t);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue