mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 01:55:32 +00:00
add unconstrained elimination for sequences
This commit is contained in:
parent
a0f3727e90
commit
d1c7ff1a36
12 changed files with 148 additions and 16 deletions
|
@ -23,7 +23,7 @@ Author:
|
|||
#include "ast/ast_util.h"
|
||||
#include "ast/rewriter/expr_safe_replace.h"
|
||||
#include "ast/simplifiers/dependent_expr_state.h"
|
||||
#include "ast/simplifiers/seq_simplifier.h"
|
||||
#include "ast/simplifiers/then_simplifier.h"
|
||||
#include "solver/solver.h"
|
||||
#include "solver/simplifier_solver.h"
|
||||
#include "solver/solver_preprocess.h"
|
||||
|
@ -91,7 +91,7 @@ class simplifier_solver : public solver {
|
|||
solver_ref s;
|
||||
vector<dependent_expr> m_fmls;
|
||||
dep_expr_state m_preprocess_state;
|
||||
seq_simplifier m_preprocess;
|
||||
then_simplifier m_preprocess;
|
||||
expr_ref_vector m_assumptions;
|
||||
model_converter_ref m_mc;
|
||||
bool m_inconsistent = false;
|
||||
|
|
|
@ -45,7 +45,7 @@ Notes:
|
|||
#include "solver/solver_preprocess.h"
|
||||
#include "qe/lite/qe_lite_tactic.h"
|
||||
|
||||
void init_preprocess(ast_manager& m, params_ref const& p, seq_simplifier& s, dependent_expr_state& st) {
|
||||
void init_preprocess(ast_manager& m, params_ref const& p, then_simplifier& s, dependent_expr_state& st) {
|
||||
|
||||
smt_params smtp(p);
|
||||
s.add_simplifier(alloc(rewriter_simplifier, m, p, st));
|
||||
|
|
|
@ -19,7 +19,7 @@ Author:
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "ast/simplifiers/seq_simplifier.h"
|
||||
#include "ast/simplifiers/then_simplifier.h"
|
||||
|
||||
void init_preprocess(ast_manager& m, params_ref const& p, seq_simplifier& s, dependent_expr_state& st);
|
||||
void init_preprocess(ast_manager& m, params_ref const& p, then_simplifier& s, dependent_expr_state& st);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue