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

Remove backjump state from conflict

This commit is contained in:
Jakob Rath 2022-11-14 14:33:19 +01:00
parent 406696f0a3
commit 01af25ca02
6 changed files with 3 additions and 24 deletions

View file

@ -90,9 +90,6 @@ namespace polysat {
// we should find a way to use resolve_value with these lemmas,
// to properly eliminate value propagations. (see todo notes above)
backtrack,
// conflict contains the final lemma;
// force backjumping without further conflict resolution because a good lemma has been found
backjump,
};
class conflict {
@ -154,10 +151,8 @@ namespace polysat {
conflict_kind_t kind() const { return m_kind; }
bool is_bailout() const { return m_kind == conflict_kind_t::bailout; }
bool is_backtracking() const { return m_kind == conflict_kind_t::backtrack; }
bool is_backjumping() const { return m_kind == conflict_kind_t::backjump; }
void set_bailout();
void set_backtrack();
void set_backjump();
bool is_relevant_pvar(pvar v) const;
bool is_relevant(sat::literal lit) const;