mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15:51 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fe43f8df8f
commit
65bc77d566
5 changed files with 149 additions and 10 deletions
|
@ -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, ¬_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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue