mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
wip
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0d9d4bb46e
commit
a50cecaefa
3 changed files with 31 additions and 16 deletions
|
@ -125,7 +125,6 @@ namespace polysat {
|
|||
* should appear, otherwise the lemma would be a tautology
|
||||
*/
|
||||
void conflict::insert(signed_constraint c) {
|
||||
|
||||
if (c.is_always_true())
|
||||
return;
|
||||
if (c->is_marked())
|
||||
|
@ -321,7 +320,7 @@ namespace polysat {
|
|||
bool conflict::try_eliminate(pvar v) {
|
||||
bool has_v = false;
|
||||
for (auto c : *this)
|
||||
has_v |= c->contains_var(v);
|
||||
has_v |= c->is_var_dependent() && c->contains_var(v);
|
||||
if (!has_v)
|
||||
return true;
|
||||
for (auto* engine : ve_engines)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue