3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 09:55:19 +00:00

fix build, move seq_skolem

This commit is contained in:
Nikolaj Bjorner 2021-02-14 14:40:29 -08:00
parent 083d09aa81
commit 45af1bd243
9 changed files with 12 additions and 12 deletions

View file

@ -33,6 +33,7 @@ z3_add_component(rewriter
recfun_rewriter.cpp
rewriter.cpp
seq_rewriter.cpp
seq_skolem.cpp
th_rewriter.cpp
value_sweep.cpp
var_subst.cpp

View file

@ -11,7 +11,7 @@ Author:
--*/
#include "smt/seq_skolem.h"
#include "ast/rewriter/seq_skolem.h"
#include "ast/ast_pp.h"
using namespace smt;

View file

@ -149,7 +149,7 @@ namespace recfun {
m_guard2pending.insert(guard, alloc(expr_ref_vector, guards));
}
TRACEFN("add clause\n" << core);
push_core(core);
push_c(core);
}
/**
@ -228,7 +228,7 @@ namespace recfun {
return true;
}
void solver::push(propagation_item* p) {
void solver::push_prop(propagation_item* p) {
m_propagation_queue.push_back(p);
ctx.push(push_back_vector<scoped_ptr_vector<propagation_item>>(m_propagation_queue));
}

View file

@ -52,11 +52,11 @@ namespace recfun {
scoped_ptr_vector<propagation_item> m_propagation_queue;
unsigned m_qhead { 0 };
void push_body_expand(expr* e) { push(alloc(propagation_item, alloc(body_expansion, u(), to_app(e)))); }
void push_case_expand(expr* e) { push(alloc(propagation_item, alloc(case_expansion, u(), to_app(e)))); }
void push_guard(expr* e) { push(alloc(propagation_item, e)); }
void push_core(expr_ref_vector const& core) { push(alloc(propagation_item, core)); }
void push(propagation_item* p);
void push_body_expand(expr* e) { push_prop(alloc(propagation_item, alloc(body_expansion, u(), to_app(e)))); }
void push_case_expand(expr* e) { push_prop(alloc(propagation_item, alloc(case_expansion, u(), to_app(e)))); }
void push_guard(expr* e) { push_prop(alloc(propagation_item, e)); }
void push_c(expr_ref_vector const& core) { push_prop(alloc(propagation_item, core)); }
void push_prop(propagation_item* p);
bool is_enabled_guard(expr* guard) { return m_enabled_guards.contains(guard); }
bool is_disabled_guard(expr* guard) { return m_disabled_guards.contains(guard); }

View file

@ -14,7 +14,6 @@ z3_add_component(smt
seq_ne_solver.cpp
seq_offset_eq.cpp
seq_regex.cpp
seq_skolem.cpp
smt_almost_cg_table.cpp
smt_arith_value.cpp
smt_case_split_queue.cpp

View file

@ -22,8 +22,8 @@ Revision History:
#include "ast/seq_decl_plugin.h"
#include "ast/arith_decl_plugin.h"
#include "ast/rewriter/th_rewriter.h"
#include "ast/rewriter/seq_skolem.h"
#include "smt/smt_theory.h"
#include "smt/seq_skolem.h"
namespace smt {

View file

@ -20,8 +20,8 @@ Author:
#include "util/state_graph.h"
#include "ast/seq_decl_plugin.h"
#include "ast/rewriter/seq_rewriter.h"
#include "ast/rewriter/seq_skolem.h"
#include "smt/smt_context.h"
#include "smt/seq_skolem.h"
/*
*** Tracing and debugging in this module and related modules ***

View file

@ -29,7 +29,7 @@ Revision History:
#include "smt/smt_theory.h"
#include "smt/smt_arith_value.h"
#include "smt/theory_seq_empty.h"
#include "smt/seq_skolem.h"
#include "ast/rewriter/seq_skolem.h"
#include "smt/seq_axioms.h"
#include "smt/seq_regex.h"
#include "smt/seq_offset_eq.h"