3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 16:25:48 +00:00

debug conflict

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-11-19 17:25:19 -08:00
parent 96921355cc
commit 696db3a6a4
2 changed files with 117 additions and 58 deletions

View file

@ -87,6 +87,7 @@ namespace smt {
void negate();
lbool normalize();
void unique();
bool well_formed() const;
@ -139,10 +140,15 @@ namespace smt {
unsigned m_num_marks;
unsigned m_conflict_lvl;
ineq m_lemma;
literal_vector m_antecedents;
// bool_var |-> index into m_lemma
unsigned_vector m_conseq_index;
unsigned m_lemma_index;
svector<bool_var> m_unmark;
void set_next_index(unsigned i);
static const unsigned null_index = UINT_MAX;
bool is_marked(bool_var v) const;
void set_mark(bool_var v, unsigned idx);
void unset_mark(literal l);
void resolve_conflict(literal conseq, ineq& c);
void process_antecedent(literal l, numeral coeff);
void process_ineq(ineq& c, literal conseq, numeral coeff);