mirror of
https://github.com/Z3Prover/z3
synced 2025-05-07 07:45:46 +00:00
Polysat: conflict resolution updates (#5534)
* variable elimination / saturation sketch * conflict resolution updates
This commit is contained in:
parent
dc547510db
commit
9f387f5738
14 changed files with 343 additions and 294 deletions
|
@ -269,4 +269,9 @@ namespace polysat {
|
|||
narrow(s, is_positive);
|
||||
}
|
||||
|
||||
void constraint::set_unit_clause(clause *cl) {
|
||||
// can be seen as a cache... store the lowest-level unit clause for this constraint.
|
||||
if (!cl || !m_unit_clause || m_unit_clause->level() > cl->level())
|
||||
m_unit_clause = cl;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue