3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-05 19:00:25 +00:00

separate rewriter used by smt context from asserted formulas to avoid term substitution, exposed by #2370

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-07-02 15:28:21 +07:00
parent e5dffeace4
commit db87f2aab0
4 changed files with 6 additions and 2 deletions

View file

@ -244,7 +244,7 @@ public:
expr * get_formula(unsigned idx) const { return m_formulas[idx].get_fml(); }
proof * get_formula_proof(unsigned idx) const { return m_formulas[idx].get_proof(); }
th_rewriter & get_rewriter() { return m_rewriter; }
params_ref const& get_params() const { return m_params; }
void get_assertions(ptr_vector<expr> & result) const;
bool empty() const { return m_formulas.empty(); }
void display(std::ostream & out) const;