mirror of
https://github.com/Z3Prover/z3
synced 2025-06-25 07:13:41 +00:00
adding stronger filter than connected
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
509cad9c9a
commit
82cacdf569
1 changed files with 3 additions and 0 deletions
|
@ -395,6 +395,9 @@ namespace sat {
|
||||||
return;
|
return;
|
||||||
if (big.connected(u, v))
|
if (big.connected(u, v))
|
||||||
return;
|
return;
|
||||||
|
for (auto const& w : s.get_wlist(u))
|
||||||
|
if (w.is_binary_clause() && v == w.get_literal())
|
||||||
|
return;
|
||||||
certify_implies(u, v, c);
|
certify_implies(u, v, c);
|
||||||
s.mk_clause(~u, v, true);
|
s.mk_clause(~u, v, true);
|
||||||
// m_bins owns reference to ~u or v created by certify_implies
|
// m_bins owns reference to ~u or v created by certify_implies
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue