mirror of
https://github.com/Z3Prover/z3
synced 2025-05-08 16:25:48 +00:00
redo marking mechanism as marked literals can disappear from lemma
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b1caadee49
commit
e38729a1c6
2 changed files with 18 additions and 25 deletions
|
@ -143,13 +143,15 @@ namespace smt {
|
|||
unsigned m_conflict_lvl;
|
||||
ineq m_lemma;
|
||||
literal_vector m_ineq_literals;
|
||||
svector<bool_var> m_marked;
|
||||
|
||||
// bool_var |-> index into m_lemma
|
||||
unsigned_vector m_conseq_index;
|
||||
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 unset_mark(bool_var v);
|
||||
void unset_marks();
|
||||
|
||||
bool resolve_conflict(ineq& c);
|
||||
void process_antecedent(literal l, numeral coeff);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue