mirror of
https://github.com/Z3Prover/z3
synced 2025-08-20 10:10:21 +00:00
replace restore_size_trail by more generic restore_vector
other updates: - change signature of advance_qhead to simplify call sites - have model reconstruction replay work on a tail of dependent_expr state, while adding formulas to the tail.
This commit is contained in:
parent
6454014119
commit
85f9c7eefa
25 changed files with 80 additions and 59 deletions
|
@ -25,11 +25,12 @@ Notes:
|
|||
#include "ast/shared_occs.h"
|
||||
#include "ast/simplifiers/propagate_values.h"
|
||||
|
||||
propagate_values::propagate_values(ast_manager& m, dependent_expr_state& fmls):
|
||||
propagate_values::propagate_values(ast_manager& m, params_ref const& p, dependent_expr_state& fmls):
|
||||
dependent_expr_simplifier(m, fmls),
|
||||
m_rewriter(m) {
|
||||
m_rewriter.set_order_eq(true);
|
||||
m_rewriter.set_flat_and_or(false);
|
||||
updt_params(p);
|
||||
}
|
||||
|
||||
void propagate_values::reduce() {
|
||||
|
@ -96,7 +97,7 @@ void propagate_values::reduce() {
|
|||
|
||||
m_rewriter.set_substitution(nullptr);
|
||||
m_rewriter.reset();
|
||||
advance_qhead(m_fmls.size());
|
||||
advance_qhead();
|
||||
}
|
||||
|
||||
void propagate_values::collect_statistics(statistics& st) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue