3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-24 13:18:55 +00:00

move term graph closer to qe

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-06-09 10:50:40 -07:00 committed by Arie Gurfinkel
parent 0784074b67
commit 2e44850df9
8 changed files with 20 additions and 635 deletions

View file

@ -65,7 +65,7 @@ Notes:
#include "tactic/arith/arith_bounds_tactic.h"
#include "ast/factor_equivs.h"
#include "muz/spacer/spacer_term_graph.h"
#include "qe/qe_term_graph.h"
namespace spacer {
@ -742,7 +742,7 @@ namespace {
}
if (use_factor_eqs) {
// -- refactor equivalence classes and choose a representative
spacer::term_graph egraph(out.m());
qe::term_graph egraph(out.m());
egraph.add_lits (v);
v.reset();
egraph.to_lits(v);
@ -754,7 +754,7 @@ namespace {
<< "to\n"
<< mk_and(v) << "\n";);
TRACE("spacer_normalize",
spacer::term_graph egraph(out.m());
qe::term_graph egraph(out.m());
for (expr* e : v) egraph.add_lit (to_app(e));
tout << "Reduced app:\n"
<< mk_pp(egraph.to_app(), out.m()) << "\n";);