mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 04:43:39 +00:00
compile
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
daa904c9d2
commit
dff5071598
3 changed files with 22 additions and 25 deletions
|
@ -340,9 +340,7 @@ class horn_tactic : public tactic {
|
||||||
g->reset();
|
g->reset();
|
||||||
result.push_back(g.get());
|
result.push_back(g.get());
|
||||||
datalog::rule_set const& rules = m_ctx.get_rules();
|
datalog::rule_set const& rules = m_ctx.get_rules();
|
||||||
datalog::rule_set::iterator it = rules.begin(), end = rules.end();
|
for (datalog::rule* r : rules) {
|
||||||
for (; it != end; ++it) {
|
|
||||||
datalog::rule* r = *it;
|
|
||||||
m_ctx.get_rule_manager().to_formula(*r, fml);
|
m_ctx.get_rule_manager().to_formula(*r, fml);
|
||||||
(*rep)(fml);
|
(*rep)(fml);
|
||||||
g->assert_expr(fml);
|
g->assert_expr(fml);
|
||||||
|
|
|
@ -28,44 +28,44 @@ Notes:
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
#include "util/util.h"
|
||||||
#include "ast/ast.h"
|
#include "ast/ast.h"
|
||||||
#include "ast/occurs.h"
|
#include "ast/occurs.h"
|
||||||
#include "ast/ast_pp.h"
|
#include "ast/ast_pp.h"
|
||||||
#include "ast/rewriter/bool_rewriter.h"
|
|
||||||
#include "muz/base/dl_util.h"
|
|
||||||
#include "ast/for_each_expr.h"
|
|
||||||
#include "smt/params/smt_params.h"
|
|
||||||
#include "model/model.h"
|
|
||||||
#include "model/model_evaluator.h"
|
|
||||||
#include "util/ref_vector.h"
|
|
||||||
#include "ast/rewriter/rewriter.h"
|
|
||||||
#include "ast/rewriter/rewriter_def.h"
|
|
||||||
#include "util/util.h"
|
|
||||||
#include "muz/spacer/spacer_manager.h"
|
|
||||||
#include "muz/spacer/spacer_util.h"
|
|
||||||
#include "ast/rewriter/expr_replacer.h"
|
|
||||||
#include "model/model_smt2_pp.h"
|
|
||||||
#include "ast/scoped_proof.h"
|
#include "ast/scoped_proof.h"
|
||||||
#include "qe/qe_lite.h"
|
#include "ast/for_each_expr.h"
|
||||||
#include "muz/spacer/spacer_qe_project.h"
|
#include "ast/rewriter/bool_rewriter.h"
|
||||||
#include "model/model_pp.h"
|
|
||||||
#include "ast/rewriter/expr_safe_replace.h"
|
#include "ast/rewriter/expr_safe_replace.h"
|
||||||
|
|
||||||
#include "ast/array_decl_plugin.h"
|
#include "ast/array_decl_plugin.h"
|
||||||
#include "ast/arith_decl_plugin.h"
|
#include "ast/arith_decl_plugin.h"
|
||||||
#include "ast/datatype_decl_plugin.h"
|
#include "ast/datatype_decl_plugin.h"
|
||||||
#include "ast/bv_decl_plugin.h"
|
#include "ast/bv_decl_plugin.h"
|
||||||
|
#include "ast/rewriter/rewriter.h"
|
||||||
|
#include "ast/rewriter/rewriter_def.h"
|
||||||
|
#include "ast/rewriter/factor_equivs.h"
|
||||||
|
#include "ast/rewriter/expr_replacer.h"
|
||||||
|
|
||||||
#include "muz/spacer/spacer_legacy_mev.h"
|
|
||||||
|
#include "smt/params/smt_params.h"
|
||||||
|
#include "model/model.h"
|
||||||
|
#include "model/model_evaluator.h"
|
||||||
|
#include "model/model_smt2_pp.h"
|
||||||
|
#include "model/model_pp.h"
|
||||||
|
|
||||||
|
#include "qe/qe_lite.h"
|
||||||
#include "qe/qe_mbp.h"
|
#include "qe/qe_mbp.h"
|
||||||
|
#include "qe/qe_term_graph.h"
|
||||||
|
|
||||||
#include "tactic/tactical.h"
|
#include "tactic/tactical.h"
|
||||||
#include "tactic/core/propagate_values_tactic.h"
|
#include "tactic/core/propagate_values_tactic.h"
|
||||||
#include "tactic/arith/propagate_ineqs_tactic.h"
|
#include "tactic/arith/propagate_ineqs_tactic.h"
|
||||||
#include "tactic/arith/arith_bounds_tactic.h"
|
#include "tactic/arith/arith_bounds_tactic.h"
|
||||||
|
|
||||||
#include "ast/rewriter/factor_equivs.h"
|
#include "muz/base/dl_util.h"
|
||||||
#include "qe/qe_term_graph.h"
|
#include "muz/spacer/spacer_legacy_mev.h"
|
||||||
|
#include "muz/spacer/spacer_qe_project.h"
|
||||||
|
#include "muz/spacer/spacer_manager.h"
|
||||||
|
#include "muz/spacer/spacer_util.h"
|
||||||
|
|
||||||
namespace spacer {
|
namespace spacer {
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,6 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
typedef bool_vector bool_vector;
|
|
||||||
struct edge { unsigned node; unsigned weight; edge(unsigned n, unsigned w): node(n), weight(w) {} edge(): node(0), weight(0) {} };
|
struct edge { unsigned node; unsigned weight; edge(unsigned n, unsigned w): node(n), weight(w) {} edge(): node(0), weight(0) {} };
|
||||||
typedef svector<edge> edge_vector;
|
typedef svector<edge> edge_vector;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue