3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-21 02:30:23 +00:00

tuning and fixing drat checker

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-02-07 16:50:39 -08:00
parent 54f2063c81
commit b6b6035cfb
9 changed files with 140 additions and 67 deletions

View file

@ -36,7 +36,14 @@ namespace sat {
};
private:
enum status { asserted, learned, deleted, external };
typedef ptr_vector<clause> watch;
struct watched_clause {
clause* m_clause;
literal m_l1, m_l2;
watched_clause(clause* c, literal l1, literal l2):
m_clause(c), m_l1(l1), m_l2(l2) {}
};
svector<watched_clause> m_watched_clauses;
typedef svector<unsigned> watch;
solver& s;
std::ostream* m_out;
ptr_vector<clause> m_proof;