mirror of
https://github.com/Z3Prover/z3
synced 2025-08-16 16:27:11 +00:00
add clause proof module, small improvements to bapa
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4d30639fd7
commit
48fc3d752e
36 changed files with 722 additions and 250 deletions
|
@ -33,9 +33,7 @@ namespace smt {
|
|||
SASSERT(is_watching_clause(~cls->get_literal(0), cls));
|
||||
SASSERT(is_watching_clause(~cls->get_literal(1), cls));
|
||||
if (lit_occs_enabled()) {
|
||||
unsigned num_lits = cls->get_num_literals();
|
||||
for (unsigned i = 0; i < num_lits; i++) {
|
||||
literal l = cls->get_literal(i);
|
||||
for (literal l : *cls) {
|
||||
SASSERT(m_lit_occs[l.index()].contains(const_cast<clause*>(cls)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue