3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 04:15:51 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-09-03 08:58:08 -07:00
parent fe43f8df8f
commit 65bc77d566
5 changed files with 149 additions and 10 deletions

View file

@ -81,8 +81,8 @@ namespace bv {
TRACE("bv_solver", tout << "found new diseq axiom\n" << pp(v1) << pp(v2););
m_stats.m_num_diseq_static++;
expr_ref eq(m.mk_eq(get_expr(v1), get_expr(v2)), m);
sat::literal not_eq = ctx.internalize(eq, true, false, m_is_redundant);
s().add_clause(1, &not_eq, sat::status::th(m_is_redundant, get_id()));
sat::literal neq = ctx.internalize(eq, true, false, m_is_redundant);
s().add_clause(1, &neq, sat::status::th(m_is_redundant, get_id()));
}
std::ostream& solver::display(std::ostream& out, theory_var v) const {