mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 18:00:23 +00:00
fix drat for units learned from binary clause resolution
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
63d480fd92
commit
836f156d54
6 changed files with 76 additions and 59 deletions
|
@ -94,6 +94,11 @@ namespace sat {
|
|||
mark_strengthened();
|
||||
}
|
||||
}
|
||||
|
||||
void clause::restore(unsigned num_lits) {
|
||||
SASSERT(num_lits <= m_capacity);
|
||||
m_size = num_lits;
|
||||
}
|
||||
|
||||
bool clause::satisfied_by(model const & m) const {
|
||||
for (literal l : *this) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue