mirror of
https://github.com/Z3Prover/z3
synced 2025-10-08 08:51:55 +00:00
prepare term-graph for cc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
14696f03f7
commit
d26609ebdd
6 changed files with 193 additions and 96 deletions
|
@ -49,8 +49,8 @@ namespace qe {
|
|||
if (m.is_true(mdl->get_const_interp(c))) {
|
||||
lits.push_back(m.mk_const(c));
|
||||
}
|
||||
else {
|
||||
lits.push_back(m.mk_not(m.mk_const(c)));
|
||||
else if (m.is_false(mdl->get_const_interp(c))) {
|
||||
lits.push_back(m.mk_const(c));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -105,10 +105,8 @@ namespace qe {
|
|||
/** --------------------------------------------------------------
|
||||
* ping-pong interpolation of Gurfinkel & Vizel
|
||||
* compute a binary interpolant.
|
||||
* TBD: also implement the one-sided versions that create clausal interpolants.
|
||||
*/
|
||||
lbool interpolator::binary(mbi_plugin& a, mbi_plugin& b, func_decl_ref_vector const& vars, expr_ref& itp) {
|
||||
ast_manager& m = vars.get_manager();
|
||||
lbool interpolator::pingpong(mbi_plugin& a, mbi_plugin& b, func_decl_ref_vector const& vars, expr_ref& itp) {
|
||||
model_ref mdl;
|
||||
expr_ref_vector lits(m);
|
||||
bool turn = true;
|
||||
|
@ -156,4 +154,12 @@ namespace qe {
|
|||
last_res = next_res;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* TBD: also implement the one-sided versions that create clausal interpolants.
|
||||
*/
|
||||
lbool interpolator::pogo(mbi_plugin& a, mbi_plugin& b, func_decl_ref_vector const& vars, expr_ref& itp) {
|
||||
NOT_IMPLEMENTED_YET();
|
||||
return l_undef;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue