mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
mbp (#4741)
* adding dt-solver Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * dt Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * move mbp to self-contained module Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * files Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * Create CMakeLists.txt * dt Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * rename to bool_var2expr to indicate type class * mbp * na * add projection * na * na * na * na * na Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * deps Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * testing arith/q * na * newline for model printing Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e5cc613bf1
commit
72d407a49f
51 changed files with 903 additions and 618 deletions
|
@ -200,9 +200,21 @@ namespace euf {
|
|||
return ctx.mk_eq(e1, e2);
|
||||
}
|
||||
|
||||
sat::literal th_euf_solver::mk_literal(expr* e) const {
|
||||
return ctx.mk_literal(e);
|
||||
}
|
||||
|
||||
sat::literal th_euf_solver::eq_internalize(expr* a, expr* b) {
|
||||
expr_ref eq(ctx.mk_eq(a, b), m);
|
||||
return b_internalize(eq);
|
||||
return mk_literal(ctx.mk_eq(a, b));
|
||||
}
|
||||
|
||||
euf::enode* th_euf_solver::e_internalize(expr* e) {
|
||||
euf::enode* n = expr2enode(e);
|
||||
if (!n) {
|
||||
ctx.internalize(e, m_is_redundant);
|
||||
n = expr2enode(e);
|
||||
}
|
||||
return n;
|
||||
}
|
||||
|
||||
unsigned th_propagation::get_obj_size(unsigned num_lits, unsigned num_eqs) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue